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
This tool automatically adds standardized comment headers to your source files, enhancing protection, consistency, and authenticity across your codebase.
19
17
18
+
## How to Use
19
+
20
+
### With Visual Studio Code
21
+
22
+
1. Install the extension here: https://marketplace.visualstudio.com/items?itemName=Dev-Cetera.dev-cetera-df-support-commands
23
+
2. Create a template file in your project's directory and call it `header_template.md`:
24
+
25
+
````md
26
+
```dart
27
+
// The use of this source code is governed by the LICENSE file located in this
28
+
// project's root directory.
29
+
```
30
+
````
31
+
32
+
3. Back up your source code!
33
+
4. Right-click on any folder in your project and select `🔹 Generate Header Comments`.
34
+
5. Alternatively, right-click a folder and select `"Open in Integrated Terminal"` then run `--headers -t path/to/header_template.md` in the terminal.
35
+
6. This will modify source files in the folder and add the header comments.
36
+
37
+
### Without Visual Studio Code
38
+
39
+
1. Install this tool by running: `dart pub global activate df_generate_header_comments`.
40
+
2. Back up your source code!
41
+
3. Create a template file and call it something like `header_template.md`:
42
+
43
+
````md
44
+
```dart
45
+
// The use of this source code is governed by the LICENSE file located in this
46
+
// project's root directory.
47
+
```
48
+
````
49
+
50
+
4. Open a terminal at a desired folder then run `--headers -t path/to/header_template.md` in the terminal. This will modify source files in the folder and add the header comments.
This tool automatically adds standardized comment headers to your source files, enhancing protection, consistency, and authenticity across your codebase.
2
2
3
-
This tool automatically adds standardized comment headers to your source files, enhancing protection, consistency, and authenticity across your codebase.
3
+
## How to Use
4
+
5
+
### With Visual Studio Code
6
+
7
+
1. Install the extension here: https://marketplace.visualstudio.com/items?itemName=Dev-Cetera.dev-cetera-df-support-commands
8
+
2. Create a template file in your project's directory and call it `header_template.md`:
9
+
10
+
````md
11
+
```dart
12
+
// The use of this source code is governed by the LICENSE file located in this
13
+
// project's root directory.
14
+
```
15
+
````
16
+
17
+
3. Back up your source code!
18
+
4. Right-click on any folder in your project and select `🔹 Generate Header Comments`.
19
+
5. Alternatively, right-click a folder and select `"Open in Integrated Terminal"` then run `--headers -t path/to/header_template.md` in the terminal.
20
+
6. This will modify source files in the folder and add the header comments.
21
+
22
+
### Without Visual Studio Code
23
+
24
+
1. Install this tool by running: `dart pub global activate df_generate_header_comments`.
25
+
2. Back up your source code!
26
+
3. Create a template file and call it something like `header_template.md`:
27
+
28
+
````md
29
+
```dart
30
+
// The use of this source code is governed by the LICENSE file located in this
31
+
// project's root directory.
32
+
```
33
+
````
34
+
35
+
4. Open a terminal at a desired folder then run `--headers -t path/to/header_template.md` in the terminal. This will modify source files in the folder and add the header comments.
0 commit comments