Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DLiteScriptNew to Visual Studio Code? Get it now.
DLiteScript

DLiteScript

Dobefu

|
3 installs
| (0) | Free
A delightfully simple scripting language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DLiteScript Language Support

Language support for DLiteScript.

Features

  • Syntax Highlighting
  • Bracket Matching
  • Comment Support
  • String Features
  • Language Configuration
  • LSP Server

Requirements

None. This extension works out of the box with VS Code.

Extension Settings

This extension contributes the following settings:

  • dlitescript.lsp.enable: Enable/disable the DLiteScript Language Server Protocol (default: true)
  • dlitescript.lsp.serverPath: Path to the DLiteScript Language Server executable (default: "dlitescript")
  • dlitescript.lsp.serverArgs: Arguments to pass to the Language Server (default: ["lsp"])

Commands

  • dlitescript.restartServer: Restart the DLiteScript Language Server
  • dlitescript.toggleServer: Toggle the DLiteScript LSP server

Example

// Variable declarations
var name string
const age number = 25
var message string = "Hello %s!"

// Assignments
name = "DLiteScript"
age = age + 1

// Function calls
printf("Hello %s\n", name)
printf("Age: %g\n", age)

// Block scoping
{
    const localVar string = "scoped"
    printf("Inside block: %s\n", localVar)
}

// Expressions with operators
var result number = 2 ** 3 + 4 * 5
var calculation number = (result - 10) / 2

Related

  • DLiteScript - Main language implementation
  • tree-sitter-dlitescript - Grammar definition
  • vscode-dlitescript - Source code
  • nvim-dlitescript - NeoVim plugin
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft