coc-prettier VS diagnostic-languageserver

Compare coc-prettier vs diagnostic-languageserver and see what are their differences.

coc-prettier

Prettier extension for coc.nvim. (by neoclide)

diagnostic-languageserver

diagnostic language server integrate with linters (by iamcco)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
coc-prettier diagnostic-languageserver
2 16
534 405
0.4% -
5.5 1.6
about 1 month ago 3 months ago
TypeScript TypeScript
MIT 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.

coc-prettier

Posts with mentions or reviews of coc-prettier. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-19.
  • Code Formatter for Neovim for Common languages.
    3 projects | /r/neovim | 19 Jan 2022
    I have been using vim for much much time now. Everything is going well but every time I want to format my code I got stuck. I have tried many plugins like vim-autoformat which is not formatting correctly (not the major filetypes like JSX, TSX), vim-prettier which is very slow and I have to wait some seconds to get the file formatted correctly, coc-prettier this was my favorite but I shifted to LSP so no usage of this plugin now.
  • I Built A Formatter For Htmlleex Files
    1 project | /r/elixir | 15 Feb 2021
    Hey, Haven't used it, but I think you need to add the dependencies to a root level instead of root/assets. Vscode extension allows you to specify node modules path, but this one doesn't, so I would add them to root instead of assets. This seems related https://github.com/neoclide/coc-prettier/issues/51 If it didn't help, open an issue and ask them. You can also tag me there.

diagnostic-languageserver

Posts with mentions or reviews of diagnostic-languageserver. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-14.
  • Vim - Using clippy as a linter
    4 projects | /r/rust | 14 Feb 2022
    I'm not using the rust-analyzer plugin actually. I'm using the system installed rust-analyzer and diagnostic-language-server which integrates it with vim. Is there a flag or something to make rust-analyzer return clippy results as well?
  • diagnosticls-configs-nvim - pre-defined linter and formatter configs for diagnostic-languageserver
    3 projects | /r/neovim | 6 Dec 2021
    For those who use diagnostic-languageserver, this plugin provides a list of pre-defined configurations for you to use without the hassle to figure out the config on your own. Making it easier to integrate with less code.
  • How to determine which linter is currently being used?
    1 project | /r/neovim | 2 Sep 2021
  • Eslint Lua Solution?
    11 projects | /r/neovim | 19 Aug 2021
    So reading through everyones suggestions it seems like diagnosticls is the way to go. Looks like this is the official neovim solution https://github.com/iamcco/diagnostic-languageserver formerly https://github.com/nvim-lua/diagnostic-nvim
  • Config to edit bash scripts with fancy LSP features, linting and formatting
    7 projects | /r/vim | 17 Jun 2021
    Does anybody have such? Maybe you could share your experience? I use coc.nvim. My eyes fell on these 3 tools. The first one is language server and it has coc extensions coc-sh. But others are not so I am not sure which vim plugin should I use to hook them up: besides diagnostic-languageserver there are syntastic and neomake - bash-language-server - shellcheck - shfmt
  • Neovim LSP and typescript
    3 projects | /r/neovim | 2 Jun 2021
    >https://github.com/iamcco/diagnostic-languageserver
  • TypeScript: ESLint code actions and (experimental) diagnostics / formatting
    6 projects | /r/neovim | 22 Apr 2021
    I also added 2 experimental features designed to reduce the amount of boilerplate required to get a functional TypeScript development environment. diagnostic-languageserver and efm-langserver are powerful, but they can be tough to set up for new users, so I wanted to implement low-config, out-of-the-box alternatives for formatting and linting:
  • Losing my mind with formatting
    7 projects | /r/neovim | 7 Apr 2021
    I’ve personally never gotten efm to work at all, and I never figured out why (much like your situation). I use diagnostic-languageserver, which worked like a charm the first time. I’ve heard some users say it’s slower (TypeScript versus Go), but I’ve never had any speed issues.
  • Neovim - Why I'm switching to Native LSP over CoC
    13 projects | /r/neovim | 10 Mar 2021
    Aside from that, the biggest difference versus CoC is the ecosystem, which affects setup / tweaking time and code actions. I was able to set up ESLint diagnostics with diagnostic-languageserver, but it doesn't integrate with typescript-language-server at all, and I haven't been able to set up ESLint fixing + Prettier, either, All of that is trivial with CoC.
  • LSP and pylama…
    3 projects | /r/neovim | 2 Mar 2021
    Some LSP like diagnostic language server and efm language server do that for you. However, you will need to do some manual setup yourself for pylama to work with them, unfortunately, I don't see either of them have an example for pylama so you will have to write one yourself for those LSP servers.

What are some alternatives?

When comparing coc-prettier and diagnostic-languageserver you can also consider the following projects:

coc-eslint - Eslint extension for coc.nvim

null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

vim-prettier - A Vim plugin for Prettier

nvim-lspconfig - Quickstart configs for Nvim LSP

coc-emmet - Emmet extension for coc.nvim

efm-langserver - General purpose Language Server

coc-python - Python extension for coc.nvim, fork of vscode-python

coc-spell-checker - A basic spell checker that works well with camelCase code for (Neo)vim

coc-flutter - flutter support for (Neo)vim

neomake - Asynchronous linting and make framework for Neovim/Vim

coc-css - Css language server extension for coc.nvim

syntastic - Syntax checking hacks for vim