Skip to content

Commit 70f4b19

Browse files
committed
Update to version 0.4.2
1 parent 793785a commit 70f4b19

9 files changed

+21
-14
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
6969

7070
- Added command `orca_toc: Toggle Collapse/Expand All TOC Entries` to toggle collapse/expand all TOC entries at once. The collapsed status of the TOC view will be preserved when navigating between different ORCA output files. The default collapsed status of the TOC view can be changed in the settings of the extension.
7171
- Update of the `patterns.json` file for better parsing of the ORCA output file.
72+
73+
## [0.4.2] - 2024-01-01
74+
75+
- Update of illustration figures in the README.

README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,39 @@ This extension provides a separate toggleable TOC view in the sidebar. The TOC v
1515

1616
The generated TOC view is a tree view with the titles of the headings in the ORCA output file and the corresponding line numbers. Clicking on a TOC entry will jump to the corresponding line in the ORCA output file.
1717

18+
![Outline Example](images/outline_example.png)
19+
1820
By default all the parent entries are collapsed. While navigating through the ORCA output file using the cursor, the TOC view will automatically highlight and expand the corresponding parent entries and highlight the corresponding child entry. Moving the cursor to a different line will automatically update the TOC view by highlighting and expanding the new parent entries and highlighting the new child entry, while collapsing the previous parent entries and removing the highlight from the previous child entry.
1921

20-
The collapsed status of the TOC view could also be changed by clicking the toggle arrow next to each parent entry. The manually changed collapsed status of the TOC view for each ORCA output file will be preserved when navigating between different ORCA output files.
22+
![Cursor Tracking Example](images/cursor_tracking_example.png)
2123

22-
Settings of this extension can be changed in the settings of VS Code (click on the gear icon in the bottom left corner of the VS Code window or press `Ctrl+,` on Windows or `Cmd+,` on Mac). The configuration options are listed under `Extensions` -> `ORCA_TOC`, or could be accessed by searching `ORCA_TOC` in the search bar of the settings window.
24+
The TOC view can also be triggered manually by running the command `orca_toc: Show ORCA Outline` from the command palette. On Windows, the command palette can be opened with `Ctrl+Shift+P`, on Mac it is `Cmd+Shift+P`. The TOC view is automatically updated when navigating to a different ORCA output file, or when an ORCA output file is opened.
2325

24-
![Outline Example](images/outline_example.png)
26+
![Command Palette Example](images/command_palette_example.png)
2527

26-
![Outline Example Expanded](images/outline_example_expanded.png)
28+
The collapsed status of the TOC view could also be changed by clicking the toggle arrow next to each parent entry. The manually changed collapsed status of the TOC view for each ORCA output file will be preserved when navigating between different ORCA output files. To toggle the collapsed status of all the parent entries, please use the command `orca_toc: Toggle Collapse/Expand All TOC Entries` from the command palette.
2729

28-
The TOC view can also be triggered manually by running the command `orca_toc: Show ORCA Outline` from the command palette. On Windows, the command palette can be opened with `Ctrl+Shift+P`, on Mac it is `Cmd+Shift+P`. The TOC view is automatically updated when navigating to a different ORCA output file, or when an ORCA output file is opened.
30+
![Toggle Collapse/Expand Example](images/toggle_collapse_expand_example.png)
2931

30-
![Command Palette Example](images/command_palette_example.png)
32+
This plugin also provides syntax highlighting for the ORCA output file, including the headings, separation lines, numbers, and keywords, etc. The display of the syntax highlighting varies with different themes. Dark themes are recommended for better display of the syntax highlighting. To temporarily disable the syntax highlighting, please use the command `Change Language Mode` from the command palette and select `Plain Text`. To switch back to the syntax highlighting, please use the command `Change Language Mode` from the command palette and select `Auto Detect` or `ORCA-output`. Please note that the effect of the syntax highlighting is highly dependent on the theme that you are using. In all the screenshots in this README, the theme used is `One Dark Pro Darker` (See [here](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) for more details).
3133

32-
This plugin also provides syntax highlighting for the ORCA output file, including the headings, separation lines, numbers, and keywords, etc. The display of the syntax highlighting varies with different themes. Dark themes are recommended for better display of the syntax highlighting. To temporarily disable the syntax highlighting, please use the command `Change Language Mode` from the command palette and select `Plain Text`. To switch back to the syntax highlighting, please use the command `Change Language Mode` from the command palette and select `Auto Detect` or `ORCA-output`.
34+
![Syntax Highlighting Example](images/syntax_highlighting_example.png)
3335

3436
## Requirements
3537

3638
N/A
3739

3840
## Extension Settings
3941

40-
The current version (0.4.0) enables changing the default status of the toggleable TOC view. The default collapsed status of the TOC view can be changed in the settings of the extension. The default value is `true`, which means that the TOC view is collapsed by default. The TOC view can be expanded by clicking the toggle arrow next to each parent entry.
42+
Settings of this extension can be changed in the settings of VS Code (click on the gear icon in the bottom left corner of the VS Code window or press `Ctrl+,` on Windows or `Cmd+,` on Mac). The configuration options are listed under `Extensions` -> `ORCA_TOC`, or could be accessed by searching `ORCA_TOC` in the search bar of the settings window.
4143

42-
![Setting: Collapse TOC view by default](images/setting_collapse_status.png)
44+
The current version (0.4.2) enables changing the default status of the toggleable TOC view. The default collapsed status of the TOC view can be changed in the settings of the extension. The default value is `true`, which means that the TOC view is collapsed by default. The TOC view can be expanded by clicking the toggle arrow next to each parent entry.
4345

44-
The current version (0.4.0) enables changing the highlight symbols for the TOC entries. The default highlight symbol is 'circle-large-filled'.
46+
The current version (0.4.2) enables changing the highlight symbols for the TOC entries. The default highlight symbol is 'circle-large-filled'.
4547
For a list of available highlight symbols, please see [here](https://code.visualstudio.com/api/references/icons-in-labels#icon-listing).
4648

49+
![Settings Example](images/settings_example.png)
50+
4751
## Issues and Important Notes
4852

4953
- Due to the memory limit of VS Code for large files, could not process files larger than 50MB automatically. This is because the VS Code restricts the size of the `activeEditor` to 50MB, which prevents the extension from getting the contents of the opened ORCA output file. For more details, check the current open issue on Github [#31078](https://github.com/Microsoft/vscode/issues/31078).
@@ -62,10 +66,9 @@ For a list of available highlight symbols, please see [here](https://code.visual
6266

6367
For detailed release notes, please see [CHANGELOG.md](CHANGELOG.md).
6468

65-
### 0.4.1
69+
### 0.4.2
6670

67-
- Added command `orca_toc: Toggle Collapse/Expand All TOC Entries` to toggle collapse/expand all TOC entries at once. The collapsed status of the TOC view will be preserved when navigating between different ORCA output files. The default collapsed status of the TOC view can be changed in the settings of the extension.
68-
- Update of the `patterns.json` file for better parsing of the ORCA output file.
71+
- update of illustration figures in this README
6972

7073
## TODO
7174

images/command_palette_example.png

255 KB
Loading

images/cursor_tracking_example.png

533 KB
Loading

images/outline_example.png

158 KB
Loading

images/settings_example.png

178 KB
Loading
547 KB
Loading
890 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "orcatoc",
33
"displayName": "orca_toc",
44
"description": "Provides an outline for ORCA files in the VS Code sidebar.",
5-
"version": "0.4.1",
5+
"version": "0.4.2",
66
"engines": {
77
"vscode": "^1.82.0"
88
},

0 commit comments

Comments
 (0)