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 04f05c7 commit 46cb8c2Copy full SHA for 46cb8c2
libs/remix-ui/editor/src/lib/providers/inlineCompletionProvider.ts
@@ -7,14 +7,16 @@ const _paq = (window._paq = window._paq || [])
7
8
export class RemixInLineCompletionProvider implements monacoTypes.languages.InlineCompletionsProvider {
9
props: EditorUIProps
10
+ monaco: any
11
completionEnabled: boolean
12
task: string = 'code_completion'
13
currentCompletion: any
14
private lastRequestTime: number = 0;
15
private readonly minRequestInterval: number = 200;
16
- constructor(props: any) {
17
+ constructor(props: any, monaco: any) {
18
this.props = props
19
+ this.monaco = monaco
20
this.completionEnabled = true
21
this.currentCompletion = {
22
text: '',
0 commit comments