-
Notifications
You must be signed in to change notification settings - Fork 37
Support the app directives used in file-based programs #337
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
Conversation
a655f40 to
8398aed
Compare
| '1': { name: punctuation.separator.colon.cs } | ||
| end: (?=$) | ||
| patterns: | ||
| - include: '#preprocessor-app-directive-package' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm torn between telling you to go add sdk support as well (and ask @jjonescz what other directives are supported), or just saying that we shouldn't do any of these and just do the generic version. Your call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what you mean, sdk seems to be supported here? I think you got all the directives we currently support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently my eyes glazed over the last section... that's what happens when you review PRs at 10:30 PM I guess.
| Token.Identifier.PreprocessorSymbol("Foo"), | ||
| Token.Punctuation.Dot, | ||
| Token.Identifier.PreprocessorSymbol("Goo"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We certainly don't have to, but many packages are dot separated and I thought it might be a good visual signal.
Uh oh!
There was an error while loading. Please reload this page.