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

Imports sort eats comments #628

Closed
RblSb opened this issue Jan 21, 2021 · 1 comment
Closed

Imports sort eats comments #628

RblSb opened this issue Jan 21, 2021 · 1 comment

Comments

@RblSb
Copy link
Contributor

RblSb commented Jan 21, 2021

Input file

import haxe.io.Path; // do not remove or bombs will detonate

.vscode/settings.json

"[haxe]": {
	"editor.formatOnSave": true,
	"editor.formatOnPaste": true
},
"editor.codeActionsOnSave": {
	"source.sortImports": true
},
@AlexHaxe
Copy link
Member

I haven't looked closer, so not sure if it's the sorting or the formatting after sorting that removes comments...

I assume it's a sorting issue, which would put it more in haxe-languageserver land, but somehow I can't transfer this issue over there.

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

2 participants