Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The Svelte Language Server, and official extensions which use it

License

NotificationsYou must be signed in to change notification settings

sveltejs/language-tools

Repository files navigation

Cybernetically enhanced web apps: Sveltenpm versionlicense

IDE docs and troubleshooting

What is Svelte Language Tools?

Svelte Language Tools contains a library implementing the Language Server Protocol (LSP). LSP powers theVSCode extension, which is also hosted in this repository. Additionally, LSP is capable of powering plugins fornumerous other IDEs.

A.svelte file would look something like this:

<script>letcount=$state(1);letdoubled=$derived(count*2);letquadrupled=$derived(doubled*2);functionhandleClick(){count+=1;}</script><buttononclick="{handleClick}">Count: {count}</button><p>{count} * 2 = {doubled}</p><p>{doubled} * 2 = {quadrupled}</p>

Which is a mix ofHTMLx and vanilla JavaScript (but with additional runtime behavior coming from the svelte compiler).

This repo contains the tools which provide editor integrations for Svelte files like this.

Contributing

Contributions are encouraged and always welcome.Read the contribution guide for more info and help us out!

Supporting Svelte

Svelte is an MIT-licensed open source project with its ongoing development made possible entirely by the support of awesome volunteers. If you'd like to support their efforts, please consider:

Funds donated via Open Collective will be used for compensating expenses related to Svelte's development such as hosting costs. If sufficient donations are received, funds may also be used to support Svelte's development more directly.

License

MIT

Credits

  • James Birtles for creating the foundation which this language server, and the extensions are built on
  • Vue'sVetur language server which heavily inspires this project
  • halfnelson for creatingsvelte2tsx
  • jasonlyu123 for his ongoing work in all areas of the language-tools

About

The Svelte Language Server, and official extensions which use it

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    [8]ページ先頭

    ©2009-2025 Movatter.jp