Skip to content

Commit

Permalink
chore: fix initial issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gxanshu committed Jul 14, 2024
1 parent 3164a1c commit 4a098d4
Show file tree
Hide file tree
Showing 5 changed files with 394 additions and 0 deletions.
55 changes: 55 additions & 0 deletions LSP-vtsls.sublime-commands
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[
{
"caption": "Preferences: LSP-vtsls Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LSP-vtsls/LSP-vtsls.sublime-settings",
"default": "// Settings in here override those in \"LSP-vtsls/LSP-vtsls.sublime-settings\"\n\n{\n\t$0\n}\n"
}
},
{
"caption": "LSP-vtsls: Organize Imports",
"command": "lsp_typescript_execute",
"args": {
"command_name": "typescript.organizeImports",
"command_args": ["${file}"]
}
},
{
"caption": "LSP-vtsls: Open TS server Log",
"command": "lsp_typescript_execute",
"args": {
"command_name": "typescript.openTsServerLog"
}
},
{
"caption": "LSP-vtsls: Reload Projects",
"command": "lsp_typescript_execute",
"args": {
"command_name": "typescript.reloadProjects"
}
},
{
"caption": "LSP-vtsls: Select TypeScript Version",
"command": "lsp_typescript_execute",
"args": {
"command_name": "typescript.selectTypeScriptVersion"
}
},
{
"caption": "LSP-vtsls: Sort Imports",
"command": "lsp_typescript_execute",
"args": {
"command_name": "typescript.sortImports",
"command_args": ["${file}"]
}
},
{
"caption": "LSP-vtsls: Remove Unused Imports",
"command": "lsp_typescript_execute",
"args": {
"command_name": "typescript.removeUnusedImports",
"command_args": ["${file}"]
}
},
]
17 changes: 17 additions & 0 deletions LSP-vtsls.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"initializationOptions": {},
"settings": {
"statusText": "$version, $source",
// https://github.com/yioneko/vtsls/blob/main/packages/service/configuration.schema.json
},
"command": [
"${node_bin}",
"${server_path}",
"--stdio"
],
"selector": "source.js, source.jsx, source.ts, source.tsx",
"schemes": [
"file", // regular files
"buffer", // in-memory buffers
],
}
252 changes: 252 additions & 0 deletions vtsls/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions vtsls/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "lsp-vtsls",
"private": true,
"dependencies": {
"@vtsls/language-server": "^0.2.4"
},
"packageManager": "[email protected]+sha512.f6d863130973207cb7a336d6b439a242a26ac8068077df530d6a86069419853dc1ffe64029ec594a9c505a3a410d19643c870aba6776330f5cfddcf10a9c1617"
}
62 changes: 62 additions & 0 deletions vtsls/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a098d4

Please sign in to comment.