Skip to content
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

Typescript language servers begin to fray when working inside TGUI with tgui-core as a .yarn package #23

Open
Metekillot opened this issue Sep 15, 2024 · 1 comment

Comments

@Metekillot
Copy link

I found a hacky solution by adjusting the tsconfig base paths, but as it is now, tgui-core imported components are running into the .yarn virtual caches instead of the actual definition of given components quite often if you try to follow their definition using language server functionality.

This also seems like it'll lead to inadvertent forking of repo-side components vs the tgui-core components.

@jlsnow301
Copy link
Member

This is more of an issue caused by how we're installing modules in TG. Not only is it tucked away in a virtual folder, it's also the built/stripped down version.

Thus, it's not really this project's fault. Typically with UI libraries you would open the documentation directly rather than trying to decipher the (sometimes hellish) exports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants