Notify about broken task file contents (#27185)
Closes https://github.com/zed-industries/zed/issues/23783 https://github.com/user-attachments/assets/df019f68-a76b-4953-967a-a35ed21206ab Release Notes: - Added notifications when invalid tasks.json/debug.json is saved
This commit is contained in:
parent
de99febd9b
commit
aae81fd54c
7 changed files with 200 additions and 123 deletions
|
@ -342,6 +342,14 @@ pub fn local_vscode_tasks_file_relative_path() -> &'static Path {
|
|||
Path::new(".vscode/tasks.json")
|
||||
}
|
||||
|
||||
pub fn debug_task_file_name() -> &'static str {
|
||||
"debug.json"
|
||||
}
|
||||
|
||||
pub fn task_file_name() -> &'static str {
|
||||
"tasks.json"
|
||||
}
|
||||
|
||||
/// Returns the relative path to a `launch.json` file within a project.
|
||||
pub fn local_debug_file_relative_path() -> &'static Path {
|
||||
Path::new(".zed/debug.json")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue