From a9d4932e8cdf1cbc5330e174bb7ac78ec6fdcf2b Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Fri, 25 Aug 2017 23:31:32 +0300 Subject: Update and rename intellij.md to intellij-gsoc.md --- doc/intellij-gsoc.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/intellij.md | 41 --------------------------------- 2 files changed, 64 insertions(+), 41 deletions(-) create mode 100644 doc/intellij-gsoc.md delete mode 100644 doc/intellij.md diff --git a/doc/intellij-gsoc.md b/doc/intellij-gsoc.md new file mode 100644 index 0000000..7aa3b01 --- /dev/null +++ b/doc/intellij-gsoc.md @@ -0,0 +1,64 @@ + +# CBT support in Intellij Scala Plugin +### A Google Summer of Code Project +* Organiztion **Scala** +* Mentor is [Christopher Vogt](https://github.com/cvogt) +* [Project proposal](https://docs.google.com/document/d/14BQSOKGYL9-JqrO3ZTqcCJVy2LD1JAL6nXzScxYSU-c/edit?usp=sharing) +* [Pull Request to the Intellij IDEA Scala Plugin](https://github.com/JetBrains/intellij-scala/pull/383) +* [Pull Requests to the CBT](https://github.com/cvogt/cbt/pulls?utf8=%E2%9C%93&q=%20is%3Apr%20author%3Adarthorimar%20created%3A%3E2017-06-09%20) + +## Project Description + +[CBT](https://github.com/cvogt/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](https://github.com/foundweekends/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](https://user-images.githubusercontent.com/16403337/29731117-e4671d38-89eb-11e7-89a4-92c784335bca.png) + + +##### The second is creating a **CBT** task manualy + +![image](https://user-images.githubusercontent.com/16403337/29731161-17da76e2-89ec-11e7-951a-3e8b08b60f93.png) + +#### 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](https://user-images.githubusercontent.com/16403337/27643459-cdaee64c-5c29-11e7-8c9f-f233da861928.png) + +When done a tool panel will aperas at the right side: ![image](https://user-images.githubusercontent.com/16403337/27643788-b4d8998c-5c2a-11e7-929e-4e80724d4b6d.png) + +#### 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 viersion of plugin +Until Pull Request is note merged here is a Plugin with a **CBT** support: +Link to the built project: [scala-plugin.zip](https://goo.gl/9vqurz) (sha1: `dedb029d3c4b378f85cf62a10da6425cbd1f102b`) + +In order to install you need to remove existing intellij-scala plugin and then choose `Install plugin from disk` and point out to the downloaded zip + diff --git a/doc/intellij.md b/doc/intellij.md deleted file mode 100644 index d5b607d..0000000 --- a/doc/intellij.md +++ /dev/null @@ -1,41 +0,0 @@ -# CBT Intellij scala-plugin (fork of orginal scala-plugin) -Link: [scala-plugin.zip](https://goo.gl/9vqurz) (sha1: `dedb029d3c4b378f85cf62a10da6425cbd1f102b`) - -### Features: -* Creating CBT-based projects -* Importing existing CBT-based projects -* Editting CBT source code -* Running and debugging arbitrary build task -* Navigating through libraries sources - - -### Requirements: -* Latest version of CBT from github -* CBT executable available within comandline -* Intellij IDEA 2017.2 - -In order to install you need to remove existing intellij-scala plugin and then choose `Install plugin from disk` and point out to the downloaded zip - -### Others - -#### 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](https://user-images.githubusercontent.com/16403337/27643459-cdaee64c-5c29-11e7-8c9f-f233da861928.png) - -When done a tool panel will aperas at the right side: ![image](https://user-images.githubusercontent.com/16403337/27643788-b4d8998c-5c2a-11e7-929e-4e80724d4b6d.png) - -#### 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) - ------- - -The source code is here: [source](https://github.com/darthorimar/intellij-scala) - -This a fork of a *JetBrains* [intellij-scala](https://github.com/jetbrains/intellij-scala) and soon should be merged into it - -Releated PR in IDEA Scala Plugin [here](https://github.com/JetBrains/intellij-scala/pull/383) - -**Use and leave feedback** :metal: - -- cgit v1.2.3