-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Error: There are no document for untitled:/Untitled-1aichatviewlanguage #14842
Comments
@planger maybe you can speak to this? |
I did not yet look into the issue, however I noticed that it only occurs when there are active VS code extensions, i.e. running Theia without |
Thanks for tracking this issue! I saw this too. I found that Colin investigated a similar issue some time ago and it seems to be related to certain services that are still active and invoke features that should served by VS Code extensions, but they can't deal with the temporary document we create, so they log the error. It seems the only way to get rid of this logged error is to find out which enabled Monaco features are causing this and turn those off. |
I briefly tried a few editor options (below) and registering an empty code action provider, but this didn't help. lightbulb: { enabled: ShowLightbulbIconMode.Off },
quickSuggestions: false,
codeActionsOnSaveTimeout: 0, |
Scan #14927 for additional findings |
We probably should manage models in two distinct model managers: one that tracks the models to be synced to the background and one that is strictly local: for example the changeset text models could be shared by different editors (and should thus be reference-counted) but should not be sent to the back end. |
I'll take a look at this, since I'm already working on something that is heavily related to this wrt notebook cell editors. I'll probably take the approach that @tsmaeder outlined. |
I've made some progress on this: I've fixed the notebook issue that I originally planned to fix but made little progress on this issue. Unfortunately, the errors are presented because the models are not synced to the backend. It currently works like this:
|
Bug Description:
When I start Theia from the sources, I see this error twice in the console:
I do not see this causing any malfunction, but it does not make the development very pleasant (#12693). When I am working on something, I have to scroll through these unrelated lines in the terminal and browser logs every time.
Steps to Reproduce:
Additional Information
Merged in from #14927 (comment):
The text was updated successfully, but these errors were encountered: