https://github.com/jasonlyu123/sveltevisualstudio
A language server protocol client for Visual Studio 2019 and 2022. Power by Svelte Language Server
https://github.com/jasonlyu123/sveltevisualstudio
lsp-client visual-studio visual-studio-extension
Last synced: about 1 year ago
JSON representation
A language server protocol client for Visual Studio 2019 and 2022. Power by Svelte Language Server
- Host: GitHub
- URL: https://github.com/jasonlyu123/sveltevisualstudio
- Owner: jasonlyu123
- License: mit
- Created: 2021-03-12T15:32:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T05:44:11.000Z (over 2 years ago)
- Last Synced: 2025-04-18T19:41:32.353Z (about 1 year ago)
- Topics: lsp-client, visual-studio, visual-studio-extension
- Language: C#
- Homepage: https://marketplace.visualstudio.com/items?itemName=lyu-jason.svelte-vs-2022
- Size: 321 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Svelte for Visual Studio
This extension is a language server client for [Visual Studio 2019](https://marketplace.visualstudio.com/items?itemName=lyu-jason.svelte-vs) and [Visual Studio 2022](https://marketplace.visualstudio.com/items?itemName=lyu-jason.svelte-vs-2022). Power by [Svelte Language Server](https://github.com/sveltejs/language-tools/)
with [language server protocol](https://microsoft.github.io/language-server-protocol/).
Visual Studio 2022 fixes a lot of bugs related to LSP. Thus it's recommended to use the VS2022 version.
### Configuration
Create a `VSWorkspaceSettings.json` in the `.vs` folder in the folder you want the config to apply to.
Complete list see [Svelte Language Server](https://github.com/sveltejs/language-tools/tree/master/packages/language-server#list-of-settings)
Note that not all feature is supported in Visual Studio.
```json
// /.vs/VSWorkspaceSettings.json
{
"svelte.plugin.css.hover.enable": true,
"typescript.preferences.quoteStyle": "single"
}
```
### Known feature doesn't work on Visual Studio but on VSCode
See [#6](https://github.com/jasonlyu123/SvelteVisualStudio/issues/6)