Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>LithoNew to Visual Studio Code? Get it now.

Litho

Preview

Glacyr B.V.

|
31 installs
| (2) | Free
Zero-config GraphQL tooling for VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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.

Getting Started

Installation

Simply install Litho from the Visual Studio marketplace to get started!

Usage

Litho will automatically index all GraphQL files it can find in your workspace, except for any files included in your .gitignore.

Support

If you have any questions, feedback or suggestions, don't hesitate to contact us through chat on our website.

Features

Litho comes with a bunch of useful features that you need to write effective GraphQL.

Screenshot for Intelligent Auto-Complete

Intelligent Auto-Complete

Litho provides context-aware, detailed completions that will help you write GraphQL type-systems, queries, and mutations in no time.

Screenshot for Spec Compliant

Spec Compliant

Litho implements the full 2021 GraphQL spec, catching more than 120 different types of hard-to-find bugs before your code hits production.

Screenshot for Zero-Configuration

Zero-Configuration

Litho automatically indexes all GraphQL files it can find in your workspace and starts providing intelligent assistance in a fraction of a second.

Screenshot for Fault-Tolerant Parsing

Fault-Tolerant Parsing

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.

Screenshot for Incremental Compilation

Incremental Compilation

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 single-digit milliseconds.

Screenshot for Documentation-Driven

Documentation-Driven

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.

Screenshot for Transitive Type Checking

Transitive Type Checking

Litho transitively checks fragment definitions for missing variable definitions, type mismatches in variable usages, and unmergeable selection sets.

Screenshot for Auto-Import Remote Schemas

Auto-Import Remote Schemas

Litho can import schemas from remote URLs and automatically refresh them to integrate the latest changes.

Screenshot for Code Actions

Code Actions

Litho automatically suggests potential fixes to common problems such as missing fields, variables, or arguments.

Screenshot for CodeLens

CodeLens

Litho indexes your entire schema and provides CodeLens functionality that lets you easily track down type usage and fragment includes.

Screenshot for Built-in Linter

Built-in Linter

Litho warns early about potential issues with your schema, such as unusued types, duplicate selections, or ambiguous formatting.

Screenshot for Built-in Linter

Semantic Syntax Highlighting

Litho uses its language server to provide context-aware syntax highlighting, assigning different colors to identical tokens based on semantic contextual differences.

Acknowledgements

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):
    wasi

Apache-2.0 OR BSL-1.0 (1):
    ryu

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,
    windows_x86_64_msvc, yansi
    
Apache-2.0 OR MIT OR Zlib (2):
    tinyvec, tinyvec_macros

MIT (18):
    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
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft