You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Call the API workspace.openTextDocument({ 'language': language, 'content': content }) to open a new untitled document. If content is larger than 5MB, our code receives following error expected URI untitled:Untitled-1 to have come to LIFE
The text was updated successfully, but these errors were encountered:
So if so, is this a right behavior for opening a large file size content? Maybe we should also check if it's larger than size limit, if larger, no error should be thrown.
Huachao
changed the title
Unable to open an untitled document with large size content (approximate > 7MB)
Unable to open an untitled document with large size content (approximate > 5MB)
Aug 16, 2017
Steps to Reproduce:
workspace.openTextDocument({ 'language': language, 'content': content })
to open a new untitled document. Ifcontent
is larger than 5MB, our code receives following error expected URI untitled:Untitled-1 to have come to LIFEThe text was updated successfully, but these errors were encountered: