Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
{
"name": "openscad-language-support",
"displayName": "OpenSCAD Language Support",
"description": "Provides formatting, auto-completion, jump to definition, document symbols, and more you need!",
"version": "2.0.1",
"publisher": "Leathong",
"icon": "media/logo.png",
"license": "SEE LICENSE IN LICENSE.txt",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
],
"keywords": [
"openscad",
"scad"
],
"homepage": "https://github.com/Leathong/openscad-support-vscode",
"bugs": {
"url": "https://github.com/Leathong/openscad-support-vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Leathong/openscad-support-vscode"
},
"activationEvents": [
"workspaceContains:**/*.scad",
"onWebviewPanel:cheatsheet"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "scad-lsp.cheatsheet",
"title": "Open Cheatsheet",
"category": "OpenSCAD"
},
{
"command": "scad-lsp.preview",
"title": "Preview in OpenSCAD",
"category": "OpenSCAD",
"icon": {
"light": "./media/icons/preview-light.svg",
"dark": "./media/icons/preview-dark.svg"
}
}
],
"menus": {
"editor/title": [
{
"command": "scad-lsp.preview",
"when": "editorLangId == scad",
"group": "navigation@-1.2"
}
],
"editor/title/context": [
{
"command": "scad-lsp.preview",
"when": "resourceLangId == scad",
"group": "navigation@0"
}
],
"explorer/context": [
{
"command": "scad-lsp.preview",
"when": "resourceLangId == scad",
"group": "navigation@-1.3"
}
],
"commandPalette": [
{
"command": "scad-lsp.preview",
"when": "editorLangId == scad || resourceLangId == scad"
}
]
},
"languages": [
{
"id": "scad",
"aliases": [
"OpenSCAD",
"openscad",
"scad"
],
"extensions": [
".scad"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./media/openscad.svg",
"dark": "./media/openscad.svg"
}
}
],
"snippets": [
{
"language": "scad",
"path": "./snippets/snippets.json"
}
],
"grammars": [
{
"language": "scad",
"scopeName": "source.scad",
"path": "./syntaxes/scad.tmLanguage.json"
}
],
"configuration": {
"title": "OpenSCAD-LSP",
"properties": {
"scad-lsp.searchPaths": {
"type": "string",
"description": "search paths for libs"
},
"scad-lsp.inlinePreview": {
"type": "boolean",
"description": "When enabled, shows previews directly in VSCode rather than opening externally"
},
"scad-lsp.launchPath": {
"type": "string",
"default": "",
"markdownDescription": "Command to launch `openscad`. Either the path to the openscad executable, or just \"`openscad`\" (no quotes) if the executable is in the path. If left blank, it will use the default path for your system noted below:\n- Windows: `C:\\Program Files\\Openscad\\openscad.exe`\n- MacOS: `/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD`\n- Linux: `openscad` (Automatically in path)"
},
"scad-lsp.fmtIdent": {
"type": "string",
"default": "",
"description": "The indentation string. Defaults to \" \" if not provided. Any string can be provided, but in most instances will be some whitespace: \" \", \" \", or \"\\t\"."
},
"scad-lsp.fmtQueryFilePath": {
"type": "string",
"default": "",
"description": "The query file used for topiary formatting, more detail refer to [topiary](https://github.com/tweag/topiary)."
},
"scad-lsp.defaultParam": {
"type": "boolean",
"default": false,
"description": "if true, will include default params in auto-completion"
}
}
},
"keybindings": [
{
"command": "scad-lsp.preview",
"key": "f5",
"when": "resourceLangId == scad"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"lint": "eslint -c .eslintrc.json --ext .ts src",
"compile": "tsc -p ./ && node esbuild.mjs",
"format": "prettier --config .prettierrc.json --write ./src/**/*.ts && eslint -c .eslintrc.json --ext .ts src --fix",
"watch": "tsc -watch -p ./",
"watch-preview-panel": "node esbuild.mjs --watch",
"update-grammar": "js-yaml syntaxes/scad.yaml-tmLanguage > syntaxes/scad.tmLanguage.json"
},
"devDependencies": {
"@google/model-viewer": "^4.1.0",
"@types/command-exists": "^1.2.0",
"@types/jsdom": "^16.2.10",
"@types/node": "^20.9.0",
"@types/vscode": "^1.44.0",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.0.0",
"esbuild": "^0.25.5",
"eslint": "^8.0.0",
"eslint-config-prettier": "^7.2.0",
"eslint-config-vscode-ext": "^1.0.0",
"eslint-plugin-prettier": "^3.4.0",
"js-yaml": "^3.14.1",
"prettier": "^2.3.0",
"three": "^0.172.0",
"typescript": "^4.0.0"
},
"dependencies": {
"@gltf-transform/core": "^4.2.0",
"@gltf-transform/extensions": "^4.2.0",
"command-exists": "^1.2.9",
"escape-string-regexp": "^4.0.0",
"jsdom": "^16.6.0",
"ste-signals": "^1.7.3",
"vscode-languageclient": "^8.0.2"
}
}
718c15908This file is pinned to the selected release. Download the original to open it in your design tool.