Replies: 1 comment 1 reply
-
Did you reach any conclusion? I think I typed something to answer here but never pressed "send". 😄 so what I was going to say is that I think this is server-related: i.e. Eglot doesn't have a say in this matter of quotes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a bit puzzled with this issue and wonder if anyone has an idea on how to fix my issue or if it's considered a bug? Or where this is actually failing or if it's possible to configure somehow.
The issue is that when I use completion-at-point in a TSX file using eglot with tsx-ts-mode, it will expand with single quote instead of double quote.
To reproduce:
Current behavior:
Complete with single quotes to <div className=''
Expected behaviour:
Complete with double quote to <div className=""
Rational & Observation:
In TSX it's common to use double quotes as it's more aligned with HTML style. Please also observe that you must have yasnippet installed to get completion.
Beta Was this translation helpful? Give feedback.
All reactions