TD-code is a simple vscode extension that adds W3C Thing Description JSONSchema and some code snippets for td.json
and td.jsonld
files.
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 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.
Experimental support for Thing Models
Additional snippets for: events,properties,actions,securitySchema,and links
Update release notes
Fix TD JSONSchema location Fix typos in the package description
Fix up minor publishing material
Initial release