Use valid nested placeholder snippet example - #2197
Use valid nested placeholder snippet example#2197Maria Solano (MariaSolOs) wants to merge 1 commit into
Conversation
|
Could you explain how On the other hand I could see how something like Scenario 1: user accepts both placeholders: tabtab Scenario 2: user accepts only the first placeholder, then types something to overwrite the second placeholder: tabfootab Scenario 3: user immediately types something to overwrite the first placeholder (that means that the second tab stop never comes into effect, because it is part of the first placeholder, which was overwritten): footab I don't know about client support for snippets with nested placeholders. But I would say, either the grammar should be fixed to allow Edit: #2194 (comment) shows a good example with a nested placeholder of the form |
Closes #2194
I do want to call out that an alternative solution is to allow nested placeholders to consist of multiple nodes, which would require the grammar change from #2032.