Sergio Tapia
Sergio Tapia

Reputation: 41138

How can I make a code snippet and add it to the Snippet intellisense in Visual Studio?

I'm curious if this is even possible.

Upvotes: 5

Views: 211

Answers (3)

Hamza Shafiq
Hamza Shafiq

Reputation: 69

You Need to install Code snippet Designer You download the snippet following link https://marketplace.visualstudio.com/items?itemName=vs-publisher-2795.SnippetDesigner

After install restart your visual studio and open new file in Snippet after open select you language (c#,Html,C++, e.g...) and save your particular language in visual studio location C:\Users\hamza\Documents\Visual Studio 2015\Code Snippets\JavaScript\My Code Snippets

this is my system where i store my snippets and get shortcut key CTRL+K+X

Upvotes: 0

Steve
Steve

Reputation: 2193

Sure, I use this tool.

http://www.codeplex.com/SnippetEditor

Upvotes: 4

Alfred Myers
Alfred Myers

Reputation: 6453

Yes it is possible: Here's a link showing how to do it: http://en.csharp-online.net/Visual_Studio_Code_Snippets%E2%80%94Creating_Snippets_Manually

Here's the official page on MSDN: http://msdn.microsoft.com/en-us/library/ms165392(VS.80).aspx

Upvotes: 6

Related Questions