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