Install the complete package with local command reference and every published mode.
install codecodeOpen a PHP, JavaScript or configuration file with
The extension usually determines the language. -l <lang> or -<lang> selects it explicitly, for example for a generated file. -n creates a missing file only if its parent folder exists. Existing files are not cleared.
The Base interface can load optional
code <file> [-n] [-l <lang>|-<lang>]code <file>open a file in the
-ncreate a missing file before opening it
-l <lang> | -<lang>select php, html, xml, css, js, json, ini, md, py, sql, sh or lil highlighting
include -code -i @includeinspect the automatically managed editor interface package
include -code -u @includeremove optional editor assets without removing
help hotkeysshow editor keyboard shortcuts
Open a PHP, JavaScript or configuration file with
The extension usually determines the language. -l <lang> or -<lang> selects it explicitly, for example for a generated file. -n creates a missing file only if its parent folder exists. Existing files are not cleared.
The Base interface can load optional
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install codeInstall the reduced package. Local reference is omitted;
install code -mInstall exactly this published version.
install code -v 1.3.7Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade codeRemove the extension block while leaving the core and unrelated modules intact.
install code -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
cd \sandbox | code src/Calculator.php[Browser editor: existing PHP source]
<?php
declare(strict_types=1);
final class Calculator
{
public static function add(int $left, int $right): intcode \sandbox\tmp\review.js -n[Browser editor: new empty file]
sandbox/tmp/review.js
Language: jscode \sandbox\config\app.json -json[Browser editor: existing file]
sandbox/config/app.json
Language: json (selected)code \sandbox\scripts\demo.lil -l lil[Browser editor: existing file]
sandbox/scripts/demo.lil
Language: lil (selected)code \sandbox\config\.env.example -ini[Browser editor: existing file]
sandbox/config/.env.example
Language: ini (selected)code \sandbox\data\sample.txt -l text[Browser editor: existing file]
lil-terminal sandbox text file
This file is safe to read, copy, rename, replace, hash and archive.include -code -iPackage code
Components CSS + JavaScript
Status available separately from codeThese commands install the optional editor assets. The
include -code -uPackage code
CSS/JS removed when present
Command still installedThese commands install the optional editor assets. The
help hotkeyshotkeys
Keyboard shortcuts are listed for the installed interfacecode \sandbox\missing.phpFile not foundcode \sandbox\data\sample.txt -l unsupportedUnsupported languagesandbox/src/Calculator.phpThe example uses a file or directory from the protected /sandbox/ documentation workspace.
<?php
declare(strict_types=1);
final class Calculator
{
public static function add(int $left, int $right): int
{
return $left + $right;
}
}
Current stable release of