generated from JetBrains/intellij-platform-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from dinbtechit/feature/maintence-2022-11-13
feature: go syntax highlighting improvements.
- Loading branch information
Showing
9 changed files
with
58 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/kotlin/com/github/dinbtechit/vscodetheme/actions/StarGithubRepoAction.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.github.dinbtechit.vscodetheme.actions | ||
|
||
import com.github.dinbtechit.vscodetheme.icons.VSCodeIcons | ||
import com.intellij.ide.BrowserUtil | ||
import com.intellij.openapi.actionSystem.AnActionEvent | ||
import com.intellij.openapi.project.DumbAwareAction | ||
|
||
class StarGithubRepoAction: DumbAwareAction("Star Repo", "", VSCodeIcons.GitHub) { | ||
|
||
override fun actionPerformed(e: AnActionEvent) { | ||
BrowserUtil.open("https://github.com/dinbtechit/vscode-theme/blob/main/README.md") | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/main/kotlin/com/github/dinbtechit/vscodetheme/icons/VSCodeIcons.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
package com.github.dinbtechit.vscodetheme.icons | ||
|
||
import com.intellij.icons.AllIcons | ||
import com.intellij.openapi.util.IconLoader | ||
|
||
object VSCodeIcons { | ||
val Logo = IconLoader.getIcon("icons/logo-16.svg", javaClass) | ||
val BuyMeCoffee = IconLoader.getIcon("icons/buy-me-coffee.svg", javaClass) | ||
val GitHubStar = AllIcons.Plugins.Rating | ||
val GitHub = AllIcons.Vcs.Vendors.Github | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.