Skip to content

darthorimar/intellij-cbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 image
  • Within editor by pressing green play button near the task image
  • Run terminal inside IDEA and run your task there image

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:

image

When done a tool panel will appear at the right side:

1

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


^_^