Is there any Plugin to disable "Auto ID on Paste" on Visual Studio 2013? - plugins

I saw This question about the "Auto ID on Paste" tool being unavailable on newer versions of Visual Studio, and I know about the workaround that is being currently used (comment a line, paste, undo comment)
But I'm not comfortable with those workarounds, I think it would be easier if I could just install one plugin that allows me to paste elements without generating IDs automatically.
Is there any plugin that does this?

To automate the workaround, you can create the following command in Visual Commander and assign a keyboard shortcut to it:
DTE.ExecuteCommand("Edit.CommentSelection")
DTE.ExecuteCommand("Edit.Paste")
DTE.ExecuteCommand("Edit.UncommentSelection")

Related

Incremental search shortcut in visual studio code

Can I do "incremental search" / "incremental find" in Visual studio code, similar to eclipse and regular Visual studio? I think it's ctrl+j in eclipse and ctrl+i in visual code.
What it does is that it enables typing anywhere in the file and highlighting matches.
So I had the same issue, and the plugin that wardw found did not work with ctrl+g to cancel the search and return to editing. It turns out that siegebell, the original author of that plugin, posted a bug to the visual studio code people regarding this, and they eventually added the capability to cancel the window, but the plugin hasn't been updated in awhile.
I decided to fork the plugin, and update it myself to work. Link here.

Is there any plugin like gitlens for perforce?

GITLENS is pretty cool plugin I found for Visual Studio Code which give all the information about who and when the changes were made in the file. Is there any similar plugin to GITLENS for Perforce ?
The plugin could be for any other IDE as well.
The extension Perforce for VS Code has annotations that can show which changes were made and which user made them.
You can enable annotations for every file by setting the configuration perforce.annotate.enable to true.
perforce.annotate.changelist and perforce.annotate.user can be set to true to output changelist numbers for each line and the user who modified the line respectively.
If you are using a new extension Perforce for VS Code, You can use the command perforce.annotate
By default, it comes with a keybinding alt+p n (it works only when editor text is in focus). You can also search for Perforce: Annotate in Command Palette.

Visual Studio Code - previous search

I came from Sublime to Visual Studio Code and I'm looking for the history of searches in the Visual Code , what was in the Sublime with -
Ctrl+Shift+F
and then just press ↕ to navigate between previous/next search.
How could I get the same functionality on Visual Studio Code on its search text field ?
My current Version is 1.5.2
Up: Shows the previous term in history
Down: Shows the next term in history
You can customize the keybinding to your liking using history.showPrevious and history.showNext
It's Up and Down in the search edit box.
It used to be that you had to use alt, but later they added just the arrow keys by themselves. The keyboard shortcut is customizable under history.showPrevious and history.showNext
definitely it should be accessible by UI. Although the minimalistic UI is the best of VSC
you can navigate search recent history by Alt+up/donw
There is currently no search history in Visual Studio Code. But it's part of the September milestones as you can see here: https://github.com/Microsoft/vscode/issues/5508
So the feature will probably be shipped in October 2016.

How to assimilate into visual studio code from visual studio ( the difference of hotkeys )?

I have been using VS for years. I'm trying to use vscode to develop frontend project.
This is my first time touching visual studio code. I feel the hotkeys are so different when compared with visual studio 2015. For example, format code in VS is ctrl+k+f and format code in visual studio 2015 is shift+alf+f. If I even want to perform a simple copy/paste folder operation I also cannot.
As I know, visual studio code supports customized hotkeys. So, I think that someone may have already config the hotkeys in a form like visual studio 2015.
However, I'm not sure this is even possible.
Please give me some suggestion or direction.
There are a few ways to solve this:
manually recreating all the keys you love from Visual Studio in your keybindings.json
Hoping somebody else has made one that you can copy and paste into your keybindings.json -- I can't find any
Find one in the marketplace. There are a few keybinding extensions, but I don't see any for Visual Studio, though there is a Resharper one if you're used to that.
If you do end up doing number 1, you could benefit the community by bundling it as an extension to share on the marketplace.
Edit: typo. exceptions -> extensions

How to hook into the Visual Studio IntelliSense completion keys to change when it triggers

Visual Studio 2015 does not have a way to only select IntelliSense when I press Enter or Tab anymore in C# for 2015. It's available for JavaScript but not C#.
I'm trying to create a MEF project and hook into the IntelliSense to change this behaviour for C# files. Just to get started, I tried to implement this sample plugin from Microsoft:
https://msdn.microsoft.com/en-us/library/ee372314.aspx
The sample compiles, but it does not work. Nothing in the code is triggered from the debugged IDE. The samples tells to start a new text file and press "a" to get demo IntelliSense, but it never trigger.
Here's the code project if anyone want to look into it:
http://ontime.zdata.no/donwload/ProperIntellisense.zip
Could someone guide me in the right direction here, the documentation in this area is very fluid.
There isn't a supported way to use the APIs to customize this. The behavior you're looking to change falls under the Roslyn project on GitHub so you're more than welcome to file a bug there as feedback. You're also welcome to send a pull request, but at this point it's really tricky to make a change to the editor components of Roslyn and apply those to your locally installed Visual Studio. It's something we're working on fixing but it's not done yet.
The workaround is to press Ctrl+Alt+Space when inside the editor. That will toggle into the correct IntelliSense behaviour. Not a very easy thing to find, but it saved my day. They should probably give better information about this toggle feature, and make it more visible.. Still, it will not be remembered after closing the IDE, so you have to do it every time you start the IDE.