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

Support shortenToSingleLine extension option like eslint does #8672

Open
NeilTheFisher opened this issue Jan 23, 2025 · 1 comment
Open

Support shortenToSingleLine extension option like eslint does #8672

NeilTheFisher opened this issue Jan 23, 2025 · 1 comment
Labels
A-editor Area - Editor and Language Server C-enhancement Category - New feature or request

Comments

@NeilTheFisher
Copy link
Contributor

on some rules like promise/prefer-await-to-then, the warnings/errors span several lines and worsen the reading experience

having an option like eslint's eslint.problems.shortenToSingleLine would be helpful

eslint src reference:
https://github.com/microsoft/vscode-eslint/blob/695e7cacfa7e5bdcdbcd855f569798609f865f58/server/src/eslint.ts#L613

@NeilTheFisher NeilTheFisher added the C-enhancement Category - New feature or request label Jan 23, 2025
@Sysix Sysix added A-vscode Area - Vscode extension A-editor Area - Editor and Language Server and removed A-vscode Area - Vscode extension labels Jan 23, 2025
@Sysix
Copy link
Collaborator

Sysix commented Jan 23, 2025

the warnings/errors span several lines and worsen the reading experience

Can you please explain what is not so nice about it?
Maybe this could be also improved outside language-server/vscode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-editor Area - Editor and Language Server C-enhancement Category - New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants