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

Activation issue when vscodeintellicode and vscode-java by redhat installed together #6047

Closed
veredcon opened this issue Aug 27, 2019 · 7 comments
Labels
bug bugs found in the application vscode issues related to VSCode compatibility

Comments

@veredcon
Copy link
Contributor

Description

Seems like starting of version 0.8.0 of theia, activation of 2 extensions like vscodeintellicode and vscode-java do not work well together. When opening a java file, vscode-java extension should be activated - but that does not happen when vscodeintellicode also installed.

Reproduction Steps

  1. I downloaded both extensions:
    https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode
    https://marketplace.visualstudio.com/items?itemName=redhat.java

  2. I ran theia locally as follows:
    docker run --rm -it -p 3000:3000 -v <full_path_to_a_folder_contains_your_vsix>:/plugins -e THEIA_PLUGINS=local-dir:/plugins theiaide/theia-full:0.10.0-next.4d93bcff

  3. Open a java file - I expect to see activation of java-vscode starts, however it does not happen. If I install only java vscode - it does being activated.

OS and Theia version:
Image of theia version: 0.10.0-next.4d93bcff

Diagnostics:

@akosyakov
Copy link
Member

@veredcon Could you try against this PR: #6044?

@akosyakov akosyakov added bug bugs found in the application vscode issues related to VSCode compatibility labels Aug 27, 2019
@akosyakov akosyakov added this to the 0.10.0 milestone Aug 27, 2019
@akosyakov
Copy link
Member

I suspect it should be addressed by b42bf5c I will extract a PR for it tomorrow to verify.

@veredcon
Copy link
Contributor Author

@akosyakov I have tried against your suggested PR but unfortunately the issue reproduces. Again when having only vscode-java extension I have no issue but when adding vscodeintellicode clicking on java file does not activates java extension.

@akosyakov akosyakov self-assigned this Aug 28, 2019
@akosyakov
Copy link
Member

btw @veredcon are you aware that theiaide/theia-full includes native java extension and you should not use it together with VS Code java extension?

@akosyakov
Copy link
Member

@veredcon Could you share java project against which you test and specify which file you are trying to open and what expect to use there?

@veredcon
Copy link
Contributor Author

veredcon commented Sep 1, 2019

We do not use the native java extension of theia, we use only the VS Code java extension.
It happens in any java project...the steps I did to run it locally is cloning the project, checked out to your PR, yarn, added plugins folder that includes both extensions and ran theia from vscode (Launch Backend launch configuration).

@akosyakov akosyakov removed their assignment Sep 4, 2019
@akosyakov akosyakov removed this from the 0.10.x milestone Sep 4, 2019
@veredcon
Copy link
Contributor Author

veredcon commented Nov 1, 2020

I have verified this against theia 1.7.0 and the issue of activation does not reproduce anymore.
Closing this issue.

@veredcon veredcon closed this as completed Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

2 participants