Get things compiling with diagnostics on worktree
Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
85674ba506
commit
418a9a3d66
6 changed files with 264 additions and 263 deletions
|
@ -15,7 +15,9 @@ impl ProjectDiagnostics {
|
|||
cx: &mut ViewContext<Self>,
|
||||
) -> Self {
|
||||
let mut buffer = cx.add_model(|cx| MultiBuffer::new(project.read(cx).replica_id(cx)));
|
||||
for (path, diagnostics) in project.read(cx).diagnostics(cx) {}
|
||||
for diagnostic_summary in project.read(cx).diagnostic_summaries(cx) {
|
||||
//
|
||||
}
|
||||
|
||||
Self {
|
||||
editor: cx.add_view(|cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue