Open
Description
I work on many small Cargo projects and open those projects in sublime simply by opening the folder (e.g. subl my-project/
). Since there are so many, I don't want to tweak/create the .sublime-project
file for every project. But I would like to ignore the target/
folder and Cargo.lock
. I never want to open any of those in sublime. I wonder if there is a way for this plugin to automatically tell Sublime to ignore those files/folders, whenever a Cargo project is opened in sublime.
To be precise: after opening a folder containing a Cargo.toml
in sublime, I want the same behavior as if I had created a .sublime-project
file containing:
{
"folders":
[
"file_exclude_patterns": ["Cargo.lock"],
"folder_exclude_patterns": ["target"]
]
}
Meta:
Sublime Text Version
Sublime Text 3 (Build 3126)
Rust Enhanced Version
v1.0.2