mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-19 18:55:01 +00:00
feat: add depended_{paths,{source_,}files}
methods (#1150)
This commit is contained in:
parent
ec121070d8
commit
f43a8e116c
4 changed files with 42 additions and 17 deletions
|
@ -36,9 +36,7 @@ impl SemanticRequest for SymbolRequest {
|
|||
|
||||
let mut symbols = vec![];
|
||||
|
||||
// todo! need compilation for iter_dependencies
|
||||
|
||||
for path in ctx.dependencies() {
|
||||
for path in ctx.depended_paths() {
|
||||
let Ok(source) = ctx.source_by_path(&path) else {
|
||||
continue;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue