I'm using VSC and since three or four days, always when I type "r" in css files, yes only css files, a weird textbox will open. e.g. if I wanna write "margin", I'll killed at r, my cursor will be moved into the box and in the textbox then contains "ma". sth like this: https://ibb.co/fdbFtBn if I continue, in the line is "ma" and in the box is "gin".
Is this at all from VSC? Or is this a extension from me? If it is a extension, sorry for this question.
I have already googled this problem, but I found nothing that was helpfull. And on VSC's page is: "You can ask questions and search for answers on Stack Overflow"
I hope someone can help me here.
Thanks for every usefull help.
Related
This question already has an answer here:
Fix issue With VS Code: yellow orange border box around characters
(1 answer)
Closed last month.
The more i try to dig in the VSCode settings, i cant seem to find out how do deactivate that, and I'm wondering if someone knows. Thanks in advance
I navigated through the whole settings things of VSCode including the json and found nothing
Go to settings and search for Unicode Highlight and set it to false
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 :)
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
In visual studio code (1.29.1) ctrl+a doesn't do anything for me. I checked keyboard shortcuts and it's mapped to a few select all actions (editor.action.selectAll, etc.) but when I'm in a file and press it nothing happens. How do I select all text in the current file in visual studio code?
Thanks for the comments, it make me realize it must be an environmental issue. Turns out if you have any mapping starting with a key combination that will lock that mapping to the key combo and you can't use it for anything else.
To make save all ctrl+shift+s I had to re-map save as and I mapped it to ctrl+a+s, so everytime I hit ctrl+a it just waiting for second key. In the status bar at the bottom of my editor it said something like "Ctrl+a detected, waiting for second keystroke", which means Ctrl+a won't work on its own. I re-mapped Save As to some unused key combo and it fixed select all.
This question was luckily answered on another thread
I'll post the OG answer here, nonetheless.
Most new comers to VS-Code could resolve this issue with the 2nd method provided by the OG answer:
Goto File > Preferences > Keyboard Shortcuts
in the search bar type this Select All
There's should a couple of results, you'll obviously want the "Select All" result
right click on his line and click on Change When Expression
a textbox would be highlight for you to fill in text. type editorFocus
press enter and done!
The OG answer provides image if you need to confirm that you're doing it right.
side-note: This issue bugged for more than 3 years and is the main reason my I used VS-Community over VS-Code.
So it's nice to finally be able to work normally in this very robust customizable IDE text-editor.
I'm not sure if this is a good place for this question, but I did see a similar question posted here on overflow.
I'm just getting started with Eclipse as an IDE and having difficulty finding a comments toggle. I'd like to completely hide them sometimes. I've seen suggestions that would allow me to collapse entire comment blocks to a single line, but I'd want to hide ALL comments (single lines, blocks, etc) like in visual studio as a comparison. The goal is to gain the screen space to see more actual code simultaneously.
Anyone know of a way, plugin or otherwise?
Thanks!
This might be a bad way of doing it but you could set the syntax highlight for comments to be the same as your background color.