To save screen space, I wanna close some useless controls in my Visual Studio 2008. How to close these two?
The picture http://img.my.csdn.net/uploads/201303/19/1363672197_5037.png
This is the Navigation Bar.
You can change settings by entering the Options dialog via the menu (Tools -> Options). Under Text Editor settings, choose the language (C/C++) and uncheck the Navigation Bar option.
You can do this under the All Languages setting instead, but I wouldn't recommend it. I disagree with your opinion that it's a "useless control".
Note that after changing it, you may need to close and open your source files again. I had erratic behaviour on open source files when applying this option.
Related
I am new to C++ and programming. In an assignment for school, the teacher wants us to give the file a specific name, but when I open a new file it will be named "ConsoleApplication" or whatever and I don't know how to change it.
When I go to "save," there is no "save as" option. There is a "save output as" option, but I don't want to save just the output, I want the whole project.
Thank you.
I am using Visual Studio 2015.
Either use your operating system's file explorer (on windows press windows button + e), as noted by drescherjm, or right click the file you want to change the name of inside of visual studio (there should be a box called solution explorer), and click "rename".
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.
I have just installed Visual Studio 2012 Professional Edition and I'm planning to write my first Hello World application but I can't find the designer view !
How can I switch to the designer mode in Visual C++ 2012 Professional?
Maybe you are used to C#, where when you have let's say MyForm.cs and you just open it, it opens MyForm.cs [Design] window by default, in which you can design your dialog.
In Visual C++, the appearance of the dialog is stored in the resource file, thus you need to double click on Win32Project3.rc which will switch your left pane to the Resource view. Then you will see more resource types (they look like folders) and under Dialog you will find your dialog.
I found that double-clicking the header file (as shown in the Solution Explorer) opens designer view where applicable. To get the actual template, I used an online template through VS2015. Sorry if this response isn't the best, I just got a hang of it earlier today...
I have a really big problem. Visual studio 2010 does not create C++ projects any more. When I click to create a new C++ project (no matter console or Win32) it shows the next dialog, which should allow me to choose project settings, but I cannot do anything in this dialog (when I click Cancel or Finish nothing happens, I can just close this window), also, this dialog does not show all settings, like it had.
Non-C++ project are being created successfully.
I've installed a VC++ express, but it has the same problem. Class creation window also has this problem.
I tryed to reinstall VS, but it had no effect.
I tryed to launch from VS console devenv.exe /setup and devenv.exe /InstallVSTemplates
I tryed this
This is a screeshot of project creation dialog (labels are in russian, but you can open this window in your VS to see the difference)
UPD: translated window:
UPD:
Skype main window has a problem - it does not display any contensts. It seems, that problem is in IE
Yes, these wizard pages use HTML and javascript and are displayed by an embedded WebBrowser.
Your IE install is messed up.
by default VS 2010 when I run a c++ application, eventually shows a dialog that notify if a source file changed, before automatically recompile the solution.
Unfortunately I made that dialog not to show anymore, accidentally selecting the checkbox "do not show again" or something like that.
Does anyone know how could I restore that dialog?
In the Tools/Options/Projects and Solutions/Build and Run dialog are a couple of options that control this kind of behavior. I think you're looking for the "On Run, when projects are out of date" option; select "Prompt to build".