generated from redhat-developer/new-project-template
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting fails when position end is out of range of the document #183
Labels
Milestone
Comments
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
angelozerr
added a commit
to angelozerr/lsp4ij
that referenced
this issue
Mar 26, 2024
Fixes redhat-developer#183 Signed-off-by: azerr <[email protected]>
fbricon
pushed a commit
that referenced
this issue
Mar 27, 2024
Fixes #183 Signed-off-by: azerr <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have noticed this problem with Clojure LSP. When you try to format something:
The format can be occured and there is this error:
Here the formatting response:
The end line and character is equals to 999999 which is outside the document length.
I have found this comment https://github.com/microsoft/vscode-languageserver-node/blob/ed3cd0f78c1495913bda7318ace2be7f968008af/textDocument/src/main.ts#L26 but LSP specification doesn't speak about that but we need to implement this strategy.
The text was updated successfully, but these errors were encountered: