дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
Git blobs were always decoded as UTF-8, so files in GBK or other legacy encodings showed every line as changed in the gutter, diff, blame and commit views, and staging/committing could re-encode them wrongly. Blob text is now decoded and encoded with the file's encoding: the open document's encoding, else detection on the working file with the project default as fallback, else detection on the blob. Covers line hunks, file-at-revision, blame, stage patch/hunks, commit, conflict versions, diff text, and the agent worktree's file_at, partial commit and patch helpers. Text that cannot be represented in the target encoding is reported as an error instead of being written lossily. Fixes #243 未在 Windows 实机验证。
55 рядки
1.5 KiB
TOML
55 рядки
1.5 KiB
TOML
[package]
|
|
name = "ide-host"
|
|
description = "The IDE backend without a UI toolkit: projects per window, terminals, processes, and the JSON-RPC server for remote development"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "openidea-server"
|
|
path = "src/bin/server.rs"
|
|
|
|
[dependencies]
|
|
encoding_rs.workspace = true
|
|
ide-core.workspace = true
|
|
ide-text.workspace = true
|
|
ide-vfs.workspace = true
|
|
ide-workspace.workspace = true
|
|
ide-language.workspace = true
|
|
ide-index.workspace = true
|
|
ide-syntax.workspace = true
|
|
ide-search.workspace = true
|
|
ide-lsp.workspace = true
|
|
ide-vcs.workspace = true
|
|
ide-dap.workspace = true
|
|
ide-build.workspace = true
|
|
ide-analysis.workspace = true
|
|
ide-coverage.workspace = true
|
|
ide-spell.workspace = true
|
|
ide-terminal.workspace = true
|
|
ide-run.workspace = true
|
|
ide-sdk.workspace = true
|
|
ide-http.workspace = true
|
|
ide-db.workspace = true
|
|
ide-ssh.workspace = true
|
|
ide-remote.workspace = true
|
|
ide-jsonrpc.workspace = true
|
|
ide-agent.workspace = true
|
|
ide-notebook.workspace = true
|
|
ide-tools = { path = "../ide-tools" }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
specta.workspace = true
|
|
specta-typescript.workspace = true
|
|
tokio = { workspace = true, features = ["io-std"] }
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
parking_lot.workspace = true
|
|
dunce.workspace = true
|
|
dirs.workspace = true
|
|
uuid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "io-util", "test-util"] }
|
|
tempfile.workspace = true
|