Closed rnemec closed 7 years ago
I can fix the + case. The identifiers are a simple regex and [^$\w] should work.
I am thinking of having a different regex based on the extension (a future feature) where I provide a better default for common programming languages.
Thanks. So far the plugin behaves very nicely. Detecting different languages would be great. A step towards this plugin being a must for any normal development. Well, even without the languages.
Thanks. I have updated this setting. Will add different language basic support as a feature request.
Added support for this in 0.0.10
Is it correct? It says
[^\\w+]
I would expect[^\\w]
or[^\\w]+
depending on how you use it.(Side question - in JS, many libs include
$
in the identifiers, so I changed the setting to[^$\\w]
. Can you confirm that should work fine?)