Vscode feature: maybe use File nest for sub mod

⚓ Rust    📅 2025-10-14    👤 surdeus    👁️ 2      

surdeus

rust 2015

├── lib.rs
└── foo/
    ├── mod.rs
    └── bar.rs

rust 2018

.
├── lib.rs
├── foo.rs
└── foo/
    └── bar.rs

with File nesting in VS Code maybe

.
└──  lib.rs 
    └──  foo.rs
        └── bar.rs

VSCode 1.64 add feature File nesting, So we can do this by add "lib.rs": "*.rs", to explorer.fileNesting.patterns

image

But only limited to this. "*.rs": "$(capture)/" not work.

2 posts - 2 participants

Read full topic

🏷️ Rust_feed