remy / vscode-nextbasic

VS Code tools for NextBASIC
https://marketplace.visualstudio.com/items?itemName=remysharp.nextbasic
9 stars 2 forks source link

VSCODE Extension for ZX Spectrum Next - Export BIN .bas issue #1

Closed Andy1966uk closed 4 years ago

Andy1966uk commented 4 years ago

Hi Remy, not sure if you saw this in my Facebook PM. There appears to be an issue exporting bin .bas files from the VSC extension 1.01 version. On initiating the command via command palette, the prompt launches as expected for you to enter file name. However no new file is actually created....

remy commented 4 years ago

Cheers - I meant to file this - I know what it is, it's the weird windows path getting in the way (again).

Screenshot 2020-05-12 at 15 49 56

I'm using native vscode methods to get the path, so I'm now looking into why it's wrong.

The path it's (wrongly) trying to write to is:

/C:/CSPECT/…/file.bas

I'm guessing the /C:/ bit is wrong. If you were to move a file (any file) using vscode (using the palette ctrl+shift+p / move), what path do you see? And does the move inside vscode work?

remy commented 4 years ago

The fix for this is going up in 1.1.0 which should be available in about 10 minutes in vscode. Thanks for the report 👍

Andy1966uk commented 4 years ago

Cheers, really finding your tools useful, especially the Sptite / TileMap tool.... keep up the good work...

Andy1966uk commented 4 years ago

All working, tested exported binary on CSPECT and on Next HW, all good.