compiler.nvim

Neovim compiler for building and running your code without having to configure anything

GPL-3.0 License

Stars
490
Committers
8

Bot releases are hidden (Show)

compiler.nvim - v3.3.8 Latest Release

Published by Zeioth 3 months ago

New language added

  • Support for the gleam programming language has been added.

screenshot_2024-07-16_14-21-05_521299135

screenshot_2024-07-16_14-20-56_561333862

Credits

Thanks to @Shad0wRim

compiler.nvim - v3.3.7

Published by Zeioth 4 months ago

Minor fixes

More info

You can just copy paste the config from here.

Special thanks

@aaronmcadam for reporting the issue and @stevearc for fixing it.

compiler.nvim - v3.3.6

Published by Zeioth 4 months ago

New features

  • gradle: The parser is now capable of parsing both, the tasks returned by the command gradle list, and user defined tasks from your gradle.build file.

screenshot_2024-06-09_18-18-37_945100343

Special thanks

@Cliffback for the PR #40

compiler.nvim - v3.3.5

Published by Zeioth 5 months ago

New features

  • Support for paths with spaces has been added.

Special thanks

To @Gaweringo for testing this feature.

compiler.nvim - v3.3.5

Published by Zeioth 5 months ago

Major fixes

compiler.nvim - v3.3.4

Published by Zeioth 5 months ago

New language added

  • Support for the fortran programming language has been added.

screenshot_2024-05-26_23-51-51_317572729

screenshot_2024-05-26_22-57-09_331826239

Credits

Thanks to @Shad0wRim

compiler.nvim - v3.3.3

Published by Zeioth 6 months ago

Minor fixes

  • :CompilerRedo is now (for real) compatible with build automation utilities.
compiler.nvim - v3.3.2

Published by Zeioth 7 months ago

This version focuses on improving the features added in v3.3.0.

New features

  • meson.build parser now support multi line entries of executable and custom_target.
  • CMakeLists.txt parser now support multi line entries of add_executable and add_custom_target.

Example

# We were already supporting this:
hello_world = executable('hello_world', 'main.cpp')

# Now we also support this:
hello_world = executable(
    'hello_world', 'main.cpp'
)

And any other variation. The other build automation utilities already supported this, so no changes there.

compiler.nvim - v3.3.1

Published by Zeioth 7 months ago

New features

  • .solution.toml: now accept entry_point = "$current_buffer".

Example

# This example run 'python -m <current_buffer_path>'.
[RunPythonFileAsModule]
entry_point = "$current_buffer"
arguments = "-m"
compiler.nvim - v3.3.0

Published by Zeioth 7 months ago

New feature

  • Meson support: When the file meson.build exist in the current working directory, Telescope will be populated with all its executable and custom_target entries.

screenshot_2024-03-23_04-05-25_431130767

screenshot_2024-03-23_04-56-59_219214553

More info

(optionally) You can define the next globals

global defaut value
MESON_CLEAN_FIRST false
MESON_BUILD_ROOT ./build
MESON_BUILD_TYPE debug

Example:

let g:MESON_BUILD_TYPE='release'

Globals persist between Neovim sessions.

compiler.nvim - v3.2.7

Published by Zeioth 8 months ago

New features

screenshot_2024-02-09_16-58-00_262443649

Minor fixes

  • swift REPL command.
compiler.nvim - v3.2.6

Published by Zeioth 9 months ago

New features

  • Swift cli
  • Swift REPL

screenshot_2024-02-04_15-04-19_564953696

compiler.nvim - v3.2.5

Published by Zeioth 9 months ago

New language added

  • Support for the swift programming language has been added.

screenshot_2024-02-02_20-35-35_933216945

screenshot_2024-02-02_20-37-53_900833513

Credits to @wSedlacek for the initial PR.

compiler.nvim - v3.2.4

Published by Zeioth 11 months ago

New features

  • java has the new compiler option Start REPL.
  • nodejs package.json support added. Its options are now detected and displayed on Telescope.

You can select between npm and yarn with :let g:NODEJS_PACKAGE_MANAGER='yarn' (default: npm).

screenshot_2023-11-18_04-03-36_077009168

screenshot_2023-11-18_04-03-26_249266649

Minor changes

  • Now that we support gradle (added in v3.2.2) we don't need to hard code the kotlin android studio commands anymore. The project's gradlew file will be used instead to show the available build options.

Minor fixes

  • The location of build automation utilities was erroneously detected using the current file directory instead of the current working directory.
compiler.nvim - v3.2.3

Published by Zeioth 11 months ago

New feature

  • :CompilerRedo is now compatible with build automation utilities.
compiler.nvim - v3.2.2

Published by Zeioth 11 months ago

New feature

  • Gradle support: When one of the files gradlew, build.gradle.kts, or build.gradle exist in the current working directory (by priority of detection), Telescope will be populated with all its task entries.

screenshot_2023-11-13_23-36-37_628173599

screenshot_2023-11-13_23-41-12_672880397

More info

(optionally) You can define the next globals

global defaut value
GRADLE_BUILD_TYPE ""

Example:

let g:GRADLE_BUILD_TYPE='release'

Globals persist between Neovim sessions.

Minor fixes

  • CMake We don't set a default value for the global CMAKE_BUILD_TYPE anymore.
compiler.nvim - v3.2.1

Published by Zeioth 12 months ago

New feature

  • CMake support: When CMakeLists.txt is detected in the current working directory, Telescope will be populated with all its add_executable and add_custom_target entries.

screenshot_2023-11-02_00-00-12_901709390

screenshot_2023-11-02_01-40-02_298225055

More info

(optionally) You can define the next globals

global defaut value
CMAKE_BUILD_DIR ./build
CMAKE_BUILD_TYPE Debug
CMAKE_CLEAN_FIRST false

Example:

let g:CMAKE_BUILD_TYPE='Release'

Globals persist between Neovim sessions.

compiler.nvim - v3.2.0

Published by Zeioth 12 months ago

New features

  • auto-discovery(Makefile): When a Makefile is detected in the current working directory, Telescope will be populated with its content.

screenshot_2023-10-30_21-02-23_535709798

This version is important because it features a new architecture that is going to allow us to add support for the remaining build automation utilities in the next versions.

compiler.nvim - v3.1.1

Published by Zeioth 12 months ago

This version introduce major improvements for Typescript and Javascript

New features

  • NPM install and NPM start: Added as new compiler.nvim options.
  • tsconfig.json: is now auto detected and used by all compiler.nvim options when writing ts/js. SEE WIKI.
  • multiple bug fixes: Both compilers have been tested in real world projects, and now work in a more predictable way.
  • .solution files support have been dropped for both languages as using package.json is the standard way.

screenshot_2023-10-20_23-35-37_976981096

Remember we normally write the changes we are planning for the future at the bottom of the README, so keep an eye on that. Write your opinion on discussions.

compiler.nvim - v3.1.0

Published by Zeioth about 1 year ago

New language added

  • Support for the elixir programming language has been added

screenshot_2023-10-04_19-22-38_175228509

For more info see this.

Elixir DAP debugger

screenshot_2023-10-04_20-18-17_317315772

Package Rankings
Top 6.67% on Proxy.golang.org
Badges
Extracted from project README
Stargazers over time