Click here to Skip to main content
15,905,785 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,
I am trying to make a Syntax Highlighted TextEditor, and I have one problem.

How I can make a tools menu? (like list of user-defined commands in MenuStrip (for example compiler))

And how I can save this list to XML configuration file? (app.config)

Thank you for all ideas,

VitekST
Posted
Updated 5-Nov-12 3:47am
v2
Comments
Sergey Alexandrovich Kryukov 5-Nov-12 11:09am    
Not quite enough information. Are you using System.VisualStudio.Tools?
--SA

1 solution

Can this help you? Assuming you are using VS2008 and trying to develop add-ons for this version, please see:
http://msdn.microsoft.com/en-us/library/bb165707%28v=vs.100%29.aspx[^];
or start here:
http://msdn.microsoft.com/en-us/library/bb166441%28v=vs.100%29.aspx[^].

Menu data itself is not related to app.config.

—SA
 
Share this answer
 
Comments
VitekST 5-Nov-12 11:24am    
Hmmm...

Sorry, I thought it differently.

I am making Syntax Highlighting Editor, I take it as future IDE. So, I need to know, how I can make tools menu (for compiler, for example) for this future Syntax Highlighted Editor.

Not the addin for Visual Studio.

Thank you and sorry for bad english,
VitekST
Sergey Alexandrovich Kryukov 5-Nov-12 11:38am    
I have no idea how can you make such tool without Visual Studio SDK. If you mean doing it totally outside studio, the problem would be too trivial to discuss; the answer would be: "used the usual way provided by the UI library you use" (by the way, you did not tag what library you want to use).

I already told you in my comment to the question: not enough information. So, I took the most natural guess, and this is not my fault it you wanted something else.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900