mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
More completions, fix importing for some
This commit is contained in:
@@ -20,6 +20,18 @@ const indentSearch = [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5,
|
||||
const indentReplaceValue = [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1].map(e => '\t'.repeat(e));
|
||||
|
||||
const specSpecificReplaceStrings = new Map([
|
||||
['docker', [
|
||||
[
|
||||
'console.error(error);',
|
||||
'console.error(error); return null!;'
|
||||
]
|
||||
]],
|
||||
['dotnet', [
|
||||
[
|
||||
'.match(argRegex)',
|
||||
'.match(argRegex)!'
|
||||
]
|
||||
]],
|
||||
['git', [
|
||||
[
|
||||
'import { ai } from "@fig/autocomplete-generators";',
|
||||
|
||||
Reference in New Issue
Block a user