Jelajahi Sumber

REmove default for properties

Etheram68 5 tahun lalu
induk
melakukan
a675d20c5a
2 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 0 1
      package.json
  2. 1 1
      src/basicInput.ts

+ 0 - 1
package.json

@@ -31,7 +31,6 @@
 					"title": "Header ID",
 					"type": "string",
 					"scope": "window",
-					"default": "101header.insertHeader",
 					"description": "The id of the command to execute at the creation of the skeleton (example: 42header.insertHeader). CAREFUL: this will actually EXECUTE the command and unknown commands will result in no skeleton creations! Leave it to blank for no command to execute"
 				}
 			}

+ 1 - 1
src/basicInput.ts

@@ -38,7 +38,7 @@ export async function createQuickClass() {
 
 		const filePathCpp = vscode.Uri.file(wsPath + '/' + name + '.Class' + '.cpp');
 		const filePathHpp = vscode.Uri.file(wsPath + '/' + name + '.Class' + '.hpp');
-
+		
 		let command = (vscode.workspace.getConfiguration().get('headercppclass.headerId') as string).trim();
 
 		wsedit.createFile(filePathCpp, { ignoreIfExists: true });