Closed eparisio closed 7 years ago
JSTL
should be lower case as the actual tmLanguage file name is jstl
not JSTL
. It is possible I lowercase everything in the check, but in general, you should use the same case that the file name uses, not what shows up in the bottom right hand corner of Sublime.You will need to create a profile for jsp in bh_tag.sublime-settings
, and then add the proper search patterns for opening self_closing_patterns
, single_tag_patterns
, tag_name
, attributes
, start_tag
, end_tag
, etc. Take a look at bh_tag.sublime-settings
, and take a look at the documentation to see how to add your own custom tag profile. If you plan to only do this locally on your machine, you can edit the existing HTML profile, but in general, I would recommend creating a separate profile for jsp.
Hi, thanks a lot for the answer, i will do the necessary edits.
i will awaits for the second problem answer, about the error that occours even in normal html file with a clean installation, so not only in my syntax but even on standard html and jsp language.
if you need more info, in case you can't replicate, i can make some other tests to find if is caused by some other plugin installed.
I am not seeing the errors you are describing. I am on the latest dev build 3125 which is equivalent to the latest beta build 3126. I would try uninstalling BH and reinstalling (make sure to restart after installing BH). If you are having issues still, you can try disabling other 3rd party plugins to see if they are interfering (restart afterwards). As a last ditch effort, you can revert your Sublime install: https://www.sublimetext.com/docs/3/revert.html.
There is nothing inherently wrong with BH as it is working for me on Windows, Linux, and Mac. Also, there are a lot of people using the latest ST3 with the latest BH, and you are the only one with this issue. All signs point to something odd with your specific install. Maybe something got corrupt, I'm not sure, but I can't reproduce your issue. As far as I can see, there are no other issues with BH.
Ok, thanks. i made some edits a deactivate some plugin and seems to works again, probably it's a conflict with some other ones.
Requirements
Do not delete this. Template must be followed or the issue will be marked
Invalid
and closed.Please mark if you have done done this. Mark by placing an
x
in the box:- [ ]
->- [x]
. Support will not be offered without this.Description
For bugs, provide errors from console, examples etc. For feature requests, describe the desired feature. Be as detailed as possible. Vague issues/requests will be marked with
Insufficient Details
for about a week. If not corrected, they will be markedStale
for about a week and then closed.Issue Support Info
Steps to Reproduce Issue
i have a custom syntax on my jsp/tag files for jstl language.
the plugin crash with the following error when he try to render the brackets on custom elements/tag (jstl syntax definitions), on javacript and html and internal brackets
[{"('
parts works all fine without errors.there an example of code(jsp) that brokes up:
i add JSTL i my config file:
and:
that should make it works on jsp/tag files (included syntax and my custom).
it is something on language definition that go in conflict with your plugin probably. I see that even with the st3 included syntax definition for jsp [Java servlet page (JSP)] don't works on custom tags. Even with base configuration (not adding jstl reference to the different options) it breaks (included syntax and my custom).
Before the update it works fine, so i think it's something post update.
Can you check this problem? and if you find what is going in conflict, and depends on language syntax, can you explain so i can try to fix it and give an updated version to the others thousands of peoples that use it too.
EDIT:
the problem is extended on every tag types, even in HTML language give the same error when trying to create tag brackets (angle,
<div></div>
)thanks a lot.