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

lsp-python-ms randomly returning reversed strings #118

Open
SreenivasVRao opened this issue Jul 28, 2020 · 0 comments
Open

lsp-python-ms randomly returning reversed strings #118

SreenivasVRao opened this issue Jul 28, 2020 · 0 comments

Comments

@SreenivasVRao
Copy link

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:https:///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
          }
        }
      }
    ]
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant