Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto import not following the format rules #433

Open
jarodevs opened this issue May 31, 2023 · 3 comments
Open

Auto import not following the format rules #433

jarodevs opened this issue May 31, 2023 · 3 comments

Comments

@jarodevs
Copy link

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
Copy link
Author

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

@chemzqm
Copy link
Member

chemzqm commented Sep 19, 2023

Seems issue with tsserver.

@turkus
Copy link

turkus commented Mar 6, 2024

I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants