Giter VIP home page Giter VIP logo

Comments (4)

gregg-miskelly avatar gregg-miskelly commented on July 19, 2024

@onor13 the language service is responsible for deciding what expression is under the mouse cursor.

from concordextensibilitysamples.

onor13 avatar onor13 commented on July 19, 2024

Hello Gregg-Miskelly, do you know which part/interface(s) ? It seems strange to me, because my issue is with the debugging session: mouse hover to see the VALUE of a variable/token. It has nothing to do with mouse hover of IntelliSense or similar Language Service functionalities.

from concordextensibilitysamples.

gregg-miskelly avatar gregg-miskelly commented on July 19, 2024

@onor13 yup, this has nothing to do with putting up completion lists. But deciding what is the extend of an interesting identifier is a language-specific concept, and hence a language service is what decides what should be evaluated.

The hookup between the editor and language services is not something that I really understand. For C#, at least, the language service directly calls the debugger last time I looked (IVsDebugger.GetDataTipValue) but I am not sure if that is required, or if the editor will sometimes call that on the language service's behalf. In case it gives you some hints, I think this is the Roslyn code for it: https://github.com/dotnet/roslyn/blob/9d94537786ba0561cc1c55fbd298c82388e8a5af/src/VisualStudio/Core/Def/Implementation/LanguageService/AbstractLanguageService%602.VsLanguageDebugInfo.cs#L406

from concordextensibilitysamples.

onor13 avatar onor13 commented on July 19, 2024

Thank you a lot Gregg, the Roslyn code does exactly was I was looking for.

from concordextensibilitysamples.

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.