Makefile support plugin for IntelliJ IDEA
Plugin is available for install via official repository. Source code is available on GitHub
Plugin provides full support for GNU Makefile syntax including syntax highlighting, prerequisites and variables completion and resolution. There is also a quick-fix to create new rule from unresolved prerequisite. Individual rules can be folded for better overview.
It also supports executing Makefiles:
- via “run” gutter mark
- from Make tool window
- pressing Alt+Enter (⌥⏎ on macOS) and selecting target
- using Ctrl+Shift+F10 (⌃⇧R on macOS) on a target
Run configuration
Alternatively, a run configuration can be created for any Makefile and target, with options to set up working directory, add arguments and environments variables.
Tool window
There is a tool window, which gives a quick overview of all Makefiles in the project and their targets. Press Enter
(or double-click) to run a target, F4 to navigate to the source.
Feedback and pull requests are always welcome!