代码之家  ›  专栏  ›  技术社区  ›  Aleksander Wons

尽管设置了sourceLanguages,但VSCode中的Rust类型可视化不起作用

  •  2
  • Aleksander Wons  · 技术社区  · 6 年前

    问题

    我不知道如何设置VSCode以便在调试时正确地可视化Rust类型。尽管我添加了 "sourceLanguages": ["rust"] 给我的启动.json.

    我的当前设置

    • rustc 1.31.0-每晚(bef62ccdd 2018-10-16)
    • VSCode版本:1.28.2
    • lldb版本6.0.1
    • CodeLLDB 1.0.0版

    {
        "version": "0.2.0",
        "configurations": [
            {
                "type": "lldb",
                "request": "launch",
                "sourceLanguages": ["rust"],
                "name": "main",
                "program": "target/debug/chip8-emulator",
                "args": ["/home/alex/Downloads/chip8_roms/PONG"],
                "cwd": "${workspaceRoot}"
            }
        ]
    }
    

    我还需要配置什么才能使类型的可视化正常工作吗?

    0 回复  |  直到 6 年前