Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

327 B
Raw Blame
//! The per-project config folder (`<root>/.openidea/`).

use std::path::{Path, PathBuf};

/// Folder name under the project root.
pub const DIR: &str = ".openidea";

/// Where `rel` (e.g. `settings.toml`) is read from and written to.
pub fn path(root: &Path, rel: impl AsRef<Path>) -> PathBuf {
    root.join(DIR).join(rel)
}