diff --git a/clients/intellij/CHANGELOG.md b/clients/intellij/CHANGELOG.md
new file mode 100644
index 0000000..e30cf22
--- /dev/null
+++ b/clients/intellij/CHANGELOG.md
@@ -0,0 +1,9 @@
+## 0.2.0
+
+Features:
+
+- Added support for Tabby Cloud hosted server authorization.
+
+Fixes:
+- Fixed inlay text rendering issues.
+
diff --git a/clients/intellij/build.gradle.kts b/clients/intellij/build.gradle.kts
index de804d4..575278b 100644
--- a/clients/intellij/build.gradle.kts
+++ b/clients/intellij/build.gradle.kts
@@ -5,7 +5,7 @@ plugins {
}
group = "com.tabbyml"
-version = "0.1.2"
+version = "0.2.0"
repositories {
mavenCentral()
diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/editor/InlineCompletionService.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/editor/InlineCompletionService.kt
index 0d63410..1ddb1f9 100644
--- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/editor/InlineCompletionService.kt
+++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/editor/InlineCompletionService.kt
@@ -100,7 +100,7 @@ class InlineCompletionService {
private fun createInlayLine(editor: Editor, offset: Int, line: String, index: Int): Inlay<*>? {
val renderer = object : EditorCustomElementRenderer {
override fun calcWidthInPixels(inlay: Inlay<*>): Int {
- return getWidth(inlay.editor, line)
+ return maxOf(getWidth(inlay.editor, line), 1)
}
override fun paint(inlay: Inlay<*>, graphics: Graphics, targetRect: Rectangle, textAttributes: TextAttributes) {
diff --git a/clients/intellij/src/main/resources/META-INF/plugin.xml b/clients/intellij/src/main/resources/META-INF/plugin.xml
index b4aef8c..5f6d96a 100644
--- a/clients/intellij/src/main/resources/META-INF/plugin.xml
+++ b/clients/intellij/src/main/resources/META-INF/plugin.xml
@@ -25,7 +25,10 @@
Tabby plugin requires Node.js 16.0+ installed and added into PATH enviroment variable.
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.Tab key.Code > Tabby.