dylan-lang / lsp-dylan

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

Parameter lists: show names as imported into current module #18

Open cgay opened 1 year ago

cgay commented 1 year ago

In parameter list display, type names should be as imported into the current project. If <integer> was imported as <int> it should be displayed as <int> in the parameter list even if the parameter list is for an imported function.

Example: The dylan-tool library currently uses uncommon-dylan, which renames <integer> to <int>. Even though execute-subcommand is defined to return => (false-or(<int>)) LSP displays it in the parameter list as => false-or(<integer>)

Example: dylan-tool renames run-application to os/run-application via a module prefix but the parameter list displays "Method run-application ..."

I suspect work is necessary in the compiler itself for this. We can open a bug there if necessary.