Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Cheatsheet | 306 | 5 months ago | 1 | mit | ||||||
📝 A Repository for developers for different kinds of Programming Cheatsheets | ||||||||||
Vim Sql Workbench | 174 | 7 months ago | 5 | gpl-3.0 | Vim script | |||||
SQL For Vim (provides access from VIM to any DBMS, like dbext) | ||||||||||
Sqhell.vim | 112 | 2 years ago | 16 | mit | Vim script | |||||
An SQL wrapper for vim | ||||||||||
Dbclass Exercises | 49 | 10 years ago | 1 | XQuery | ||||||
All the Stanford DB class exercises summarized together | ||||||||||
Mitzasql | 45 | 2 years ago | 10 | April 04, 2021 | 5 | mit | Python | |||
MySQL command line / text based interface client | ||||||||||
Vim Uppercase Sql | 44 | 2 years ago | 5 | Vim script | ||||||
Automatically uppercase SQL keywords as you type | ||||||||||
Sqlcomplete.vim | 34 | 10 years ago | VimL | |||||||
SQLComplete is a SQL code completion system using the omnifunc framework | ||||||||||
Coc Sqlfluff | 24 | 4 days ago | mit | TypeScript | ||||||
SQLFluff (A SQL linter and auto-formatter for Humans) extension for coc.nvim | ||||||||||
Vim Mysql Plugin | 19 | 3 months ago | 3 | apache-2.0 | Vim Script | |||||
VIM MySQL Plugin | ||||||||||
Sql Heredoc.vim | 18 | 6 years ago | 4 | Vim script | ||||||
Syntax highlighting for SQL heredocs. |
SQLFluff (A SQL linter and auto-formatter for Humans) extension for coc.nvim
CocInstall:
:CocInstall coc-sqlfluff
vim-plug:
Plug 'yaegassy/coc-sqlfluff', {'do': 'yarn install --frozen-lockfile'}
sqlfluff.commandPath
settingcoc-sqlfluff allows you to create an extension-only "venv" and install "sqlfluff".
The first time you use coc-sqlfluff, if sqlfluff is not detected, you will be prompted to do a built-in installation.
You can also run the installation command manually.
:CocCommand sqlfluff.install
SQLFluff is able to read project-specific default values for its command line options, or from a configuration file.
SQLFluff will look for the following files in order. Later files will (if found) will be used to overwrite any vales read from earlier files.
setup.cfg
tox.ini
pep8.ini
.sqlfluff
pyproject.toml
REF:
sqlfluff.enable
: Enable coc-sqlfluff extension, default: true
sqlfluff.commandPath
: The path to the sqlfluff command (Absolute path), default: ""
sqlfluff.builtin.pythonPath
: Python 3.x path (Absolute path) to be used for built-in install, default: ""
sqlfluff.dialect
: The dialect of SQL to lint, valid option: ["ansi", "bigquery", "clickhouse", "databricks", "db2", "exasol", "hive", "mysql", "oracle", "postgres", "redshift", "snowflake", "soql", "sparksql", "sqlite", "teradata", "tsql"]
, default: "ansi"
sqlfluff.linter.ignoreParsing
: Whether the sql linter should ignore parsing errors, default: true
sqlfluff.lintOnOpen
: Lint file on opening, default: true
sqlfluff.lintOnChange
: Lint file on change, default: true
sqlfluff.lintOnSave
: Lint file on save, default: true
sqlfluff.formatEnable
: Whether the document formatter is enabled or not, default: true
sqlfluff.formatIgnoreStderrAlert
: Ignore stderr message output when formatting is executed, e.g. Unfixable violations detected
, default: true
sqlfluff.install
: Install sqlfluff
~/.config/coc/extensions/coc-sqlfluff-data/sqlfluff/venv/bin/sqlfluff
~/AppData/Local/coc/extensions/coc-sqlfluff-data/sqlfluff/venv/Scripts/sqlfluff.exe
sqlfluff.fix
: Run sqlfluff fix filesqlfluff.format
: Run sqlfluff format file (Available in sqlfluff v2.0.0
and later)sqlfluff.showOutput
: Show sqlfluff output channelExample key mapping (Code Action related):
nmap <silent> ga <Plug>(coc-codeaction-line)
Usage:
In the line with diagnostic message, enter the mapped key (e.g. ga
) and you will see a list of code actions that can be performed.
Actions:
Ignoring Errors for current line (-- noqa)
Ignoring Errors for current line (-- noqa: disable=all)
Ignoring Errors for current line (-- noqa: enable=all)
Show web documentation for {RULE_ID}
MIT
This extension is built with create-coc-extension