gitstack

grindlemire/go-tui code browser

2.5 KB JSON 107 lines 2026-07-12 · 98b46d8 raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
  "name": "go-tui",
  "displayName": "go-tui",
  "description": "Syntax highlighting and LSP support for .gsx files (go-tui DSL)",
  "version": "0.18.2",
  "publisher": "grindlemire",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/grindlemire/go-tui"
  },
  "engines": {
    "vscode": "^1.75.0"
  },
  "categories": [
    "Programming Languages"
  ],
  "icon": "./icons/icon-dark.png",
  "keywords": [
    "gsx",
    "go-tui",
    "terminal",
    "ui",
    "dsl"
  ],
  "activationEvents": [
    "onLanguage:gsx"
  ],
  "main": "./out/extension.js",
  "contributes": {
    "languages": [
      {
        "id": "gsx",
        "aliases": [
          "GSX",
          "gsx"
        ],
        "extensions": [
          ".gsx"
        ],
        "icon": {
          "light": "./icons/gsx-file-light.svg",
          "dark": "./icons/gsx-file-dark.svg"
        },
        "configuration": "./language-configuration.json"
      }
    ],
    "grammars": [
      {
        "language": "gsx",
        "scopeName": "source.gsx",
        "path": "./syntaxes/gsx.tmLanguage.json",
        "embeddedLanguages": {
          "meta.embedded.block.go": "go"
        }
      }
    ],
    "configuration": {
      "type": "object",
      "title": "GSX Language Server",
      "properties": {
        "gsx.lsp.path": {
          "type": "string",
          "default": "tui",
          "description": "Path to the tui CLI binary (must be in PATH or an absolute path)"
        },
        "gsx.lsp.enabled": {
          "type": "boolean",
          "default": true,
          "description": "Enable the GSX language server"
        },
        "gsx.lsp.logPath": {
          "type": "string",
          "default": "",
          "description": "Path to LSP log file for debugging (e.g., /tmp/gsx-lsp.log)"
        }
      }
    },
    "configurationDefaults": {
      "[gsx]": {
        "editor.semanticHighlighting.enabled": true
      },
      "editor.semanticTokenColorCustomizations": {
        "rules": {
          "typeParameter:gsx": "#C586C0"
        }
      },
      "explorer.fileNesting.patterns": {
        "*.gsx": "${capture}_gsx.go"
      }
    }
  },
  "scripts": {
    "vscode:prepublish": "bun run compile",
    "compile": "tsc -p ./",
    "watch": "tsc -watch -p ./",
    "package": "bunx @vscode/vsce package --allow-missing-repository"
  },
  "dependencies": {
    "vscode-languageclient": "^9.0.1"
  },
  "devDependencies": {
    "@types/node": "^25.0.10",
    "@types/vscode": "^1.75.0",
    "typescript": "^5.0.0"
  }
}