File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -484,6 +484,14 @@ export default class Analyzer {
484484 uris . reverse ( )
485485 uris . push ( uri )
486486
487+ if ( this . includeAllWorkspaceSymbols ) {
488+ uris . push (
489+ ...Object . keys ( this . uriToAnalyzedDocument ) . filter (
490+ ( u ) => ! ( uris as string [ ] ) . includes ( u ) ,
491+ ) ,
492+ )
493+ }
494+
487495 for ( const u of uris ) {
488496 const root = this . uriToAnalyzedDocument [ u ] ?. tree . rootNode
489497
@@ -958,7 +966,7 @@ export default class Analyzer {
958966 */
959967 public findAllLinkedUris ( uri : string ) : string [ ] {
960968 if ( this . includeAllWorkspaceSymbols ) {
961- return Object . keys ( this . uriToAnalyzedDocument )
969+ return Object . keys ( this . uriToAnalyzedDocument ) . filter ( ( u ) => u !== uri )
962970 }
963971
964972 const uriToAnalyzedDocument = Object . entries ( this . uriToAnalyzedDocument )
You can’t perform that action at this time.
0 commit comments