tekumara / typos-lsp

Source code spell checker for Visual Studio Code, Neovim and other LSP clients
https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode
MIT License
168 stars 4 forks source link

General use #27

Closed peter-kehl closed 7 months ago

peter-kehl commented 7 months ago

Thank you for typos-vscode Oliver.

Unfortunately, I don't see a way to use/activate it. My setup:

Merry Christmas.

tekumara commented 7 months ago

Hi @peter-kehl could you check what's appearing in the Typos output channel, as follows:

peter-kehl commented 7 months ago

Hi @tekumara,

Nothing obvious yet. I've disabled all other extensions. Using typos server /home/pkehl/.vscode/extensions/tekumara.typos-vscode-0.1.10-linux-x64/bundled/typos-lsp [Info - 10:49:18] server initialized! image

Do I need to download/install/configure any dictionary?

After setting Typos > Trace: Server to verbose: image

Using typos server /home/pkehl/.vscode/extensions/tekumara.typos-vscode-0.1.10-linux-x64/bundled/typos-lsp
[Info  - 10:49:18] server initialized!
[Trace - 10:57:19] Sending notification '$/setTrace'.
Params: {
    "value": "verbose"
}

[Trace - 10:57:23] Sending request 'textDocument/codeAction - (36)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 0,
            "character": 0
        },
        "end": {
            "line": 0,
            "character": 0
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:23] Received response 'textDocument/codeAction - (36)' in 2ms.
Result: []

[Trace - 10:57:23] Sending request 'textDocument/codeAction - (37)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 14,
            "character": 6
        },
        "end": {
            "line": 14,
            "character": 6
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:23] Received response 'textDocument/codeAction - (37)' in 2ms.
Result: []

[Trace - 10:57:29] Sending request 'textDocument/codeAction - (38)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 0,
            "character": 25
        },
        "end": {
            "line": 0,
            "character": 25
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:29] Received response 'textDocument/codeAction - (38)' in 1ms.
Result: []

[Trace - 10:57:31] Sending request 'textDocument/codeAction - (39)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 8,
            "character": 41
        },
        "end": {
            "line": 8,
            "character": 41
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:31] Received response 'textDocument/codeAction - (39)' in 1ms.
Result: []

[Trace - 10:57:32] Sending request 'textDocument/codeAction - (40)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 6,
            "character": 34
        },
        "end": {
            "line": 6,
            "character": 34
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:32] Received response 'textDocument/codeAction - (40)' in 1ms.
Result: []

[Trace - 10:57:33] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 35
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    \n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:33] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 35
}

[Trace - 10:57:34] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 41
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let mo\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:34] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 41
}

[Trace - 10:57:34] Sending request 'textDocument/codeAction - (41)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 10
        },
        "end": {
            "line": 7,
            "character": 10
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:34] Received response 'textDocument/codeAction - (41)' in 1ms.
Result: []

[Trace - 10:57:35] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 43
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morr\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:35] Sending request 'textDocument/codeAction - (42)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 12
        },
        "end": {
            "line": 7,
            "character": 12
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:35] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 43
}

[Trace - 10:57:35] Received response 'textDocument/codeAction - (42)' in 2ms.
Result: []

[Trace - 10:57:35] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 44
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrr\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:35] Sending request 'textDocument/codeAction - (43)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 13
        },
        "end": {
            "line": 7,
            "character": 13
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:35] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 44
}

[Trace - 10:57:35] Received response 'textDocument/codeAction - (43)' in 2ms.
Result: []

[Trace - 10:57:36] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 45
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:36] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 45
}

[Trace - 10:57:36] Sending request 'textDocument/codeAction - (44)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 14
        },
        "end": {
            "line": 7,
            "character": 14
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:36] Received response 'textDocument/codeAction - (44)' in 1ms.
Result: []

[Trace - 10:57:37] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 46
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:37] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 46
}

[Trace - 10:57:37] Sending request 'textDocument/codeAction - (45)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 15
        },
        "end": {
            "line": 7,
            "character": 15
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:37] Received response 'textDocument/codeAction - (45)' in 1ms.
Result: []

[Trace - 10:57:37] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 48
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_mi\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:37] Sending request 'textDocument/codeAction - (46)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 17
        },
        "end": {
            "line": 7,
            "character": 17
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:37] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 48
}

[Trace - 10:57:37] Received response 'textDocument/codeAction - (46)' in 2ms.
Result: []

[Trace - 10:57:38] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 50
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_miss\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:38] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 50
}

[Trace - 10:57:38] Sending request 'textDocument/codeAction - (47)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 19
        },
        "end": {
            "line": 7,
            "character": 19
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:38] Received response 'textDocument/codeAction - (47)' in 1ms.
Result: []

[Trace - 10:57:38] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 51
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_misss\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:38] Sending request 'textDocument/codeAction - (48)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 20
        },
        "end": {
            "line": 7,
            "character": 20
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:38] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 51
}

[Trace - 10:57:38] Received response 'textDocument/codeAction - (48)' in 1ms.
Result: []

[Trace - 10:57:39] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 52
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_misss_\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:39] Sending request 'textDocument/codeAction - (49)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 21
        },
        "end": {
            "line": 7,
            "character": 21
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:39] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 52
}

[Trace - 10:57:39] Received response 'textDocument/codeAction - (49)' in 2ms.
Result: []

[Trace - 10:57:40] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 57
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_misss_pelle\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:40] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 57
}

[Trace - 10:57:40] Sending request 'textDocument/codeAction - (50)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 26
        },
        "end": {
            "line": 7,
            "character": 26
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:40] Received response 'textDocument/codeAction - (50)' in 2ms.
Result: []

[Trace - 10:57:40] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 58
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_misss_pelled\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:40] Sending request 'textDocument/codeAction - (51)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 27
        },
        "end": {
            "line": 7,
            "character": 27
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:40] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 58
}

[Trace - 10:57:40] Received response 'textDocument/codeAction - (51)' in 2ms.
Result: []

[Trace - 10:57:41] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 59
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_misss_pelled-\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:41] Sending request 'textDocument/codeAction - (52)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 28
        },
        "end": {
            "line": 7,
            "character": 28
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:41] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 59
}

[Trace - 10:57:41] Received response 'textDocument/codeAction - (52)' in 2ms.
Result: []

[Trace - 10:57:42] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 60
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_misss_pelled\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:42] Sending request 'textDocument/codeAction - (53)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 27
        },
        "end": {
            "line": 7,
            "character": 27
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:42] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 60
}

[Trace - 10:57:42] Received response 'textDocument/codeAction - (53)' in 1ms.
Result: []

[Trace - 10:57:43] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
        "version": 68
    },
    "contentChanges": [
        {
            "text": "pub struct SiblingsMissspeled<'a> {\n    value: usize,\n    value_ref: Option<&'a usize>\n}\n\nfn set_siblings() {\n    let baddly_missspelled = true;\n    let morrre_misss_pelled = true;\n\n    let mut siblings = SiblingsMissspeled {\n        value: 0,\n        value_ref: None\n    };\n    siblings.value_ref = Some(&siblings.value);\n    // Now can't modify `value`:\n    //\n    // siblings.value = 5;\n    //\n    // And: now it can't be moved!\n    siblings.value_ref = None;\n    // Still can't modify `value`!!\n    //siblings.value = 5;\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n}\n"
        }
    ]
}

[Trace - 10:57:43] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "diagnostics": [],
    "uri": "file:///share/pkehl/GIT/playground/src/lib.rs",
    "version": 68
}

[Trace - 10:57:43] Sending request 'textDocument/codeAction - (54)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 7,
            "character": 35
        },
        "end": {
            "line": 7,
            "character": 35
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 10:57:43] Received response 'textDocument/codeAction - (54)' in 1ms.
Result: []

[Trace - 11:08:59] Sending request 'textDocument/codeAction - (55)'.
Params: {
    "textDocument": {
        "uri": "file:///share/pkehl/GIT/playground/src/lib.rs"
    },
    "range": {
        "start": {
            "line": 9,
            "character": 43
        },
        "end": {
            "line": 9,
            "character": 43
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

[Trace - 11:08:59] Received response 'textDocument/codeAction - (55)' in 2ms.
Result: []

It may be something in my (user-level) settings.json:

{
    "telemetry.enableTelemetry": false,
    "telemetry.enableCrashReporter": false,
    "extensions.ignoreRecommendations": true,
    "update.mode": "none",
    "files.watcherExclude": {
        "**/target/**": true
    },
    "lldb.showDisassembly": "never",
    "workbench.startupEditor": "none",
    "terminal.integrated.scrollback": 50000,
    "editor.cursorWidth": 10,
    "editor.cursorSurroundingLines": 3,
    "editor.unfoldOnClickAfterEndOfLine": true,
    "bracket-pair-colorizer-2.depreciation-notice": false,
    "workbench.editor.wrapTabs": true,
    "terminal.integrated.fontSize": 15,
    "window.menuBarVisibility": "toggle",
    "editor.guides.bracketPairs": true,
    "security.workspace.trust.untrustedFiles": "open",
    "terminal.integrated.shellIntegration.enabled": true,
    "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}${separator}${appName}",
    "workbench.experimental.editor.dropIntoEditor.enabled": false,
    "debug.console.closeOnEnd": true,
    "workbench.editor.tabCloseButton": "off",
    "git-buttons": {
        "commit": true
    },
    "editor.rulers": [
        100
    ],
    "debug.showBreakpointsInOverviewRuler": true,
    "editor.cursorStyle": "block-outline",
    "editor.renderLineHighlight": "gutter",
    "workbench.editor.highlightModifiedTabs": true,
    "rust-analyzer.typing.autoClosingAngleBrackets.enable": true,
    "telemetry.telemetryLevel": "off",
    "codetour.recordMode": "pattern",
    "codetour.customTourDirectory": "",
    "bookmarks.keepBookmarksOnLineDelete": true,
    "bookmarks.sideBar.expanded": true,
    "window.autoDetectHighContrast": false,
    "window.restoreFullscreen": true,
    "BUFchronicler.ffmpeg-binary": "/usr/bin/ffmpeg",
    "chronicler.ffmpeg-binary": "/home/pkehl/GIT/present_markdown_reveal.js/all_args.sh",
    "chronicler.dest-folder": "${workspaceFolder}/.videos",
    "chronicler.recording-defaults": {
        "flags": {
            "c:v": "libx264rgb",
            "crf": 0,
            "color_range": 2
        },
        "fps": 4,
        "countdown": 3
    },
    "vscrof.directoryStyle": "Linux",
    "vscrof.storageFileTitle": "VsCode - Remember Open Files (vscrof)",
    "tab-groups.relativePaths": true,
    "tab-groups.saveGlobally": false,
    "sort-tabs.showStatusbarMessage": false,
    "errorLens.statusBarMessageEnabled": true,
    "errorLens.statusBarColorsEnabled": true,
    "errorLens.scrollbarHackEnabled": true,
    "rust-analyzer.cargo.unsetTest": [
        "alloc"
    ],
    "git.detectSubmodules": false,
    "statusBarCustomColor.primaryBkColor": "#000000",
    "statusBarCustomColor.secondaryBkColor": "#000000",
    "breadcrumbs.filePath": "last",
    "breadcrumbs.symbolPath": "on",
    "filePathBar.pathStyle": "relative",
    "GitLink.defaultRemote": "origin",
    "line-length-checker.lineLength": 100,
    "editor.wordWrapColumn": 100,
    "git.openRepositoryInParentFolders": "always",
    "remote.autoForwardPorts": false,
    "typescript.tsserver.watchOptions": {},
    "colorTabs.titleBackground": true,
    "workbench.colorTheme": "Tomorrow Night Blue",
    "cSpell.userWords": [
        "lifos",

        "struct", "rustdoc", "rustc", "rustfmt", "clippy", "Punct", "rlib", "supertrait", "subtrait",
        "newtype","uninit",

        "rustacean", "hasher",
        "alloc", "VecDeque", "deque",

        "actix", "shuttleapp",

        "peekable",
        "evaluatable", "fallible", "ctype",
        "msrv", "runtimes", "repr",

        "askama", "fakels", "localfs", "trybuild", "rustversion", "compilertest", "formatcp",
        "mockall", "automock", "thiserror",

        "anonymize", "anonymization",
        "paralellize", "prefixless",
        "skippable", "subdir",
        "troubleshoot",
        "WebDAV", "websocket", "Websocket",

        "turso",
        "Deta", "spacefile",

        "kehl"
    ],
    "update.showReleaseNotes": false,
    "editor.mouseWheelScrollSensitivity": 4,
    "rust-analyzer.inlayHints.typeHints.enable": true,
    "rust-analyzer.showUnlinkedFileNotification": false,
    "editor.wordWrap": "on",
    "markdownlint.config": {
        "MD013": false,
        "MD031": false
    },
    "markdown.preview.scrollPreviewWithEditor": false,
    "markdown.preview.scrollEditorWithPreview": false,
    "grammarly.config.suggestions.UnnecessaryEllipses": true,
    "workbench.activityBar.location": "hidden",

    "editor.fontLigatures": true,
    "scm.diffDecorations": "overview",
    "editor.glyphMargin": false,
    "editor.showFoldingControls": "never",
    "editor.fontFamily": "Inconsolata Light Extra-Condensed, DejaVu Sans Mono, Ligconsolata, JetBrains Mono, JetBrains Mono Extralight, fira-code-nerd",
    "editor.fontSize": 8,

    "LIGCONS_editor.fontSize": 10,
    "LIGCONS_window.zoomLevel": -0.15,

    "DEJA_editor.fontSize": 9,
    "DEJA_window.zoomLevel": -0.54,

    "merge-conflict.decorators.enabled": false,
    "merge-conflict.diffViewPosition": "Beside",
    "errorLens.enabledInMergeConflict": false,

    "editor.lineNumbers": "on",
    "git.enabled": false,
    "git.openDiffOnClick": false,
    "workbench.editor.tabActionCloseVisibility": false,
    "window.zoomLevel": 3,
    "typos.trace.server": "verbose"
}

In parallel, I'll try in VS Code Insiders (as it comes with Manjaro). I will also download VS Code from its GitHub > Releases and I will try in that (instead of one that comes with Manjaro), but I'm unsure if its profile will be isolated enough.

peter-kehl commented 7 months ago

My (user-level) settings.json doesn't seem to be the culprit. In the above setup, I've removed everything from settings.json; restarted VS Code (then it auto-added "workbench.colorTheme": "Default High Contrast" - probably from my GNOME preferences). But I still don't see any spell checking: image

peter-kehl commented 7 months ago

The same in VS Code Insiders (NOT downloaded from VS Code's GitHub, but as it comes with Manjaro):

Version: 1.85.0-insider
Commit: af28b32d7e553898b2a91af498b1fb666fdebe0c
Date: 2023-12-06T11:14:57.376Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.6.8-2-MANJARO

image

peter-kehl commented 7 months ago

With https://code.visualstudio.com/download > .tar.gz for x64 Linux > downloaded code-stable-x64-1702460840.tar (direct link https://vscode.download.prss.microsoft.com/dbazure/download/stable/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/code-stable-x64-1702460840.tar.gz).

cd /opt
mkdir code-stable-x64-1702460840
cd code-stable-x64-1702460840
tar xvzf /tmp/code-stable-x64-1702460840.tar.gz
./VSCode-linux-x64/code &

No change - no spelling mistakes seem indicated. That uses my default VS Code profile. (I did put my user-level settings.json back to what I had.) image

Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:47:11.635Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.6.8-2-MANJARO
tekumara commented 7 months ago

The good news is that all looks as expected. It looks like your misspellings eg: Missspeled are not in the typos dictionary. If you try SibilingsMissspeled do you get a highlight over Sibilings ?

See Why was ... not corrected? for a bit of background.

NB: If you'd like to contribute misspellings to the built-in dictionary you can suggest them on the pinned issue here.

peter-kehl commented 7 months ago

Thank you.