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

Load server code and capture save event

$
0
0

Hi, I am getting started with Visual Studio Extensions and I am very new to this. I have 3 questions

1.  My objective is to use an existing editor and extending it for my content. The content actually resides on the server and there is no copy of it in my PC. I can get the contents from the server into a string array using a command to select the file from the server. 

Question is : There is no file extension associated with the file (as its more of a database script). Is there a way to force an instance of an editor of my choice.  Secondly, how does auto save work from within IDE. Is there a way to wire it up with my content so that I can do the needful to handle it?

 

2. I read multiple forums and I am kind of confused between the 2 project types - VSIX and VS Package. Also, "Ook" example looks like a VSIX whereas some others like the "Toolbox" related ones are VS Package? I might be super wrong here but I wanted to learn and understand these...

 

3. I read about multiple panes. I wanted to know if it is possible to implement a diff viewer in the editor window (using a vertical pane). I am not worried about the diff implementation. I am just worried about the 2 data sources.

(bonus question): In multiple panes, can I make a particular pane read only? The user can view the server code but not edit it.

 

Sorry for the list of questions. I wanted to learn this by going through examples but I was kind of confused if the above is achievable before I start working on the project. Thanks for your help in advance and once again sorry for the long list of questions.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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