A Neovim plugin that compiles and runs code across 25+ languages with zero configuration, inspired by Visual Studio's one-click experience.
Compiler.nvim is a Neovim plugin that provides a seamless, zero-configuration way to compile and run code across more than 25 programming languages. It automatically detects the language of the current file and offers one-click options to build, run, or build and run programs, eliminating the need for manual build system setup. The plugin is designed to replicate the convenient compilation experience found in IDEs like Visual Studio directly within Neovim.
Neovim users who write code in multiple languages and want a quick, integrated way to compile and run their programs without leaving the editor or configuring complex build systems.
Developers choose Compiler.nvim for its out-of-the-box support for numerous languages, zero configuration requirements, and seamless integration with existing build automation tools, making it an efficient alternative to manually setting up compilation commands or switching to external terminals.
Neovim compiler for building and running your code without having to configure anything
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically detects file types and uses conventional entry points like main.c or main.py, eliminating manual build setup for standard projects, as shown in the basic usage table.
Supports over 25 languages including C, Rust, Python, and Java with pre-defined compilation commands, detailed in the supported languages table for quick cross-language testing.
Seamlessly integrates with existing build automation like Make, CMake, and Gradle by detecting configuration files, enhancing workflows without extra configuration.
Allows advanced customization via .solution.toml files for precise control over entry points and outputs, as documented in the optional solution creation section.
Requires WSL on Windows for full functionality, as the FAQ states it's 'impossible' otherwise and the roadmap notes poor native support with needed fixes for PowerShell commands.
Users must manually install compilers and system dependencies for each language, contradicting the zero-configuration claim and adding setup overhead.
Handling scripts with command-line arguments is inefficient; the FAQ recommends using the terminal instead, making it less suitable for argument-heavy workflows.
compiler.nvim is an open-source alternative to the following products: