devenv icon indicating copy to clipboard operation
devenv copied to clipboard

Languages: support specifying what's included in standardized way

Open domenkozar opened this issue 7 months ago • 2 comments

This PR introduces a comprehensive overhaul of the language modules, adding standardized development tool support across all languages and introducing several new language modules.

Fixes https://github.com/cachix/devenv/issues/783

{
  languages.X.dev.lsp.enable = false;
  languages.X.dev.debugger.enable = false;
  languages.X.dev.linter.enable = false;
  languages.X.dev.formatter.enable = false;
}

New Languages Added

  • Ada - Full support with GNAT compiler and Ada Language Server
  • Assembly - Support for x86/ARM assembly with NASM, GAS, and debugging tools
  • COBOL - GnuCOBOL compiler with OpenCobolIDE support
  • MATLAB - MATLAB runtime and development environment integration
  • SQL - Tooling to work with SQL

Enhanced Development Tool Support

All existing language modules now feature a standardized languages.<lang>.dev.enable configuration with:

  • Language Servers - LSP support for IDE integration via languages.<lang>.dev.lsp.enable
  • Formatters - Code formatting tools specific to each language languages.<lang>.dev.formatter.enable
  • Linters - Static analysis and code quality tools languages.<lang>.dev.linter.enable
  • Debuggers - Language-specific debugging capabilities using languages.<lang>.dev.debugger.enable

domenkozar avatar Jul 03 '25 02:07 domenkozar

Deploying devenv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3e25da4
Status: ✅  Deploy successful!
Preview URL: https://db572188.devenv.pages.dev
Branch Preview URL: https://languages-overhaul.devenv.pages.dev

View logs

decided to split this up in pieces, first LSP in https://github.com/cachix/devenv/pull/2382

domenkozar avatar Jan 06 '26 15:01 domenkozar