we have elements in our custom language that are like attributes in C#.
After the assignment operator we show the possible values, where the display text doesn't have the quotation marks, but they are added anyway. So far so good. Now the problem starts when the quotation marks are already there. Then the entire text including the quotation marks is still added.
We'd like to adapt the inserted text depending on the surrounding text. So don't add the quotation marks when they are already present. I tried working with the pre-text and post-text properties of CompletionItem, but this didn't change anything.
Any idea how we could achieve this?
Best regards, Tobias Lingemann.