Litho for Visual Studio Code
Litho for VSCode is a small extension that dramatically improves language
support for developers working with GraphQL in VSCode. Litho implements the full
2021 GraphQL spec, comes with a fault-tolerant parser, intelligent auto-complete
and code assistance and requires zero configuration.
Simply install Litho from the Visual Studio marketplace to get started!
Litho will automatically index all GraphQL files it can find in your workspace,
except for any files included in your
If you have any questions, feedback or suggestions, don't hesitate to contact us
through chat on our website.
Litho comes with a bunch of useful features that you need to write effective
Litho provides context-aware, detailed completions that will help you write
GraphQL type-systems, queries, and mutations in no time.
Litho implements the full 2021 GraphQL spec, catching more than 120 different
types of hard-to-find bugs before your code hits production.
Litho automatically indexes all GraphQL files it can find in your workspace and
starts providing intelligent assistance in a fraction of a second.
Litho can automatically diagnose and correct syntax errors, and continue to give
accurate code completions, bringing you the best GraphQL development experience
on the market.
Litho is written in Rust and uses incremental compilation to minimize our CPU
and memory footprint on your machine and to give accurate code assistance in
Litho parses all of your existing Markdown-formatted GraphQL documentation and
shows it in a neat tooltip alongside type inference information whenever you
hover over a symbol.
Transitive Type Checking
Litho transitively checks fragment definitions for missing variable definitions,
type mismatches in variable usages, and unmergeable selection sets.
Auto-Import Remote Schemas
Litho can import schemas from remote URLs and automatically refresh them to
integrate the latest changes.
Litho automatically suggests potential fixes to common problems such as missing
fields, variables, or arguments.
Litho indexes your entire schema and provides CodeLens functionality that lets
you easily track down type usage and fragment includes.
Litho warns early about potential issues with your schema, such as unusued
types, duplicate selections, or ambiguous formatting.
Semantic Syntax Highlighting
Litho uses its language server to provide context-aware syntax highlighting,
assigning different colors to identical tokens based on semantic contextual
Portions of this software may utilize the following copyrighted material, the
use of which is hereby acknowledged:
Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (1):
Apache-2.0 OR BSL-1.0 (1):
Apache-2.0 OR MIT (76):
async-trait, auto_impl, beef, bitflags, bstr, cfg-if, crossbeam-utils, fnv,
form_urlencoded, futures, futures-channel, futures-core, futures-executor,
futures-io, futures-macro, futures-sink, futures-task, futures-util,
hashbrown, hermit-abi, httparse, idna, indexmap, itoa, lazy_static, libc,
lock_api, log, logos, logos-derive, minimal-lexical, multimap, num_cpus,
once_cell, parking_lot, parking_lot_core, paste, percent-encoding,
pin-project, pin-project-internal, pin-project-lite, pin-utils,
proc-macro-error, proc-macro-error-attr, proc-macro2, quote, regex,
regex-syntax, rust-analyzer, scopeguard, serde, serde_derive, serde_json,
serde_repr, signal-hook-registry, smallvec, smol_str, socket2, syn,
thread_local, tower-lsp, tower-lsp-macros, unicode-bidi, unicode-ident,
unicode-normalization, unindent, url, winapi, winapi-i686-pc-windows-gnu,
winapi-x86_64-pc-windows-gnu, windows-sys, windows_aarch64_msvc,
windows_i686_gnu, windows_i686_msvc, windows_x86_64_gnu,
Apache-2.0 OR MIT OR Zlib (2):
ariadne, bytes, dashmap, line-col, lsp-types, matches, mio, nom,
redox_syscall, slab, tokio, tokio-macros, tokio-util, tower, tower-layer,
tower-service, tracing, tracing-core
MIT OR Unlicense (7):
aho-corasick, globset, ignore, memchr, same-file, walkdir, winapi-util