GithubHelp home page GithubHelp logo

Comments (6)

Quessou avatar Quessou commented on June 21, 2024 1

The call to hover do give some neat result actually, you are right :
hover_works

from one-small-step-for-vimkind.

jbyuki avatar jbyuki commented on June 21, 2024

The configuration looks fine although I would suggest using the new one available in the README. It is shorter and allows you to connect without entering the port when connecting with launch(). With run_this() it doesn't make a difference as you don't require one anyway.

It's suprising to see that you can get the virtual annotations with values but not inspect the values. What function of nvim-dap do you use for inspecting? Not sure about active watches, this is maybe not supported.

from one-small-step-for-vimkind.

Quessou avatar Quessou commented on June 21, 2024

For the record, I tried with both launch() (and thus, the two-nvim windows trick), and run_this(), both give the same result.

In order to get evaluations, I use the eval function of dapui, that I call either with a parameter (a user input) or not, in which case it just evaluates what is under my cursor.
Should I take a look at what nvim-dap provides directly ?

from one-small-step-for-vimkind.

jbyuki avatar jbyuki commented on June 21, 2024

from one-small-step-for-vimkind.

jbyuki avatar jbyuki commented on June 21, 2024

I see the issue now, I didn't implement context hovers which is clearly said that it's not supported in the osv log 😄 (not blaming you of course) I will see if I can implement that so you can use nvim-dap-ui as well.

from one-small-step-for-vimkind.

jbyuki avatar jbyuki commented on June 21, 2024

I've added a crude implementation of context hovers, let me know if this works now. Of course, choose which ever suits you best (dapui.eval or dap.ui.hover).

from one-small-step-for-vimkind.

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.