Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

lsp-python-ms randomly returning reversed strings #118

Open
@SreenivasVRao

Description

@SreenivasVRao

Hi, I'm noticing that occasionally, lsp-python-ms reverses the string in the message - I have a buffer where the server couldn't find the symbol "Reader" - the message returned says "redaeR" instead.

Here's a visual example as well:

https://www.reddit.com/r/emacs/comments/hxs61o/why_does_lspuidoc_randomly_become_right_to_left/

[Trace - 09:59:17 PM] Sending request 'textDocument/codeAction - (372)'.
Params: {
  "textDocument": {
    "uri": "file:///path/to/file/in/projectile/project.py"
  },
  "range": {
    "start": {
      "line": 6,
      "character": 0
    },
    "end": {
      "line": 6,
      "character": 0
    }
  },
  "context": {
    "diagnostics": [
      {
        "message": "expected an indented block",
        "source": "Python",
        "code": "parser-32",
        "severity": 1,
        "range": {
          "end": {
            "character": 6,
            "line": 6
          },
          "start": {
            "character": 0,
            "line": 6
          }
        }
      },
      {
        "message": "Undefined variable: 'redaeR'",
        "source": "Python",
        "code": "undefined-variable",
        "severity": 1,
        "range": {
          "end": {
            "character": 6,
            "line": 6
          },
          "start": {
            "character": 0,
            "line": 6
          }
        }
      }
    ]
  }
}

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