Replies: 2 comments
|
Hi @AidarZayn, thanks for starting this discussion! 👋 The Theia community will take a look soon. In the meantime, you might find helpful information in: 💙 Eclipse Theia is built and maintained by a community of contributors and sponsors. If Theia is valuable to your work, consider sponsoring the project. For professional support, training, or consulting services, learn more about available options. |
|
Hi @AidarZayn, This is expected, and it's a VS Code/TypeScript behavior rather than a Theia issue. Theia packages declare VS Code's auto-import only indexes what's reachable from the main entry, so symbols like HTH |
Uh oh!
There was an error while loading. Please reload this page.
Question
Hello,
I am currently learning Eclipse Theia and have encountered an issue with auto-completion in VS Code while developing custom extensions.
The problem can be reproduced both in:
For example, in the file:
I start typing:
or other commonly used symbols such as:
BackendApplicationContributioninjectableinjectContainerModuleHowever, after pressing Ctrl+Space, VS Code does not suggest these symbols and does not perform auto-imports.
At the same time, TypeScript resolves everything correctly when imports are added manually.
For example:
VS Code shows the list of exported symbols, including
BackendApplicationContribution.So the issue appears to be specifically related to auto-completion / auto-import for symbols exported by Theia packages.
Is this a known limitation of the Theia API (for example, due to deep imports such as
@theia/core/lib/node), a TypeScript/VS Code configuration issue, or am I missing some project setup step?Any guidance would be appreciated.
All reactions