Page 1 of 1

NESASM extension for VSCode

Posted: Sat Feb 04, 2023 3:58 pm
by elmernite
I am just starting to learn NES Assembly and I was looking for code highlighting support in VSCode for the NESASM.
Not finding any I went ahead and started working on my own. (You can find it in VSCode as well)
https://marketplace.visualstudio.com/it ... ent-server

Figured I would share here for anyone else trying to get started with NESASM in VSCode. It just has basic code highlighting at the moment, and its a work in progress.
Hope some people find it helpful!

Re: NESASM extension for VSCode

Posted: Tue Feb 07, 2023 9:50 am
by Venutech
Cool, I just got started compiling an nes rom with vscode, too.
I followed neshacker on yt and installed ca65 macro assembler for code highlighting and cl65 outside of vscode for compiling.
I was up and running pretty fast

Re: NESASM extension for VSCode

Posted: Tue Feb 07, 2023 6:28 pm
by jeffythedragonslayer
What I found tricky to get started with NESASM3 is that the indentation matters, like python. Some kind of squiggle for correctly spelled but incorrectly indented directives would have been useful. I want to try this extension out.

Re: NESASM extension for VSCode

Posted: Wed Feb 08, 2023 8:51 am
by elmernite
Yeah, I don't like white space Significant style languages like Python and that feature of NESASM. I'll see about that.

Re: NESASM extension for VSCode

Posted: Sat Feb 11, 2023 4:44 pm
by zzo38
As far as I know, the exact indentation does not matter in NESASM but each line would start with a label and is separated from the instruction with spaces, so if the label is omitted then you need to add a space at the beginning of the line to indicate that the label is omitted.