简体   繁体   中英

How to import Visual Assist snippets to Visual Studio 2017?

I have downloaded the latest Visual Studio Community and InteliSense seems to work well even without the Visual Assist plugin, save a few bugs. I'd therefore like to continue working without the plugin.

I had plenty of code snippets in Visual Assist. How can I migrate them to visual studio 2017 without Visual Assist?

I can get you started:

Visual Studio expects XML: https://docs.microsoft.com/en-us/visualstudio/ide/walkthrough-creating-a-code-snippet

Visual Assist stores its snippets in a legacy, non-XML format. Fortunately, you can "export" XML using the VA Snippet Editor. Open the editor; multi-select in the list; copy; paste into an external editor.

If the snippets you want to export share words in their descriptions or follow a pattern, you can simplify the multi-select by limiting what appears in the list. Change the Type dropdown to "Search", then search a field by string or regex.

I don't have a convenient way to convert from one XML format to the other.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM