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

Workspaces and selective aggregated mode #79

Open
kirillt opened this issue Sep 22, 2021 · 1 comment
Open

Workspaces and selective aggregated mode #79

kirillt opened this issue Sep 22, 2021 · 1 comment
Labels
feature Feature to implement

Comments

@kirillt
Copy link
Member

kirillt commented Sep 22, 2021

Right now, we have aggregated mode which allows to open all roots and select resources from all of them at the same time. In future, we will have saved queries section (#80). For a saved query, it would be nice to support several chosen folders to run the query on. This means, we need to support usage of several prefixes as joint filter at once.

@kirillt kirillt added the feature Feature to implement label Sep 22, 2021
@kirillt kirillt changed the title Multi-prefix aggregated mode Workspaces and selective aggregated mode May 27, 2023
@kirillt
Copy link
Member Author

kirillt commented May 27, 2023

We should introduce something like this:

interface Workspace {
    fun folders(): List<Path>
}

data class SingleFolderWorkspace(val root: Path, val subfolder: Option<String>) {
    override fun folders(): List<Path> { ... }
}

data class MultipleFoldersWorkspace(val roots: List<Path>) {
    override fun folders(): List<Path> { ... }
}

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

No branches or pull requests

1 participant