My company would like to start using vscode for java development but this process needs to have a transition period where the project will be developed on vscode and eclipse at the same time.
I'm trying to setup the project and the first problem I face is that vscode cannot resolve the classpath Referenced Libraries dependency. In our classpath we have lines like <classpathentry kind="lib" path="/Libs/lib/lucene-core.jar"/> that reference the Lib folder on the workspace that has many different projects. But vscode-java interprets this as an absolute path, reading this like C:\Libs\lib\lucene-core.jar instead of <workspace>\Libs\lib\lucene-core.jar and, obviously, don't find the package.
I found on this issues borad that support for eclipse-like classpath is out of scope for this extension so I searched for ways to work this out like this, but I hit a wall that don't seem to have a solution.
I would like to use a settings.json on a .vscode folder so I can tailor the vscode specific configuration as per documentation but the .classpath and .project need to be kept intact to still work on eclipse. However if a .classpath is present on the project folder, even if it's a broken one, vscode-java ignores the settings.json file.
I would like to propose a configuration to override this behavior and set to the project to ignore any .classpath or .project file, as interpreting it as an unmanaged folder, and focus on the provided settings.json so this hybrid setup can be viable.
Thank you in advance!
My company would like to start using vscode for java development but this process needs to have a transition period where the project will be developed on vscode and eclipse at the same time.
I'm trying to setup the project and the first problem I face is that vscode cannot resolve the classpath Referenced Libraries dependency. In our classpath we have lines like
<classpathentry kind="lib" path="/Libs/lib/lucene-core.jar"/>that reference the Lib folder on the workspace that has many different projects. But vscode-java interprets this as an absolute path, reading this likeC:\Libs\lib\lucene-core.jarinstead of<workspace>\Libs\lib\lucene-core.jarand, obviously, don't find the package.I found on this issues borad that support for eclipse-like classpath is out of scope for this extension so I searched for ways to work this out like this, but I hit a wall that don't seem to have a solution.
I would like to use a settings.json on a .vscode folder so I can tailor the vscode specific configuration as per documentation but the .classpath and .project need to be kept intact to still work on eclipse. However if a .classpath is present on the project folder, even if it's a broken one, vscode-java ignores the settings.json file.
I would like to propose a configuration to override this behavior and set to the project to ignore any .classpath or .project file, as interpreting it as an unmanaged folder, and focus on the provided settings.json so this hybrid setup can be viable.
Thank you in advance!