Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Is there a way to open an xml file in VS Editor from my package?

$
0
0

I have a Visual Studio Package (called Regionizer, http://regionizer.codeplex.com) and I am adding a 'Comment Dictionary' to be able to add 'Auto Commenting' functionality to my package.

I have a couple of issues I am not sure how to do, but I will ask the first one here.

My package reads a registry key to find the path to the 'CommentDictionary.xml' (if it has been set).

I am able to read the value, and I added a button to my package window 'Edit Comment Dictionary', is there a way once I have the path to the .xml file to open it in the open Visual Studio (2013) editor window?

A related question, for now I am manually setting the path in the registry, is there a way when a .VSIX installs that a value be set in the registry?

And the last question in case the Visual Studio package guru is bored on a Sunday...:

Is there a way to install (or download) the xml file I am using 'CommentDictionary.xml' when the extension installs or should I handle that manually when the button is clicked (show a dialog 'We need to setup your comment dictionary...")?

Thanks for any information or advice; this is something I have wanted to create for a few years, I spend half of my time writing comments, and I have worked with a lot of people that write zero comments so I think this will be a major productivity enhancement once complete.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>