Sublime Forum

LSP hover error popovers have disappeared

#1

I was using the Rust LSP server just fine, and it was showing me popover help about errors and warnings when I hovered over the issues with my mouse. But a few days ago, it stopped. The auto-formatting on save has also stopped working. I’ve restarted SublimeText several times, but that hasn’t fixed the problem. I didn’t knowingly change any settings.

These are the errors I used to be able to learn more about on hover. Hovering the outlined text brought up a window with the rust-analyzer explanation.

My LSP-rust-analyzer.sublime-settings file is empty.

I don’t see anything wrong in the “Troubleshooting: rust-analyzer” window, but I don’t really know what I’m looking for. Here’s the “hover” section of the settings:

    "hover": {
      "actions": {
        "debug": {
          "enable": true
        },
        "enable": true,
        "gotoTypeDef": {
          "enable": true
        },
        "implementations": {
          "enable": true
        },
        "references": {
          "enable": false
        },
        "run": {
          "enable": true
        }
      },
      "documentation": {
        "enable": true,
        "keywords": {
          "enable": true
        }
      },
      "links": {
        "enable": true
      },
      "memoryLayout": {
        "alignment": "hexadecimal",
        "enable": true,
        "niches": false,
        "offset": "hexadecimal",
        "size": "both"
      },
      "show": {
        "enumVariants": 5,
        "fields": 5,
        "traitAssocItems": null
      }
    },

LSP: 2.3.0
Sublime Text: 4189
LSP-rust-analyzer: 1.11.8

Any ideas would be greatly appreciated.

0 Likes