-
Notifications
You must be signed in to change notification settings - Fork 28
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
variables not being tokenized #45
Comments
Sadly I think this is similar to #39. Textmate markup isn't smart enough to know when a name is a variable. It could be possible to tag it on declarations though, but it would only work for primitives. Is the issue for the declaration or for all instances of variables? |
all instances, however with foo.bar or foo->bar, bar gets picked up, but foo is still missing. |
`foo.bar` should be picked up.
Sadly, tagging all instances is impossible without a powerful C/C++ specific parser. Its way outside the ability of TextMate grammars. For example:
Its basically impossible to know what x is without emulating the entire C/C++ preprocessor |
Lets create a new issue for that. |
Variables are not being tokenized in global or local scope. This is an issue with C syntax but possibly exists in C++ as well.
The text was updated successfully, but these errors were encountered: