If Intellicode Whole Line Completions are displayed, the suggestions widget does not open
See original GitHub issueDoes this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.60.0-insider (user setup)
- OS Version: Windows_NT x64 10.0.19043
- List of extensions that you have installed: Visual Studio IntelliCode Completions
Steps to Reproduce:
-
Open the attached .txt file, convert it to a typescript .ts file main.txt
-
In line 5, type
s=
and you should see a gray text IntelliCode completion. -
When you type what the completion shows, and get to typing a dot, “.”.
-
When you type a “.”, it is expected you see the suggestions widget. But the suggestions widget does not show up in the presence of gray text completion.
-
GIF -
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:47 (28 by maintainers)
Top Results From Across the Web
Type less, code more with IntelliCode completions
This will mean you can commit the whole line of suggested code regardless of whether the IntelliSense dropdown is showing on screen or...
Read more >IntelliSense in Visual Studio Code
The editor supports "tab completion" which inserts the best matching completion when pressing Tab. This works regardless of the suggest widget showing or...
Read more >IntelliCode whole line completions in Visual Studio 2022
IntelliCode, type less code more! In this video we'll look at the whole line completions and how you can use it to write...
Read more >Android Studio - Auto complete and other features not working
#1 From Build menu (of your Android Studio), click Rebuild Project option. #2 Then once rebuild completes, go to File > Invalidate Caches...
Read more >Top IntelliCode Alternatives in 2022 - Slashdot
It is an AI-powered Code Assistant that has been trained on millions of lines of code from private corporations, as well as billions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey all, I wanted to share my thoughts as a user who’s been struggling with this problem for a while now. I’ve mainly felt this pain when using VS Code with TypeScript IntelliSense and Copilot. I was referred here from https://github.com/microsoft/vscode/issues/157675.
I’ve found that IntelliSense and Copilot inline suggestions serve very different purposes in my coding flow. IntelliSense tells me what’s possible while Copilot tells me a best guess solution. I use IntelliSense when I’m not totally sure what I want to do but I want to see what my options are. I use Copilot when I know what I want but I don’t want to type it out. IntelliSense is like searching documentation intersected with the knowledge of the type system. Copilot is like pairing with someone who knows you so well they can finish your sentences for you.
Given that, my ideal behavior would be:
This would allow me to keep relying on Copilot to help speed up my typing but have a seamless way to indicate to VS Code when I’m interested in IntelliSense (typing a dot). (There are also other IntelliSense trigger characters where it would be useful to hide Copilot - e.g. typing an opening quote mark in a place where the type system knows a union of strings is being used.)
A few thoughts on other suggestions from this thread:
I’m sure I have some blind spots as I’m just one user with a specific use case, but hopefully this feedback can help as you keep working on this problem.
After discussing with @isidorn, we suggest the following: