Results 1 to 13 of 13

Thread: Can the .Net IDE do this?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2002
    Posts
    382

    Can the .Net IDE do this?

    Is there anyways to HIDE the code I am not working on? Like in the old VB6 IDE, where you can just chose the routine/function you are working with from the top and only have that code portion displayed? I don't like the full page code display even if you can collapse/expand it in the .Net IDE, I just can't get used to it. I looked through the options but I can't find any options that resemble this kind of option. So I'm wondering if it's even an option?

  2. #2
    Addicted Member
    Join Date
    Feb 2002
    Location
    closed
    Posts
    196
    you can use collapsible 'regions' to neatly organise your written code if that's what you mean. Type

    Code:
    #Region "Class Functions"
           public function SomeFunction as string
                   return "SomeFunction"
           end function
    #End Region
    '
    #Region "Class Variables"
           private someVar as string
    #End Region
    and expand/collapse the regions using the plus/minus.

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Not that I have seen, but you can also use #region #endregion tags to help combine sections of code for collapse.

  4. #4
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Beat me to it...lol.

  5. #5
    Addicted Member
    Join Date
    Feb 2002
    Location
    closed
    Posts
    196
    Whoooops...just looking at your post again, i get the impression you already know this. I SHOULD really read things through but my attention span is just so sho

  6. #6
    Addicted Member
    Join Date
    Feb 2002
    Location
    closed
    Posts
    196
    DAMN hellswraith...you just destroyed my neatly organised response

  7. #7
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I don't believe this is an option, at least it isn't in 2002. Perhaps someone with 2003 can tell us if they added it. They added an option in 2003 to show the method divider lines like vb6.

  8. #8
    Addicted Member
    Join Date
    Feb 2002
    Location
    closed
    Posts
    196
    ...I don't believe this is an option
    as in regions? yes they are available in 2002

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2002
    Posts
    382
    Hmm, Ok I guess I just have to get used to the expand/collapse regions then.. Ah well mabye in the 2004 edition the'll do it

  10. #10
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Originally posted by powdir
    as in regions? yes they are available in 2002
    No not regions, the view by Procedure only option from VB6.

  11. #11
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Can't you use Edit>Outllining>Hide Selection ?
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  12. #12
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    If I'm not wrong , I've pressed that by mistake..lol . It's an option in outline menu that bookmark a function or sub . (too lazy to try that again )

  13. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2002
    Posts
    382
    Can't you use Edit>Outllining>Hide Selection ?
    Yes and No, you can hide it like that but it's just not the same as the VB6 view prodecure feature.. You still get a box [. . .] on that line you hid it and well, and with my self inflicted compulsive obsession disorder It just doesn't match up to the real thing... (grin)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width