pull/5370/head
filip mertens 2 years ago
parent de73362527
commit 6ab2a6d61d
  1. 3
      libs/remix-ui/editor/src/lib/providers/completionProvider.ts

@ -31,10 +31,7 @@ export class RemixCompletionProvider implements languages.CompletionItemProvider
let nodes: AstNode[] = []
let suggestions: monaco.languages.CompletionItem[] = []
if (context.triggerCharacter === '.') {
console.clear()
const lineTextBeforeCursor: string = line.substring(0, position.column - 1)
const lastNodeInExpression = await this.getLastNodeInExpression(lineTextBeforeCursor)
const expressionElements = lineTextBeforeCursor.split('.')

Loading…
Cancel
Save