-
Notifications
You must be signed in to change notification settings - Fork 14
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
Store TS formatting preferences in tslint.json #65
Comments
Actually there are other good options to consider for storing the TS formatting preferences: looks like vvakame/typescript-formatter can read formatting rules from tslint.json, tsfmt.json and .editorconfig. @angelozerr, have You considered using some other formatter instead Your own custom solution? There are also other tools, such as gulp-typescript-formatter that rely on vvakame/typescript-formatter |
At first it's not my own custom solution, it's the standard mean with Eclipse preferences. Yes I have started to study how to manage any formatter with extension point, but no time to implement it today. For the moment I'm studying debugging, I will study your idea when I will hav e time. Anyway, thank's a lot for your great information about typescript formatter. |
I meant the formatter(code that formats TS), not the code/means where preferences are stored. |
For that I call tsserver "format" command with the configuration comming from Eclipse Preferences by using JSON object https://github.com/angelozerr/typescript.java/blob/master/core/ts.core/src/ts/client/format/FormatOptions.java waited by TYpeScript. So it's not a custom solution. VSCode does like this too. |
Oh, my bad then. |
(copied from my comment in another issue)
The text was updated successfully, but these errors were encountered: