dylan-lang / lsp-dylan

Language Server for Dylan (alpha)
MIT License
8 stars 2 forks source link

Definitions: always include signature #39

Open cgay opened 2 months ago

cgay commented 2 months ago

When I write method signatures like this:

define method eval
    (ev :: <evaluator>, ast :: <expression>) => (value)

Using M-. on eval gives me this (not so useful):

Screenshot 2024-06-08 at 9 47 48 PM

and when I write the signature like this (all on one line):

define method eval (ev :: <evaluator>, ast :: <expression>) => (value)

I get a much more useful result:

Screenshot 2024-06-08 at 9 51 44 PM

We should always show the signatures, regardless of how they're written.