VSCode - Disable selection on auto-complete suggestion - visual-studio-code

Whenever I use autocomplete, VSCode automatically puts whatever I type in a selection, it didn't happen before and it only started happening recently.
Here's what happens:
I type something like this and suggestion comes up:
Then I press enter to auto complete:
All of this is fine, but when I start typing in the quotes:
VSCode automatically puts my text in a selection. This causes multiple problems. Suggestions get disabled in selection and I have to press Esc everytime I want the selection disabled.
Is there any way to fix this?

The question was already answered by #Anton Solomin and #devanil. The issue is VS code auto-suggestion is not working when text is highlighted, because some of your code snippet is preventing quick suggestion by VS code.
So just tell VS code that don't disable quick suggestion if some snippets askes you to do it.
Go to VScode settings page, in settings search bar type editor.suggest.snippetsPreventQuickSuggestions
Uncheck Controls whether an active snippet prevents quick suggestion

Related

Problems with editing VS Code

I can't edit the code after pressing ctrl+c or after I minimized the window and opened the code. this cursor appears highlighted in the photo and nothing happens so that it doesn't click. How to solve the problem?
enter image description here
You have the vim plugin installed.
Either press i to go into edit mode, or disable the extension in the Extensions tab.

How to search ('Ctrl+F') in 'output' panel in VS Code?

I used to be able to be able to Ctrl+F to search whatever was logged in VS Code. Now, for some unknown reason, the search bar doesn't show up when I type in Ctrl+F.
I am on version 1.57, which is the latest at this time.
This question if for the Debug Console which isn't the tab I am looking at.
Click anywhere inside the output panel, and then press Ctrl + F
I realized that the Vim extension is what is causing this. Ctrl+F is for scrolling and although previously Vim keyboard shortcuts didn't work in the output panel, they seem to have been extended to it recently see this issue I raised.

I removed the bottom bar of VScode which shows the errors and errors, how can I recover it؟

I made an error yesterday when I was editing for a web contest, but no matter how hard I tried to send those edits to GitHub, I had to try the options in VS as usual to solve various problems. But I pressed an option without thinking and the E light disappears in the image below. Now I do not know how to return it.
And now my VS is like this
Open Settings using the shortcut Ctrl + ,
Search for "Workbench Status Bar" and look for the following option
Tick this checkbox

VS Code disable Find in section by default

I'm having some trouble with my VS Code Find behavior. Whenever I hit CTRL + F it gives me the Find window, but the Find in section is active (attached screenshot) as a default, which in NOT what I want. It's really annoying to click there to disable this.
Thank you.
Press CTRL+< to open the settings editor, then look for autoFindInSelection. Likely, it is set to always so change it to never.

How to exit IntelliSense suggestions in VSCode, and/or add suggestions?

I'm working in Visual Studio Code, and I would like to know how to exit out of IntelliSense suggestions. Whenever I press enter, the first suggestion is automatically selected, and this is causing me problems, so I would like to know of a way to exit IntelliSense before pressing enter. I know I could change the settings to not automatically select when I press enter, but I prefer using enter for most things so I'd rather not if possible.
My biggest problem is, I'm using Haxe and VSCode keeps automatically correcting "else", in an else statement, to the variable "elapsed". So if there's a way to add "else" to the list of suggestions that would probably work too.
The default keybinding to exit IntelliSense is esc
This is bound to the hideSuggestWidget command. You can change the keybinding as described here