Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent vscode/git fail to run #52

Closed
jeluard opened this issue Mar 11, 2021 · 6 comments
Closed

Recent vscode/git fail to run #52

jeluard opened this issue Mar 11, 2021 · 6 comments

Comments

@jeluard
Copy link

jeluard commented Mar 11, 2021

With latest theia (1.11), recent versions of vscode/git fail with the following error:

root ERROR [hosted-plugin: 47065] Activating extension 'Git (built-in)' failed: TypeError: n.window.registerFileDecorationProvider is not a function
    at new c (/Users/julien/theia/plugins/vscode-builtin-git/extension/dist/main.js:10:470092)
    at new t.GitDecorations (/Users/julien/theia/plugins/vscode-builtin-git/extension/dist/main.js:10:472492)
    at C (/Users/julien/theia/plugins/vscode-builtin-git/extension/dist/main.js:1:104831)

It appears that some VSCode API has been renamed: microsoft/vscode@d04f317

@azatsarynnyy
Copy link
Member

Hello @jeluard,
could you file a Theia issue for updating window.registerDecorationProvider -> window.registerFileDecorationProvider.
It seems we need to just update it here
https://github.com/eclipse-theia/theia/blob/master/packages/plugin/src/theia-proposed.d.ts#L286
BTW, it would be a good issue as for the first contribution 😉

@jeluard
Copy link
Author

jeluard commented Mar 12, 2021

I'll take a look! Should the older name (registerDecorationProvider ) still be available?

@azatsarynnyy
Copy link
Member

I'll take a look! Should the older name (registerDecorationProvider ) still be available?

I don't think so.

@vince-fugnitto
Copy link
Member

For the Eclipse Theia framework I believe it is already handled by the following pull-request:

@jeluard
Copy link
Author

jeluard commented Mar 12, 2021

@vince-fugnitto Good catch! I'll wait for the merge then!

@vince-fugnitto
Copy link
Member

Closing as the issue is related to the theia framework (fixed as part of eclipse-theia/theia#8911), and not the publishing of builtins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants