Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 2.88 KB

intellij-gsoc.md

File metadata and controls

64 lines (41 loc) · 2.88 KB

CBT support in Intellij Scala Plugin

Moved to separate repo, actual information about IntelliJ support is here

A Google Summer of Code Project

Project Description

CBT is a new Scala Build System made to improve programmers experience by providing a fast and easy to use tool.

Intellij IDEA with Scala Plugin is one of the most popular tools for Scala developers. So, integration CBT with IDEA is important for further CBT development.

Now IDEA Scala plugin supports working with CBT and have the next features:

Features:

  • Creating CBT-based projects
  • Importing existing CBT-based projects
  • Running and Debugging project code using either IDEA's compiler or CBT default one
  • Running and Debugging any CBT build task
  • CBT Project tempaltes via giter8 engine
  • Navigating through libraries sources
  • Editting CBT source code

Requirements:

  • Latest version of CBT from github and
  • CBT executable available within comandline
  • Intellij IDEA 2017.2

Others

Running a task

There are two possible ways

The first one is to use a per task line buttons

image

The second is creating a CBT task manualy

image

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 aperas at the right side: image

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)


Current version of plugin

For the time being, the latest version of the scala plugin supporting CBT integration is 2017.3.603 nightly.