DTX by DTX Office
Official language and syntax support for DTX 1.0.0.
DTX Language Support does not include the DTXC compiler.
Installing this extension provides editor support only and does not make DTX programs executable.
Versions
| Item |
Version |
| DTX Language |
1.0.0 |
| DTX by DTX Office |
1.0.0 |
Publisher And Author
| Item |
Value |
| Publisher |
DTX Office |
| Extension identifier |
dtx-office.dtx-official-language |
| Author |
IBRAHIM BOUILLET |
| Copyright holder |
IBRAHIM BOUILLET |
| Copyright year |
2026 |
| License |
Apache License 2.0 |
The Marketplace icon is provided through the extension manifest. The README
does not embed the logo yet because there is currently no public HTTPS URL for
the image. A README image can be added later when a stable public URL exists.
Features
- Registers
.dtx files as the DTX language.
- Provides TextMate syntax highlighting for DTX 1.0.0.
- Configures parentheses and double quotes for editor pairing.
- Provides snippets for valid DTX 1.0.0 statements.
- Adds DTX file icons for light and dark themes.
Installation
Install the packaged VSIX from Visual Studio Code:
Extensions: Install from VSIX...
This extension provides editor features only. Install DTXC separately if you
need to compile DTX programs.
Recognized Syntax
DTX 1.0.0 recognizes:
- the
.dtx source extension;
- the reserved keyword
print;
- alphabetic identifiers using
[A-Za-z]+;
- unsigned decimal integers using
[0-9]+;
- double-quoted strings without escapes;
- assignment with
=;
- arithmetic operators
+, -, *, /;
- parentheses
( and ).
Examples
print = ("Hello from DTX")
result = (5 + 2) * 3
print = (result)
text = "Hello"
print = (text)
Snippets
| Snippet |
Prefix |
| Print string |
print-string |
| Print expression |
print-expression |
| Assign integer |
assign-integer |
| Assign string |
assign-string |
| Arithmetic expression |
arithmetic-expression |
Limitations
DTX is an early language in development with an official initial syntax version
of 1.0.0. This extension does not provide:
- the DTXC compiler;
- an interpreter;
- run buttons;
- debugging;
- a language server;
- linting;
- formatting;
- telemetry;
- network requests.
DTX 1.0.0 does not include comments, functions, conditions, loops, booleans,
arrays, objects, explicit types, imports, braces, brackets, or semicolons.
License
Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE.