Skip to content

doesn't work on vscode-remote #2447

@divinerapier

Description

@divinerapier

Hi,

"Enter Key" does not work on vscode-remote, I tried restarting it for several times.
And then I found something wrong with cargo watch.

[Running 'cargo check --all-targets --message-format json ']
Fail to parse to json : { SyntaxError: Unexpected token R in JSON at position 1 }{"reason":"compiler-artifact","package_id":"proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/my/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.6/build.rs","edition":"2018"},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/my/project/target/debug/build/proc-macro2-5b88db6c56b02325/build-script-build"],"executable":null,"fresh":true}

I don't know if this is the reason.

And it is said that Cannot read property 'type' of undefined when restarts by Command + P; >rust analyzer: restart server.
Here is my configuration:

{
    "rust-analyzer.highlightingOn": true,
    "rust-analyzer.displayInlayHints": true,
    "rust-analyzer.trace.server": "verbose",
    "rust-analyzer.lruCapacity": 1000,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions