java.project.addToSourcePath
command should be allowed in gradle/maven project
#964
Labels
java.project.addToSourcePath
command should be allowed in gradle/maven project
#964
This issue is related to #859
https://github.com/eclipse/eclipse.jdt.ls/blob/ca81aa7b935b52c0aff7624fa9f330c832578233/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/commands/BuildPathCommand.java#L45
Currently jdt-langserver doesn't allow users to add folder to source path if the project is a Maven/Gradle project which doesn't make sense.
When I open a source file which isn't included in the build path, there isn't any code intelligence at all. Meanwhile I need to modify the build script to add these source folders.
It will be nice if we have code intelligence on these files(even without auto-build) by adding the folder to source path, or can jdt-langserver just treats them as standalone files?
screenshot:
The text was updated successfully, but these errors were encountered: