You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -22,17 +22,42 @@ Copy the folder in the sublime text package directory. You'll find it by clickin
22
22
23
23
## Usage
24
24
25
+
26
+
### Class generation
25
27
Right-click on the folder in your sidebar, where you want to create your class and click `Create C++ Class`. Enter your classname without file extension in the input panel. After you entered the name, hit return. The sourcefile and headerfile for your class will now be created in the folder you clicked in the sidebar.
Press <kbd>CTRL</kbd> + <kbd>SHIFT</kbd> + <kbd>P</kbd> to open command palette. Type in `C++ Classhelper - Generate Method Definition` and select the method you want to generate the definition.
28
38
29
39
## Settings
30
40
31
41
```javascript
32
42
{
33
-
"open_after_creation":true, // opens the class after creation
34
-
"header_file_extension":"hpp", // file extension in which the headerfile is created (e.g.: hpp or h)
35
-
"use_pragma_once":true// if set to false, alternative header style will be used
43
+
// opens the class after creation
44
+
"open_after_creation":true,
45
+
46
+
// file extension in which the headerfile is created (e.g.: hpp or h)
47
+
"header_file_extension":"hpp",
48
+
49
+
// if set to false, alternative header style will be used
50
+
"use_pragma_once":true
51
+
52
+
// inserts a newline after every template
53
+
"newline_after_template":true,
54
+
55
+
// inserts newline after method definitions
56
+
// curly brackets will be placed to the next line
57
+
"newline_after_method":true,
58
+
59
+
// places the cursor inside the brackets, so you can directly start typing
0 commit comments