GithubHelp home page GithubHelp logo

00mjk / intellij-makefile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kropp/intellij-makefile

0.0 0.0 0.0 1.33 MB

Makefile support for IntelliJ-based IDEs

Home Page: https://victor.kropp.name/projects/makefile/

License: MIT License

Lex 3.62% Kotlin 96.38%

intellij-makefile's Introduction

Makefile support for IntelliJ-based IDEs

Get it from plugin repository: https://plugins.jetbrains.com/plugin/9333-makefile-support

Plugin for editing Makefiles in IntelliJ-based IDEs.

Fully supports GNU Make syntax.

Provides:

  • syntax highlighting
  • keywords & target names completion
  • run configurations
  • gutter marks & context actions to run targets
  • quick-doc for ## comments on target line
  • find usages and Go To Symbol navigation for targets
  • prerequisites resolution
  • rules, variables and conditionals folding
  • quick fixes to create new rule from unresolved prerequisite and remove empty rule

Development

The plugin is built using Gradle and uses gradle-intellij-plugin to integrate with IntelliJ Platform.

To build a plugin run

$ ./gradlew buildPlugin

Plugin zip file will be created in build/distributions

To test plugin in IDE run ./gradlew runIde

Grammar modifications

The plugin uses Grammar-Kit to generate parser and lexer. Please install Grammar-Kit plugin and refer to the documentation if you want to modify grammar.

To regenerate parser, open Makefile.bnf and press Ctrl+Shift+G (⌘⇧G on macOS)

To regenerate lexer, open MakefileLexer.flex and press Ctrl+Shift+G (⌘⇧G on macOS)

Please make sure to add test to MakefileParserTest.kt for any parser modifications.

Contribution

Plugin is written in Kotlin.

GNU head icon licensed under CC-BY-SA 2.0

intellij-makefile's People

Contributors

andreif avatar duemir avatar kropp avatar langergabrielle avatar nishigori avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.