You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not certain if this is a problem with LC or if it's the language server, but I thought I'd just ask here first.
After #379 has been resolved (thanks a lot to everyone involved!) it's possible to have snippet managers automatically handle arguments in completions (jump between them). However I've been missing the option to have a jump-to point at the end of function definitions.
I think an example might explain this best. This is currently what I get when completing a function:
test(<`1:huh: usize`>, <`2:hah: isize`>)
This makes it possible to first edit the first parameter, then the second. But moving by a single character in vim can be a bit annoying, so if I would want to add an ; at the end of the line, it's not perfect.
To compensate for this, a lot of snippets (at least in neosnippet) add an additional point the user can jump to at the end of snippets, as a kind of 'exit point' which allows users to continue after the snippet.
Something like that:
test(<`1:huh: usize`>, <`2:hah: isize`>)<`3:`>
The text was updated successfully, but these errors were encountered:
I'm not certain if this is a problem with LC or if it's the language server, but I thought I'd just ask here first.
After #379 has been resolved (thanks a lot to everyone involved!) it's possible to have snippet managers automatically handle arguments in completions (jump between them). However I've been missing the option to have a jump-to point at the end of function definitions.
I think an example might explain this best. This is currently what I get when completing a function:
This makes it possible to first edit the first parameter, then the second. But moving by a single character in vim can be a bit annoying, so if I would want to add an
;
at the end of the line, it's not perfect.To compensate for this, a lot of snippets (at least in neosnippet) add an additional point the user can jump to at the end of snippets, as a kind of 'exit point' which allows users to continue after the snippet.
Something like that:
The text was updated successfully, but these errors were encountered: