Comments (4)
A previous workaround mentioned adding a new file to the root level. This ended up reloading the whole project, but after the reloading had completed there was a significant performance impact when using it normally to navigate a file and you were still not able to set a breakpoint.
from nvim-java.
@s1n7ax I run some tests using this repository and I believe issue is that, the project workspace directory is not unique (There is an open issue in nvim-java-core project releted to this).
I think unique workspace directory will solve project load issue, so the run/debug API should work as expected, but I'm not sure the breakpoint creation error is releated to this.
I used this branch during the tests. ( the AstroVim java pack use this way to generate unique worksapce folder)
from nvim-java.
This is fixed now: nvim-java/nvim-java-core#54
from nvim-java.
@s1n7ax same question.
If it is a multi-tiered project, only the bottom tier is recognized.
eg:
/
-- .git
-- pom.xml
-- modules
-- pom.xml
-- base
-- src
-- main
-- java
-- com
-- xx
-- *.java
-- *.java
-- *.java
-- resources
-- pom.xml
-- main
-- src
-- main
-- java
-- com
-- xx
-- Application.java
-- resources
-- pom.xml
When I open nvim in the project root directory, the directory tree is normal.
When I open Application.java, the directory tree has changed, and now there is only the bottom module.
Maybe should check .git
parent as root directory.
I try set
opts = {
root_markers = {
".git",
},
},
but no work.
from nvim-java.
Related Issues (20)
- feature: when tests are executed the results are auto opened
- bug: openjdk is installed regaredless fo the auto_install = false setting HOT 1
- mason keeps trying to install an invalid jdtls version HOT 4
- bug: Lombok is nog longer detected HOT 7
- bug: Jdtls not using the installed openjdk-17 HOT 1
- bug: After running JavaRunnerRunMain, it works fine. But when I close the opened terminal and try again it doesn't work HOT 3
- feature: Extract variable refactor command
- Installation documentation outdated
- bug: jdtls installation fails because it is trying to download a file which does not exist HOT 3
- feature: Application to run multiple application at the same time in multi module project HOT 7
- feature: support remote debugging
- feature: Hoping for a Complete Configuration Demo to Set Up and Run Java and Maven Projects HOT 4
- bug: cant run the springboot project HOT 2
- bug: jdtls error in v1.4.0 HOT 1
- bug: Error after open lazyvim (using nvim-java guide) HOT 2
- bug: postfix completion not shown HOT 10
- regression: jdtls doesn't have the capability `"textDocument/codeAction"` HOT 12
- bug: Fail to start the debugger on standalone java programs HOT 6
- bug: errors when opening a java file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-java.