Coder Social home page Coder Social logo

Comments (4)

aarain1066 avatar aarain1066 commented on June 11, 2024

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.

atm1020 avatar atm1020 commented on June 11, 2024

@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.

s1n7ax avatar s1n7ax commented on June 11, 2024

This is fixed now: nvim-java/nvim-java-core#54

from nvim-java.

nzlov avatar nzlov commented on June 11, 2024

@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.
image
When I open Application.java, the directory tree has changed, and now there is only the bottom module.
image

Maybe should check .git parent as root directory.
I try set

  opts = {
    root_markers = {
      ".git",
    },
  },

but no work.

from nvim-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.