threads / discuss / 52439

Syntax related question

Subject: Syntax related question

## tl;dr

One message between Dec 12, 2019 and Dec 12, 2019.

replies: 0people: 1as markdown or json

Syler· Dec 12, 2019, 14:02 UTC · lore

i have a question about this code `*.s#?`, is the code after # supposed to be interpreted as a comment? my understanding is that its not a comment, also does the # need to be the first character to be interpreted as a comment?

the reason why I'm asking, I'm making simple extension for vs code, syntax highlighting, auto completion that kind of stuff and i want to add the ability to chose one of the templates of the github/gitignore repo their syntax highlighting interprets the code above as containing a comment after the # but the way i understood the rules is that it is not interpreted as a comment, so i just want to be sure that I'm implementing it correctly.

← back to recent threads