Skip to content

Commit ad1db4f

Browse files
committed
Merge branch 'release/1.2.0'
2 parents 40dce6d + 06d0c47 commit ad1db4f

File tree

11 files changed

+724
-368
lines changed

11 files changed

+724
-368
lines changed

.vscode/launch.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"request": "launch",
1212
"args": [
1313
"--extensionDevelopmentPath=${workspaceFolder}",
14-
"--disable-extensions"
1514
]
1615
},
1716
{
@@ -21,7 +20,6 @@
2120
"args": [
2221
"--extensionDevelopmentPath=${workspaceFolder}",
2322
"--extensionTestsPath=${workspaceFolder}/test/suite/index",
24-
"--disable-extensions"
2523
]
2624
}
2725
]

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@
1111

1212
<!-- ## [v-inc] ${YEAR4}-${MONTHNUMBER}-${DATE} -->
1313

14+
## [1.2.0] 2022-04-21
15+
### Added
16+
- Both Project notes and Global notes are now available from activity bar outline views
17+
- Command `Project Notes: Open Note File Link`
18+
- Screenshot of new outline views
19+
### Removed
20+
- The following commands have been removed as they are now available from the activity bar outline views via their respective buttons
21+
- Command `Project Notes: Open or Create Project Note`
22+
- Command `Project Notes: Open Existing Project Note (Edit Mode)`
23+
- Command `Project Notes: Open Existing Project Note (Preview Mode)`
24+
- Command `Project Notes: Open or Create Global Note`
25+
- Command `Project Notes: Open Existing Global Note (Edit Mode)`
26+
- Command `Project Notes: Open Existing Global Note (Preview Mode)`
27+
### Updated
28+
- Readme.md
29+
1430
## [1.1.1] 2022-04-08
1531
### Fixed
1632
- Open or Create Global Note command cancellation not handled correctly

README.md

Lines changed: 32 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Important!!! For users that are upgrading from v0.0.5 or earlier please see [Upgrading Notes File](UPGRADING.md) for important information regarding changes from the older versions..
99

10-
Adds inline file links to notes in markdown files.
10+
Maintains 2 lists of notes in markdown file format. Notes are either project specific or global. Project notes are only available when that project is loaded while global notes are accessible at all times. Notes may be viewed in preview or edit modes. [Links](#using-file-links) to both project and global notes can be embedded within your source code.
1111

1212
Adds TODO syntax highlighting support to comments in your source files.
1313

@@ -18,50 +18,44 @@ Note: This extension provides syntax highlighting for definable keywords within
1818
It is possible to [add new extensions](SETTINGS.md) to the settings file. If you are using a programming language that this extension does not support and you need assistance adding it to the settings file, please submit an issue on my [Github Issues page](https://github.com/willasm/project-notes/issues) and I will add support for it to this extension.
1919

2020
## Features
21-
- Link to project note files in Markdown format.
22-
- Link to global note files in Markdown format.
21+
- Maintains 2 lists of notes, one project specific and one global.
22+
- Insert Links to project note files inside your codes comments.
23+
- Insert Links to global note files inside your codes comments.
24+
- Global notes location can be set to any preferred location (uses this extensions global storage location by default).
2325
- Adds syntax highlighting in comments to the default tags `BUG, CHANGED, DEBUG, FIXME, HACK, IDEA, NOTE, OPTIMIZE, RESEARCH, REVIEW, TEMP and TODO`.
26+
- New `Tags` can be added to the settings file.
2427
- Supports Light and Dark Themes.
2528
- All `Tags` can be enabled or disabled individually in the [settings](SETTINGS.md) file.
2629
- Highlighting of user definable `Tag Blocks` - Any text surrounded by user definable text characters.
27-
- [Snippets](#snippets-for-pre-defined-tag-blocks) for the pre-defined tag blocks
28-
- New `Tags` can be added to the settings file.
30+
- [Snippets](#snippets-for-tags) for the pre-defined tags and tag blocks.
2931
- `Tags` are case insensitive.
3032
- `Tags` trailing colon is optional.
3133
- `Parentheses`, `brackets` and `Curly braces` in comments are also highlighed.
3234
- `Backticks`, `"Double Quotes"` and `'Single Quotes'` in comments are also highlighted.
3335

3436
## Screenshots
35-
Example Highlighting Dark Theme (Dark+ default dark)....
36-
![Example Screenshot](./images/DemoDark.png)
37+
Project and Global Note Views....
3738

38-
Example Highlighting Light Theme (Light+ default light) ....
39-
![Example Screenshot](./images/DemoLight.png)
39+
![Notes Example Screenshot](./images/NoteViews.png)
4040

41-
## Extension Commands
42-
These commands availiable from the command pallette: (Windows: CTRL+Shift+P or F1) (Mac: CMD+Shift+P)
43-
- `Project Notes: Open or Create Project Note`
41+
Example Highlighting Dark Theme (Dark+ default dark)....
4442

45-
Opens or Creates a Project Note File from a Comment File Link. [See Using File Links](#using-file-links)
46-
- `Project Notes: Open Existing Project Note (Edit Mode)`
43+
![Dark Theme Highlighting Example Screenshot](./images/DemoDark.png)
4744

48-
Opens an Existing Project Note File in Edit Mode.
49-
- `Project Notes: Open Existing Project Note (Preview Mode)`
45+
Example Highlighting Light Theme (Light+ default light) ....
5046

51-
Opens an Existing Project Note File in Preview Mode.
47+
![Light Theme Highlighting Example Screenshot](./images/DemoLight.png)
5248

53-
- `Project Notes: Set Globals Notes Folder Location`
49+
## Extension Commands
50+
These commands are availiable from the command pallette: (Windows: CTRL+Shift+P or F1) (Mac: CMD+Shift+P)
5451

55-
Set Globals Notes Folder Location
56-
- `Project Notes: Open or Create Global Note`
52+
- `Project Notes: Open Note File Link`
5753

58-
Opens or Creates a Global Note File from a Comment File Link. [See Using File Links](#using-file-links)
59-
- `Project Notes: Open Existing Global Note (Edit Mode)`
54+
Opens a Project or Global Note File from a Comment File Link. [See Using File Links](#using-file-links)
6055

61-
Opens an Existing Global Note File in Edit Mode.
62-
- `Project Notes: Open Existing Global Note (Preview Mode)`
56+
- `Project Notes: Set Globals Notes Folder Location`
6357

64-
Opens an Existing Global Note File in Preview Mode.
58+
Set Globals Notes Folder Location. If not set, will use this extensions global storage location.
6559

6660
- `Project Notes: Edit Tags Settings File`
6761

@@ -71,30 +65,30 @@ These commands availiable from the command pallette: (Windows: CTRL+Shift+P or F
7165

7266
Restores settings file to its default settings. (Caution! This will remove all changes you have made!)
7367

74-
If you plan to use any of the commands regularily it is recommended that you set a default key binding for the command.
68+
Note: This extension does not set any default key bindings for any of these commands. Setting one for the command `Project Notes: Set Globals Notes Folder Location` is recommended if you plan to use that feature frequently.
7569

7670

7771
## Using File Links
7872
Create a comment in the format `// Project File: Filename.MD` for project notes. The `Project File:` portion is the trigger for highlighting the following file name.
7973

8074
Create a comment in the format `// Global File: Filename.MD` for global notes. The `Global File:` portion is the trigger for highlighting the following file name.
8175

82-
Note that the `MD` extension is required. The file name is styled as underlined by default. Note that it is not an actual clickable link. Unfortunatly it is not possible to receive mouse click messages from vscode.
76+
[Snippets](#snippets-for-tags) are included for inserting both types of note links.
8377

84-
To create (or open an existing project note) simply run the command `Project Notes: Open or Create Note` with the cursor anywhere on the same line as the `Project File: Filename.MD` comment. If the file already exists it will be opened in a new editor window, otherwise a new file is created and opened for editing. Running the command with the cursor on any line without a `Project File: filename.MD` comment will create (or open) a file with the base name of the current folder opened in VSCode. (Typically your projects name).
78+
Note that the `MD` extension is required. The file name is styled as underlined by default. Note that it is not an actual clickable link. Unfortunatly it is not currently possible to receive mouse click messages from vscode.
8579

86-
To create (or open an existing global note) simply run the command `Project Notes: Open or Create Global Note` with the cursor anywhere on the same line as the `Global File: Filename.MD` comment. If the file already exists it will be opened in a new editor window, otherwise a new file is created and opened for editing. Running the command with the cursor on any line without a `Global File: filename.MD` comment will prompt you for a file name of the global note to open or create.
80+
To create (or open an existing project note) simply run the command `Project Notes: Open Note File Link` with the cursor anywhere on the same line as the `Project File: Filename.MD` comment. If the file already exists it will be opened in a new editor window, otherwise a new file is created and opened for editing.
81+
82+
To create (or open an existing global note) simply run the command `Project Notes: Open Note File Link` with the cursor anywhere on the same line as the `Global File: Filename.MD` comment. If the file already exists it will be opened in a new editor window, otherwise a new file is created and opened for editing.
8783

8884
All Project Note Files are stored in your projects `.vscode` folder (which is created if it does not exist). You may want to add to your `.gitignore` file `.vscode/*.MD` if you do not want Git to track your notes.
8985

9086
## Changing TAG Colors and Styling
9187

9288
Refer to the [settings file documentation](SETTINGS.md)
9389

94-
## Snippets for pre-defined tag blocks
95-
Snippets are provided for the pre-defined tag blocks. They can be entered by typing the prefixes...
96-
Note: To enable snippets selection menu in comments, add this line to your settings.json file.
97-
"editor.quickSuggestions.comments": true
90+
## Snippets for tags
91+
Snippets are provided for the pre-defined tags. They can be entered by typing the prefixes...
9892

9993
- `tagKeyword`
10094
- `tagProjectNote`
@@ -109,11 +103,14 @@ Note: To enable snippets selection menu in comments, add this line to your setti
109103
- `commentBoxSingleLine`
110104
- `commentBoxDblLine`
111105

112-
How to use...
106+
Note: To enable snippets selection menu in comments, add this line to your settings.json file.
107+
"editor.quickSuggestions.comments": true
108+
109+
### How to use the snippets...
113110

114111
![Example gif](./images/Snippets.gif)
115112

116-
More examples of how to use...
113+
### More examples of how to use...
117114

118115
![Example gif2](./images/Snippets2.gif)
119116

RELEASE.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,21 @@
22

33
<!-- ## [v-inc] ${YEAR4}-${MONTHNUMBER}-${DATE} -->
44

5-
## [1.1.1] 2022-04-08
6-
### Fixed
7-
- Open or Create Global Note command cancellation not handled correctly
5+
## [1.2.0] 2022-04-21
6+
### Added
7+
- Both Project notes and Global notes are now available from activity bar outline views
8+
- Command `Project Notes: Open Note File Link`
9+
- Screenshot of new outline views
10+
### Removed
11+
- The following commands have been removed as they are now available from the activity bar outline views via their respective buttons
12+
- Command `Project Notes: Open or Create Project Note`
13+
- Command `Project Notes: Open Existing Project Note (Edit Mode)`
14+
- Command `Project Notes: Open Existing Project Note (Preview Mode)`
15+
- Command `Project Notes: Open or Create Global Note`
16+
- Command `Project Notes: Open Existing Global Note (Edit Mode)`
17+
- Command `Project Notes: Open Existing Global Note (Preview Mode)`
18+
### Updated
19+
- Readme.md
820

921
For a full list of changes, please see the projects [Changelog](CHANGELOG.md) file.
1022

images/NoteViews.png

64 KB
Loading

images/project-notes.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)