|
|
@ -33,7 +33,6 @@ export function getBytesCompletionItems(range: monacoTypes.IRange, monaco): mona |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function getBlockCompletionItems(range: monacoTypes.IRange, monaco): monacoTypes.languages.CompletionItem[] { |
|
|
|
export function getBlockCompletionItems(range: monacoTypes.IRange, monaco): monacoTypes.languages.CompletionItem[] { |
|
|
|
return [ |
|
|
|
return [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -442,7 +441,6 @@ export function getAbiCompletionItems(range: monacoTypes.IRange, monaco): monaco |
|
|
|
]; |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function GetCompletionTypes(range: monacoTypes.IRange, monaco): monacoTypes.languages.CompletionItem[] { |
|
|
|
export function GetCompletionTypes(range: monacoTypes.IRange, monaco): monacoTypes.languages.CompletionItem[] { |
|
|
|
const completionItems = []; |
|
|
|
const completionItems = []; |
|
|
|
const types = ['address', 'string', 'bytes', 'byte', 'int', 'uint', 'bool', 'hash']; |
|
|
|
const types = ['address', 'string', 'bytes', 'byte', 'int', 'uint', 'bool', 'hash']; |
|
|
@ -510,7 +508,6 @@ export function GetCompletionKeywords(range: monacoTypes.IRange, monaco): monaco |
|
|
|
return completionItems; |
|
|
|
return completionItems; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function GeCompletionUnits(range: monacoTypes.IRange, monaco): monacoTypes.languages.CompletionItem[] { |
|
|
|
export function GeCompletionUnits(range: monacoTypes.IRange, monaco): monacoTypes.languages.CompletionItem[] { |
|
|
|
const completionItems = []; |
|
|
|
const completionItems = []; |
|
|
|
const etherUnits = ['wei', 'gwei', 'finney', 'szabo', 'ether']; |
|
|
|
const etherUnits = ['wei', 'gwei', 'finney', 'szabo', 'ether']; |
|
|
@ -557,7 +554,6 @@ export function GetImports(range: monacoTypes.IRange |
|
|
|
} |
|
|
|
} |
|
|
|
})] |
|
|
|
})] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
list = [...list, |
|
|
|
list = [...list, |
|
|
|
...data.files |
|
|
|
...data.files |
|
|
|
.filter((item) => item.startsWith(word)) |
|
|
|
.filter((item) => item.startsWith(word)) |
|
|
|