chore: bump intellij plugin version 0.2.0. (#369)

release-0.0
Zhiming Ma 2023-08-25 00:19:45 +08:00 committed by GitHub
parent 1e245be721
commit 4da95892ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

View File

@ -0,0 +1,9 @@
## 0.2.0
Features:
- Added support for Tabby Cloud hosted server authorization.
Fixes:
- Fixed inlay text rendering issues.

View File

@ -5,7 +5,7 @@ plugins {
}
group = "com.tabbyml"
version = "0.1.2"
version = "0.2.0"
repositories {
mavenCentral()

View File

@ -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) {

View File

@ -25,7 +25,10 @@
Tabby plugin requires <a href="https://nodejs.org/">Node.js</a> 16.0+ installed and added into <code>PATH</code> enviroment variable. </p>
<h2 id="get-started">Get Started</h2>
<ol>
<li>Please following <a href="https://tabbyml.github.io/tabby/docs/self-hosting/">this guide</a> to setup a self-hosted Tabby server.</li>
<li>
Set up the Tabby server: you can get a Tabby Cloud hosted server <a href="https://app.tabbyml.com">here</a>, or build your self-hosted Tabby server following <a href="https://tabbyml.github.io/tabby/docs/self-hosting/">this guide</a>.<br/>
<b>Note:</b> Tabby Cloud is currently in beta. Join our <a href="https://join.slack.com/t/tabbycommunity/shared_invite/zt-1xeiddizp-bciR2RtFTaJ37RBxr8VxpA">Slack community</a> and ask in Tabby Cloud channel to get a beta invite.
</li>
<li>Open the settings page <code>Settings &gt; Editor &gt; Tabby</code>, or click the <code>Tabby</code> status bar item and <code>Open Settings...</code>. 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.</li>
<li>Once setup is complete, Tabby will provide inline suggestions automatically, and you can accept suggestions by just pressing the <code>Tab</code> key.</li>
<li>You can find more actions and hotkey in the IDE tools menu <code>Code &gt; Tabby</code>.</li>