-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
enh(nsis) adds NSIS v3.08 commands, some small improvements #3351
Conversation
I changed the constants to
|
In NSIS terms, it's a command ( |
I'm thinking:
or
Thoughts? |
@idleberg That was an either/or question. :) |
You probably have a better overview if there are similar cases in other languages and can make a better decision on how these cases should be treated. Semantically, the latter proposal makes sense to me. On the other hand, there are no use cases for a class alone, one can only use the combination of a class and a method ( |
Fair enough... but ask yourself: Would you find one or the other easier to read in a highlighted code snippet? That's kind of what I was getting at. @allejo Any thoughts? |
Hello 👋 Coming from other programming languages, having a differentiation between a class name and a function is helpful in terms of highlighting but that's because they each carry a separate meaning on their own. Based solely on this conversation, it sounds to me that since you can't have a class by itself in NSIS then highlighting them separately wouldn't really carry any useful meaning. To me, this behavior sounds a lot more like a namespace rather than a class, like you'd see in C++ with My vote would be to highlight it as,
|
Added highlighting for |
@idleberg Thanks so much. This will land in 11.3, hopefully this week. |
Changes
Adds NSIS v3.08 commands
Fixes case sensitivity option
Checklist
CHANGES.md