-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from JetBrains-Research/plugin-dev
Base plugin version
- Loading branch information
Showing
49 changed files
with
1,570 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
.idea/runConfigurations/ide_former_plugin_ide_server_starter__runIdeAssistantPlugin_.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,20 @@ | ||
name: Gradle Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: liberica | ||
- name: Gradle Wrapper Validation | ||
uses: gradle/[email protected] | ||
- uses: gradle/[email protected] | ||
with: | ||
arguments: build --stacktrace |
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,29 @@ | ||
å### IntelliJ IDEA ### | ||
out/ | ||
!**/src/main/**/out/ | ||
!**/src/test/**/out/ | ||
|
||
### Eclipse ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
bin/ | ||
!**/src/main/**/bin/ | ||
!**/src/test/**/bin/ | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
|
||
### Mac OS ### | ||
.DS_Store |
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,5 @@ | ||
<!-- Keep a Changelog guide -> https://keepachangelog.com --> | ||
|
||
# IDE-Assistant-plugin Changelog | ||
|
||
## [Unreleased] |
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,11 @@ | ||
# IDE-former plugin | ||
|
||
![Build](https://github.com/JetBrains-Research/ideformer-plugin/workflows/Build/badge.svg) | ||
|
||
<!-- Plugin description --> | ||
Ide-former plugin | ||
<!-- Plugin description end --> | ||
|
||
### Run plugin in a headless mode | ||
|
||
Run `./runPluginStarter.sh <absolute path to the project> <server host> <server port>` command from the root of the project. |
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,51 @@ | ||
group = "org.jetbrains.research.IdeAssistantPlugin" | ||
version = "1.0" | ||
|
||
fun properties(key: String) = project.findProperty(key).toString() | ||
|
||
plugins { | ||
alias(libs.plugins.kotlin.jvm) | ||
alias(libs.plugins.jetbrains.intellij) | ||
alias(libs.plugins.ktor) | ||
} | ||
|
||
allprojects { | ||
apply { | ||
plugin(rootProject.libs.plugins.kotlin.jvm.get().pluginId) | ||
plugin(rootProject.libs.plugins.jetbrains.intellij.get().pluginId) | ||
plugin(rootProject.libs.plugins.ktor.get().pluginId) | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven("https://packages.jetbrains.team/maven/p/big-code/bigcode") | ||
maven("https://packages.jetbrains.team/maven/p/ki/maven") | ||
} | ||
|
||
// Configure Gradle IntelliJ Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html | ||
intellij { | ||
version.set(properties("platformVersion")) | ||
type.set(properties("platformType")) | ||
downloadSources.set(properties("platformDownloadSources").toBoolean()) | ||
updateSinceUntilBuild.set(true) | ||
plugins.set(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty)) | ||
} | ||
|
||
val jvmVersion = "17" | ||
|
||
tasks { | ||
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { | ||
kotlinOptions { | ||
jvmTarget = jvmVersion | ||
} | ||
} | ||
|
||
withType<JavaCompile> { | ||
sourceCompatibility = jvmVersion | ||
targetCompatibility = jvmVersion | ||
} | ||
|
||
withType<org.jetbrains.intellij.tasks.BuildSearchableOptionsTask>() | ||
.forEach { it.enabled = false } | ||
} | ||
} |
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,27 @@ | ||
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html | ||
|
||
pluginGroup = com.ideformer | ||
pluginName = IDEformer-plugin | ||
pluginRepositoryUrl = https://github.com/JetBrains-Research/ideformer-plugin | ||
|
||
# SemVer format -> https://semver.org | ||
pluginVersion = 0.0.2 | ||
|
||
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html | ||
pluginSinceBuild = 231 | ||
pluginUntilBuild = 232.* | ||
|
||
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension | ||
platformType = IC | ||
platformVersion = 2023.2 | ||
|
||
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html | ||
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22 | ||
platformPlugins = com.intellij.java, org.jetbrains.kotlin | ||
|
||
# Gradle Releases -> https://github.com/gradle/gradle/releases | ||
gradleVersion = 8.3 | ||
|
||
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib | ||
# suppress inspection "UnusedProperty" | ||
kotlin.stdlib.default.dependency = false |
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,21 @@ | ||
[versions] | ||
kotlin = "1.9.10" | ||
intellij = "1.15.0" | ||
ktor = "2.3.3" | ||
ajalt = "2.8.0" | ||
slf4j = "2.0.9" | ||
gson = "2.10.1" | ||
plugin-utilities = "2.0.6" | ||
|
||
[libraries] | ||
ktor-server-core = { module = "io.ktor:ktor-server-core", version.ref = "ktor" } | ||
ktor-server-netty = { module = "io.ktor:ktor-server-netty", version.ref = "ktor" } | ||
ajalt-clikt = { module = "com.github.ajalt:clikt", version.ref = "ajalt" } | ||
slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" } | ||
gson = { module = "com.google.code.gson:gson", version.ref = "gson" } | ||
plugin-utilities-core = { module = "org.jetbrains.research:plugin-utilities-core", version.ref = "plugin-utilities" } | ||
|
||
[plugins] | ||
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } | ||
jetbrains-intellij = { id = "org.jetbrains.intellij", version.ref = "intellij" } | ||
ktor = { id = "io.ktor.plugin", version.ref = "ktor" } |
Binary file not shown.
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,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.