Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions editors/intellij/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@

## Usage

The plugin uses a Tombi executable already available in the project or on
`PATH`. If one is not available, it downloads the latest Tombi release
automatically.
You must [have Tombi installed][2] to use this plugin.
See Tombi's documentation for more information.

You can select a specific executable in the plugin settings. Open any TOML file
to start working.
Once Tombi is installed, open any TOML file and start working.


## Logging
Expand All @@ -29,6 +27,7 @@ com.intellij.platform.lsp


[1]: https://tombi-toml.github.io/tombi
[2]: https://tombi-toml.github.io/tombi/docs/installation
<!-- Plugin description end -->


Expand Down
1 change: 0 additions & 1 deletion editors/intellij/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ repositories {

// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
dependencies {
implementation(libs.commonsCompress)
testImplementation(kotlin("test"))
testImplementation(libs.junit)

Expand Down
6 changes: 0 additions & 6 deletions editors/intellij/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[versions]
# libraries
annotations = "26.0.2-1"
commonsCompress = "1.28.0"
junit = "4.13.2"
# plugins
changelog = "2.4.0"
Expand All @@ -15,11 +14,6 @@ group = "org.jetbrains"
name = "annotations"
version.ref = "annotations"

[libraries.commonsCompress]
group = "org.apache.commons"
name = "commons-compress"
version.ref = "commonsCompress"

[libraries.junit]
group = "junit"
name = "junit"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ internal class TombiConfigurations : BaseState() {
/**
* The Tombi executable to be used in commands.
*
* When unspecified, the plugin looks for a local Tombi installation and
* downloads the latest release if none is available.
* Defaults to `tombi` if not specified.
*/
var executable by string()
var executable by string("tombi")
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ private fun Row.executableInput(block: Cell<TextFieldWithBrowseButton>.() -> Uni
internal fun makePanel(state: TombiConfigurations) = panel {
row(message("configurations.executable.label")) {
executableInput {
bindText(state::executable.toNonNullableProperty(""))
component.emptyText.text = message("configurations.executable.placeholder")
bindText(state::executable.toNonNullableProperty("tombi"))
component.emptyText.text = "tombi"
}
}
}

This file was deleted.

This file was deleted.

Loading
Loading