meganrogge / template-string-converter

Autocorrect from quotes to backticks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Respect editor.autoClosingBrackets = never

Tyriar opened this issue · comments

I have "editor.autoClosingBrackets": "never" set and when I do my normal thing this ends up happening:

recording (2)

Can the extension check that setting and if it's never, still convert to a template string but not inject the trailing } and not move the cursor?

@Tyriar I'm unable to repro the issue. Do you have the latest version?
recording (9)

That's actually showing the problem I'm having; when "editor.autoClosingBrackets": "never" is set, I do not want the extension to add the } since users of that setting prefer to type the closing bracket themselves.

@Tyriar got it. I will add a conditional that checks that today.

fixed in v 0.2.5 that should be live in a few minutes! @Tyriar