How do I select the next occurrence of the current selection in VS 2013 and VS 2015?
As a reference for what I want, in Sublime Text/Visual Studio Code, this is achieved by using CTRL+D.
Tried to google it, found similar hotkeys but not exactly what I need.
This is a bit late but this has been added. On mac it's COMMAND + D
Related
I'm using VsVim extension with Visual Studio 2015. Is there a way to always have empty space or lines of code (if present) below the current editor cursor position in Visual Studio. I have seen a setting in vim that gives this feature. Is something like that available in Visual Studio as well ?
I found the solution. As per https://github.com/jaredpar/VsVim/wiki/Settings-Reference, I created a _vimrc file in %USERPROFILE% location with a setting as set scrolloff=3. This works for VsVIM. I think something like that might exist for Visual Studio as well (without VsVIM)
When I press Shift-E in Visual Studio 2013 Professional I see on the bottom right (Shift+E) was pressed. Waiting for second key of chard...
All I'm trying to do is type "Export". How can I make this go back to the default behavior?
Just happened to me as well.. there is another Q with an answer showing the problem.
Unidentified Key Chord in VS2015
Every time I type an emmet string and press tab visual studio replaces it with just the main element. Then i realized it was preferning the the snippet that it was auto suggesting. Is there a way around this or fix it? I am using Visual Studio 2013 Community edition on windows 7 64bit if that makes any difference
I found the problem, I was using another plugin called Viasafora that colors braces and makes it easier to to see your indentations it had a default option for showing completions ans you type. I had to go turn it off.
I had been looking for a "variable highlight" feature which can be found in Netbeans or Notepad++.
This means, when I select a variable, the same variable which is being scattered around other place will be highlighted as well. This feature is very valuable, to help me scan the code quickly.
May I know is it possible I can have this feature as well in Visual Studio 2008?
Use ReSharper and you will be able many useful features. This particular one is called highlight usage and is available when pressing Ctrl + Shift + F7. The description is at:
http://www.jetbrains.com/resharper/features/navigation_search.html#Highlight_Usages
In Visual Studio 2010 this feature is build-in.
I was used to use RockScroll (or MetalScroll), but when I started to use ReSharper my RockScroll start to show some bugs. Well, this is scope to another discussion https://stackoverflow.com/questions/1089493/is-rockscroll-compatible-with-resharper.
But my problem is related, because now without MetalScroll I can't highlight all occurrences, what I consider very useful in many situations.
Someone have another plugin for VS2010 or for ReSharper that do the same or better?
I think you are looking for "Highlight usages in file" This can be access via Shift+Alt+F11 or Ctrl+Shift+F7 depending if you are using VS key bindings or InteliJ bindings. Use either Ctrl+Alt+Up/Down or Ctrl+Alt+PageUp/PageDown to go to next and previous highlights.
You can also use the Ctrl+Alt+G combo to bring up a menu of what to jump to. This can be used to move the cursor to the next occurrence.
You should try Productivity Power Tools for Visual Studio 2010. There are other versions, at least one for Visual Studio 2013 and another one for Visual Studio 2015.
It plays nicely with ReSharper and has this selected text matches highlighting both in the editor and the scrollbars among many other features.
Try the visual studio extension RockMargin which highlight the occurrences on double click (like most IDEs). Works fine with VS 2015 and ReSharper.