bscan / PerlNavigator

Perl Language Server that includes syntax checking, perl critic, and code navigation
MIT License
207 stars 40 forks source link

autocomplete: keep showing function prototype after selection #96

Closed IAKOBVS closed 1 year ago

IAKOBVS commented 1 year ago

image image image

Expected behaviour:

image image

bscan commented 1 year ago

Funny timing, I was actually just working on this feature #24 . With the new parser I added last week (parser.ts), many more features that require parsing code are now possible. signatures.ts contains most of the relevant code, plus some modifications to parser.ts. Call signatures now show up when typing signatures and when hovering over the subroutine itself. There's a little more work I'd like to do before releasing this to vscode and npm, especially around caching parsing results. A review would certainly be helpful if you're interested. Thanks!

image

image

bscan commented 1 year ago

This feature seems to be fairly stable now. Thanks!