Skip to content

Commit

Permalink
[ menu ] More actions, released v1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed Apr 17, 2018
1 parent 9cd6c3a commit e8b395c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ idea {
}

allprojects {
val shortVersion = "v1.3-SNAPSHOT"
val shortVersion = "v1.3"
val packageName = "org.ice1000.devkt"

group = packageName
Expand Down
1 change: 1 addition & 0 deletions common/src/org/ice1000/devkt/ui/ui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ abstract class UIBase<TextAttributes> {
fun eclipse() = browse("http://marketplace.eclipse.org/content/kotlin-plugin-eclipse")
fun emacs() = browse("https://melpa.org/#/kotlin-mode")
fun viewSource() = browse("https://github.com/ice1000/dev-kt")
fun createIssue() = browse("https://github.com/ice1000/dev-kt/issues/new")
fun psiFile(): PsiFile? = document.psiFile
fun nextLine() = document.nextLine()
fun splitLine() = document.splitLine()
Expand Down
2 changes: 1 addition & 1 deletion swing/src/org/ice1000/devkt/ui/swing/menu.kt
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@ fun UIImpl.mainMenu(menuBar: JMenuBar, frame: JFrame) {
onAction { viewPsi() }
}
item("Source Code") { onAction { viewSource() } }
item("Create Issue") { onAction { createIssue() } }
subMenu("Alternatives") {
item("IntelliJ IDEA") {
icon = DevKtIcons.IDEA
onAction { idea() }
}
item("CLion") {
icon = DevKtIcons.CLION

onAction { clion() }
}
item("Eclipse") {
Expand Down

0 comments on commit e8b395c

Please sign in to comment.