Which setting in visual studio code has changed selection pattern like these? - visual-studio-code

I have accidently changed selection pattern in my Visual Studio Code editor so that selection of code in file has been difficult when I want to copy and paste code. Want to reset selection to normal.

Go to File -> Preference -> Settings and search for Column Selection. You want that off if you want the default mouse selection. Also, tip: if you have it off, you can always hold down Shift + Alt if you want that selection action.

Related

VS Code QuickFix Menu selected item frame is not visible

I am using VS Code 1.71.2 (newest). Before update I used cmd + . shortcut to open QuickFix Menu, up / down arrows to navigate on it and enter to accept selected item. In 1.71 version Visual Studio Code provided many new things and one of the changes was QuickFixMenu - 1.71 verion.
After upgrade, I am not able to do this action.
After using cmd + . shortcut QuickFix Menu opens, but I cannot use up and down arrows for navigating. Enter shortcut works. It is interesting that up and down arrows work (it changes the selected item) but I cannot see the selection frame, so it is not possible for me to know what QuickFix Action I am currently selecting. Please take a look at the screen-shot - the frame of the selected item is not visible.
NO SELECTION FRAME
EXPECTED SELECTION FRAME
Interesting fact, this frame is visible when mouse hover on the specific list item.
What steps I did:
reinstall of VS Code,
removing all my shortcuts from keyblidings.json,
In upgrade the selectNextCodeAction was changed, so I checked in DefaultKeyBlidings weather it is correct,
Any ideas why this selection frame in QuickFix Menu is not visible?
Fixed!
It was fixed here
Go to Preferences: Color Theme and change it.
Problem occurs only while using Dark High Contrast

Generate editable cursor positions on VSCode [duplicate]

In sublime text I used to use a shortcut that allowed me to tab through my multi selection and edit each element individually.
for example I would cmd+d a word then the shortcut would allow me to tab through each selection and edit them individually.
I haven't used sublime text in a month since I switched and can't even remember the shortcut I used to find the name of that action. so I don't even know if it was a plugin or a built in short cut.
is there a similar shortcut in vscode?
You can multi-select in VSCode using alt+click
(can be changed to cmd+click in "Selection -> Switch to Cmd+Click for Multi-Cursor").
To tab through your selections install the tab-through-selections extension and then use cmd+shift+u to start iterating (alternativley ctrl in Windows), then:
tab to go to the next selection
shift+tab to go to the previous selection
click anywhere to cancel iterating
Hope this helps :)

Tab key is not working in visual studio code

Tab key is not working for abbreviation in visual studio code.I have tried lot.How can I fix the problem?I am frustrated.Thinking of using Bracket instead of visual studio code.
In my case
Using (Ctrl + M) return Tab button to its normal working status.
I think you may be asking about this setting:
// Insert snippets when their prefix matches. Works best when
'quickSuggestions' aren't enabled.
"editor.tabCompletion": true,
That is set to false by default, change it to true.
Don't change any keyboard shortcut or something else. You should change the language mod right bottom on the editor. It was selected javascript by default. You should change with Javascript React after that this changes all emmets suggestions is working.
For Visual Studio code version 1.33, go to File > Preferences > Settings Search for tabcompletion and by default it is off, select on, that is it, you are done.
Pressing Ctrl+M did not disable the mode for me, however the right side of the bar along the bottom of vs-code shows Tab Moves Focus as enabled, which you can click to disable.

How can I indent a selected block of text in Eclipse 3.5.2?

I use TAB and Shift-Tab in Visual Studio to indent an entire selection. This does nothing in Eclipse, and I can't seem to find another way to do it.
Update: I wasn't really paying all that much attention to this initially and did not ask the question correctly.
I now realized that it is in XML files where TAB still does not indent a selection. I did not find a setting for this in the properties, so I assume it is not possible.
Tab and Shift+Tab are the normal ways to do this in Eclipse, just like in Visual Studio.
In addition to the keyboard shortcuts, you can also do this from the Source menu. Source -> Shift Left, and Source -> Shift Right.
Have you checked to make sure tab/shift tabbing is working as you expect in other applications? Is there a stuck key on your keyboard preventing the shortcuts from working? Could another application be stealing the keyboard shortcuts? (as odd as that sounds...)
Also, try restarting Eclipse.
ctrl + i ---> it is for making accurate indentation to a block of source code.
Go to Window Menu -> Preferences -> Java -> Editor -> Typing and make sure the `'Tab key adjusts the indentation of the current line' checkbox is ticked.

How do I customize the behavior of "cut" in Eclipse?

My normal IDE is Visual Studio, but I'm currently doing some development in Eclipse for the first time. If you press Ctrl-X with text selected in either program, it cuts the text and puts on the clipboard exactly as you'd expect. If press Ctrl-X with no text selected in Visual Studio, it cuts the current line. In Eclipse it is ignored. Is there a way to get Eclipse to use Studio's behavior?
http://code.google.com/p/copycutcurrentline/
I haven't found a way to make Ctrl+X context sensitive, but I did find that you can bind a key to the "Cut Line" command by going to the Window -> Preferences -> General -> Keys dialog. Unfortunately this always cuts the entire line, even when you have only part of it selected. Maybe binding another key to this command will work for you?