-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[JDT LS] The plain java project is not detected after importing from github #11516
Comments
jdt.ls supports eclipse projects, maven and gradle. Can you fix this with an "update project configuration" and using "simple java" type? |
I've tried this after updating project configuration as 'simple java' the problem still actual |
…11715) * Add the 'try-catch' to the 'RunPlainJavaProjectTest' according to the known issue #11516 * Add the 'try-catch' to the 'CodeAssistAfterMoveItemTest' according to known issue #11701 * Update the 'MoveItemsTest' related to merge JDT.LS * Update the 'RenamePackageTest' related to merge JDT.LS * Add the 'try-catch' to the 'RenamePackageTest' according to the known issue #11713
…clipse-che#11715) * Add the 'try-catch' to the 'RunPlainJavaProjectTest' according to the known issue eclipse-che#11516 * Add the 'try-catch' to the 'CodeAssistAfterMoveItemTest' according to known issue eclipse-che#11701 * Update the 'MoveItemsTest' related to merge JDT.LS * Update the 'RenamePackageTest' related to merge JDT.LS * Add the 'try-catch' to the 'RenamePackageTest' according to the known issue eclipse-che#11713
Ok, problem here is that the problem is initially created as "blank" and then updated to "plain java". We need to generate .classpath and .project files when we detect the type change (if necessary) for jdt.ls to pick up the project as a "Eclipse project". |
After merging the PR #12041, the bug is not reproduced |
Reproduction Steps:
Java
. ClickNext
btn.Expected result: The Source Folder should be detected automatically. The project should be detected as Plain java.
OS and version: OpenShift multiuser, JDT LS assembly, Che 6.12.0 ; Chrome 68; Fedora 28;
Additional info Probably, this happens because the project does not have
.classpath
and.project
files. But i think after importing this files should generate automatically on client sideActual result The src. folder is not detected, the project is not defined as java. In the dev. console errors like:
dev-machine exceptions:
The text was updated successfully, but these errors were encountered: