www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11942] New: Parameter list helper doesn't appear(/exist?)

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11942

           Summary: Parameter list helper doesn't appear(/exist?)
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VisualD
        AssignedTo: nobody puremagic.com
        ReportedBy: turkeyman gmail.com


--- Comment #0 from Manu <turkeyman gmail.com> 2014-01-17 17:29:21 PST ---
In Visual Studio, go into a .c/.cpp file:

Place the cursor within the parameter list of any function call and press
Ctrl+Shift-Space; notice that a helper appears detailing the expected
parameters.
Do this in the parameter list for a function that has multiple parameters;
notice that the parameter the cursor is currently positioned upon is
highlighted in BOLD. Move the cursor left/right using the arrow keys, and watch
the bold highlight follow the cursor.
Do this in a parameter list for a function with overloads; notice that the
helper now says "1 of N", and allows you to cycle through the overloads using
the up/down arrow keys.
Begin typing a new call to a function; notice that the helper appears when
typing the opening '('.
Begin instantiating a template; notice that the helper appears also for
template argument lists when typing the opening '<'.

VisualD doesn't seem to offer this very important helper.
It would be nice if D had the same parameter list helper as C/C++.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 17 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11942


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario gmx.de


--- Comment #1 from Rainer Schuetze <r.sagitario gmx.de> 2014-03-02 08:35:32
PST ---
This feature is available in Visual D, but it builds on generated JSON
information. That means, it does not know about the current context, so can be
very wrong for commonly used function names. An additon, a successful build is
necessary to display anything. (Use "Build Phobos browse information" for
phobos/druntime parameter infos.)

As the JSON output has lost it usefulness for this functionality, I guess I'll
have to look into getting this information from the semantic analyzer.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 02 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11942



--- Comment #2 from Rainer Schuetze <r.sagitario gmx.de> 2014-03-16 10:46:10
PDT ---
The very latest version uses dparser's output to generate the parameter toolti,
try it in
https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.38rc2

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 16 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11942



--- Comment #3 from Manu <turkeyman gmail.com> 2014-03-16 17:33:05 PDT ---
I just gave it a whirl. Big improvement - regular functions are working
properly now. But there are some things still not working:

Constructors don't seem to list args?
  auto doc = new Document(new Tag("settings"));
  auto devs = new Element("devices");
  testMat = Material("diffuse_uncompressed_gimp.dds");

None of these new statements offer any parameter info.


to! doesn't work:
  to!string(videoDriver)

This shows the helper for 'string's constructor, not 'to'.


Cheers for all your work! It's getting better all the time! :)

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 16 2014