Git Product home page Git Product logo

Comments (6)

sergeyQx avatar sergeyQx commented on September 1, 2024 1

I will try to elaborate more on the second point. Currently we do not have plans to contribute to the line completion but we would like to influence what is suggested to the user and how Tab or Tab+Tab are handled.

When Visual Studio intellisense list is shown the IntelliCode prompts the user with some suggestion and when different items in the intellisense list is selected the prompt is updated accordingly. When different intellisense list is shown the prompt is never updated. We could have told the IntelliCode engine which string prefix is to be inserted and thus the prompt could have been updated if such API is available. And since our intellisense list handles Tab we would like to know if IntelliCode's prompt is open and will be handling Tab/ Tab+Tab to pass the corresponding keystrokes to it.

In general it would be awesome to have something like the IntellicCode's view model exposed via API so any third-party extension is able to interact with it.

from vsextensibility.

markw-t avatar markw-t commented on September 1, 2024 1

Thanks Sergey. So your basic request is to have a hook that allows you to pass the changed IntelliSense selection from your own implementation of an IntelliSense UI, to line completions so that we update our prediction. I appreciate the clarification and we'll consider what we can do there.

from vsextensibility.

markw-t avatar markw-t commented on September 1, 2024

Thanks @Denis-Korneev

We don't yet have a public API for line completions in Visual Studio, but I'd love to understand your requirements more.

  1. Your first bullet seems fairly straightforward (publishing an API for when we are active/shown so you can react on keypress processing).
  2. The second is not so clear, so it’d be good to elaborate a scenario you have in mind so we can understand how you’d like to see it work – are you looking to contribute line completions of your own?

Thanks! /cc @DavidObando @ayim @dpugh

from vsextensibility.

sergeyQx avatar sergeyQx commented on September 1, 2024

I have filed a corresponding issue on a developer community website as requested https://developercommunity.visualstudio.com/t/IntelliCode-full-line-completion-API/1547442

from vsextensibility.

sergeyQx avatar sergeyQx commented on September 1, 2024

Yes, I think so.

from vsextensibility.

markw-t avatar markw-t commented on September 1, 2024

We've provided hooks that address the need for coordination in the first bullet, in the Visual Studio 2022 Preview 7.0 build. @Denis-Korneev has confirmed that these hooks are working as expected and deliver the needed coordination - they should be available to ReSharper customers in an upcoming EAP build. This will mean ReSharper users should be able to see and use IntelliCode’s line completions for all cases where the ReSharper custom completions list is not showing, and this will provide a satisfactory experience.

We're not currently planning to expose the ability for extenders to drive IntelliCode line completions from their own custom completions lists. Of course, we’ll monitor customer feedback for future updates.

I believe this issue is now complete.

from vsextensibility.

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.