Beta Coming soon. This feature is still being built, so names and details may change before it ships.

Languages

Ingot supports every major programming language. Highlighting comes with Ingot, full language support (code completion, go to definition and errors) installs the first time you open a file in that language, and Run Current File runs the file with the runtime on your computer.

Three layers

  1. Highlighting is bundled. Java, C/C++, C#, Python, Go, Rust, Ruby, Swift, Dart, PHP, TypeScript/JavaScript and about 30 more languages are highlighted as soon as you install Ingot. Nothing downloads.
  2. Full language support installs on first use. The first time you open a C++ file, Ingot asks once: Get full C++ support (code completion, go to definition, errors)? with Install and Not Now. Install gets the open language server from Open VSX. The same happens for C#, Python, Go, Rust, Kotlin, Ruby, Dart, Swift, Scala, GraphQL, Protocol Buffers and TOML. Java and TypeScript/JavaScript come fully ready.
  3. Runtimes and toolchains are yours. To run or build code, Ingot uses the JDK, compilers and SDKs on your computer. Settings › Languages & Frameworks shows which ones it found.

A hello.cpp file open in Ingot with two notices: Get full C++ support (code completion, go to definition, errors)? with Install and Not Now, and clangd is not installed, with Copy Install Command, Open Download Page, Languages… and Don't Ask Again

Some language servers also need a program on your computer, for example clangd for C and C++. Ingot says so in a second notice, with Copy Install Command for your system, Open Download Page and Languages…, which opens Settings › Languages & Frameworks.

Every language

LanguageHighlighting bundled?IntelliSense (completion, definition, errors)Runtime needed to run
JavaYesBundled (Language Support for Java, with its own Java runtime)JDK to run; editing works without one
C / C++YesOn first use: clangd extension (and clangd on PATH)clang or gcc
C#YesOn first use: open C# extension (OmniSharp-based).NET SDK
PythonYesOn first use: Python and basedpyrightPython 3
GoYesOn first use: Go extension (installs gopls)Go
RustYesOn first use: rust-analyzerRust (cargo)
TypeScript / JavaScriptYesBundledNode.js
PHPYesBundled basics; Phpactor for project symbolsPHP 8.1 or later
RubyYesOn first use: Ruby LSPRuby 3 or later
KotlinWith the extensionOn first use: Kotlin extension (brings highlighting)Kotlin compiler and a JDK
SwiftYesOn first use: Swift extension (sourcekit-lsp)Swift toolchain
Dart / FlutterYesOn first use: Dart (and Flutter, optional)Dart SDK / Flutter SDK
ScalaWith the extensionOn first use: Scala syntax and MetalsJava runtime
GraphQL, Protocol Buffers, TOMLWith the extensionOn first usenone
SQLYesFormatter onlySQLite to run
ShellYesBash IDE (optional)Bash
HTML, CSS, SCSS, Less, JSON, YAML, MarkdownYesBundlednone
Lua, R, Perl, PowerShell, Makefile, Groovy, Clojure, F#, Objective-C, Julia, LaTeX, XML, INI, Batch, Diff, Log, Visual Basic, Razor, CoffeeScript, Handlebars, Pug, HLSL, ShaderLab, reStructuredText, DockerfileYesInstall an extension from Settings › Plugins if you want onetheir own

Settings › Languages & Frameworks

Settings › Languages & Frameworks has everything about languages in one place:

  • The languages table: one row per language with what works now (highlighting, completion, hover, go to definition, diagnostics and more). Click a row, or focus it and press Enter, for the extensions each feature comes from and the toolchains that are missing.
  • Full language support on first use: the languages Ingot offers to set up, each with Install, so you can install one before you open a file.
  • Highlighting for every language: the languages bundled with Ingot.
  • Toolchains: the JDK, clang/gcc, .NET SDK, Python, Go, Rust/cargo, Node.js, Ruby, Dart, Flutter, Swift, Kotlin and the rest that Ingot finds on your PATH, with their versions. Each has an Install… link to its official download page and lists the languages Run Current File uses it for.

Ingot Settings on Languages & Frameworks: the Full language support on first use list with C++, C#, Python, Go, Rust, Kotlin, Ruby, Dart, Swift, Scala, GraphQL, Protocol Buffers and TOML, each with Install, and below it the bundled highlighting languages

Install Language Support for Current File in Find Action installs the support for the file you have open.

The Languages & toolchains row in Ingot Health warns when the files in this project are missing a language server or a runtime.

Run Current File

Run › Run Current File (Alt+Shift+F9 in the Ingot keymap) runs the open file. It works for Java, C, C++, C#, Python, Go, Rust, TypeScript/JavaScript, Ruby, PHP, Kotlin, Swift, Dart, SQL, Shell and COBOL.

  • The output goes to a terminal tab. Ctrl+C stops the run.
  • If the runtime is missing, Ingot tells you how to install it instead of failing.

Other languages: install an extension

For a language that isn't in the table, or for more than highlighting, install an extension:

  • From the Marketplace: search the Ingot Store and Open VSX, the open extension registry, in one list.
  • From the Extensions tool window: search Open VSX.
  • From a file: Install from VSIX… installs a .vsix package you downloaded.

For example, for COBOL, search for "COBOL" in the Marketplace and install a COBOL extension for highlighting and editing. Run Current File then compiles and runs your COBOL file with GnuCOBOL, if it is on your PATH; Settings › Languages & Frameworks shows whether it is.

The first-use language servers always come from Open VSX. The Microsoft Marketplace is off by default and never used for them, and Ingot never offers extensions with proprietary parts. Extensions made for another editor are marked by the Extension guard.

Settings

SettingDefaultWhat it does
ingot.languages.serverOfferstrueOffer full language support (Settings › Languages & Frameworks): offer once to install a language's support when you first open one of its files
ingot.languages.missingNoticetruewarn once when a file opens without its bundled language support (Language support)

Desktop and browser

The desktop app and the browser edition behave the same. In the browser edition, the toolchains are the ones on the machine that runs the Ingot backend.