Keep .vscode folder included during initialization even if it's in .gitignore (#28631)
This fixes an issue where tasks in `.vscode/tasks.json` weren't being loaded at startup of a project Closes #28494 Release Notes: - Tasks are now loaded from local `.vscode/tasks.json` files even if they are `.gitignore`d
This commit is contained in:
@@ -375,6 +375,11 @@ pub fn local_settings_folder_relative_path() -> &'static Path {
|
||||
Path::new(".zed")
|
||||
}
|
||||
|
||||
/// Returns the relative path to a `.vscode` folder within a project.
|
||||
pub fn local_vscode_folder_relative_path() -> &'static Path {
|
||||
Path::new(".vscode")
|
||||
}
|
||||
|
||||
/// Returns the relative path to a `settings.json` file within a project.
|
||||
pub fn local_settings_file_relative_path() -> &'static Path {
|
||||
Path::new(".zed/settings.json")
|
||||
|
||||
Reference in New Issue
Block a user