Collapse to Definitions on Open?

Visual Studio .Net

    Next

  • 1. simple build question - debugger wont attach after switch back to Debug mode
    if i build my entire solution in debug mode then build in release mode then change my solution mode back to 'Debug', why do i have to then again build the solution in order to attach to aspnet process and debug? The exact same DLLs are in the debug folder so what is stopping the debugger from attaching. thanks!
  • 2. How to deploy web using VS developer express
    How can i publish a web using VS developer express? Thanks in advanced for your help.
  • 3. Restoring toolbox
    Hello NG I hav been working on this VS 2008 for about a mount now, and here today when i started the vs2008 environment All common control tabs in the toolwindow was gone. Is there a tool to restore the toolwindow sp that i can view my lost tabs again? Kind regards Johnny E. Jensen
  • 4. Default Font for Visual Studio 2008
    Default font for VB6 should be MS P Gothic, and for Visual Studio 2008 might be MS UI Gothic. I want to use MS P Gothic for VS2008 , same as VB6, but I cannot find how to set the default font for VS2008. Could you tell me how to set the dafault font for VS2008?

Re: Collapse to Definitions on Open?

Postby Dave Veeneman » Thu, 20 May 2004 23:55:09 GMT

I finally got back to this issue, and here is what I did: Record a one-line
macro that makes a call to CollapseToDefinitions (select the item on the
Edit Menu). Then create a DocumentEvents_DocumentOpened event handler in the
Macro IDE (go to Macro Explorer, open the macro IDE, and select the
Environment Events module in My Macros). Create a
DocumentEvents_DocumentOpened  handler and move the recorded call to
CollapseToDefinitions to the event handler. Documents will now collapse to
Definitions when they are opened.



Similar Threads:

1.outlining > collapse to definition

hi: vs2008 C#
How do I copy only the source code lines the same way the outlining > 
collapse to definition      does?

(I want to create some documentation for the project)
TIA

2.C# code, .h files, collapse to definition

3.VB 2005 Pro: Collapse to definitions is incorrect

On Oct 4, 5:25 am, Andreas < XXXX@XXXXX.COM > wrote:
> If i click on the function "Collapse to definitions" ALL the collapsable
> elements in the source become collapsed. This is a bug, then it is not
> correct.
>
> If you do it in c# 2005, then namespace and class will be not collapsed. In
> VB.NET 2003 it was correct to.
>
> I have installed SP1 of VS2005, but it still not corrected.
>
> It would be very nice to have this function working. (I use this function
> many times every day. >50)
>
> Regards,
> Andreas

To be honest I don't know what you are talking about. I have VS 2005
Professional SP1 and both the Visual Basic and C# designers act the
same when I right click and select Outlining --> Collapse To
Definitions. All properties and methods collapse, but the namespace,
class, and using blocks stay expanded.

Secondly, suppose you are correct and that the VB 2005 designer had a
bug. This newsgroup is not the place to report it, we are the
community members and (afaik) none of us are responsible for the
design and functionality of the IDE. I don't know the URL for the
website to report a bug or to give a suggestion, but perhaps you could
google for it.

Thanks,

Seth Rowe

4.Collapse to Definitions and copy/paste

I have a very large class library and I need to provide documentation. I need 
a list of all methods but I don't need the underlying code so the collapse to 
definitions form is great. However, if I copy the code editors contents when 
it is collapsed then paste it into MS Word it expands into full code. 

Any thoughts?






-- 
mark b

5.How to Set [collapse to definition] automically ?

every time i write my code, I need to right click mouse , and set collapse
to definition].
How I can i set it globally or automically ??
thanks
from agnes


6. Collapse to definitions by default (VS 2003)

7. Collapse to definitions by default (vs 2003)

8. Problem on save "Collapse to Definition" setting



Return to Visual Studio .Net

 

Who is online

Users browsing this forum: No registered users and 19 guest