vscode-autohotkey2-lsp
vscode-autohotkey2-lsp copied to clipboard
Request: Add optional indicator for parameters on calltips
Can you please change the display behavior for optional parameters in the calltip?
Items marked as optional in their JSDoc tag should display as optional in the calltip:
This is how it's marked in the definition:
@param {(String)} [Text]
This is how the calltip looks:
This is how I think it should look:
Adding brackets around the parameter would indicate the parameter is optional, as sometimes it's not apparent in the code line up top.
(sorry for the crappy Photoshop. not an artist.)