Skip to main content

All Questions

0 votes
1 answer
828 views

How to insert a code snippet from a visual studio extension

I am writing an extension for our group that creates a few folders and .cshtml files. This extension will also add a few dozen code snippets. I would really like to add some of the code snippets to ...
Charles's user avatar
  • 13
0 votes
1 answer
40 views

How can I disable custom editor in SnippetDesigner and keep other features?

I use the SnippetDesigner extension for Visual Studio mainly for its Export to Snippet feature. But, once exported, I prefer to edit my snippets in VS as XML rather than using the custom editor that ...
Douglas Reid's user avatar
  • 3,818
2 votes
2 answers
249 views

Visual Studio 2010 C# one-liners compiler [duplicate]

Possible Duplicate: Anders Hejlsberg's C# 4.0 REPL Is there a native window/extension in VS2010 where you can write one-liners and see the result( like the 'Immediate Window', witch, as far as ...
Daniel's user avatar
  • 1,253
0 votes
1 answer
429 views

Get IVsExpansion object from IWpfTextView, ITextBuffer or ITextDocument

I want insert a custom snippet into an XML file from code within an extension package. Does anybody know how to get an IVsExpansion object when I have an IWpfTextView, ITextBuffer or ITextDocument? ...
TWT's user avatar
  • 2,591