Comments (4)
it would be cool to allow the use of other formatters, too. for instance the company i work for uses prettier/eslint to format typescript
from typescript-language-server.
Currently, I am looking for a tsfmt.json in the workspace root.
I didn't know this mean to format, thanks for the info! I think you should add that in the README (or wiki).
Your feature is very nice but I think we should give the capability to customize format for a given file to support editorconfig for instance.
from typescript-language-server.
Currently, I am looking for a tsfmt.json
in the workspace root.
from typescript-language-server.
This server does follow the parameters (tabSize, insertSpaces) specified in the textDocument.formatting
request (see the code) so it's just the responsibility of the client to pass those when triggering the request.
It also supports reading the formatting configuration from tsfmt.json
as mentioned above but I would consider this a legacy feature as I don't think that is really used these days.
Supporting other formatters is not really responsibility of this server.
With that said, resolving as WFM.
from typescript-language-server.
Related Issues (20)
- Not able to find references to certain consts HOT 2
- How do I spin up a server?
- tsserver not showing `navigator.gpu` and any of its members.
- Incorrect TS7022 error displayed by Language Server in VSCode HOT 7
- Rename Symbol F2 with "pure keyof" is not possible - but it is possible if "wrapped as calculated property" HOT 1
- SyntaxError when running typescript-language-server --stdio HOT 3
- 4.1.0: didOpen fails for .tsx with "Cannot open document" HOT 12
- Go to definition is not working on neovim HOT 2
- Server error "Could not find source file" on opening second file in a project with large amount of code HOT 4
- [Question] Why aren't certain standard built-in objects recognized by the language server? HOT 1
- Tsserver can not detect the corresponding error messages HOT 7
- TSServer >=4.1.0 never publishes textDocument/publishDiagnostics event (NeoVim) HOT 1
- Error while importing `type` and without types HOT 1
- Arrow Function Syntax Highlighting HOT 3
- JSX elements absent from `textDocument/documentSymbol` response HOT 3
- Invalid completions HOT 10
- No semantic token assigned to import names, but available for export HOT 1
- toResource incorrectly calls URI.parse on zipfile:// resources HOT 2
- Server crashed when asking for textDocument/codeAction HOT 11
- ResponseError: Unhandled method window/workDoneProgress/create HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-language-server.