Open Enyium opened 4 days ago
I added labels based on improving the VSCode help overlay only;-)
What we can do in the LSP with these names:
foobar(name1, name2) => {$1}
instead of foobar => {$1}
currentlytextDocument/signatureHelp
request (also for function)Anyway, before stabilization, we also need to consider whether it is compatible with all the change we could want to do in the future, like named argument calling and stuff.
Also need to be done
Some ideas:
Currently, you have to specify parameter names in callbacks as comments:
This isn't satisfying. #5859 created an experimental feature that allows you to write:
However, @ogoffart wrote in the PR:
Please make this a regular feature!
What's missing is just that the parameter name is also shown in VS Code when you hover over the callback's name at a call site. Currently, even when using
SLINT_ENABLE_EXPERIMENTAL_FEATURES=1
, VS Code just shows the help overlaycallback move-list-item(bool)
. It would be very useful if it showedcallback move-list-item(up: bool)
.