cairo-lang-language-server 2.9.4

Cairo language server.
Documentation
//! > Test simple macro expand quick fix.

//! > test_runner_name
test_quick_fix

//! > cairo_project.toml
[crate_roots]
hello = "src"

[config.global]
edition = "2024_07"

//! > cairo_code
#[deri<caret>ve(Drop, Serde)]
struc<caret>t A {
    a: felt252
}

#[generat<caret>e_trait]
impl Imp<caret>lA of ATrait {
    fn c(self: A) -> felt252 {
        println<caret>!("a");print<caret>ln!("b");
        self.a + 1
    }<caret>
}

//! > Code action #0
#[deri<caret>ve(Drop, Serde)]
Title: Recursively expand macros for item at caret

//! > Code action #1
struc<caret>t A {
No code actions.

//! > Code action #2
#[generat<caret>e_trait]
Title: Recursively expand macros for item at caret

//! > Code action #3
impl Imp<caret>lA of ATrait {
No code actions.

//! > Code action #4
        println<caret>!("a");println!("b");
Title: Expand macro recursively at caret

//! > Code action #5
        println!("a");print<caret>ln!("b");
Title: Expand macro recursively at caret

//! > Code action #6
    }<caret>
No code actions.