This question already has answers here:
Make Visual Studio understand CamelCase when hitting Ctrl and cursor keys
(10 answers)
Closed 8 years ago.
I have the habbit to select a whole word by standing at the first character of the word and doing CTRL + SHIFT + right arrow key. But when the word has capitals then it stops at each capital.
Can I disable this behaviour?
In ReSharper 7, here's where I found how to disable CamelHumps.
Related
This question already has answers here:
Find and replace in Visual Studio code in a selection
(11 answers)
Closed 1 year ago.
Need to know many times I need to replace code in selected lines and I am doing one by one because I dont need to change it on whole file or project. Is it possible to find and replace in selected area ?
Example i have these 8 line code i need to replace _monday only on the last fourth (Mean which i have selected)
Yes, but it looks like you need to do it in a certain order, otherwise it will un-highlight your selection.
Open "Find" with Ctrl + F.
Highlight whatever text you want to replace some text in.
Use Alt + L or click the three lines icon in the Find control to toggle the "Find in Selection" option.
Replace the text as your normally would, and it should now only replace any text within the highlighted text.
Example for reference:
This question already has an answer here:
On the Bash command-line, how do you cut the word immediately after the cursor? [closed]
(1 answer)
Closed 4 years ago.
How can I delete a whole word to the right in Linux Bash Shell command line?
Such as this:
Ctrl + U = Delete left of the cursor
Ctrl + K = Delete right of the cursor
Ctrl + W = Delete word on the left
I want to know a shortcut to delete a whole word on the right, no matter where the cursor is in the word. It is just like in Vim opt it is:
daw
And I want to the same result on the Bash command line.
Use Esc + D or Alt + D to delete the word on the right.
You can try Ctrl + K to delete from the cursor to end of the line (all on the left side of the cursor), and Ctrl + U to delete from the cursor to the start of the line (all to the right side of the cursor).
Also, I find the nice blog post Bash Shortcuts For Maximum Productivity covering a handful of Bash shortcut, and you may want to give it a read.
Visual Studio allows selecting a vertical piece of text, and then editing it. One has to hold Shift + Alt and move the cursor up-down left-right to make the selection.
I know there is Ctrl + D multi-cursor thing in Sublime, but it's not quite the same.
So is there a way to do the multi-line editing a-la Visual Studio in Sublime?
Move cursor where you want, hold ctrl + shift press ↓ a few times.
Press tab, then ← twice, type "Hello World,",
Press esc to leave multi-line mode.
You also can perform "square selection" using your mouse middle button.
Answer: Standard way: Ctrl + Alt + Cursor (which flips the screen orientation on my laptop). The way that works: Keyboard Column Selection for Sublime Text 2 on Windows
How to reopen closed tab in Adium(version 1.5.10)? I tried arrow top + cmd + T, but it doesn't work, why?
If i click with mouse in menu (File -> Reopen closed window), it works.
The problem, was resolved , thanks to xnyhps in freenode#adium!
I must use shift key instead arrow key.
This question already has answers here:
Command to collapse all sections of code?
(21 answers)
Closed 8 years ago.
Is there a shortcut key in Visual Studio that will minimize all of the regions or + signs so that I don't have to go through and click each one individually?
C-m, C-o // collapse all
C-m, C-l // expand all
C-m, C-m // collapse, expand one
Where C is short for Ctrl. You can find more shortcuts at the msdn site
You can find the commands by going to Keyboard Options under the Tools menu, they are mapped to these commands
Edit.CollapseToDefinitions (C-m, C-o),
Edit.ToggleOutliningExpansion (C-m, C-m) and
Edit.ToggleAllOutlining (C-m, C-l)
If you are using Visual Studio Code the commands are similar but work differently. The commands are roughly these
C-k 2 - Fold Level 2
C-k C-j - Unfold all
C-k [ - Unfold recursively (unfold where the caret is)
You can search for Fold or Unfold commands (using C-S-p) to find all of them.
Ctrl + M,M - expand/collapse at caret
Ctrl + M,O - collapse all in document
Ctrl + M,L - expand all in document
Ctrl + M, Ctrl + M
You can perform this on a selection too.