Merge pull request #17423 from mjbvz/fix-package-json-auto-complete
Fix package.json Auto complete
This commit is contained in:
commit
bc1b1f1881
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ export class PackageJSONContribution implements IJSONContribution {
|
|||
let name = keys[0];
|
||||
let insertText = new SnippetString().appendText(JSON.stringify(name));
|
||||
if (addValue) {
|
||||
insertText.appendText(': ').appendPlaceholder('*');
|
||||
insertText.appendText(': "').appendPlaceholder('').appendText('"');
|
||||
if (!isLast) {
|
||||
insertText.appendText(',');
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ export class PackageJSONContribution implements IJSONContribution {
|
|||
this.mostDependedOn.forEach((name) => {
|
||||
let insertText = new SnippetString().appendText(JSON.stringify(name));
|
||||
if (addValue) {
|
||||
insertText.appendText(': ').appendPlaceholder('*');
|
||||
insertText.appendText(': "').appendPlaceholder('').appendText('"');
|
||||
if (!isLast) {
|
||||
insertText.appendText(',');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue