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

Focus mode #29

Closed
lukepighetti opened this issue Feb 3, 2022 · 4 comments
Closed

Focus mode #29

lukepighetti opened this issue Feb 3, 2022 · 4 comments

Comments

@lukepighetti
Copy link

lukepighetti commented Feb 3, 2022

I noticed some monorepo tools allow for focus mode.

Use case: I want to work on package B (which depends on package A), but I don't want to see, or have analyzer consider, packages C, D, E ... n

melos focus <package_name>

Would resolve it's dependencies and hide everything else.

This may inspire a change where an app needs to be defined in melos.yaml so that it too can be hidden from analyzer, otherwise it will just show a bunch of IDE errors whenever focus mode is enabled

@blaugold
Copy link
Owner

blaugold commented Feb 3, 2022

Issue #26 sounds a lot like what you want. Does it cover your use case?

@lukepighetti
Copy link
Author

lukepighetti commented Feb 3, 2022

It covers it for Visual Studio Code users. Luckily I am one. Maybe this can track the concept generally. I believe some monorepo tools out there use git features to hide parts of the codebase temporarily. Unfortunately I haven't spent much time on this to be able to give any concrete examples. I believe @chgibb has some more context on this

@blaugold
Copy link
Owner

blaugold commented Feb 3, 2022

I haven't though about that possibility, but it would be great to have this as a feature that works for all IDEs and from the command line!

Since this would have to be implemented in Melos directly, and this is the repo for the Melos VS Code extension, please file this features request in the Melos repo.

@lukepighetti
Copy link
Author

My mistake, I must have submitted this to the wrong repo.

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