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.

Reply via email to