typed-ember / glint

TypeScript powered tooling for Glimmer templates
https://typed-ember.gitbook.io/glint
MIT License
109 stars 51 forks source link

VSCode question re "Monorepos and Other Non-Workspace-Root Installations" #673

Open machty opened 8 months ago

machty commented 8 months ago

The README says:

If the location where @glint/core is installed isn't in the root of your Code workspace, you can inform the extension on a per-workspace basis where to locate the language server in the Glint extension settings under Glint: Library Path.

I have a pnpm workspace with a few apps and addons in a subfolder. Lately I've been opening the root workspace as I do mass refactors that span multiple apps.

With this (probably pretty common configuration), where should @glint/core be installed? At the root? From what the quoted docs above say, I wouldn't think it makes sense to set the "Glint: Library Path", since that would seemingly point to only one app/addon, no?