Add files to project diagnostics view in order
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
c7eb6a6a60
commit
747d9e8784
3 changed files with 27 additions and 26 deletions
|
@ -67,7 +67,7 @@ pub enum Event {
|
|||
DiagnosticsUpdated(ProjectPath),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Hash, PartialOrd, Ord)]
|
||||
pub struct ProjectPath {
|
||||
pub worktree_id: WorktreeId,
|
||||
pub path: Arc<Path>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue