Is there any way to remove auto-select after autocomplete on VS-code? - visual-studio-code

as the title says I'm looking for a way to remove the autoselect code after autocomplete. Currently, the only way to remove the autoselected line is either pressing ESC key or clicking anywhere else. And it's currently giving me issues because it's quite annoying.
I've been searching for a solution for about 3 days and it's either I'm doing it wrong or I don't really know what the issue exactly is... Here's a picture of my issue
As you see in the picture, the code is autoselected/highlighted right after autocomplete and as said I really need help because it's turning annoying.
Thanks in advance.

Set Snippets Prevent Quick Suggestions to false, in text editor > suggestions

Related

Weird Intellisense and code suggestions bug VSCode

I am having a weird bug on vscode for which the auto-completion suggestion shows twice and on the first auto-completion, the cursor is not going to the end of the word. I tried to check and play around with autocompletion settings but can't manage to solve this.
One thing I noticed is that if I open the suggestion menu manually and then select it, it works, this happens with the quick suggestions menu.
See the video below for clarity. This is a really annoying issue, can't find anything online about it.
See video here
Possible solutions:
Update your vscode if available.
If that only happens when writing CSS code, maybe that's an extension related issue.
See if that works :)

VSCode Type Hint toggle display

How can I toggle on and off the display of Type hints in VS Code? For example, I've got the code .remoteOf(ClassServiceClient.class) and what I see is .remoteOf(CLAZZ:ClassServiceClient.class) but I can't actually select or seem to interact with the CLAZZ word.
How do I toggle this on and off? It seems useful in certain situations, but it just makes me think I typoed something.
I'm sure this has been asked before, but I haven't been able to come up with a word that seems to describe this feature.
This feature is called Inlay Hints and can be found under the Editor section.
After this, I've gone from displaying clazz:#Log4J2 to #Log4J2, and have enabled the option to display this hint by holding down a set of keys, ctrl + alt by default on Windows.

Using vscode, i am driven crazy by annoying pop hint every time when i hit Space key, How to solve this problem?

i am driven crazy by annoying pop hint every time when I hit Space key. As shown below:
Now, how to find out which extension or pop snippet hint is causing the issue when I hit space key and which one to disable it ?
There are two ways to solve this issue.
Method 1:
In VSCODE. click File > preferences > keyboard shortcuts and search for space you could see space might be wrongly assigned to some intelli sense. Click on that particular keyboard shortcut. Double click the stroke and change the shortcut.
Method 2:
Very expensive way.
Disable all extensions first and try the space keystroke then try enabling one by one. You will definitely find the culprit.
Hope it helps
I solved it eventually by disable all snippet extend one bye one, then the latest extensions, found out the cause is https://github.com/bauhausr/antd-intellisense extension.
It drives me crazy too. I just turned off Editor: Suggest On Trigger Characters and it seems to be working for me!

Eclipse shows only te function selected in outline

Maybe I've broke some stuff in settings or something like this but Eclipse starts to show in editor ONLY the function/method that chosen in outline pane. No other code showing in editor. Unchecking "Link with editor" was not helpful. Once thing is helping is reopening of file. But once clicking something in Outline pane all code except chosen function disappearing again so Outline becomes quite useless pane.
Does somebody knows where I could turn off such behavior to make it acting as it was - just jumping to selected function but not hide other code.
Thanks in advance! And sorry for my english.
Sorry everybody for posting so silly question. However, maybe it would be helpful for somebody to know - just found why Eclipse was acting like I've described.
Settings->Javascript->Editor->Only show the selected element. Uncheck this.
Don't even know why it needs such strange settings option...
Thanks again!

Issue with TAB and ENTER in vscode

So, Ive been using Visual Studio code now for several months, and I love it. BUT, there is one thing that is driving me nuts that I'm tired of dealing with.
VSCode has a terrible habit of changing my text when i hit TAB or ENTER at the end of typing. For example, Let's say I'm writing something and I want to tab over a few tabs. So, as an example:
I type "fix", meaning, i hit tab at the end so I can tab over a few columns. When I do this, my line changes to:
"<fix></fix>" (hope this doesnt looks weird, I had to edit to the tags wouldnt be hidden)
So, in order to tab to the right for in-line comments or something, I have to hit SPACE before i hit tab. Lame.
Similar stuff happens when I hit enter immediately after typing something. It changes my text to something else before leaving the line. So, again, I find myself adding an extra space at the end of every line.
Does an extra space hurt me in the long run? No. But my OCD is freaking out over it.
I dont have tab autocomplete turned on, so why is this behaving as such?
I'm using vscode on a Mac. I disabled and uninstalled all extensions... still happens.
So yeah, I've messed with this for days, and only now after I post a question do I figure it out. These two settings took care of my issues:
// When enabled, emmet abbreviations are expanded when pressing TAB.
"emmet.triggerExpansionOnTab": false,
// Controls if suggestions should be accepted 'Enter' - in addition to 'Tab'. Helps to avoid ambiguity between inserting new lines or accepting suggestions.
"editor.acceptSuggestionOnEnter": false
Emmet was the tab issue, and the accept suggestion on enter was the second, even though no suggestion was showing. Hope this helps someone else...