vscodehelper 0.2.0

Understanding the data that VSCode writes to disk
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use vscodehelper::storage_json::VSCodeStorageJson;

pub fn main() -> eyre::Result<()> {
    common::init()?;
    let storage_json = VSCodeStorageJson::load_from_disk()?;
    let recent_workspaces = storage_json
        .profile_associations
        .workspaces
        .keys()
        .collect::<Vec<_>>();
    println!("You've visited at some point:");
    for workspace in &recent_workspaces {
        println!("  - {workspace}");
    }
    Ok(())
}