Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / April 2004

Tip: Looking for answers? Try searching our database.

Extending C++ Outlining using IDE extensibility

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric Fortier - 30 Mar 2004 14:59 GMT
I wan wondering if it was possible to extent the outlining using the
extensibility feature of the IDE.

I've been looking at the CodeFunction object, but as of yet I can't
locate anything that has to do with outlining.

Baically I would like to be able to collapse all functions but retain
the state of outlining inside the function. That way a source file
is easier to read.

Thanks!

--Eric
Bill - 08 Apr 2004 20:05 GMT
Unfortunately, there is no model of outlining regions.  The code model and
editor model let you navigate between them readily by getting the text
locations of the start and end of code elements or asking what type or
member contains a textpoint.  I suspect there is no work around for you
task.  You could collapse all outlining, but that would lose the current
function's outlining state.  You could walk the code elements in the file,
move the editor's TextSelection to each one and invoke the expand/collapse
command, but there's no way to inspect the state of outlining (and the
screen would jump around as this macro executed).

I've seen some other requests for modeling outlining and #region sections,
so I'll at least tell the team that owns this stuff that interest in this
area continues to grow.

Bill

> I wan wondering if it was possible to extent the outlining using the
> extensibility feature of the IDE.
[quoted text clipped - 9 lines]
>
> --Eric
Graeme Prentice - 09 Apr 2004 23:41 GMT
>Unfortunately, there is no model of outlining regions.  The code model and
>editor model let you navigate between them readily by getting the text
[quoted text clipped - 9 lines]
>so I'll at least tell the team that owns this stuff that interest in this
>area continues to grow.

Thanks.  I'm interested too.

Graeme
Kresimir - 13 Apr 2004 21:24 GMT
>>Unfortunately, there is no model of outlining regions.  The code model and
>>editor model let you navigate between them readily by getting the text
[quoted text clipped - 11 lines]
>
> Thanks.  I'm interested too.

outlines are fully controllable via VSIP

--Kresimir
http://www.inet.hr/~kkrecak

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.