Code-server: workspaces not working?

Created on 15 May 2019  路  7Comments  路  Source: cdr/code-server


  • code-server version: v1.939-vsc1.33.1
  • OS Version: ubuntu

Description

I have a .code-workspace file in a directory, when I open the directory I'm prompted with :
"This folder contains a workspace file 'zzz.code-workspace'. Do you want to open it? Learn more about workspace files."
I click on "open workspace" button and nothing happens. In the developer tools console I see this when I click the button:

 ERR not implemented: Error: not implemented
    at e.openWindow (http://127.0.0.1:8443/ide.main.92c1f4.js:60:1648115)
    at t.openWindow (http://127.0.0.1:8443/ide.main.92c1f4.js:60:6355629)
    at Object.run (http://127.0.0.1:8443/ide.main.92c1f4.js:60:1359655)
    at t._actionCallback (http://127.0.0.1:8443/ide.main.92c1f4.js:53:282278)
    at t.e.run (http://127.0.0.1:8443/ide.main.92c1f4.js:16:96194)
    at t.runAction (http://127.0.0.1:8443/ide.main.92c1f4.js:16:96868)
    at t.runAction (http://127.0.0.1:8443/ide.main.92c1f4.js:60:1185322)
    at t.run (http://127.0.0.1:8443/ide.main.92c1f4.js:16:96676)
    at http://127.0.0.1:8443/ide.main.92c1f4.js:60:6183093
    at e.fire (http://127.0.0.1:8443/ide.main.92c1f4.js:16:14094)

How can I use workspaces with code-server? If not possible, what is a good alternative?

bug

Most helpful comment

It seems this functionality has not yet been implemented for code-server (https://github.com/cdr/code-server/issues/490). I agree this would be great to have though

All 7 comments

It seems this functionality has not yet been implemented for code-server (https://github.com/cdr/code-server/issues/490). I agree this would be great to have though

We just merged v2, I think we already implemented opening workspaces.

Thanks for the update @sr229! Is this in the current https://github.com/cdr/code-server/releases/tag/2.preview.11-vsc1.37.0 release or only in master?

Should be that or you can try out a build fresh from the trunk if you're brave enough @vnijs

(PS: they're equally stable anyways so don't fret).

Yep. Looks like this works in "fresh from trunk" version. Thanks @sr229!

I do see the following in the JS console in case that is relevant.

image

@code-asher might be something wrong with how we generate the manifest on build time?

If this still occurs, please feel free to reopen.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KSXGitHub picture KSXGitHub  路  3Comments

chrischabot picture chrischabot  路  3Comments

RealSlimMahdi picture RealSlimMahdi  路  3Comments

sa7mon picture sa7mon  路  3Comments

pchecinski picture pchecinski  路  3Comments