Whenever I try to add a new template or edit an existing one, the template editor window is not opened in Visual Studio and nothing happens.
This happens either for live templates, file templates and surround templates.
The export / import functionality works.
It's a knonw issue here: http://youtrack.jetbrains.com/issue/RSRP-329433.
The cause of this is, usually, a TeamCity plugin installed in the VS. Please try to remove all other JetrBrains addins, run 'Repair' on ReSharper after that and check if it helps.
Related
I could not find the code definition using Ctrl + click when I use Docker + Django in my project, since source code are now in container. How could I configure my VScode to enable code navigation?
I am using django-cookiecutter with use-docker configuration.
Python is not a statically typed language and the IDE or editor sometimes can't find the exact code definition.
See: vscode code navigation, also: Difference between statically typed language and dynamically typed language
Problem is the same as here:
Visual Studio 2017 - Not Able to see Publish - Missing Profile / Deployment Options
https://developercommunity.visualstudio.com/content/problem/129404/missing-publish-menu-in-netcore-web-project-right.html
except the fact that I didn't see the button earlier (I've started coding in Visual Studio just recently). I've installed some packages, which were adviced in mentioned topics, like "Azure" and "ASP.NET", but it didn't solve the problem. I don't understand, how it could help (I code on C++ and have not to use these packages, do I?) and what exactly I should do (maybe I've downloaded something wrong).
Thank you in advance!
Update
If I understand right, there is no way to "publish" C++ code, according to:
https://social.msdn.microsoft.com/Forums/en-US/6998eadb-36fb-4a97-bba5-0de49d533732/how-can-i-publish-a-visual-c-project-?forum=vsclassdesigner
Then, how to make standalone exe-file, that doesn't require something other like .pdb, .ipdb and .iobj and can be run on another coumputer without Visual Studio?
The command that creates the binary is called "Build".
I can't say for sure, but I think that "Debug" builds to run on another computer need vcredist, while "Release" builds can run without anything else. Again, I am not sure.
Seems to be missing as a file type in new files, do I need to add some kind of extension or something? I know I can create .cpp files but I'm not sure how to build and run them with the gcc once I do. Documentation seems to be difficult to find, as the web is cluttered with VSCode docs, and VS for Windows docs.
Edit
I know you normally select it as a solution type. It is not available as a solution type.
I'm not really sure why people voted this down. The correct answer is no, you cannot create or run c++ projects in Visual Studio for macOS beta at this time.
Are there any plugins/options/etc. that will show me this:
when I hover over a C++ function/method name in visual studio 2010?
I've tried using visual assist X, but the info for the function is not indented, newlines are ignored, and terms like "return" and "Parameter" aren't bold or colored. The VS built-in XML comment stuff was even less readable.
If you have CodeRush/Refactor you can try the CR_Documenter plugin (use VS Extension Manager). It provides a new dockable window with such documentation.
Use SandCastle to integrate with the builtin help (F1). Its not as good as inline help like you get in your Eclipse screenshot, but you can hover over a type, press F1 and then you are there.
To do this, install Sandcastle and Sandcastle Help File Builder. Then in your Sandcastle Help File Builder project, make sure to tick the box for MSHelpViewer. This will generate documentation and a script you can run to integrate your custom documentation into the F1 help.
For some reason, I can't seem to find a way to do this: changing the start up form for C++ Windows Application under Visual Studio Professional 2010. As many websites have suggested that go into Project\properties\Application\startup from etc. My problem was that I could not find the "Application" or Startup Form anywhere under Project\Properties.
What did I miss?
Thank you.
First, you check the Startup objects setting in your project's properties:
Than, you go to Program.cs and change the default here:
Replace Form1 with any other form you need.
Hope this helps.
You are using the C++ IDE, it doesn't have these kind of goodies. You are supposed to change the code yourself. Double-click the .cpp file that has the same name as your project in the Solution Explorer window. Locate the main() function and change the Application.Run() call:
// Create the main window and run it
Application::Run(gcnew Form1()); // Change "Form1" here