neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.06k stars 68 forks source link

Auto import not following the format rules #433

Open jarodevs opened 1 year ago

jarodevs commented 1 year ago

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

jarodevs commented 1 year ago

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

chemzqm commented 1 year ago

Seems issue with tsserver.

turkus commented 7 months ago

I have the same issue.