All Projects → neoclide → Coc Json

neoclide / Coc Json

Json language extension for coc.nvim

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Coc Json

Nvim Lspconfig
Quickstart configurations for the Nvim LSP client
Stars: ✭ 3,410 (+2672.36%)
Mutual labels:  neovim
Neoman.vim
A modern man page plugin for vim
Stars: ✭ 121 (-1.63%)
Mutual labels:  neovim
Yyjson
The fastest JSON library in C
Stars: ✭ 1,894 (+1439.84%)
Mutual labels:  json
Typedload
Python library to load dynamically typed data into statically typed data structures
Stars: ✭ 120 (-2.44%)
Mutual labels:  json
Jwalk
Streaming JSON parser for Unix
Stars: ✭ 121 (-1.63%)
Mutual labels:  json
Crudapi
Go implementation of a RESTful JSON API exposing CRUD functionality relying on a custom storage.
Stars: ✭ 121 (-1.63%)
Mutual labels:  json
Actualvim
Sublime Text 3 input mode using Neovim. Issues are closed, feel free to submit Pull Requests if you have bug fixes however.
Stars: ✭ 1,541 (+1152.85%)
Mutual labels:  neovim
Nvim Bqf
Better quickfix window in Neovim, polish old quickfix window.
Stars: ✭ 120 (-2.44%)
Mutual labels:  neovim
Dotfiles
My dotfiles
Stars: ✭ 121 (-1.63%)
Mutual labels:  neovim
Snodge
Randomly mutate JSON, XML, HTML forms, text and binary data for fuzz testing
Stars: ✭ 121 (-1.63%)
Mutual labels:  json
Json Voorhees
A killer modern C++ library for interacting with JSON.
Stars: ✭ 120 (-2.44%)
Mutual labels:  json
Vim Ctrlspace
Vim Space Controller
Stars: ✭ 1,621 (+1217.89%)
Mutual labels:  neovim
Jwt
Jwt.Net, a JWT (JSON Web Token) implementation for .NET
Stars: ✭ 1,694 (+1277.24%)
Mutual labels:  json
Dataclass factory
Modern way to convert python dataclasses or other objects to and from more common types like dicts or json-like structures
Stars: ✭ 116 (-5.69%)
Mutual labels:  json
Api Response
Simple and ready to use API response wrapper for Laravel.
Stars: ✭ 123 (+0%)
Mutual labels:  json
Finch
Scala combinator library for building Finagle HTTP services
Stars: ✭ 1,552 (+1161.79%)
Mutual labels:  json
Data Store
Easily get, set and persist config data. Fast. Supports dot-notation in keys. No dependencies.
Stars: ✭ 120 (-2.44%)
Mutual labels:  json
Coc Metals
coc.nvim extension for Metals, the Scala language server
Stars: ✭ 124 (+0.81%)
Mutual labels:  neovim
Jqr
R interface to jq
Stars: ✭ 123 (+0%)
Mutual labels:  json
Structomap
Easily and dynamically generate maps from Go static structures
Stars: ✭ 122 (-0.81%)
Mutual labels:  json

coc-json

Json language server extension for coc.nvim.

The server code is extracted from VSCode, which uses vscode-json-languageservice

For highlight of jsonc filetype, you may need jsonc.vim

Install

In your vim/neovim, run the following command:

:CocInstall coc-json

Features

Same as VSCode.

All features of vscode-json-languageservice are supported.

  • doCompletion for JSON properties and values based on the document's JSON schema.
  • doHover for values based on descriptions in the document's JSON schema.
  • Document Symbols for quick navigation to properties in the document.
  • Document Colors for showing color decorators on values representing colors.
  • Code Formatting supporting ranges and formatting the whole document.
  • Diagnostics (Validation) are pushed for all open documents
    • syntax errors
    • structural validation based on the document's JSON schema.

Commands

  • json.retryResolveSchema: Retry resolve schema of current buffer.

Configuration options

  • json.enable set to false to disable json language server.
  • json.trace.server trace LSP traffic in output channel.
  • json.execArgv add execArgv to child_process.fork used for start json language server.
  • json.format.enable set to false to disable format.
  • json.schemas schema associations for json files.

FAQ

How to suppress error [json 521] [e] Comments are not permitted in JSON?

You can configure your vim to make that file with jsonc filetype to allow comment.

How to add custom schema definitions/properties?

You have two choices:

Quotes are hidden?

This is not caused by coc-json, you may checkout the conceallevel option.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].