intellij-cbt
intellij-cbt copied to clipboard
CBT support for IntelliJ IDEA
CBT support for IntelliJ IDEA
This plugin adds support of CBT build tool for Scala programming language into IntelliJ IDEA.
It is available in JetBrains plugin repository and can be installled directly within IDEA
Requeres Scala plugin for work
Features:
- Creating/importing existing CBT-based projects
- Running and Debugging project code and CBT tasks
- Navigating through libraries sources
- Editting CBT source code on the fly
- Easy task running within IDE
Installation guide
- Requres IntelliJ IDEA 2017.3+
- Install JetBrains Scala plugin
- Install CBT plugin (can be found by
CBT
keyword) - Install latest CBT from github (how to do it)
- On first project creation specify path to CBT executable in new project dialog
Tutorial
Run CBT Task
- Creating CBT run configuration
- Within editor by pressing green play button near the task
- Run terminal inside IDEA and run your task there
Reimport project after changes in build configuration was made
Refreshing a project
To refresh o project you need to enable a CBT tool panel
just press ctrl-shift-A
and then enter cbt
:
When done a tool panel will appear at the right side:
Creating extra modules
IDEA assumes that all modules which you use are in dependencies (may be transitive) of a root module. If you want to work on some module which is not you can right-click on the directory in the project tree view and then choose Consider as CBT module
(directory should contains build
directory with a correct build file).
Issues are on github but some previous ones can be found here: https://youtrack.jetbrains.com/issues?q=%23CBT%20
^_^