Makefile Language

Compatible with IntelliJ IDEA (Ultimate, Community), Android Studio and 17 more

Included In

Screenshot 1
Screenshot 2
This plugin provides GNU Make language support:
  • Syntax highlighting.
  • Keyword and target name completion.
  • Quick-doc for ## comments on a target line.
  • Find Usages and Go to Symbol navigation for targets.
  • Prerequisites resolution.
  • Rules, variables, and conditionals folding.
  • Quick-fixes to create new rules from unresolved prerequisites and remove empty rules.
In addition, the plugin provides support for running Make targets using:
  • Make tool window
  • Makefile run configurations
  • Gutter icons
  • Context actions
Plugin source code was previously located at https://github.com/kropp/intellij-makefile/

What’s New

Unfortunately, JetBrains s.r.o. didn’t leave any update notes.
Feb 06, 2025
Version 251.20015.29

Rating & Reviews

4.3
43 Ratings (5,045,950 Downloads)
5
4
3
2
1

bug : Rider 24.3.3 , Makefile plugin 243.21565.122 My make is at C:/cygwin64/bin I have changed the path in settings / Make / Path to make executable I want to execute d:/myfolder/make bindall

However, when I run the configuration the output is

make.exe -f "" bindall make: the '-f' option requires a non-empty string argument

if I add the makefile and the current folder path make.exe -f c:\myfolder\makefile -C c:\myfolder\ bindall make: Entering directory '/cygdrive/d/myfolder' make: git: No such file or directory

Why it goes to cygdrive?

  1. Why always adding the -f argument even if empty ?
  2. Why goes always to cygdrive ?

Can it just run the command "d:/myfolder/make.exe bindall"

0

Joshua Taylor

30.07.2024

This plugin is absolutely fantastic, and is a required plugin when using Makefiles, as it's super handy.

Is there a way for creating comments where it goes to the start of the line? I know that's a weird request, but like when pressing # it is indented (if inside a target, for example), which will output instead of being a Makefile comment where # needs to be at the start of the line.

0

desiatov_a

20.05.2024

I would like to use the configuration from the "Makefile Language" and run commands in my virtual environment. So that you can click on the green triangle and the command is executed successfully. Unfortunately, I was unable to run the "Makefile Language" configuration in my virtual environment. My Makefile:

alembic_upgrade_head: alembic upgrade head

When using the configuration, I was getting an error:

make: alembic: No such file or directory

First solution. The problem arose due to the fact that "alembic" was not installed globally. As soon as I set it globally (not in a virtual environment)

pip install alembic

then everything worked through the "Makefile Language" configuration. But I was not satisfied with this decision.

Second solution. When creating the configuration in pycharm, I selected "Shell Script", then selected "Script text". In the "Script text" text field, I wrote:

make alembic_upgrade_head

I also specified the root of my project in the "Working directory". And in this configuration, everything worked!

0

Additional Information

Vendor:
Plugin ID:
name.kropp.intellij.makefile