vscode-bookmarks icon indicating copy to clipboard operation
vscode-bookmarks copied to clipboard

[FEATURE] - Support multiple `scheme` on the same workspace

Open WaynePhillipsEA opened this issue 4 years ago • 3 comments

Hi, it's Wayne Phillips here, author of the twinBASIC VS code extension. We're experiencing an incompatibility with your extension that we hope you can assist with.

Environment/version

  • Extension version: v13.1.0
  • VSCode version: v1.59
  • OS version: Windows 10

Steps to reproduce

  1. Create a twinBASIC project
  2. Try to set a bookmark, nothing happens; no error reported in the UI, and no bookmark icon was added in the gutter.

I ran your extension under the debugger, and noted that there was an unhandled error:

tb_bookmarkError

This error is caused by your extension picking up the wrong URI schema. twinBASIC uses two virtual filesystems, as seen in the screenshot below. The first filesystem is labelled 'BUILD CONFIGURATIONS' which has a schema of 'twinbasic-builds', and a second one labelled 'PROJECT: NewProject' with a schema of 'twinbasic'.

tb_bookmarkError2

The file open in the editor here actually has a full URI of twinbasic:/NewProject/Sources/MainModule.twin, but your extension is wrongly trying to use the schema from the first virtual filesystem, twinbasic-builds, as seen in the first screenshot.

If you need any further information, please let me know. Thanks.

WaynePhillipsEA avatar Aug 10 '21 17:08 WaynePhillipsEA

Hi @WaynePhillipsEA ,

I’m sorry to say but yes, the extension does not support multiple scheme on the same workspace, at least not yet.

I already have plans to update that, and I guess it could work for your as well. I’ll let you know about the progress and maybe you could try out when released.

Hope this helps

alefragnani avatar Aug 29 '21 01:08 alefragnani

Absolutely! I will be ready to test as soon as you have that implemented. Thanks.

WaynePhillipsEA avatar Aug 29 '21 08:08 WaynePhillipsEA

Hi, I'm a twinBASIC user. Bookmarks are indispensable for me and twinBASIC doesn't have an own system. So I ask if there is progress regarding the multiple scheme thing.

KarlSevenSeven avatar Jan 20 '22 09:01 KarlSevenSeven