Skip to content

Commit 6b83b33

Browse files
committed
Temporarily disable instantiation completions #212
1 parent 572b011 commit 6b83b33

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

vhdl_lang/src/analysis/completion.rs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,13 @@ impl DesignRoot {
364364
self.list_available_declarations(library, selected)
365365
}
366366
_ => {
367-
let mut visitor = AutocompletionVisitor::new(self, cursor, tokens);
368-
self.walk(&mut visitor);
369-
visitor.completions
367+
if false {
368+
let mut visitor = AutocompletionVisitor::new(self, cursor, tokens);
369+
self.walk(&mut visitor);
370+
visitor.completions
371+
} else {
372+
vec![]
373+
}
370374
}
371375
}
372376
}
@@ -484,6 +488,7 @@ mod test {
484488
assert_eq!(options.len(), 4);
485489
}
486490

491+
#[ignore = "Temporarily disabled for performance reason"]
487492
#[test]
488493
pub fn completing_instantiation_statement() {
489494
let mut input = LibraryBuilder::new();

0 commit comments

Comments
 (0)