Language Tools

screenshot of Language Tools
svelte

The Svelte Language Server, and official extensions which use it

Overview

Svelte Language Tools is a library that implements the Language Server Protocol (LSP) and powers the VSCode extension for Svelte. It also has the capability to power plugins for other IDEs. This repository contains the tools that provide editor integrations for Svelte files.

Features

  • Language Server for Svelte: A language server built from UnwrittenFun/svelte-language-server, serving as the official language server for Svelte.
  • Svelte Check: A command line tool that checks Svelte files for type errors, unused CSS, and more. Built from Vetur's VTI.
  • Svelte VSCode Extension: The official VSCode extension for Svelte. Built from UnwrittenFun/svelte-vscode to become the official extension.

Summary

Svelte Language Tools is a library that implements the Language Server Protocol and provides editor integrations for Svelte files. It includes a language server, a command line tool for checking Svelte files, and an official VSCode extension for Svelte. To install and work with these tools, you need to use pnpm instead of npm and ensure your editor has appropriate plugins for TypeScript support.

svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.