-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Align the Comments plugin API with the latest vscode #8539
Conversation
Hi @vinokurig there is something wrong with the test steps
"extensionDependencies": [
"vscode.git"
], but the referenced git extension has package.json "name": "vscode-git",
"publisher": "vscode", so FQN is so it's downloading vscode.git@latest which is 1.49.1 and then there are duplicates If I look at https://open-vsx.org/api/vscode/git/1.44.2/file/vscode.git-1.44.2.vsix I've "name": "git",
"publisher": "vscode", |
@benoitf I've updated the |
FYI: #8525 is approved, so you can get rid of step 5 in |
@akosyakov @benoitf any updates? |
@vinokurig is step 5 still mandatory? I believe the steps for testing it can be a bit simpler if this PR is rebased on the master changes 😉 |
@azatsarynnyy You are right, I merged it today, updated the description, thank you. |
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
0fe951a
to
8062e23
Compare
And rebased 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Git clone the github authentication plugin to the plugins folder
Doesn't GitHub Pull Requests
VS Code extension already provide GitHub Authentication Provider?
I suppose github authentication plugin
has to be compiled first. Because I got
After cloning github authentication plugin
, I've tried to compile it but:
node_modules/@theia/plugin/src/theia-proposed.d.ts:618:34 - error TS1005: ';' expected.
618 readonly items: readonly TimelineItem[];
~~~~~~~~~~~~
node_modules/@theia/plugin/src/theia-proposed.d.ts:618:47 - error TS1011: An element access expression should take an argument.
618 readonly items: readonly TimelineItem[];
node_modules/@theia/plugin/src/theia-proposed.d.ts:679:1 - error TS1128: Declaration or statement expected.
679 }
~
error Command failed with exit code 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After cloning
github authentication plugin
, I've tried to compile it but:
I experienced the same issue trying to compile the provided plugin.
No, vscode has its own built-in GitHub authentication provider. In Che we are going to have such provider in the github-auth plugin.
Yes, it must be compiled before the theia start.
Sorry, I forgot to mention that those errors do not prevent the plugin from working properly. |
@azatsarynnyy @vince-fugnitto Could you please review it again? |
Thanks @vinokurig! I opened a workspace with Theia sources. It shows me that the plugin activation is in progress and never ends |
When I'm switching to GitHub view
|
@azatsarynnyy @vince-fugnitto |
This PR is about updating existed dummy API with changed interfaces from vscode. The GitHub plugin mentioned here is just an example to show that it works better with this changes. Looks like this error is caused by an empty tree which is shown instead of login panel: |
@azatsarynnyy @vince-fugnitto any updates? |
I will test right now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that changelog breaking change is kind of optional as
|
I don't think that it has to be mentioned in the changelog because this is just an update of the existing dummy API. |
No problem, just wanted to bring it up if it was something we wanted to add. |
What it does
Align the Comments plugin API with the latest vscode: https://github.com/microsoft/vscode/blob/42226a9169340756897e12b65045c721af9f860b/src/vs/vscode.d.ts#L11411-L11695
This is dummy implementation, there is an issue to replace it with full implementation: #8492
How to test
"@theia/git": "^1.5.0"
fromexamples/browser/package.json
file.plugins
folder.plugins
folder.plugins
folder.It should be possible to open a pull-request in the editors view:
Review checklist
Reminder for reviewers