I can't find the "Pin to Source" functionality in Visual Studio 2017, was it removed?
I Googled it and nothing til now.
This option is also missing for me in VS 2017. I am however able to pin variables by hovering over the variable and clicking the pin icon on the far right of the tooltip that pops up. This accomplishes the same thing for now.
I had the same issue with VS2019. I tried importing a backup setting from prior year (Tool > Import and Export), and turns out my old hotkey for this command still works -- even though I still can't see the Pin To Source in the hotkey mapping window. You can try this work around.
Related
I just upgraded from VS2015 to 2017, and intellisense highlighting of syntax errors has disappeared completely.
I tried some suggestions found online, mainly Edit->Intellisense->Refresh Local Cache, but that option is not there anymore.
Under Edit->Intellisense there is only Quick info which does nothing when I press it, and toggle completion mode which is greyed out
I'm using Windows 10, C++ project.
Do I need to delete some old files from VS2015 in order for intellisense to work again? like the VC.db file?
Thanks
When IntelliSense stopped working in some files, I just deleted the project cache, restarted Visual Studio and opened the project again. Bear in mind that some minor settings also get reset (like the selected architecture).
Step by step
View => Solution Explorer (in case it isn't already open)
Right click "Solution 'Project name'"
Click "Open Folder in File Explorer"
Close Visual Studio
Show hidden folders (Win10 How-to)
Delete folder ".vs"
Open Visual Studio and project (wait a few seconds)
Hope this helps. -Minding
If you encounter a file in which the intellisense or error list is not functioning properly, look at the top-left corner of the navigation bar and check to see if that file is marked as “Miscellaneous Files”
If it is, the steps to solve the issue is:
Go to the file inside Solution Explorer.
Right-Click file and select Exclude From Project.
Right-Click your project/folder where the file was and click Add Existing Item, and add the file you just removed back into your project.
This should fix whatever issues you're having. (Tip: You can multi-select source/header files, so this does not need to be done one at a time).
Right-click on solution and select Rescan Solution (Visual Studio 2017). This should re-sync IntelliSense with solution data.
Please try to click Tools->Text Editor->C/C+±>Advanced, under IntelliSense, set
Member List Commit Aggressive to True and recheck this issue. Also, set
Use Aggressive Member list for Auto Member list to *False.
In my case, the project was referring to 2 different versions of the same library. I uninstalled one of the versions and intellisense started working.
When I open a C++ project created recently on Visual Studio 2015 I am able to debug it and have it run, but the code window is blank. I've clicked all around and can not find anything to show me the code so I can continue to work on it.
I have tried:
F7: View Code does not work.
Opening from the Solution Explorer window does not do anything.
Searching Google, Stack Exchange, and YouTube tutorials for my identical problem.
I suspect it is a very straightforward misunderstanding of the interface on my part, but wanted to get involved on Stack Exchange to figure it out.
[
Fixed with the following for me.
Change 'Color Theme' to something other that what you have.
Tools -> Options -> Environment -> Color theme:
Select OK then exit Visual Studio.
Open project and should see your source.
Please clear Visual Studio Cache, then open the Visual Studio again.
You can find cache folder on follwing path
C:\Users\<your_username>\AppData\Local\Microsoft\VisualStudio\<VS_version>\ComponentModelCache
Note : Close Visual Studio, and stop all Visual Studio processes.
It's remarkable how much one comes to rely on the red squigglies once they're gone.
I have 1 c++ solution in Visual Studio 2013 where the red squigglies will not show up. The rest of Intellisense works, except for the error checking. I have tried:
Resetting all settings in Visual Studio
Uninstalling and reinstalling Visual Studio
Deleting the dev folder and getting latest from TFS
Deleting all *.sdf files in the dev folder.
This problem only appears in 1 solution, though. I can create a new VC++ solution, and those magical red squigglies show up where they should.
Also, I'm not sure if this is related or not, but I globally lost variable highlighting in the enhanced scroll bar. In Visual Studio 2013, if you focus the cursor over a variable, you will see little highlights appear in the scroll bar, indicating where the variable is used. That feature no longer works across the board. Edits (yellow), Breakpoints (red), and saves(green) work, but not variable highlighting.
For some reason I can't open the test explorer window in Visual Studio 2012. I click Test->Windows->Test Explorer and nothing happens...
This problem may have been caused by recently uninstalling DotCover. I did this because my licence expired and I was having issues running tests without it (context menus weren't working).
Any suggestions or advice much appreciated!
Thanks.
In VS2012, Test Explorer has a bug in that the window doesn't get focus when you click Test > Windows > Test Explorer. Instead, the menu item has no effect unless the window was complete hidden, in which case it is displayed.
The bug means that if Test Explorer is collapsed with Auto Hide, the menu item does nothing. Check that Test Explorer isn't in an auto-hide tab somewhere off to the left or right (i.e. in a tab with text written vertically, like Server Explorer and Toolbox are by default).
Update: The bug is fixed in VS2013.
Window -> Reset Window Layout fixed the problem for me.
For me the fix was:
Focus on the test window by Test > Windows > TestExplorer
Using Win+Left / Right to move the window onto an active screen
> ┌┬┐
> Win├┼┤ + Left or Right key
> └┴┘
The same worked for the ReSharper Unit Test Sessions window.
Found this solution here, which is the only thing that worked for me.
Delete all files from this folder:
user\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
As a brutal fix I actually decided to reset all VS settings (not ideal as you lose all your custom settings like formatting and debugging preferences!).
To do this open up a cmd line and cd to the VS directory (mine was C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE) and type:
devenv.exe /ResetSettings
Hope this helps someone in the future...
This worked for me (VS2015):
Close VS instances.
Delete component model cache folder %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache . This
wipes out the MEF cache.
Run devenv /setup /ResetSkipPkgs ref. http://msdn.microsoft.com/en-US/library/ex6a2fad(v=VS.80).aspx
Start VS again and see if the problem goes away.
Source
I had the same problem; turned out it was the Corbis Route add-in that was causing an error in combination with the 'I hate regions' add-on, which caused the Test Window to throw an exception.
After removing both add-ins the window reappeared again after a reset of the VS 2013 window layout. (Windows > Reset Window Layout)
A short-cut for those who have lost Test Explorer somewhere !
Ctrl + Q (for quick launch)
You would notice the focus on a small text box on the top right of VS.
Type in "Test Explorer" and select the option that says Test> Windows> Test Explorer
I have VS 2015. I couldn't find my Test Explorer, even with Test->Windows->Test Explorer. I finally figured it was showing on the left instead of the right.
Any time I scroll throught the intellisense list it disappears very fast, and I have no time to seek and select which I want. I also have Visual Assist X but it doesn't help, it happens with VA enabled and also when disabled.
Any idea which could be the cause and where to config intellisense to remain visible all time until you select something and press TAB/ENTER key? maybe there is some visible delay time config option in some file?
Thanks
Did you try to reset settings?
See here: Visual Studio 2005 Intellisense stopped working after ReSharper installation
Is the problem in all solutions are you are using just one?If so, try to delete .ncb file in solution directory.
Hope this helps.