Sublime Forum

BracketHighlighter matching bracket in quoted sub search

#1

Hi.

I’m coding in CLIPS, which is a language used for programming rule-based systems and uses a syntax similar to LISP. I need to parse messages which are also in LISP-like syntax, so I have a rule that is supposed to detect if the first character of a string is a left parenthesis. This means, I am comparing a substring with a string containing only a left parenthesis, but the package still recognizes the parenthesis inside the double quotes as an opening parenthesis to match.

I hope you can see what I mean in this image:

https://dl.dropboxusercontent.com/u/5221207/wrong_brackets.png

I already tried changing these options in the config file for round brackets, both as user settings and default package settings, with no success:

“find_in_sub_search”: “false”,
“ignore_string_escape”: false,

One thing I think might be the cause is that I’m using a package called “CLIPS Rules” which handles the syntax highlighting for CLIPS.

My environment is ST2, ubuntu 12.04, and the only Installed Package worth mentioning is CLIPS Rules…

Can someone point out something I might be doing wrong, if using both packages supposes a problem, or confirm whether this is a bug or not?

Thanks.

0 Likes

#2

i think u should get help from the developers of that plugin, just report the issue there, i dont think you are doing anything “wrong”, i think the plugin isnt supporting the syntax of CLIPS.

github.com/facelessuser/BracketHighlighter

0 Likes