I have previously been able to highlight text in visual studio, and the press ctrl+F, and the highlighted text will automatically be added as my search term.
All of a sudden (I don't recall changing anything), this behaviour is broken. When I highlight text, and press ctrl+F, the search box opens, but remains empty.
I am running visual studio 2012.
There's an option that controls that:
"Automatically populate Find What with text from the editor" in Options -> Find and Replace
Related
In Visual Studio 2021 or above what is the keyboard shortcut (KeyMap) Command ID to the "search everything box"? This box is displayed top right of IDE menu bar. It offers a global search including, IDE actions, menus, commands and symbols within code.
The default Ctrl+Q is NOT assigned on my config, used for something else.
Please see the screenshot:
Could not find the correct command in KeyMap. For information, in JetBrains Rider, this command is called "Search Everywhere".
On my installation of VS 2022 the placeholder text within the search box is "Search (Ctrl+Q)".
Pressing this shortcut in the keyboard mappings yields the Shortcut Window.QuickLaunch
The page you linked to also shows this is the default settings for Window.QuickLaunch.
According to Visual Studio documentation
Use the Ctrl+Q keyboard shortcut to access the search box
Advance Shortcuts:
The search results include tabs for All, Code, Visual Studio. You can save time by using the following keyboard shortcuts for different types of searches:
Ctrl+Q, Ctrl+T for files, types, and members
Ctrl+Q, Ctrl+M for Visual Studio menus, options, components, and templates
Ctrl+Q, Ctrl+E to go to the All tab, for both
Please try with Ctrl+Q it is working fine in visual studio 2022.
I would like Visual Studio to autocomplete the current entry in the intellisense menu only when I hit tab.
Autocompletion being triggered, for example, when I press a period, is forcing me to hit escape every time I'm writing something that cannot yet be autocompleted, to avoid that what I'm typing gets replaced with a random entry.
Is there an option to configure this?
I'm using Visual Studio 2015, and programming in C#.
Example: here I'm typing Log, which is a class for which I haven't yet added the appropriate using statement. None of the suggestions is the good one. If I hit . now, the autocomplete feature will write EventLogProcessor, which is not what I want.
Please note that this question has nothing to do with VIM, this is not a duplicate of the question linked at the top.
Use Toggle Between suggestion and Standard completion mode option of visual studio .. It will now only suggest .. and if you press Tab it will complete your choice ..
Edit -> IntelliSense -> Toggle
For Visual Studio 2012, from the Menu Bar,
Select Tools -> Options
In the left pane, expand Text Editor -> C#
Select InteliSense
The characters that commit are listed in a text box
It is so painful for me to "Ctrl+F" keys to open search or find text box in Visual Studio 2013. So how to I put this text box back to tool bar and click on it when I need?
If you look closely you will see a small folder with magnified class icon in the tool bar attached is the image.
Click on the dropdown menu next to it to the right and select what you want to add permanently to your toolbar menu.
As you know, some controls have many properties so it is difficult to find an specific property of a control in Properties window of Visual Studio. How can I search in Visual Studio Properties window?
Select the control that you are interested in, then open the properties dialog (right-click options, or press F4) you should see a box labelled 'Search Properties'.
See image.
If you like to show the search on property tap you have to install devexpress to your project and then add at least one tool from devexpress and then the "search" box will appear. I have tried it.
In Visual Studio 2010, the behavior of incremental search was:
Ctrl+I
Type your search characters
Click somewhere else to quit incremental search
To search again using the same search: Ctrl+I, Ctrl+I
In Visual Studio 2013, the behavior of repeating incremental search is removed:
Ctrl+I
The search box opens
If you want to repeat the previous incremental search, hitting Ctrl+I works as Tab since the search box has the keyboard focus, bringing up the previous text from a Ctrl+F search.
Is there a way to go back to the Visual Studio 2010 way of handling repeated incremental searches? I.e., not bringing up the search box.
Thanks!
Peter, the keyboard jockey