When creating a property in Visual Studio, I use the snippet prop and can TAB between the type and the name and Visual Studio jumps between the 2.
ReSharper has taken over this functionality, and I would like to know how to reset it back to Visual Studio. The problem I have is I don't know where to look. In Visual Studio 2012 I can see a ReSharper menu, but there are so many options I don't know where to look.
In ReSharper 9.2 in Visual Studio 2015, I achieved this by doing the following:
Going to the ReSharper -> Tools -> Templates Explorer... menu
Deleting all templates in all scopes in all three of the Live Templates, Surround Templates and File Templates tabs. To speed this up, I was able to select all templates in a scope by pressing Ctrl+A and then delete them by pressing the X button in the toolbar.
I had a similar situation with Visual Studio 2013 and ReSharper 9. I simply went to menu ReSharper → Tools → Templates Explorer and then found the prop template and removed it.
You can also deselect templates as well which may work, but I didn't try that approach.
Related
How to disable the use of ReSharper templates in Visual Studio 2019?
Now.
Visual Studio 2019 uses ReSharper snippets.
Expectation.
Visual Studio 2019 uses its own snippets.
Pic-1
ReSharper automatically imports C# templates from Visual Studio. You can go to "ReSharper | Tools | Templates Explorer" and uncheck the templates that you do not want to use.
Alternatively, you can entirely turn off ReSharper completion and use Visual Studio's IntelliSense. You also have an option to use VS action "Edit | IntelliSense | Insert snippet" to manually insert a VS snippet.
After installing Visual Studio 2015, when I go to File -> New Project, I cannot find any project templates related to Visual C++. How can I get them?
You can do that by modifying the Visual Studio, and you can do that using these steps:
Go to Control panel
In the Add or Remove Programs dialog box, select the product you want to repair and then click Change/Remove
In the Setup wizard, click Next
Click Repair
Then Modify - now you can select C++ to add it.
Visual Studio 2015 has made a number of setup components optional. This means that the default installation set is very small and the user can select any additional components he wants to install. Visual C++ is one of the optional install components.
Most of the optional install components can also be acquired through regular product work-flows. For example, when you go to File -> New Project dialog and are not able to find any Visual C++ templates, you will at least see an item that allows you to acquire Visual C++ tools. It does this by launching the setup experience with the "Visual C++" tools pre-selected.
For more information, please see this link:
http://blogs.msdn.com/b/vcblog/archive/2015/07/24/setup-changes-in-visual-studio-2015-affecting-c-developers.aspx
You can add the missing templates by:
Go to File(in visual studio).
Select New project.
Under Templates Select Open Visual Studio Installer.
Now you can add any component.
Works on Visual Studio 2017.
Don't know about others.
If you have an MSVS update 3 installed then you may have face with one of the problem of this update. See more here Visual Studio 2015 Update 3 Known Issues. Here is a quote from this document
In some cases, applying Update 3 can cause the optional feature selections for Visual C++ (e.g. Common Tools for Visual C++ 2015) to become deselected and uninstalled.
I have read posts about having add-ons or extra programs that listen to and respond to other buttons than the traditional left- right- middle- click functionality in a mouse. However, all of them were dedicated to version 2010 of Visual Studio. Is there any way to remap extra mouse button presses to the forward/back commands in Visual Studio 2012?
(if it helps I am using a RAT 7 amazon)
Found a nice Mouse navigation extension. Not sure if it only works exclusively on 2012, but it does work on 2012. http://visualstudiogallery.msdn.microsoft.com/87fb8c65-d1db-49e9-a068-d62a222a4ae7
If anyone interested in the link for the info I found on 2010 stuff, here it is: How do I edit Visual Studio's mouse shortcuts?
I'm currently running a latest Xamarin.Android trial installation with up-to-date Visual Studio 2012.
When opening .axml file in visual studio I can see a visual designer and can use it normally, when I switch to the "Source" tab I can see a perfectly fine layout xml with syntax highlighted and whatnot.
The problem is, that auto-complete can only suggest XML comment and CDATA elements, nothing else.
Is there a way to turn android-aware auto-complete in Visual Studio? I recall Xamarin Studio being able to auto-complete layouts, but when opening a solution, which was edited in Visual Studio, Xamarin Studio also fails to auto-suggest.
Any ideas? Thanks in advance.
EDIT: Switched to the paid version and the problem still persists in both Xamarin and Visual Studios.
In Xamarin studio you may simply right-click on axml file and select - "Open with/Source Code Editor"
Unfortunately, i can't check it in Visual Studio.
Actually you can easily add the Intellisense-like feature in visual studio for your android layout.
The step by step tutorial is here https://kb.xamarin.com/customer/portal/articles/1920119-how-do-i-enable-intellisense-in-android-axml-files-
After so many struggles, the only solution, which worked out for me after all, was to use IntelliJ IDEA or Eclipse to edit my android layouts, and writing code-behind in Xamarin Studio. Ditching Xamarin and going back to development with Java worked out even better.
For our project the best solution was to use
- VS to edit cs code
- Android studio to work with styles, layouts,...
How do we work:
Assume the project located in C:\projects\fun
Create an Android project in C:\projects\fun\AndroidStudio
Using bat script bellow create symlinks to resources folder and AndroidManifest.xml
script.bat
mklink /J C:\projects\fun\AndroidStudio\app\src\main\res C:\projects\fun\Resources
mklink /H C:\projects\fun\AndroidStudio\app\src\main\AndroidManifest.xml C:\projects\fun\Properties\AndroidManifest.xml
it doesn't require to use axml instead of xml files, designer works fine, preview too.
The Autocomplete work only on files with .axml extension.
If your file type is xml you can create new file with axml extension and copy the content of the xml old file to the new axml file (sometimes just renaming the file don't work)
I just recently switched from Visual C++ 2010 Express to Visual Studio 2012 Express for Desktop. Since I use it often, I soon found myself looking for the Batch Build... option under the Build menu (or Solution Explorer → <solution>'s right-click menu).
At work, I have Visual Studio 2012 Professional and the Batch Build... option is where it was in Visual Studio 2010.
Has this feature been cut from the Express editions?
It turns out the Batch Build... feature still exists in the Express edition of Visual Studio 2012; it's just been hidden for some reason.
To access it, you can either assign a keyboard shortcut via menu Tools → Options... → Environment → Keyboard and finding Build.BatchBuild, or you can add it to the Build menu and the Solution context menu, where it used to be, via Tools → Customize... → Commands. The Build menu is under the menu bars named Build and the Solution context menu is under the context menus named Project and Solution Context Menus | Solution.
You can also (Visual Studio 2013 Express) customize the menu to get the command (back):
How to: Customize Menus and Toolbars in Visual Studio
No, it hasn't been cut. I've been using it recently.
However, I have at least one solution where Batch Build is not present on the menu (and wasn't present in Visual Studio 2010, either). My guess is that there's something about the solution that Visual Studio doesn't like, and it disables the batch build feature - but I've never got to the bottom of it.
I would say that if you really need that feature, create a new solution and re-add the existing projects one by one.