Visual Studio Code Extension for BeebAsm

discussion of beeb/electron applications, languages, utils and educational s/w
User avatar
simonm
Posts: 164
Joined: Mon May 09, 2016 2:40 pm
Contact:

Visual Studio Code Extension for BeebAsm

Postby simonm » Wed Sep 14, 2016 10:37 am

Hi all,
I posted this on retrosoftware forums as well, but for anyone looking for a nice 6502 development environment for the beeb, I've lashed together an extension for Visual Studio Code to provide nice syntax colouring etc.
https://marketplace.visualstudio.com/it ... m.beeb-vsc

VSC is pretty decent, it's free, lightweight, and unlike the full versions of VS it is folder/file based so no need for project/solution files etc. Plus built-in git etc. I'm keen to see if the extension can support toolchains too so full compile/debug support for beebasm can be added.

Cheers
Simon

User avatar
kieranhj
Posts: 489
Joined: Sat Sep 19, 2015 10:11 pm
Location: Farnham, Surrey, UK

Re: Visual Studio Code Extension for BeebAsm

Postby kieranhj » Wed Sep 14, 2016 5:07 pm

Awesome! Any chance you can put this together for those of us lucky enough to have full VS? :)

User avatar
simonm
Posts: 164
Joined: Mon May 09, 2016 2:40 pm
Contact:

Re: Visual Studio Code Extension for BeebAsm

Postby simonm » Wed Sep 14, 2016 5:15 pm

I get the impression integrations for the full strength flavour of VS are a different beastie altogether.
Visual Studio Code seems to be a distinctly different product line, and has its own extension marketplace.
So short answer is, unfortunately not!
I suspect it might just be simpler to install VSC alongside VS Pro just for beeb projects.

User avatar
simonm
Posts: 164
Joined: Mon May 09, 2016 2:40 pm
Contact:

Re: Visual Studio Code Extension for BeebAsm

Postby simonm » Tue Sep 27, 2016 11:20 am

Hi all,
So I've just published a major update to this extension that now fully supports assembling and running a project within VSC, which was one of my initial goals as I was getting fed up with running batch files in the command shell, and wanted something more IDE-like.

v0.0.6
Assemble & test 6502 projects all within Visual Studio Code
Assembly errors are parsed and sent to VSC's built-in error navigation view
Uses Visual Studio Code tasks for building & testing
Easily create new build targets (supports multiple targets within a project folder)
Easily select 'default' build targets
Run build targets in the emulator of your choice

It defaults to using BeebAsm and BeebEm but these can be configured.

Full setup details on the marketplace link here: https://marketplace.visualstudio.com/it ... m.beeb-vsc

I think Tricky mentioned Perforce as his version control weapon of choice, so there's a P4 extension for VSC here:
https://marketplace.visualstudio.com/it ... e.perforce


Cheers
Simon

User avatar
tricky
Posts: 1823
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Visual Studio Code Extension for BeebAsm

Postby tricky » Wed Sep 28, 2016 9:10 am

Wow, that's great, I'll give it another go ;)

sbadger
Posts: 203
Joined: Mon Mar 25, 2013 1:12 pm
Location: Farnham, Surrey

Re: Visual Studio Code Extension for BeebAsm

Postby sbadger » Wed Aug 23, 2017 10:49 am

Hi, Just giving this ago but having problems.
It's a fresh install of VSCode, installed the extension with crt+shft+x no problems.
I've opened a .6502 and the syntax highlighting is working, but if i press f10 i get:-

[Warn] Running the contributed command :'extension.target.creted failed.

i've uninstalled and reinstalled the extension and vscode with no luck.

stew
A3020 | BBC B x2 | Electrn | Master | RPi x3
A600 | C64 "breadbox"| C64 C | XB360 | GB | GBC | GBA | GBASP | DS | 3DS XL & new | MD | MS
Atari 7600 | PS1-2-3-4 | PSP | Vita | SNES | GC | N64 | Wii & U | Switch | Jamma Cab | Sony PVMx2

sbadger
Posts: 203
Joined: Mon Mar 25, 2013 1:12 pm
Location: Farnham, Surrey

Re: Visual Studio Code Extension for BeebAsm

Postby sbadger » Wed Aug 23, 2017 11:49 am

sbadger wrote:Hi, Just giving this ago but having problems.
It's a fresh install of VSCode, installed the extension with crt+shft+x no problems.
I've opened a .6502 and the syntax highlighting is working, but if i press f10 i get:-

[Warn] Running the contributed command :'extension.target.creted failed.

i've uninstalled and reinstalled the extension and vscode with no luck.

stew


solved - apparently you need to 'Open Folder' rather than 'Open File'
A3020 | BBC B x2 | Electrn | Master | RPi x3
A600 | C64 "breadbox"| C64 C | XB360 | GB | GBC | GBA | GBASP | DS | 3DS XL & new | MD | MS
Atari 7600 | PS1-2-3-4 | PSP | Vita | SNES | GC | N64 | Wii & U | Switch | Jamma Cab | Sony PVMx2

User avatar
simonm
Posts: 164
Joined: Mon May 09, 2016 2:40 pm
Contact:

Re: Visual Studio Code Extension for BeebAsm

Postby simonm » Wed Aug 23, 2017 5:59 pm

Cool - glad you got it going. Feedback very welcome.


Return to “software: other”

Who is online

Users browsing this forum: No registered users and 7 guests