Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop stripping the leading characters from the notation map #66

Closed
spadgos opened this issue Aug 5, 2012 · 0 comments
Closed

Stop stripping the leading characters from the notation map #66

spadgos opened this issue Aug 5, 2012 · 0 comments

Comments

@spadgos
Copy link
Owner

spadgos commented Aug 5, 2012

Reported here:

http://stackoverflow.com/questions/10996670/sublimetext2-plugin-settings-escape-dollar-sign-for-a-regex-in-docblockr-plugin

I want to catch variables that start with the $ character

example:

"jsdocs_notation_map": [{
  "regex": "^[$].+",      // any word that starts with $
  "type": "HTMLElement"   // That is its type
}]

So that the $header will be caught from the above regex.

Unfortunately the above does not work. The plugin won't recognize my $header variable as an "HTMLElement".

@spadgos spadgos closed this as completed in b247720 Aug 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant