Skip to content

Commit

Permalink
Move DiagnosticCode from ide to ide_db crate
Browse files Browse the repository at this point in the history
Summary: This allows us to construct structured data already when extracting ELP annotations from code, instead of manipulating strings.

Reviewed By: alanz

Differential Revision: D54629514

fbshipit-source-id: 91fc91614e6a7d5333137009b4527343d5684130
  • Loading branch information
robertoaloi authored and facebook-github-bot committed Mar 8, 2024
1 parent 1cca863 commit d0a31d6
Show file tree
Hide file tree
Showing 7 changed files with 409 additions and 379 deletions.
6 changes: 4 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/elp/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ mod tests {
use elp_eqwalizer::EqwalizerConfig;
use elp_eqwalizer::EqwalizerDiagnostics;
use elp_eqwalizer::Mode;
use elp_ide::diagnostics::BASE_URL;
use elp_ide::elp_ide_db::diagnostic_code::BASE_URL;
use elp_ide::elp_ide_db::elp_base_db::FileId;
use elp_ide::elp_ide_db::elp_base_db::IncludeOtp;
use elp_project_model::AppName;
Expand Down
2 changes: 0 additions & 2 deletions crates/ide/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ serde.workspace = true
smallvec.workspace = true
stdx.workspace = true
strsim.workspace = true
strum.workspace = true
strum_macros.workspace = true
tempfile.workspace = true
text-edit.workspace = true
toml.workspace = true
Expand Down
Loading

0 comments on commit d0a31d6

Please sign in to comment.