arduino-language-server icon indicating copy to clipboard operation
arduino-language-server copied to clipboard

text access out of range: max=215 requested={13 0}

Open kittaakos opened this issue 5 years ago • 1 comments

I got this when trying to figure out what's causing arduino/arduino-language-server#17

root ERROR Arduino: 2019/12/11 15:37:19 jsonrpc2 handler: notification "textDocument/didChange" handling error: text access out of range: max=215 requested={13 0}

This happened when I edited my sketch in the editor.

kittaakos avatar Dec 11 '19 14:12 kittaakos

You have to edit the end of the file. For instance, in your sketch, edit here (<|>):


void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:

}
<|>

kittaakos avatar Dec 11 '19 15:12 kittaakos