5

When I try to write AT&T X86 assembly language in a file with .s file extension, the default comment character for me is ;, but my assembler needs # as a comment character.

I have to type # manually, which is so annoying.


There's another question with the same statement in Stack Overflow, but it doesn't help.


Thanks for any help!

1 Answers1

2

If you're using this extension, you can go into its vscode extension folder (on Windows it's C:\Users\USERNAME\.vscode\extensions\ then search for 13xforever and open language-configuration.json and you can change the line that says

"lineComment": ";"

to

"lineComment": "#"

Afterwards VSCode must be restarted.

adius
  • 936
usama8800
  • 136