This commit is contained in:
Paymaun Heidari 2021-08-02 13:05:12 -07:00
Родитель 0ed0ae91d1
Коммит db199e1f15
5 изменённых файлов: 2864 добавлений и 4795 удалений

2
.gitignore поставляемый
Просмотреть файл

@ -2,3 +2,5 @@ out
dist dist
node_modules node_modules
.vscode-test .vscode-test
coverage/
*.vsix

Просмотреть файл

@ -3,6 +3,7 @@
# DTDL Editor for Visual Studio Code # DTDL Editor for Visual Studio Code
## Overview ## Overview
The [Digital Twin Definition Language](https://aka.ms/DTDL) (DTDL) is a language for describing models for Plug and Play devices, device digital twins, and logical digital twins. Broadly, modeling enables IoT solutions to provision, use, and configure digital twins of all kinds from multiple sources in a single solution. Using DTDL to describe any digital twins abilities enables the IoT platform and IoT solutions to leverage the semantics of each digital twin. The [Digital Twin Definition Language](https://aka.ms/DTDL) (DTDL) is a language for describing models for Plug and Play devices, device digital twins, and logical digital twins. Broadly, modeling enables IoT solutions to provision, use, and configure digital twins of all kinds from multiple sources in a single solution. Using DTDL to describe any digital twins abilities enables the IoT platform and IoT solutions to leverage the semantics of each digital twin.
With the [DTDL extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-dtdl) , you can read and write documents using DTDL more efficiently taking full advantage of the following key features: With the [DTDL extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-dtdl) , you can read and write documents using DTDL more efficiently taking full advantage of the following key features:
@ -26,7 +27,6 @@ You could use the command palette to create interface from predefined or customi
- The @id is the path component of the [Digital Twin Model Identifier](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md#digital-twin-model-identifier-dtmi) (DTMI). You should modify the @id following the DTMI rule to uniquely identify the device model. - The @id is the path component of the [Digital Twin Model Identifier](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md#digital-twin-model-identifier-dtmi) (DTMI). You should modify the @id following the DTMI rule to uniquely identify the device model.
- You could extend the interface with [DTDL v2](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md). - You could extend the interface with [DTDL v2](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md).
### Intellisense and Syntax validation ### Intellisense and Syntax validation
This extension could help you with the language syntax (including auto-completion) and also validate the syntax with [DTDL v2](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md). This extension could help you with the language syntax (including auto-completion) and also validate the syntax with [DTDL v2](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md).
@ -126,13 +126,13 @@ You should receive a response within 24 hours. If for some reason you do not, pl
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) - Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue - Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL) - The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue - Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue - Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible) - Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue - Impact of the issue, including how an attacker might exploit the issue
This information will help us triage your report more quickly. This information will help us triage your report more quickly.

Просмотреть файл

@ -5,7 +5,7 @@
trigger: none trigger: none
pr: pr:
- master - main
- develop - develop
- pre-release-v* - pre-release-v*

7589
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -2,7 +2,7 @@
"name": "vscode-dtdl", "name": "vscode-dtdl",
"displayName": "DTDL", "displayName": "DTDL",
"description": "This extension provides syntax highlighting to read and edit JSON documents using the Digital Twins Definition Language", "description": "This extension provides syntax highlighting to read and edit JSON documents using the Digital Twins Definition Language",
"version": "1.0.0", "version": "1.0.1",
"publisher": "vsciot-vscode", "publisher": "vsciot-vscode",
"aiKey": "[AIKEY PLACEHOLDER]", "aiKey": "[AIKEY PLACEHOLDER]",
"icon": "logo.png", "icon": "logo.png",
@ -17,7 +17,7 @@
"bugs": { "bugs": {
"url": "https://github.com/Microsoft/vscode-dtdl/issues" "url": "https://github.com/Microsoft/vscode-dtdl/issues"
}, },
"homepage": "https://github.com/Microsoft/vscode-dtdl/blob/master/README.md", "homepage": "https://github.com/Microsoft/vscode-dtdl/blob/main/README.md",
"categories": [ "categories": [
"Azure", "Azure",
"Snippets" "Snippets"
@ -75,7 +75,7 @@
"devDependencies": { "devDependencies": {
"@types/fs-extra": "^7.0.0", "@types/fs-extra": "^7.0.0",
"@types/glob": "^7.1.1", "@types/glob": "^7.1.1",
"@types/jest": "^25.1.2", "@types/jest": "^26.0.24",
"@types/node": "^10.12.21", "@types/node": "^10.12.21",
"@types/vscode": "^1.36.0", "@types/vscode": "^1.36.0",
"@typescript-eslint/eslint-plugin": "^2.28.0", "@typescript-eslint/eslint-plugin": "^2.28.0",
@ -84,13 +84,13 @@
"eslint-config-prettier": "^6.11.0", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3", "eslint-plugin-prettier": "^3.1.3",
"glob": "^7.1.4", "glob": "^7.1.4",
"jest": "^25.0.1", "jest": "^27.0.6",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"ts-jest": "^25.2.0", "ts-jest": "^27.0.4",
"ts-loader": "^6.2.1", "ts-loader": "^6.2.1",
"typescript": "^3.3.1", "typescript": "^3.3.1",
"webpack": "^4.41.2", "webpack": "^5.47.1",
"webpack-cli": "^3.3.10", "webpack-cli": "^4.7.2",
"copy-webpack-plugin": "^6.0.1" "copy-webpack-plugin": "^6.0.1"
}, },
"dependencies": { "dependencies": {