Файли
openidea/crates/ide-search/Cargo.toml
T
l0ng-ai dabf9a954e fix(search): find text in GBK and UTF-16 files (#2665)
Closed files that are not UTF-8 were searched as raw bytes: Chinese in GBK files never matched and ASCII matches showed mojibake, UTF-16 files were skipped as binary, and comment/string-limited searches skipped non-UTF-8 files. The engine now checks UTF-8 while streaming and searches non-UTF-8 files again in text decoded like the editor does (BOM / UTF-16 as detected, else the project's fallback encoding). Find in Files, Search Everywhere › Text, MCP and plugin search share this path.
2026-11-11 17:14:42 +08:00

30 рядки
669 B
TOML

[package]
name = "ide-search"
description = "Find / Replace in Files built on the ripgrep engine crates"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
ide-core.workspace = true
ide-vfs.workspace = true
serde.workspace = true
specta.workspace = true
grep-searcher.workspace = true
grep-regex.workspace = true
grep-matcher.workspace = true
ignore.workspace = true
globset.workspace = true
tracing.workspace = true
memchr = "2"
[dev-dependencies]
encoding_rs.workspace = true
tempfile.workspace = true
insta.workspace = true
criterion = { version = "0.5", default-features = false }
[[bench]]
name = "search"
harness = false