We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dece6e commit 59b25cfCopy full SHA for 59b25cf
crates/djls-ide/src/diagnostics.rs
@@ -29,7 +29,7 @@ trait DiagnosticError: std::fmt::Display {
29
self.diagnostic_code().to_string(),
30
)),
31
code_description: None,
32
- source: Some("Django Language Server".to_string()),
+ source: Some(crate::SOURCE_NAME.to_string()),
33
message: self.message(),
34
related_information: None,
35
tags: None,
crates/djls-ide/src/lib.rs
@@ -13,3 +13,5 @@ pub use snippets::generate_partial_snippet;
13
pub use snippets::generate_snippet_for_tag;
14
pub use snippets::generate_snippet_for_tag_with_end;
15
pub use snippets::generate_snippet_from_args;
16
+
17
+pub const SOURCE_NAME: &str = "djls";
0 commit comments