Weird issue with BracketHighlighter - sublimetext2

I installed BracketHighlighter on a clean install of Sublime Text 3 (latest version) using a clean install of Package Control. I also had the issue on a sublime text 2 install before. Below I show the issue I am having where if I put the cursor (denoted with "|") on the ending element, tags (denoted by "T") will show for both, but if I put it for the beginning element, a question mark will appear. Has anyone had this issue before? How should I go about solving it?
?1 <d|iv>
2 <h1>Blah</h1>
3 </div>
T5 <div>
6 <h1>Blah</h1>
T7 </d|iv>
EDIT:
No changes to the settings. Other plugins installed are: AdvancedNewFile, OpenInBrowser, Package Control, BrowserRefresh, ViewInBrowser, and SublimeLinter
This problem exists with all kinds of tags.

Filing an issue at the repo is correct response. This issue should be patched now. Details are found here: https://github.com/facelessuser/BracketHighlighter/issues/205#issuecomment-64310671.

Related

Emmet on atom not working properly

Hi I'm using Emmet on Atom code editor and it works fine only with the simple tags like meta.
Nevertheless when I try something complex like ul>li*5 or meta[property=""] and then press tab, nothing happens.
Anyone know how to fix this?
It happened to me as well, the problem is that the same hotkey(tab) is set to multiple actions, so my solution was to edit the expand action like this.
go to Settings > Packages > Search Emmet...
on the keybindings get the last one tab and click on the copy icon
[]<- (something like that)
then go to Edit > Keymap... and copy the next there
'atom-text-editor:not([mini])':
'ctrl-alt-shift-c': 'emmet:expand-abbreviation'
As the keymap.. overrides all the other keybindings this one will work over all other definitions.
Note: if you use 'tab' as key binding it will only be used for expand-emmet, so you won't be able to actually tab__(2spaces) in HTML, PHP, more... files
HOPE IT HELPS
you find after installing emmet, tab completion doesn’t work as described in the documentation, go to Atom > Keymap or File > Keymap add the following code, then restart Atom (this fix worked for me):
'atom-text-editor:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
Answer is from
https://github.com/emmetio/emmet-atom/issues/503
It worked for me.
You go to Atom > Keymap or File > Keymap add the following code, then restart Atom.
'atom-text-editor:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
Just want to mention that like in https://stackoverflow.com/a/65645633/7773582 I had to restart Atom installed in Ubuntu Linux Groovy Gorilla to get my own keymap.cson for a new Keybinding with
'atom-text-editor[data-grammar="text html basic"]:not([mini]),
atom-text-editor[data-grammar~="erb"]:not([mini]),
atom-text-editor[data-grammar~="jade"]:not([mini]),
atom-text-editor[data-grammar~="css"]:not([mini]),
atom-text-editor[data-grammar~="stylus"]:not([mini]),
atom-text-editor[data-grammar~="sass"]:not([mini]),
atom-text-editor[data-grammar~="scss"]:not([mini])':
'shift-enter': 'emmet:expand-abbreviation-with-tab'
for the Emmet-Plugin to unfold its Syntax to work properly.
Any add-ons you install will most likely wont work if you dont restart your app.
If all solutions mentioned here does not take any effect to your Atom app is simply because your Atom app is STILL working in the backgroud even if you closed it.
Simple solution is go to Task Manager and End Task your Atom app there...
Hope it helps...
Happy Learning...

Sublime Text 2 always opens empty window

I am opening a Sublime Text 2 project with the following command using gksudo in order to be able to edit some system files:
gksudo /usr/bin/subl /home/orschiro/.sublime/system-administration.sublime-project
However, what Sublime does is it opens the project in a window but additionally shows another empty window:
I already tried adding the following to the project and user settings but it does not resolve the problem:
"open_files_in_new_window": false,
"hot_exit": false
Does anyone have an idea how I can stop Sublime from opening that additional empty window?
You can try "create_window_at_startup": false, but that might only apply to OSX. Another option is to try "close_windows_when_empty": true.
Is your /usr/bin/subl a link to /path/to/Sublime Text 2/sublime_text, or do you have a -w specified as well? The -w option is not needed, so that's another thing to look at.
Good luck!
In your settings file, try:
"create_window_at_startup": false
I know this is an older issue and only for ST2 but none of these fixes worked for me on ST3. I was able to fix it by removing sublime text 2 and re creating my symlink with sublime text 3 (even though that is what it was linked to already). It seems it may have been confused by the multiple applications.

Eclipse Juno subversive {root_prefix} label decorator does not work

Subversive {root_prefix} label decorator does not work in my Juno.
It worked fine in my Indigo.
Could anyone confirm {root_prefix} works in your Juno?
I really miss this feature to see whether I am working on trunk or branch or tag in package explorer. It seems like IntelliJ does not offer it yet :)
I've had issues with this as well, hence I changed the text decoration for projects to the following:
{outgoing_flag} {name} {revision} [{short_url}]
The {short_url} variable is substituted with a concise label. E.g. "branches/HelloWorld".
The latest version seems fixed the issue. Thanks to subversive developers! Subversive SVN Connectors Version: 3.0.1.I20130331-1700

Extra < using auto complete in Sublime Text 2

I installed the All Autocomplete package in my Sublime Text 2 editor and everything works fine except when I type "<div" or something similar, the auto-complete box pops up, I select the one I want and hit enter and it adds "<<div></div>" with an extra "<" in the front of my tag. I have to go back and delete the extra "<" every time...(!)
I can't seem to resolve this issue. If I use the command CTRL+Space, the box pops up and I can select the tag I want and it does not include the extra tag but that messes with my flow.
Has anyone out there experienced this? Thanks for your help!
I've just installed the package and it seems to work fine for me.
I type <div and then hit Tab or Enter and it completes correctly.
The only thing I can think of is that the AllAutocomplete package is conflicting with another package/plugin you may have installed.
It seems to be a problem with Zen Coding. See here.
Unfortunately I tried all suggestions there, including peruvianidol's 'Packages/HTML/html_completions.py' solution, but haven't had any luck.

SpecFlow/Gherkin highlighting in Sublime Text 2

Does anyone know if there are any Sublime Text 2 packages available to enable syntax highlighting for SpecFlow / Gherkin specification files?
There are a few solutions to integrate Sublime Text with Gherkin, (in this case with Cucumber not SpecFlow): https://makandracards.com/ninjaconcept/9233-how-to-use-cucumber-together-with-sublime-text-2-editor
Or as a Sublime bundle: https://github.com/npverni/cucumber-sublime2-bundle
And specifically related to your question then this gist (mentioned by Blender above) will add gherkin syntax to Sublime Text 2: https://gist.github.com/864839
Note, there seems to be slight issues with this gist, which is fixed by the comments in this: http://expertbeginner.com/2011/04/18/sublime-cucumbe/ (Edit: Gone, archive.org copy)
Here is the Sublime Text Packages
All-in-one Package for Cucumber: https://github.com/drewda/cucumber-sublime-bundle
For Feature file autocompletes: https://github.com/AndyHitchman/sublime-gherkin-auto-complete
For building cucumber from sublimetext (ctrl+B): https://github.com/Aravin/Cucumber-Build-SublimeText