prettierd
prettier, as a daemon, for improved formatting speed. (by fsouza)
Our great sponsors
prettierd | prettier_d_slim | |
---|---|---|
5 | 4 | |
698 | 56 | |
- | - | |
9.0 | 0.0 | |
6 days ago | 10 months ago | |
TypeScript | TypeScript | |
ISC License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prettierd
Posts with mentions or reviews of prettierd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-09.
-
My Neovim setup for React, TypeScript, Tailwind CSS, etc
First, you need prettierd:
-
This j/k mappings should be default (for wrap) at least in Plugins like vim-pencil
Besides remapping keys, auto-format with prettier (null-ls, ALE, etc) will wrap your code on line break. This might not be desirable for txt files, but it's transparent and fully supported by markdown. It'll also fix things like aligning your markdown tables. There's also prettierd and prettier_d_slim to keep it running as a daemon in the background, which makes the buffer reformatting really snappy.
-
I'm searching for nvim configs of react/js developers
For react you will need the one for typescript and the eslint lsp is also used in the config to auto fix errors on save. Also this relies on prettierd to be installed globally: https://github.com/fsouza/prettierd
- Anyone know how to make prettier run faster when run on save? It takes about 2 seconds every time I write my buffer to desk for Neovim to become responsive again.
-
Speed-up your Prettier formatting using prettierd
But today I discovered this tool: https://github.com/fsouza/prettierd. This completely solves the issue: the slowness of prettier is due to the overhead of launching the program. This package leaves prettier running as a daemon, which removes the launch overhead (kind of similar to the already famous `eslint_d`).
prettier_d_slim
Posts with mentions or reviews of prettier_d_slim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-02.
-
This j/k mappings should be default (for wrap) at least in Plugins like vim-pencil
Besides remapping keys, auto-format with prettier (null-ls, ALE, etc) will wrap your code on line break. This might not be desirable for txt files, but it's transparent and fully supported by markdown. It'll also fix things like aligning your markdown tables. There's also prettierd and prettier_d_slim to keep it running as a daemon in the background, which makes the buffer reformatting really snappy.
-
Anyone know how to make prettier run faster when run on save? It takes about 2 seconds every time I write my buffer to desk for Neovim to become responsive again.
I use this https://github.com/mikew/prettier_d_slim
-
nvim lsp tsserver diagnostic slow
After migration from coc to native lsp I experienced slower formatting. However, https://github.com/mantoni/eslint_d.js/ and https://github.com/mikew/prettier_d_slim solved the issue for me.
- Buffer freezes for 3-4 seconds after every edit
What are some alternatives?
When comparing prettierd and prettier_d_slim you can also consider the following projects:
prettier-plugin-sort-imports - A prettier plugin to sort imports in typescript and javascript files by the provided RegEx order.
efm-langserver - General purpose Language Server
dotfiles
nvim-lspconfig - Quickstart configs for Nvim LSP
dotfiles - All of my dotfiles are here.
defaults.nvim - A small, documented, and featureful neovim starter config [Moved to: https://github.com/nvim-lua/kickstart.nvim]
CNvim - A lightweight Neovim config for web development
SkCode - SkCode = neovim + lua + vscode
dotfiles - My dotfiles
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
gts - ☂️ TypeScript style guide, formatter, and linter.
parallel-prettier - Concurrent prettier runner
prettierd vs prettier-plugin-sort-imports
prettier_d_slim vs efm-langserver
prettierd vs dotfiles
prettier_d_slim vs nvim-lspconfig
prettierd vs dotfiles
prettier_d_slim vs defaults.nvim
prettierd vs CNvim
prettier_d_slim vs SkCode
prettierd vs dotfiles
prettier_d_slim vs null-ls.nvim
prettierd vs gts
prettierd vs parallel-prettier