I am trying to figure out how to prevent Sublime Text 3 from trying to re-close my "jdoc:include tags".
I found this: https://www.sublimetext.com/forum/viewtopic.php?f=3&t=7824 but its not much help to me, as I am still a NOOB to Sublime Text
Related
This is my first post on stackoverflow, and I'm glad to be here.
So I have a syntax coloration issue with Sublime Text 3 in a single file .ctp (Cakephp Template). I use Php and Html in this same file. The coloration doesn't seems to work in the wrapped language.
Example
What could I do ?
You should probably install the CakePHP package, since it adds syntax highlighting for those template files
After tweaking with "Syntax > html" and "Syntax > php" I get the correct coloration for this case. But in Php files, when you're making a helper for exemple, it's still broken for somes parts.
I'm running sublime 3084 OSX 10.10.3 and i have three tabs open, one html document, one css and one javascript file. I have linters for all three installed but whenever I open the program only the css linter (csslint) and either the html or the javascript linter, but not both, work. If I open the program with the javascript tab open, that linter works. If I open the program with the html document open, that linter works. csslint works regardless. Does anyone know of this issue or possible bug? If so I would greatly appreciate some help, it's really frustrating.
Thanks in advance
Build 3059 of Sublime Text added image previews. Now when I open an image I can no longer see the raw data. Is there a way to turn this "feature" off?
I'm working with reading/writing EXIF data and it was really useful to be able to dive in and see what was really there. Sublime is a text editor after all.
It's a bit clumsy but you can rename the file to .txt and Sublime will display the raw data.
Does anyone know if there is a colour scheme I can import into Sublime Text that matches the syntax colours used in Xcode? I've looked high and low and can't find anything. I love sublime but I'm not a fan of the colour schemes and prefer Xcode.
Cheers!
The excellent Colorsublime has listed a theme called XCode Default that looks like this:
For now it seems to be permalinked here.
Still unsatisfied? Try making your own, as one of the commenters on your question suggested. TMTheme Editor can help.
You can get all their themes (much easier to navigate) from their github:
https://github.com/Colorsublime/Colorsublime-Themes/tree/master/themes
I am giving Sublime Text 2 a try and I was editing an XML file - that had a DOCTYPE declaration and a DTD - and there seems to be no way to get code hinting / completion when editing the XML document.
I am sure its something simple I am overlooking. I cannot imagine Sublime does not have this kind of functionality, even if provided via a plugin.
Can someone shed some light on this for me?
Sublime Text is first and foremost a text editor.
But, the reason for it's popularity is in large part due to it's extensibility.
Although you could use Sublime's api to create a specific plug-in to do this, Sublime has a few tools that are already helpful in editing xml files and other markup files on a bare install.
Hinting and completions in particular are very easy to add. It shouldn't take a more than few minutes to create a domain specific sublime-completions file for your particular xml.
You can use alt+shift+w to create an xml element, in addition alt+. will close any un-closed xml element.
You may also want to try the Sublime Tag plug-in available through Package Control
Lastly you could also bring this up in the Sublime forums as a plug-in request. There are a lot of helpful folks in the plug-in community.
You can use the 'tag' plugin from Sublime Package Control. It has auto tag closing, linting and other features. The github page for the project is here: https://github.com/SublimeText/Tag
You can install it using Package Control without leaving your Sublime text editor.