Wish Comments and intellisense

Discussion in 'Bugs & wishlist' started by Troberg, May 6, 2015.

  1. Troberg

    Troberg Well-Known Member Licensed User

    Something that would be nice is if you add comments immediately before a sub, the intellisense would show those comments as you type a call to that sub.

    'This sub does some stuff.
    'It takes Seed as starting point, and returns a string result.
    'Note: This takes a while to run, so cache the result instead of calling it repeatedly.
    Sub DoSomeStuff(Seed as Long) as string
    End Sub
    This would display an intellisense tooltip with the following text:

    This sub does some stuff.
    It takes Seed as starting point, and returns a string result.
    Note: This takes a while to run, so cache the result instead of calling it repeatedly.
  2. thedesolatesoul

    thedesolatesoul Expert Licensed User

    See klaus answer below.
    Last edited: May 6, 2015
  3. klaus

    klaus Expert Licensed User

    It does it.
    In your case if you type Do and Ctrl Spacebar you get a dropdown list with all objects.
    When you select DoSomeStuff you get the intellisense.

    Last edited: May 6, 2015
  4. Troberg

    Troberg Well-Known Member Licensed User

    I didn't know that! How could I have missed that? I obviously need new glasses...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice