cc/ca65 language extension for VS Code

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
User avatar
Formerly WheelInventor
Posts: 2032
Joined: Thu Apr 14, 2016 2:55 am
Location: Gothenburg, Sweden

cc/ca65 language extension for VS Code

Post by FrankenGraphics » Tue Mar 20, 2018 3:23 pm

I don't know if any of you are using Visual Studio Code, but in any case.

fwd from Payton Byrd in the cc65 dev mailing list:
I have just published a VS Code Extension for CC65. It has the following features:

-Syntax highlighting for ca65 (.s,.asm,.mac,.inc)
-Code snippets for assembler
-Build and link files in the /src directory with cc65/ca65/ld65
-Works with Windows and Linux (including WSL)
-Edit in Windows, compile in WSL, etc.
-Execute emulator from VS Code
-Works with Makefiles
-Build with Make
-Test with Make
-Many configurable settings that allow for very flexible usage.

Where to get it:

Download the source from GitHub:

Install extension “cc65” from within VS Code.
might be useful for someone or maybe increase some interest in using vs code. - personal NES blog

Posts: 54
Joined: Sun Jan 31, 2016 9:55 pm

Re: cc/ca65 language extension for VS Code

Post by russellsprouts » Tue Mar 20, 2018 4:15 pm

This looks great! I started implementing a VSCode plugin along similar lines. I also implemented parsing of debug files to provide Intellisense features -- "Go to definition", etc. I should clean up the code and submit it as a pull request to the project.

User avatar
Posts: 2328
Joined: Tue Jun 24, 2008 8:38 pm
Location: Fukuoka, Japan

Re: cc/ca65 language extension for VS Code

Post by Banshaku » Tue Mar 20, 2018 4:42 pm

That's a good find, never heard about this extension.

I wanted in the past to try to make one but gave up since I didn't want to be "trapped" again in some MS tools. But now that someone started one I may be interested to use it.

I do use vscode at work and it does the job for TypeScript and angular but its memory footprint is quite big because of electron. Except for that it is quite an interesting IDE.

Posts: 11
Joined: Sun Mar 25, 2018 9:02 pm

Re: cc/ca65 language extension for VS Code

Post by theinfamousmrmeow » Sun Apr 08, 2018 5:22 pm

Thanks for sharing this! I've been using VS code for my ventures into NESdev, and this is super helpful.

I really tried to use Atom, but it seems to be a massive resource hog. Which is a little bizarre, since both VScode and Atom are built on Electron.

Post Reply