neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto import not following the format rules

jarodevs opened this issue · comments

commented

When accepting an auto-import, I get the following format:
import {Something} from 'somewhere'

while I have this option setup:
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true
This config works on save, not on auto import

commented

I also realized when using CocCommand editor.organiseImports, the spaces are not respected either

Seems issue with tsserver.

I have the same issue.