How do I specify the build action when creating a language plugin for IntelliJ?

I'm currently developing a language plugin for IntelliJ. I've already implemented lexer / parser and syntax highlighting but it would be nice to trigger a build action from IntelliJ.

In other words: How do I "override" (if that makes sense) what the build button (the green hammer) does?

I've already looked at the IntelliJ SDK docs, but nothing there about building. running is possible according to the docs, but before I can run I need to build (preprocesser, generate executable, etc...)

Any hints on how to do this in IntelliJ with a plugin?

0

Please sign in to leave a comment.