digitalmars.D - json output and Visual D
- Walter Bright (2/2) Apr 26 2010 This is for Rainer Schuetze:
- Rainer Schuetze (16/20) Apr 26 2010 Currently, it allows jumping to the definition of the identifier at the
- Walter Bright (2/3) Apr 26 2010 The speller that comes with the dmd source should be useful.
This is for Rainer Schuetze: Can you describe what dmd's json output does for Visual D? I'm very curious.
Apr 26 2010
Currently, it allows jumping to the definition of the identifier at the cursor position. (it just jumps to the first definition found without allowing disambiguation by the user - but this is rather high on my todo list). It also does not look at the scope to filter the possible candidates yet. Another thing, that is even more useful when using it on the runtime library, is the "method-tooltip" (usually shown after the opening parenthesis), that allows you to scroll through available methods showing the prototype and highlighting the current argument. Also high on my todo list. Other things that can be implemented with the json output: - word-completion (not so easy without local variable type info, but I'd say it needs to be rather sloppy anyway) - find symbol definition by text pattern More ideas welcome! Walter Bright wrote:This is for Rainer Schuetze: Can you describe what dmd's json output does for Visual D? I'm very curious.
Apr 26 2010
Rainer Schuetze wrote:More ideas welcome!The speller that comes with the dmd source should be useful.
Apr 26 2010