Skip to content

Adding a new variant for autocompletion #1058

Answered by L3MON4D3
wojciech-kulik asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, okay, then this is a bit tricky:
You'd have to intercept the results from lsp and modify them, I do something like that to solve a pretty similar problem (for c++, add a choiceNode to toggle between () and {}).

But true, manual text-transformations are probablem way more KISS :D

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@wojciech-kulik
Comment options

@L3MON4D3
Comment options

Answer selected by wojciech-kulik
@wojciech-kulik
Comment options

@L3MON4D3
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants