-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LS: Send project model updates through channel #6734
base: main
Are you sure you want to change the base?
Conversation
254db01
to
17bd99e
Compare
17bd99e
to
90bb324
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 6 files reviewed, 3 unresolved discussions (waiting on @Arcticae, @integraledelebesgue, @mkaput, @orizi, and @piotmag769)
crates/cairo-lang-language-server/src/toolchain/scarb.rs
line 130 at r1 (raw file):
if !self.is_silent { self.notifier.notify::<ScarbResolvingFinish>(()); self.notifier.notify::<ScarbMetadataFailed>(());
Why? You don't even check if it was successful or not.
crates/cairo-lang-language-server/src/project/mod.rs
line 26 at r1 (raw file):
mod unmanaged_core_crate; pub struct ProjectController {
Move Notifier
and ScarbToolchain
to the controller state to make it consistent with other controllers
crates/cairo-lang-language-server/src/project/mod.rs
line 88 at r1 (raw file):
}; // TODO: do sth smart here
What is "sth smart"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 3 files at r2.
Reviewable status: 2 of 6 files reviewed, 3 unresolved discussions (waiting on @Arcticae, @Draggu, @integraledelebesgue, @mkaput, and @orizi)
crates/cairo-lang-language-server/src/project/mod.rs
line 26 at r1 (raw file):
Previously, Draggu (Piotr Figiela) wrote…
Move
Notifier
andScarbToolchain
to the controller state to make it consistent with other controllers
If it will be used in more than one function I will
crates/cairo-lang-language-server/src/project/mod.rs
line 88 at r1 (raw file):
Previously, Draggu (Piotr Figiela) wrote…
What is "sth smart"?
Done.
crates/cairo-lang-language-server/src/toolchain/scarb.rs
line 130 at r1 (raw file):
Previously, Draggu (Piotr Figiela) wrote…
Why? You don't even check if it was successful or not.
Done.
commit-id:d41ad059
90bb324
to
1c13ff2
Compare
No description provided.