I'm running VS 2013 and have the Productivity Power Tools extension installed, but I'm not seeing this option listed. According to what I've read, I should be able to see it under Options → Productivity Power Tools → Custom Document Well → General but it isn't showing up for me?
This is what I'm expecting to see (per http://www.c-sharpcorner.com/UploadFile/kalisk/11-productivity-features-for-developers-in-visual-studio-201/):
And this is what I'm actually seeing:
Update:
Since there hasn't been a lot of feedback on this, could I at least get some simple confirmations (or denials) that this option is even available to any of you that have this setup (PPT2013 installed with VS2013)? I don't even know if this is an actual feature that I should be seeing.
Related
it happened after I installed Productivity Power Tools extension. It seemed not work with C++, so I deleted it. But after deletion, I noticed this "bug". I'm not even sure if it's extensions problem, but I really don't like it
This is probably down to the Shrink Empty Lines extension which is part of the Productivity Power Tools suite. You can configure it under Tools->Options...->Productivity Power Tools
I recently re-installed Visual Studio due to some issues with the integration with Intel Parallel Studio. After reinstalling both, the integration issues are gone, but now for some reasons I have two issues. One is minor: automatic outlining has been disabled by default, and I have to re-enable it every time I start VS using Edit > Outlining > Begin Automatic Outlining (or something similar). Annoying, but at least it works.
The second issue however is that IntelliSense is not working. Under Edit > IntelliSense, Toggle Completion Mode is grayed out. After reading the answer to Visual Studio C# IntelliSense not automatically displaying, I followed the instructions and went to Tools > Options > Text Editor > Fortran. However all three of the check boxes are grayed out. Is this a known issue and does anyone know how to fix it?
Since it is also related to the third party tool, I suggest you post the issue to the Intel® Visual Fortran Compiler forum, there you would get direct solution like this case:
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/733588
In addition, a extension tool Fortran CodeNav which also add the IntelliSense feature, you could also use it in your side.
https://marketplace.visualstudio.com/items?itemName=TiemenSchreuder.FortranCodeNav
VS don't remember this option is check, when restart the IDE or change project branch.
I always check this option when I open the IDE.
I am using VS 17 Enterprise latest version.
EDIT: I am also using resharper(maybe it override VS options).
If I change resharper performance options, than it doesn't work. Following option affect VS option:
If you select fix silently then it is overriding the VS settings.
There are a lot of known issues with "Track Active Item":
https://developercommunity.visualstudio.com/search.html?f=&type=question+OR+problem+OR+idea&type=question+OR+problem+OR+idea&c=&redirect=search%2Fsearch&sort=relevance&q=Track+Active+Item
A summary of most of the issues is already provided by #Davemundo
Try the following (ensure you are on the LATEST VS2017):
As per comments: "I've found that it works reliably when Solution Explorer is in Solution mode. But when working in Folder mode, the behaviour is temperamental."
Toggle lightweight loading on/off (https://dotnetvibes.com/2017/02/13/lightweight-solution-load-in-visual-studio-2017/)
Disable the extensions in VS one-at-a-time to determine which one, if any, cause this
Completely uninstall Productivity Power Toys (PPT) (disable wont work)
Remove the .vs folder (as per other suggestions)
This has to be reproducible, others have had similar problems with different versions, please let us know which version number you are using right now, thanks!
I'm working from home and can't reach the server where my Resharper license is hosted, so Resharper is not working at the moment.
Without Resharper I don't see any develepment time compiler checks. So when I type
var test = new NonExistentClass();
I am not seeing any warning until I build the project. I assume this can be configured somewhere, but I can't find it.
Secondly, I am really missing the ability to CTRL + click method calls, variables and class names to jump directly to their declarations. Is this something Visual Studio 2010 is not capable of? I use this a lot and I must say I haven't seen a IDE that can't do this before, so I am hoping this also can be configured somewhere.
You can enable live error checking by checking Tools, Options, Text Editor, C#, Advanced, Show live semantic errors.
You can enable Ctrl - MemberName navigation by installing the Productivity Power Tools.
Is there a setting in Visual Studio 2008 that I can turn on which would generate a matching closing brace for a opening brace?
EDIT: I would imagine that an IDE as powerful as Visual Studio would have this very useful feature.
EDIT: Is there a macro that can be written? From the responses I have received it looks like ReSharper is the only option. I don't want to have to ask my company to invest in the ReSharper tool, I work for a rather large enterprise and getting anything approved from procurement is not an easy task.
EDIT: I am using VS 2010 Ultimate. The Power Tools and Power commands now do everything I was looking for in this post.
I know the original question is about VS2008, but I'm putting this here as info for other people and to make it useful for recent versions
VS 2010 and VS 2012
The Productivity Power Tools (available for VS2010 and VS2012) extension now supports automatic brace completion.
If you already have it installed for VS2010, you must update to at least version 10.0.10710.22. Click
Tools -> Extension Manager -> Updates
Once you have it installed, you can turn brace completion on or off by going to
Tools -> Options -> Productivity Power Tools -> All Extensions -> Automatic Brace Completion
The most recent version now provides the ability to turn of any features you don't like so you can configure it to your requirements
VS 2013
Even though there's a matching addin for Visual Studio 2013 as well, VS now has native support for automatic brace completion without using any addins. Just go to:
Tools -> Options -> Text Editor -> C#
Tick checkbox against Automatic brace completion
I use ReSharper. It does a whole lot more besides just the closing brace. The only downside is it's not free. But give it a try. The code analysis is worth the price anyway.
Most of the time, you can use autocompletion and code snippets.
If you want to write a for loop, just type "for" and then TAB. VS will complete it (including the braces).
Same thing for if, struct, class, switch... You don't even have to type the first brace !!
Good paper about it here : https://web.archive.org/web/1/http://blogs.techrepublic%2ecom%2ecom/programming-and-development/?p=655
EDIT: Thanks hyde, Steven's answer appears to be right: The Microsoft Productivity Power Tools do have a 2012 version now.
Original outdated answer:
It appears that the Microsoft Productivity Power Tools don't work in VS 2012 yet. If you're looking for a solution that works on the new version, you can check out this extension:
http://visualstudiogallery.msdn.microsoft.com/0e33cb22-d4ac-4f5a-902f-aff5177cc94d
In VS 2013 there is the option of "Automatic delimiter highlighting" (under tools, options, text editor) and while checking that box should highlight matching braces, it doesn't under default settings. This is because the default background is white, and the default highlight color is also white. This can be changed by going to environment, fonts and colors, and changing the background color of "brace matching (rectangle)". Then matching braces will be highlighted and visible.
I realized after I answered that the question was creating the brace not being able to find existing braces. As that's the question I was trying to answer when I ended up here I'm leaving the answer in case it's helpful.
Depends on what you are looking for VS does have some standard auto completion if[tab][tab] and for[tab][tab] try[tab][tab](and lots of other constructs) will get you more than the matching braces in a really nice fashion.
Late to the party here, but I guess you got use an independently running AutoHotKey script to insert closing brackets/quotes for you.
If you don't want to pay for ReSharper or a similar package, I made a free extension to automatically close braces. You can find it in the Visual Studio Gallery at http://visualstudiogallery.msdn.microsoft.com/en-us/0e33cb22-d4ac-4f5a-902f-aff5177cc94d. It will only work in Visual Studio 2010 though.