Skip to content

Add support for multi-folder workspace #69

@arnonshp

Description

@arnonshp

In VS code there is an option to add several folders to one workspace. The folders are then specified in VS code workspace file as follows:
"folders": [
{
"path": "fold1"
},
{
"path": "fold1"
}
]
I noticed that when building the cscope DB, it runs only on the first folder in that list.
Please add support for multi-folder workspace, so that the build DB command will go over all folders in the workspace and build a DB for each one. In addition, when a function is selected to find the functions calling it (or vice versa) the scope4code should search the DBs in all folders, and not only under the path where the editor's open file is located (would be even better to add a setting whether the search will be limited to the folder where the file is located or span across all folders in the workspace).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions