Skip to content

Commit

Permalink
Merge branch 'main' into release-vsce-1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
icycodes committed Sep 25, 2024
2 parents c6d1414 + 178832a commit 2e8eb0c
Show file tree
Hide file tree
Showing 650 changed files with 16,524 additions and 10,148 deletions.
13 changes: 13 additions & 0 deletions .changes/v0.17.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## v0.17.0 (2024-09-10)

### Notice

* We've reworked the `Web` (a beta feature) context provider into the `Developer Docs` context provider. Previously added context in the `Web` tab has been cleared and needs to be manually migrated to `Developer Docs`.

### Features

* Extensive rework has been done in the answer engine search box.
- Developer Docs / Web search is now triggered by `@`.
- Repository Context is now selected using `#`.

* Supports OCaml
12 changes: 12 additions & 0 deletions .tmuxinator/tabby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: tabby
root: ./

windows:
- caddy:
panes:
- caddy run --watch --config ee/tabby-webserver/development/Caddyfile
- server:
layout: even-horizontal
panes:
- cargo run serve --port 8081
- cd ee/tabby-ui && pnpm dev
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).

## v0.17.0 (2024-09-10)

### Notice

* We've reworked the `Web` (a beta feature) context provider into the `Developer Docs` context provider. Previously added context in the `Web` tab has been cleared and needs to be manually migrated to `Developer Docs`.

### Features

* Extensive rework has been done in the answer engine search box.
- Developer Docs / Web search is now triggered by `@`.
- Repository Context is now selected using `#`.

* Supports OCaml

## v0.16.1 (2024-08-27)

### Notice
Expand Down
40 changes: 19 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ members = [
"ee/tabby-db",
"ee/tabby-db-macros",
"ee/tabby-schema",
"crates/hash-ids",
]

[workspace.package]
version = "0.17.0-dev.0"
version = "0.18.0-dev.0"
edition = "2021"
authors = ["TabbyML Team"]
homepage = "https://github.com/TabbyML/tabby"
Expand Down Expand Up @@ -55,7 +56,7 @@ juniper = "0.16"
chrono = "0.4"
reqwest-eventsource = "0.6"
serial_test = "3.0.0"
hash-ids = "0.2.1"
hash-ids = { path = "./crates/hash-ids" }
ignore = "0.4.20"
nucleo = "0.5.0"
url = "2.5.0"
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ update-db-schema:
dot -Tsvg schema.dot > ee/tabby-db/schema/schema.svg
rm schema.dot

caddy:
caddy run --watch --config ee/tabby-webserver/development/Caddyfile

dev:
tmuxinator start -p .tmuxinator/tabby.yml
bump-version:
cargo ws version --force "*" --no-individual-tags --allow-branch "main"

Expand Down
4 changes: 2 additions & 2 deletions clients/eclipse/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="com.tabbyml.features.tabby4eclipse"
label="Tabby"
version="0.0.1.15"
version="0.0.1.19"
provider-name="com.tabbyml">

<description url="http://www.example.com/description">
Expand All @@ -19,6 +19,6 @@

<plugin
id="com.tabbyml.tabby4eclipse"
version="0.0.1.15"/>
version="0.0.1.19"/>

</feature>
2 changes: 1 addition & 1 deletion clients/eclipse/plugin/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Tabby Plugin for Eclipse
Bundle-SymbolicName: com.tabbyml.tabby4eclipse;singleton:=true
Bundle-Version: 0.0.1.15
Bundle-Version: 0.0.1.19
Bundle-Activator: com.tabbyml.tabby4eclipse.Activator
Bundle-Vendor: com.tabbyml
Require-Bundle: org.eclipse.ui,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.ui.PlatformUI;
import org.osgi.framework.Bundle;

public class Images {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
import org.eclipse.core.runtime.Status;

public class Logger {
private static String TABBY4ECLIPSE_LOG_DEBUG = System.getenv("TABBY4ECLIPSE_LOG_DEBUG");
private static boolean LOG_DEBUG = TABBY4ECLIPSE_LOG_DEBUG != null && !TABBY4ECLIPSE_LOG_DEBUG.isEmpty();

private String tag;

public Logger(String tag) {
Expand All @@ -17,6 +20,9 @@ public void trace(String message, Object obj) {

public void debug(String message) {
System.out.println(tagString(message));
if (LOG_DEBUG) {
logStatus(IStatus.INFO, String.format("[DEBUG] %s", message), null);
}
}

public void info(String message) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.eclipse.ui.IStartup;

import com.tabbyml.tabby4eclipse.editor.EditorListener;
import com.tabbyml.tabby4eclipse.editor.WorkbenchPartListener;
import com.tabbyml.tabby4eclipse.lsp.LanguageServerService;

public class Startup implements IStartup {
Expand All @@ -12,10 +12,10 @@ public class Startup implements IStartup {
@Override
public void earlyStartup() {
logger.info("Running startup actions.");
LanguageServerService lsManager = LanguageServerService.getInstance();
lsManager.init();
EditorListener editorManager = EditorListener.getInstance();
editorManager.init();
LanguageServerService lsService = LanguageServerService.getInstance();
lsService.init();
WorkbenchPartListener workbenchPartListener = WorkbenchPartListener.getInstance();
workbenchPartListener.init();
logger.info("Finished running startup actions.");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.tabbyml.tabby4eclipse;

public class Utils {
public static boolean isWindows() {
return System.getProperty("os.name").toLowerCase().contains("win");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void setActiveContext(FileContext activeContext) {
}

public static class FileContext {
@SuppressWarnings("unused")
private String kind = "file";
private LineRange range;
private String filepath;
Expand Down
Loading

0 comments on commit 2e8eb0c

Please sign in to comment.