-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Add region markers folding for Go #69899
Conversation
Is |
@aeschli I tried to stay close to common Go syntax. # symbol is not used in the language AFAIK, but capitalized words are. |
Also not inside a comment? the |
@aeschli what do you mean? I think that adding a foreign character in Go code may look strange, but if you think it would be better it's fine for me ofc 👍 |
I'm just trying to understand, I'm a 'Go' novice. In the languages I know, comments can contain any character or symbol (maybe except for the comment end token). @ramya-rao-a is our Go expert. Let's wait for her input. |
Ah ok I see! No, there is no issue with # characters in comments, they are totally fine. |
To be consistent with the other range markers, I updated the markers to |
Thank you @aeschli ! |
Add region markers for folding Go code