- Notifications
You must be signed in to change notification settings - Fork16
[WIP ]Toolbox ramp up#532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes fromall commits
Commits
Show all changes
15 commits Select commitHold shift + click to select a range
045adcc
fix: serialization issue
fioan89e463d5f
impl: update Toolbox compatibility range
fioan890e87862
build: upgrade Gradle to latest version
fioan89349f5f8
build: update dependencies
fioan898ef87d2
build: update dependencies (1)
fioan89cc0bdea
build: update dependencies (2)
fioan89aa60ea8
impl: update class usages (1)
fioan89102fdab
impl: update class usages (2)
fioan8949d3b8b
impl: bump plugin API version to o.6
fioan89f9c8a3d
impl: bump API version to 0.3
fioan89767db2c
fix: class loader issue caused by API libraries
fioan89f6daa3e
fix: class loader issue caused by libraries
fioan89d1e4e95
fix: class loader issue caused by logging libraries
fioan89fb68191
build: task to remove compile artifacts and installed artifacts
fioan890d396f1
impl: direct access to observable properties
fioan89File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletions.gitignore
This file contains hidden or 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 |
---|---|---|
@@ -14,6 +14,7 @@ | ||
## Gradle | ||
.gradle | ||
build | ||
jvm/ | ||
## Qodana | ||
.qodana |
73 changes: 45 additions & 28 deletionsbuild.gradle.kts
This file contains hidden or 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
16 changes: 11 additions & 5 deletionsgradle/libs.versions.toml
This file contains hidden or 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
Binary file modifiedgradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletiongradle/wrapper/gradle-wrapper.properties
This file contains hidden or 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,6 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
26 changes: 16 additions & 10 deletionsgradlew
This file contains hidden or 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
22 changes: 12 additions & 10 deletionsgradlew.bat
This file contains hidden or 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
36 changes: 18 additions & 18 deletionssrc/main/kotlin/com/coder/gateway/CoderGatewayExtension.kt
This file contains hidden or 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,28 +1,28 @@ | ||
package com.coder.gateway | ||
import com.jetbrains.toolbox.api.core.PluginSecretStore | ||
import com.jetbrains.toolbox.api.core.PluginSettingsStore | ||
import com.jetbrains.toolbox.api.core.ServiceLocator | ||
import com.jetbrains.toolbox.api.remoteDev.RemoteDevExtension | ||
import com.jetbrains.toolbox.api.remoteDev.RemoteEnvironmentConsumer | ||
import com.jetbrains.toolbox.api.remoteDev.RemoteProvider | ||
import com.jetbrains.toolbox.api.ui.ToolboxUi | ||
import kotlinx.coroutines.CoroutineScope | ||
import okhttp3.OkHttpClient | ||
/** | ||
* Entry point into the extension. | ||
*/ | ||
class CoderGatewayExtension :RemoteDevExtension { | ||
// All services must be passed in here and threaded as necessary. | ||
override fun createRemoteProviderPluginInstance(serviceLocator: ServiceLocator): RemoteProvider { | ||
return CoderRemoteProvider( | ||
OkHttpClient(), | ||
serviceLocator.getService(RemoteEnvironmentConsumer::class.java), | ||
serviceLocator.getService(CoroutineScope::class.java), | ||
serviceLocator.getService(ToolboxUi::class.java), | ||
serviceLocator.getService(PluginSettingsStore::class.java), | ||
serviceLocator.getService(PluginSecretStore::class.java), | ||
) | ||
} | ||
} |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.