Skip to content

Request textDocument/codeAction failed. Error: Document is not available: #16

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

Closed
kittaakos opened this issue Nov 26, 2019 · 2 comments
Closed
Labels
type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

[Error - 10:37:15 AM] Request textDocument/codeAction failed.
Error: Document is not available: file:///Users/akos.kitta/Documents/Arduino/sketch_november22b/sketch_november22b.ino
    at handleResponse (http://localhost:3000/bundle.js:130980:36)
    at processMessageQueue (http://localhost:3000/bundle.js:130804:9)
    at http://localhost:3000/bundle.js:130787:7
    at run (http://localhost:3000/bundle.js:127466:13)
    at runIfPresent (http://localhost:3000/bundle.js:127495:21)
    at onGlobalMessage (http://localhost:3000/bundle.js:127535:17)

Although the file was available:

Screen Shot 2019-11-26 at 10 38 45

@kittaakos kittaakos added the bug label Nov 26, 2019
@kittaakos
Copy link
Contributor Author

Same as: arduino/arduino-pro-ide#107

@cmaglie
Copy link
Member

cmaglie commented Feb 16, 2021

The way LSP.TextDocument is handled has been changed, this issue is now outdated.

@cmaglie cmaglie closed this as completed Feb 16, 2021
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants