Comments (6)
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.
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.
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.
- Your first bullet seems fairly straightforward (publishing an API for when we are active/shown so you can react on keypress processing).
- 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.
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.
Yes, I think so.
from vsextensibility.
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)
- Documentation for the overall Architecture for custom language. HOT 1
- Could not load file or assembly 'netstandard, Version=2.1.0.0 HOT 2
- Wizards 🧙 HOT 1
- When is 'inproc' project needed HOT 26
- Cannot get current theme HOT 12
- Handling long running operation in VisualizerObjectSource HOT 2
- Sample request HOT 2
- DTE.ExecuteCommand and in-proc extension HOT 1
- ModifierKey / Key incompatible with VS HOT 7
- ActivationConstraint.UIContext is poorly documented and difficult to use with existing known UIContext HOT 2
- The where method can not use the debug visualizer HOT 1
- Debugger visualizer for object HOT 3
- Unable to reference Microsoft.AspNetCore.App HOT 2
- IProjectSnapshot - Name/Path HOT 2
- Rename / Move a file HOT 2
- Request for a Close() method
- How to return to current thread after await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync() HOT 6
- in-proc ProjectQueryableSpace HOT 1
- Changing caret position HOT 4
- How to access current/active Project
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 vsextensibility.