Get the server and integration tests compiling
This commit is contained in:
parent
466a377e1d
commit
55910c0d79
8 changed files with 840 additions and 665 deletions
|
@ -391,15 +391,13 @@ pub struct Workspace {
|
|||
|
||||
impl Workspace {
|
||||
pub fn new(params: &WorkspaceParams, cx: &mut ViewContext<Self>) -> Self {
|
||||
let project = cx.add_model(|cx| {
|
||||
Project::local(
|
||||
params.languages.clone(),
|
||||
params.client.clone(),
|
||||
params.user_store.clone(),
|
||||
params.fs.clone(),
|
||||
cx,
|
||||
)
|
||||
});
|
||||
let project = Project::local(
|
||||
params.client.clone(),
|
||||
params.user_store.clone(),
|
||||
params.languages.clone(),
|
||||
params.fs.clone(),
|
||||
cx,
|
||||
);
|
||||
cx.observe(&project, |_, _, cx| cx.notify()).detach();
|
||||
|
||||
let pane = cx.add_view(|_| Pane::new(params.settings.clone()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue