From 248c1717df67cebe175ac06955359c9901f39fd3 Mon Sep 17 00:00:00 2001
From: Zhiming Ma
Date: Tue, 12 Sep 2023 01:09:48 +0800
Subject: [PATCH] chore: bump intellij plugin version 0.4.0. (#431)
---
clients/intellij/CHANGELOG.md | 19 +++++++++++++++++--
clients/intellij/build.gradle.kts | 9 ++++++++-
.../src/main/resources/META-INF/plugin.xml | 4 ++--
3 files changed, 27 insertions(+), 5 deletions(-)
diff --git a/clients/intellij/CHANGELOG.md b/clients/intellij/CHANGELOG.md
index e30cf22ee6b..7d42c00db33 100644
--- a/clients/intellij/CHANGELOG.md
+++ b/clients/intellij/CHANGELOG.md
@@ -1,9 +1,24 @@
+## 0.4.0
+
+### Features:
+
+- Relocated the user data directory from `$HOME/.tabby/agent` to `$HOME/.tabby-client/agent` to avoid conflicts with Tabby server data. Note that the old data will not be migrated automatically. Please update the config file manually if you have made changes in the old path.
+- Added a template config file for Tabby client agent located at `$HOME/.tabby-client/agent/config.toml`.
+- Added check for Node.js installation and notify the user if it is not valid.
+- Improved code suggestion filtering by indentation context. Suggestions now prioritize completing the current line or logic block, preventing excessively long suggestions.
+- Added adaptive completion debouncing for auto-completion requests.
+- Added timeout for auto-completion requests. The default timeout is 5 seconds. Added statistics for completion response time and notifies the user if it is too slow.
+
+### Fixes:
+
+- Fixed a bug that caused the plugin throw errors when initializing without user data file.
+
## 0.2.0
-Features:
+### Features:
- Added support for Tabby Cloud hosted server authorization.
-Fixes:
+### Fixes:
- Fixed inlay text rendering issues.
diff --git a/clients/intellij/build.gradle.kts b/clients/intellij/build.gradle.kts
index 575278b16f0..56659c32a9a 100644
--- a/clients/intellij/build.gradle.kts
+++ b/clients/intellij/build.gradle.kts
@@ -2,10 +2,11 @@ plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.8.21"
id("org.jetbrains.intellij") version "1.13.3"
+ id("org.jetbrains.changelog") version "2.2.0"
}
group = "com.tabbyml"
-version = "0.2.0"
+version = "0.4.0"
repositories {
mavenCentral()
@@ -33,6 +34,12 @@ tasks {
patchPluginXml {
sinceBuild.set("222")
untilBuild.set("232.*")
+ changeNotes.set(provider {
+ changelog.renderItem(
+ changelog.getLatest(),
+ org.jetbrains.changelog.Changelog.OutputType.HTML
+ )
+ })
}
val copyNodeScripts by register("copyNodeScripts") {
diff --git a/clients/intellij/src/main/resources/META-INF/plugin.xml b/clients/intellij/src/main/resources/META-INF/plugin.xml
index 6fb62c4d711..d237a264557 100644
--- a/clients/intellij/src/main/resources/META-INF/plugin.xml
+++ b/clients/intellij/src/main/resources/META-INF/plugin.xml
@@ -20,13 +20,13 @@
For more information, please check out our Website and GitHub.
If you encounter any problem or have any suggestion, please open an issue, or join our Slack community for more support!
Demo
- Try our online demo here.
+ Try our online demo here.
Requirements
Tabby plugin requires Node.js 16.0+ installed and added into PATH
enviroment variable.
Get Started
-
- Set up the Tabby server: you can get a Tabby Cloud hosted server here, or build your self-hosted Tabby server following this guide.
+ Set up the Tabby server: you can get a Tabby Cloud hosted server here, or build your self-hosted Tabby server following this guide.
Note: Tabby Cloud is currently in beta. Join our Slack community and ask in Tabby Cloud channel to get a beta invite.
- Open the settings page
Settings > Editor > Tabby
, or click the Tabby
status bar item and Open Settings...
. Fill in the server endpoint URL to connect the plugin to your Tabby server. The status bar item will show a checked icon if the connection is successful.