Creating models in a large project #477
Replies: 1 comment 8 replies
-
Hello, I will need more information on how you've integrated the lib
How do you communicate between the client and the server?
How are you creating it? Are you creating the model directly or using a model reference? Are you using the model service override?
Based on it, I have the feeling you don't use the model service override, are you creating the models using
There is, all is expected is to have the model service override registered, and your files available on the virtual filesystem |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I have the large project (~100 ts files). I also have
typescript-language-server
running on the server.I create a model of the
index.ts
file that contains:The monaco correct sees what is the
lib.ts
file, but when I press ctrl + click on the "./lib.ts", an error appears:instead of calling the registered editor opener:
But when I add a model of the
lib.ts
file, the error doesn't appear, but I can't create models for all 100 files to get imports works.Is there any way to get it works? I think there should be something lazy loading/creating models.
Beta Was this translation helpful? Give feedback.
All reactions