We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e190c31 commit bacffbcCopy full SHA for bacffbc
packages/web/src/ee/features/codeNav/components/symbolHoverPopup/symbolHoverTargetsExtension.ts
@@ -52,7 +52,7 @@ export const symbolHoverTargetsExtension = StateField.define<DecorationSet>({
52
// @note: we need to use `ensureSyntaxTree` here (as opposed to `syntaxTree`)
53
// because we want to parse the entire document, not just the text visible in
54
// the current viewport.
55
- const { data: tree } = measureSync(() => ensureSyntaxTree(state, state.doc.length), "ensureSyntaxTree");
+ const { data: tree } = measureSync(() => ensureSyntaxTree(state, state.doc.length, Infinity), "ensureSyntaxTree");
56
const decorations: Range<Decoration>[] = [];
57
58
// @note: useful for debugging
0 commit comments