-
Notifications
You must be signed in to change notification settings - Fork 90
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
Languageserver crashes on long string (?) #313
Comments
It seems we need to put a |
I guess the question is, why does languageserver treat the string as a path? |
There is a feature called document links and we need to check if those strings are linked to actual files. |
This seems to be Windows-specific. Since I guess a simple fix is to just ignore all single-line string literals longer than 256 characters? |
Hi! I am still experiencing this error. I am on the newest development version (and have also tested 0.3.7) and cannot get the language server to start for me. I am running Windows 10 Pro. The full error:
|
That explains a lot. I have a dashboard with entires paragraphs long strings and I'm struggling to get LS working. Will try break it to see if it works. |
The languageserver ignores those single-line strings of more than 255 characters. Would you like to paste a string that triggers this error? |
I just had this happen to me with VSCode. If you paste a long string into an R window, languageserver crashes:
This first happened to me with an SSH public key, but the crash appears to trigger on any suitably long string. This may be a Windows-only problem, where the path has a relatively short maximum length, but it's unclear to me why languageserver is treating the string as a path in the first place.
System info:
The text was updated successfully, but these errors were encountered: