What SQL formatter do you use? What can give you Intellij like formatting for SQL?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • sleek

    Sleek is a CLI tool for formatting SQL. It helps you maintain a consistent style across your SQL code, enhancing readability and productivity. (by nrempel)

  • lsp-mssql

    lsp-mode :heart: MSSQL Server

  • I couldn't find any LSPs that work with mssql using Windows authentication. There's lsp-mssql that could be the basis for something, but that's an emacs package, and I wasn't getting completions to work anyhow (issue)

  • 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.

    InfluxDB logo
  • null-ls.nvim

    Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

  • I previously had sqlformat with null-ls but today is the first time I try if and I had an EACCESS error but maybe it's only on my side. So I took sql-formatter, another one that null-ls can provide.

  • sql-language-server

    SQL Language Server

  • I also use sql-language-server for completion. It works for me with a .sqlrc.json config file, which allows me to change database config based on parent directory. I have not been able to configure sqlls with nlsp-settings for some reason.

  • nlsp-settings.nvim

    A plugin for setting Neovim LSP with JSON or YAML files

  • I also use sql-language-server for completion. It works for me with a .sqlrc.json config file, which allows me to change database config based on parent directory. I have not been able to configure sqlls with nlsp-settings for some reason.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts