Etheram68 5 år sedan
förälder
incheckning
794574bd83
4 ändrade filer med 8 tillägg och 2 borttagningar
  1. 6 0
      README.md
  2. 1 1
      package.json
  3. 1 1
      src/basicInput.ts
  4. BIN
      tuto2.gif

+ 6 - 0
README.md

@@ -23,10 +23,16 @@ Enter the Class Name
  src="https://raw.githubusercontent.com/Etheram68/Header-Cpp-Class/master/exemple_name.png"
  width=680>
 
+### Create file Cpp and Hpp
  <img
  src="https://raw.githubusercontent.com/Etheram68/Header-Cpp-Class/master/tuto1.gif"
  width=680>
 
+### Create file Cpp and Hpp with Header
+ <img
+ src="https://raw.githubusercontent.com/Etheram68/Header-Cpp-Class/master/tuto2.gif"
+ width=680>
+
 ## Issues
 
 To report a bug or ask for a feature, please open a [Github issue](https://github.com/Etheram68/Header-Cpp-Class/issues).

+ 1 - 1
package.json

@@ -31,7 +31,7 @@
 					"title": "Header ID",
 					"type": "string",
 					"scope": "window",
-					"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"
+					"description": "The id of the command to execute at the creation of the skeleton (example: 101header.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 });

BIN
tuto2.gif