Skip to content
Discussion options

You must be logged in to vote

Hey @we-wake-act21,

this should be relatively straightforward, assuming you have a good way of identifying which file belongs to a given workspace. You will need to override the global scope computation:

protected getGlobalScope(referenceType: string, _context: ReferenceInfo): Scope {
return this.globalScopeCache.get(referenceType, () => new MapScope(this.indexManager.allElements(referenceType)));
}

in a custom scope provider and return a dedicated, filtered scope based on the current project. You can find the currently scoped document via the context argument.

Note that the c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by msujew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants