VSCode suggestions don't show up after after accepting previous suggestion - visual-studio-code

I'm struggling with this really annoying thing in VSCode and I don't know if its a bug or just something I accidentally turned on inside the VSCode settings.
The Problem: When writing some code, for example in HTML typing "class" it provides me suggestions. After accepting it, the Cursor stays between the autocompleted quotes (class="here"), but has some weird kind of marking and is not giving me any suggestions anymore. The get new ones, I first need to press esc and now I can type again to get suggestions.
Anyone familiar with this issue? I'd be really thankful if someone knows how to turn this off, because it's a really irritating thing.
I made a screen record and uploaded it to youtube so you can see the behaviour:
https://www.youtube.com/watch?v=gtVSWx0Qc6A

Disable this setting:
Editor > Suggest: Snippets Prevent Quick Suggestions
otherwise the active snippet prevent more suggestions.

Related

Turned off the programming language selection in VSCode, how to turn it on again?

As in the title, I accidentally turned off the possibility to detect the programming language in VS Code, which is a nice feature.
I am looking for weeks now and I found nothing anywhere to solve this.
Does somebody know where I can turn it back on again?
Thank you!

How can I make Vscode Parameter Hints show directly without enter any character

Trigger Parameter Hints doesn't complete work on my vscode, I follow this question How to trigger parameter hints in Visual Studio Code? but not gonna help.
Keep in mind that in Mac OS ⌘ + Space may be set up to change the input language. In this case VS Code will not trigger the hints. So you may want to change the key combination either in Mac OS or in VS Code.
Above is also my situation, the default shortcut conflict with Mac, so I change it to
However, it doesn't show the hints only if when I type any character, like this
What I want is like this, don't need to enter any character, give me all parameter hints directly
Summary: I want the Hints work directly show all hints that I don't need to enter any character to activate it
Do you have any ideas? Appreciate your help! Many thanks in advance
Your screenshots show normal IntelliSense suggestions, not parameter hints (parameter hints show the arguments when you are completing a function/method call)
Use trigger suggest (ctrlspace) to show suggestions

How to disable vscode's inbuilt suggestions?

I only want to keep the consoleLog but I want the rest gone. I've disabled all extensions and those suggestions are still there. I have no idea which language's suggestions are those but I want them gone. Just the vscode's inbuilt suggestions not the extensions' suggestions.
From looking at the little icon that precedes each entry and finding it here: types of completions - those are variables suggestions.
So you can specifically disable those with
Editor > Suggest: Show Variables

Eclipse autocomplete parentheses in control structures

I have a quick question that might save me a few seconds of annoyance every day. I know that eclipse can do a lot of autocomplete magic, so this might be possible:
As a programmer who learned with python, I constantly forget to surround contitions in control structures (like if or while) with parentheses. How do I make eclipse autocomplete opening and closing parentheses when I finish typing while or if?
I am aware that I can autocomplete whole structures with ctrl-space, but how can I configure eclipse to do this by itself?
Any help is appreciated.
So in stock Eclipse, the usual way to bring up assisted content is to type Ctrl+Space. The problem with this is that it brings up both Help Proposals and Template Proposals, with the Help Proposals displayed first. You end up wasting time scrolling down to find what you actually want from the Template Proposals. And there's just that much more clutter to choose from.
The solution is this:
Go Window->Preferences->General->Keys. In the type filter text search for "Template". This should bring up a "C++ Content Assist (Template Proposal)" line. Click on it. Now map this to whatever shortcut you'd like (I did Shift+Space because that's an easy one to do while typing). Make sure to click on the "Binding" option to do this. Click "Ok" and you're done!
If you ever want to add or change what is brought up by that shortcut, and for which specific strings it works, just go Window->Preferences->C/C++->Editor->Templates and you can edit those to do exactly what you'd like when using that newly assigned shortcut.
Hope this helps.
EDIT: I am unable verify if this works for PyDev, as I'm running Eclipse Oxygen, which doesn't currently offer PyDev or the Eclipse Marketplace Client plugin. However, my guess is this would still work in PyDev. Best of luck!
Sources:
Setting auto complete shortcuts in Eclipse
How to change the Control+Space autocomplete shortcut keys in Eclipse for Android
Thanks for any help, but the only thing that seems to work are workarounds. My prefered "solution" is to change the Auto activation triggers for Java in Preferences>Java>Editor>Content Assist from . to .iwfs, so that the autocomplete dialog automatically pops up when I start typing if, while, for or switch. Then hitting enter will do exactly what I needed.

Eclipse : how can I disable this popup?

I'm sorry if this question has been ask before or can be found on the net. I have no idea how do I call this popup. I have no idea of the keyword to google. I tried "popup", "dialog", "confirmation" and a lot else but didn't success.
Back to the question, I've just migrate to my development machine and did fresh install for Eclipse. After that, I copy all the setting in workspace/.metadata folder from my previous machine to the new one. Everything looks fine (theme, key bindings and else) except that I have this popup appearing whenever I press some shortcut. For example, Ctrl+Space to bring up the code assist, the following dialog appears.
This popup never appeared before in my previous machine. It is annoying since I have to hit enter once every time I press those shortcut. Do you have any idea how can I turn this off?
Best
Note
I don't think this popup is code assist specific issue, I brought code assist up as an example. I also got this popup when I press shortcut to
Open Resource
Run
Refactor/Rename
Add getter/setter
and 10s other shortcut too. Also, I don't have conflict shortcut. Not that I know.
This question may have been answered here already: Disable content assist in Eclipse
Refer to the following link for the documentation on Content Assist: http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_con_assist.htm
The point is to disable the actions that trigger the Content Assist.