Hello guys today i woke up with very weird feeling that something is wrong with my vscode, I can't select multiple lines with just CTRL+click, only using multiple carets. Is it normal? how to avoid that? its pretty usefull to just quickly select some random divs element and delete them all by one backspace click.
Isn't it a standard in text editors to do it only with ctrl?
Sorry for such a trivial question, I have no other place to ask about it and get an answer
Related
I'm totally new to VS Code, coming from Atom.
When writing HTML elements, I am seeing the brackets highlighted with these boxes, and it is very distracting and clouds where my cursor is at times.
Any idea how to disable it?
(This screenshot is with all extensions disabled.)
https://imgur.com/a/vjdMjDo
Thanks in advance for any help.
i find really annoying the fact that VS code always try to search occurences of words that aren't even in selection.
personally i don't like the fact that every time i rest my cursor something all the occurences are highlighted.
i know that VS code is really customizable, so is there a way to change this behavior ?
here's a gif illustrating my question
left is VS code, right is Sublime text 3.
we can clearly see that sublime only search for occurence that are selected
Thanks a lot
here we go.
this option in settings will do the job
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...
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.
Sorry if this is a stupid question, for the last ten years I've worked solely in a text editor.
In Netbeans, I'd like to be able to quickly accept the autocomplete and move on. For example:
$foo["bar
Netbeans will have automatically completed this to:
$foo["bar"]
My caret/cursor is after the 'r' of bar. At this stage I would love to be able to hit one key and move to after the ] or even the " and then the ]. I can use the right keyboard arrow but that is impractical/painful. They must have thought of this by version 8? It really interrupts my flow and right now I'm just retyping the characters myself as it's quicker than moving my hand to the arrow keys.
I've scoured Netbean's menus, help, StackOverflow, Google. I think the answer will be very simple but I'm not sure what I should be searching for. I may just be very dim.
I use the end key to jump past the autocompleted characters.