Skip to content

Add --enable-proposed-api #1981

Closed
Closed

Description

@JayDoubleu

I'm trying to pass the --enable-proposed-api flag to vscode
I'm using this patch 9fb33dc
I've also added myextension.id to extensionAllowedProposedApi.

Tried executing via below however it doesn't look like that argument is passed to vscode.

code-server --enable-proposed-api myextension.id
code-server --enable-proposed-api=myextension.id

Is there a quick/other way to pass this argument to vscode?

Activity

  1. nhooyr commented on Aug 20, 2020

    @nhooyr
    Contributor

    See #1779

  2. code-asher commented on Aug 24, 2020

    @code-asher
    Member

    fwiw I suspect #1779 is a different issue since that's for enabling the proposed API in the client/web worker host rather than the server-side host. The error also looks unusual and I think it might be specific to the remote extensions so there might not be anything we can do about it, but I think it's worth a check to make sure it's not a bug on our end.

  3. code-asher commented on Aug 24, 2020

    @code-asher
    Member

    A bit more context, @JayDoubleu got this error after including the changes in #1779. (Correct me if I'm wrong though!)

  4. code-asher commented on Aug 24, 2020

    @code-asher
    Member

    nvm, I completely misremembered, it's just that the web handles it differently than the local version and has nothing to do with the extension hosts. #1744

    Very possible that resolving #1744 via #1779 will fix this then, apologies for the noise. 😊 It's still odd that the error is different but we'll see how it goes.

  5. added this to the v3.5.0 milestone on Aug 25, 2020
  6. self-assigned this
    on Aug 25, 2020
  7. removed this from the v3.5.0 milestone on Aug 25, 2020
  8. added this to the v3.5.0 milestone on Aug 31, 2020
  9. nhooyr commented on Aug 31, 2020

    @nhooyr
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions