GMMorris Posted June 3, 2004 Posted June 3, 2004 Hi guys, I have always (well at least for the last 6 months) found one thing in VS.Net 2003 really annoying. When I press CTRL+M+O it Toggles the outline of everyting on the current file, including several thing which I don't want it to, for example Attribute tags. I basically want to write an Add-In which collapses-to-definition everyting on the current source file except for Comments and Attributes, the problem is I don't even know where to start. Do any of you know of good articles which could help me? Example code? etc.. Thanks Quote Latly it would seem as though I'm don't abnegate from anything... except women. :( :)
GMMorris Posted June 4, 2004 Author Posted June 4, 2004 Ok, I have figured out how to make add-ins and have played around abit (made an add-in for testing), but I can't find in the MSDN any place where I can call clapse commands. Have any of you seen a place where I can command particular elements on the current page to collapse? I have been able to referance all elements on pages but I haven't been able to collapse them yet. Quote Latly it would seem as though I'm don't abnegate from anything... except women. :( :)
GMMorris Posted June 4, 2004 Author Posted June 4, 2004 OK, I have made immense progres, but no one seems to care. Anyway, DOES ANYONE KNOW WHERE I CAN FIND A LIST OF COMMANDS FOR THE DTE INTERFACE USED IN THE VS.NET EDITOR? Sorry for shouting, but no one is listening :( Quote Latly it would seem as though I'm don't abnegate from anything... except women. :( :)
Administrators PlausiblyDamp Posted June 4, 2004 Administrators Posted June 4, 2004 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxlrfDTEObject.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxprodteproperty.asp Also perhaps no one responded because either no one knows the answer or you didn't give enough time to respond - you only left about 7 hours since your last post and it's only just over 1 day since your first post, not every board member frequents here every single day. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
GMMorris Posted June 4, 2004 Author Posted June 4, 2004 yea, I know, i wan't seriusly complaining :D Thank for the links, but they aren't what I'm looking for (seen them already). DTE takes string commands as API commands in the ExecuetCommand method, I wanted a list of those (which I managed to extract from the DTE object already). Quote Latly it would seem as though I'm don't abnegate from anything... except women. :( :)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.