{ "name": "qt-qml", "displayName": "Qt Qml", "description": "Qt Qml Support", "version": "1.3.0", "homepage": "https://www.qt.io/", "icon": "res/icons/qt.png", "publisher": "theqtcompany", "repository": { "type": "git", "url": "https://github.com/qt-labs/vscodeext" }, "bugs": { "url": "https://bugreports.qt.io/projects/VSCODEEXT" }, "engines": { "vscode": "^1.94.0" }, "categories": [ "Programming Languages", "Formatters", "Snippets" ], "keywords": [ "Qt", "Qml" ], "qna": "marketplace", "pricing": "Free", "activationEvents": [ "workspaceContains:*.qml", "workspaceContains:*.qmldir" ], "main": "./out/extension.js", "l10n": "./l10n", "contributes": { "commands": [ { "command": "qt-qml.restartQmlls", "title": "%qt-qml.command.restartQmlls.title%", "category": "Qt" }, { "command": "qt-qml.checkQmllsUpdate", "title": "%qt-qml.command.checkQmllsUpdate.title%", "category": "Qt" }, { "command": "qt-qml.downloadQmlls", "title": "%qt-qml.command.downloadQmlls.title%", "category": "Qt" } ], "languages": [ { "id": "qml", "configuration": "./res/lang/qml/language-configuration.json", "extensions": [ ".qml", ".qmlproject" ], "aliases": [ "QML", "Qml", "qml" ], "icon": { "light": "res/icons/qml-light.svg", "dark": "res/icons/qml-dark.svg" } }, { "id": "qmldir", "configuration": "./res/lang/qmldir/language-configuration.json", "filenames": [ "qmldir" ], "aliases": [ "QMLDir", "qmldir" ] } ], "grammars": [ { "language": "qml", "scopeName": "source.qml", "path": "./res/lang/qml/qml.qmlproject.tmLanguage.json" }, { "language": "qmldir", "scopeName": "source.qmldir", "path": "./res/lang/qmldir/qmldir.tmLanguage.json" } ], "configuration": { "type": "object", "title": "Qt Qml Configuration", "properties": { "qt-qml.qmlls.enabled": { "type": "boolean", "default": true, "description": "Run qmlls when activating an extension", "scope": "machine-overridable" }, "qt-qml.qmlls.verboseOutput": { "type": "boolean", "default": false, "description": "Run qmlls with --verbose option", "scope": "machine-overridable" }, "qt-qml.qmlls.traceLsp": { "type": "string", "default": "off", "enum": [ "off", "messages", "compact", "verbose" ], "enumDescriptions": [ "Off", "Show messages only", "Show messages with parameters as compact JSON", "Show messages with parameters as multiline JSON" ], "description": "Handle LSP trace", "scope": "machine-overridable" }, "qt-qml.qmlls.customExePath": { "type": "string", "default": "", "description": "Specify the custom qmlls executable path", "scope": "machine-overridable" }, "qt-qml.qmlls.additionalImportPaths": { "type": "array", "items": { "type": "string" }, "default": [], "description": "Look for QML modules in the specified directories. Each entry will be added via the \"-I\" command argument when starting qmlls", "scope": "machine-overridable" }, "qt-qml.qmlls.useQmlImportPathEnvVar": { "type": "boolean", "default": false, "description": "Use the QML_IMPORT_PATH environment variable to look for QML Modules. When set to true, the \"-E\" command argument will be added when starting qmlls", "scope": "machine-overridable" }, "qt-qml.doNotAskForQmllsDownload": { "type": "boolean", "default": false, "description": "Do not ask for downloading qmlls", "scope": "machine" } } } }, "taskDefinitions": [ { "type": "Qt" } ], "extensionDependencies": [ "theqtcompany.qt-core" ], "scripts": { "vscode:prepublish": "cross-env NODE_ENV=production node ./esbuild.mjs && git rev-parse HEAD > commit", "compile": "node ./esbuild.mjs", "watch": "node ./esbuild.mjs --watch", "pretest": "npm run compile && npm run lint", "lint": "npm run prettierWrite && eslint . --fix --cache", "prettierWrite": "npm run prettierBase -- --write \"**/*.{js,ts,json,mjs,cjs}\" --log-level silent", "prettierCheck": "npm run prettierBase -- --check \"**/*.{js,ts,json,mjs,cjs}\"", "prettierBase": "prettier --config \"../common/.prettierrc\" --ignore-path \"../common/.prettierignore\" --cache --cache-strategy metadata", "package": "vsce package --out out" }, "devDependencies": { "@types/license-checker": "^25.0.6", "@types/node": "^20.17.0", "@types/vscode": "^1.94.0", "@types/yauzl": "^2.10.3", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@vscode/l10n-dev": "^0.0.30", "@vscode/test-electron": "^2.4.1", "@vscode/vsce": "^2.32.0", "chai": "^4.5.0", "commander": "^11.1.0", "cross-env": "^7.0.3", "esbuild": "^0.20.2", "eslint": "^8.57.1", "license-checker": "^25.0.1", "mocha": "^10.7.3", "prettier": "^3.3.3", "ts-node": "^10.9.2", "typescript": "^5.6.3" }, "dependencies": { "@vscode/l10n": "^0.0.16", "module-alias": "^2.2.3", "qt-lib": "file:../qt-lib", "typescript": "^5.6.3", "untildify": "^5.0.0", "vscode-languageclient": "^9.0.1", "yauzl": "^3.1.3" } }