Expand description
§dscode-core
Core types, text buffer, and configuration for the DSCode IDE.
This crate provides the fundamental building blocks used across all DSCode components:
TextBuffer— Rope-based text storage for efficient editing operationsAppDirectories— Platform-aware directory resolution for extensions, storage, and logsCoreError— Unified error type for core operations
§Example
use dscode_core::TextBuffer;
let buffer = TextBuffer::new("Hello, world!");
assert_eq!(buffer.len_chars(), 13);
assert_eq!(buffer.get_text(), "Hello, world!");Structs§
- AppDirectories
- Re-export of
AppDirectories— platform-aware directory resolution. - Text
Buffer - Re-export of
TextBuffer— a rope-based text buffer for efficient editing.