https://github.com/eclipse-thingweb/td-code
VS Code extension for validating and designing W3C Thing Descriptions and Thing Models.
https://github.com/eclipse-thingweb/td-code
Last synced: 10 months ago
JSON representation
VS Code extension for validating and designing W3C Thing Descriptions and Thing Models.
- Host: GitHub
- URL: https://github.com/eclipse-thingweb/td-code
- Owner: eclipse-thingweb
- License: other
- Created: 2020-07-01T20:39:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-12T15:01:42.000Z (over 1 year ago)
- Last Synced: 2025-03-25T09:11:56.324Z (over 1 year ago)
- Language: TypeScript
- Size: 988 KB
- Stars: 9
- Watchers: 10
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TD-code
TD-code is a simple vscode extension that adds W3C Thing Description JSONSchema and some code snippets for `td.json` and `td.jsonld` files.
## Features
For each file with `td.json` or `td.jsonld` extension you will get intellisense code completion base on a modified version of the JSONSchema provided in the [W3C Thing Description](https://www.w3.org/TR/wot-thing-description/#json-schema-for-validation) specification page. VSCode will also validate your Thing Description following the rules described in the schema.
For example, in this animation you can see the code completion in action:

TD-code provide also some useful code snippets to accelerate Thing Description setting up and design time.

## Release Notes
### 0.5.0
Support for 1.1 TD version.
### 0.4.0
Experimental support for Thing Models
### 0.3.0
Additional snippets for: events,properties,actions,securitySchema,and links
### 0.2.3
Update release notes
### 0.2.2
Fix TD JSONSchema location
Fix typos in the package description
### 0.2.1
Fix up minor publishing material
### 0.2.0
Initial release