138 lines
3.7 KiB
JSON
138 lines
3.7 KiB
JSON
{
|
|
"name": "nx-post-support",
|
|
"displayName": "NX Postprocessor Support",
|
|
"description": "VS Code extension for NX CAM postprocessor development with syntax highlighting, formatting, linting, and auto-completion for CDL, TCL, and DEF files",
|
|
"version": "2025.9.100",
|
|
"publisher": "Christoph",
|
|
"icon": "images/nx-1.png",
|
|
"serverInfo": {
|
|
"name": "NX Postprocessor Support",
|
|
"module": "nx-post-support"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.cbsk-tech.de/Christoph/nx_post_support.git"
|
|
},
|
|
"main": "./client/out/extension",
|
|
"keywords": [
|
|
"cdl",
|
|
"NX CDL",
|
|
"UDE",
|
|
"Postprocessor",
|
|
"NX CAM",
|
|
"Siemens NX"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.96.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "tcl",
|
|
"aliases": [
|
|
"NX TCL",
|
|
"tcl"
|
|
],
|
|
"extensions": [
|
|
".tcl"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
},
|
|
{
|
|
"id": "cdl",
|
|
"aliases": [
|
|
"NX CDL",
|
|
"cdl"
|
|
],
|
|
"extensions": [
|
|
".cdl"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
},
|
|
{
|
|
"id": "def",
|
|
"aliases": [
|
|
"NX DEF",
|
|
"def"
|
|
],
|
|
"extensions": [
|
|
".def"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "tcl",
|
|
"scopeName": "source.tcl",
|
|
"path": "./syntaxes/tcl.tmLanguage.json"
|
|
},
|
|
{
|
|
"language": "cdl",
|
|
"scopeName": "source.cdl",
|
|
"path": "./syntaxes/cdl.tmLanguage.json"
|
|
},
|
|
{
|
|
"language": "def",
|
|
"scopeName": "source.def",
|
|
"path": "./syntaxes/def.tmLanguage.json"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"properties": {
|
|
"nx-post-support.formatter": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Use the TCL formatter from `NX Postprocessor Support`"
|
|
},
|
|
"nx-post-support.inlayHint": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Use the Inlay Hints in from `NX Postprocessor Support`"
|
|
},
|
|
"nx-post-support.importStrategy": {
|
|
"default": "useBundled",
|
|
"description": "Defines where `NX Postprocessor Support` is imported from.",
|
|
"enum": [
|
|
"useBundled",
|
|
"fromEnvironment"
|
|
],
|
|
"enumDescriptions": [
|
|
"Always use the bundled version of `NX Postprocessor Support`.",
|
|
"Use `NX Postprocessor Support` from environment, fallback to bundled version only if `NX Postprocessor Support` not available in the environment."
|
|
],
|
|
"scope": "window",
|
|
"type": "string"
|
|
},
|
|
"nx-post-support.interpreter": {
|
|
"default": [],
|
|
"description": "When set to the path of a Python executable, extension will use that to launch the server.",
|
|
"scope": "resource",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"postinstall": "cd client && npm install && cd ..",
|
|
"vscode:prepublish": "npm run build",
|
|
"debug": "cd client && npm run compile",
|
|
"build": "cd client && npm run compile && cd ../server && npm run build && cd ..",
|
|
"lint": "cd client && npm run lint && cd ..",
|
|
"esbuild": "node ./bin/esbuild.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.96.0",
|
|
"@vscode/vsce": "^3.2.1",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.25.6",
|
|
"prettier": "^3.4.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
} |