bscan / PerlNavigator

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

autocomplete: keep showing function prototype after selection #96

Closed IAKOBVS closed 11 months ago

IAKOBVS commented 11 months ago

image image image

Expected behaviour:

image image

bscan commented 11 months 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 11 months ago

This feature seems to be fairly stable now. Thanks!