Преглед изворни кода

Merge branch 'release/Update_Class'

Etheram68 пре 5 година
родитељ
комит
6a7379c9f4
3 измењених фајлова са 5 додато и 1 уклоњено
  1. 3 0
      README.md
  2. 1 1
      package.json
  3. 1 0
      src/template.ts

+ 3 - 0
README.md

@@ -42,6 +42,9 @@ To report a bug or ask for a feature, please open a [Github issue](https://githu
 
 ## Release Notes
 
+## 0.3.3
+Add on template line Accessor
+
 ##  0.3.2
 Modify template for more lisibility and correct error new line
 

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
 	"name": "canonicalclasscpp",
 	"displayName": "42 Canonical Class CPP",
 	"description": "This extension is to automatically create a canonical hpp and cpp file",
-	"version": "0.3.2",
+	"version": "0.3.3",
 	"publisher": "frfreyCanonicalClassCPP",
 	"icon": "42.png",
 	"repository": {

+ 1 - 0
src/template.ts

@@ -38,6 +38,7 @@ export const getTemplate = ( name: string | undefined, filePathCpp: vscode.Uri ,
 						"std::ostream &			operator<<( std::ostream & o, " + name + " const & i )\n" +
 						"{\n	//o << \"Value = \" << i.getValue();\n	return o;\n}\n\n" +
 						"\n/*\n** --------------------------------- METHODS ----------------------------------\n*/\n\n" +
+						"\n/*\n** --------------------------------- ACCESSOR ---------------------------------\n*/\n\n"
 						"\n/* ************************************************************************** */";
 
 		let classhpp =	"#ifndef " + name.toUpperCase() + "_HPP\n" +