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
- 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.
- Update of the `patterns.json` file for better parsing of the ORCA output file.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,3 +64,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
64
64
- Added cursor position tracking for the ORCA output file. The TOC view will automatically highlight and expand the corresponding TOC entry when the user is navigating through the ORCA output file based on the current line number. The highlight and expand status of the TOC view will be updated when the user is moving the cursor to a different line in the ORCA output file.
65
65
- Added support for changing the highlight symbols for the TOC entries.
66
66
- Added support for saving the collapsed status of the TOC view in the settings of the extension. When navigating to different ORCA output files, the TOC view status for each file will be restored.
67
+
68
+
## [0.4.1] - 2023-12-30
69
+
70
+
- 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.
71
+
- Update of the `patterns.json` file for better parsing of the ORCA output file.
Copy file name to clipboardExpand all lines: README.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,13 @@ By default all the parent entries are collapsed. While navigating through the OR
19
19
20
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.
21
21
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.
23
+
22
24

23
25
24
26

25
27
26
-
The TOC view can also be triggered manually by running the command `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.
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.
@@ -48,7 +50,7 @@ For a list of available highlight symbols, please see [here](https://code.visual
48
50
49
51
- If you have very large ORCA output files, please first consider splitting them into smaller chunks or remove the parts that are not needed (for example full print of the MOs).
50
52
51
-
-:warning: For large ORCA output files, The current solution is using the `FileSystemProvider` API to read the contents of the ORCA output file directly from the file system. This will allow the extension to parse ORCA output files that are larger than 50MB. please use the command `Show ORCA Outline External` from the command palette and load the large ORCA output file manually from your file system. The loaded ORCA output file will be displayed in a new tab in the editor of the current VS Code window, with a :lock: symbol at the end of the file name. This is because the file is read-only and cannot be modified. The TOC view will be automatically populated with the contents of this ORCA output file.
53
+
-:warning: For large ORCA output files, The current solution is using the `FileSystemProvider` API to read the contents of the ORCA output file directly from the file system. This will allow the extension to parse ORCA output files that are larger than 50MB. please use the command `orca_toc: Show ORCA Outline External` from the command palette and load the large ORCA output file manually from your file system. The loaded ORCA output file will be displayed in a new tab in the editor of the current VS Code window, with a :lock: symbol at the end of the file name. This is because the file is read-only and cannot be modified. The TOC view will be automatically populated with the contents of this ORCA output file.
52
54
53
55
-:construction: A known issue is that clicking the heading titles in the `ORCA FILE OUTLINE` view for large ORCA output files will not navigate to the corresponding line in the opened tab. Instead a new tab with the same name file name will pop up, showing identical contents and TOC view at the respective line. This bug will be fixed in a future release.
54
56
@@ -60,11 +62,10 @@ For a list of available highlight symbols, please see [here](https://code.visual
60
62
61
63
For detailed release notes, please see [CHANGELOG.md](CHANGELOG.md).
62
64
63
-
### 0.4.0
65
+
### 0.4.1
64
66
65
-
- Added cursor position tracking for the ORCA output file. The TOC view will automatically highlight and expand the corresponding TOC entry when the user is navigating through the ORCA output file based on the current line number. The highlight and expand status of the TOC view will be updated when the user is moving the cursor to a different line in the ORCA output file.
66
-
- Added support for changing the highlight symbols for the TOC entries.
67
-
- Added support for saving the collapsed status of the TOC view in the settings of the extension. When navigating to different ORCA output files, the TOC view status for each file will be restored.
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.
68
69
69
70
## TODO
70
71
@@ -73,15 +74,12 @@ For detailed release notes, please see [CHANGELOG.md](CHANGELOG.md).
73
74
-[x] Add support for the `ORCA FILE OUTLINE` view to automatically scroll to the current line in the ORCA output file.
74
75
-[x] Syntax highliting for the ORCA output file based on the TOC entries.
75
76
-[x] Add settings for enabling/disabling the syntax highlighting for the ORCA output file.
76
-
-[] Add command for unfold/fold all TOC entries
77
+
-[x] Add command for toggle collapse/expand the TOC view.
77
78
-[x] Add option to choose different highlight symbols for the TOC entries
78
79
-[ ] Update illustration figures in this README
79
-
80
-
## Roadmap
81
-
82
-
The current version represents an early release of this extension.
83
-
84
-
An important feature that will be added in the next major release is to enable the scrolling of the `ORCA FILE OUTLINE` view to the current line in the ORCA output file. This will be useful when the ORCA output file is very long and the user is navigating through the file. The `ORCA FILE OUTLINE` view will automatically scroll to the current line in the ORCA output file.
80
+
-[ ] Update the `orca.tmLanguage.json` file to include more syntax definitions for the ORCA output file
81
+
-[ ] Update the `patterns.json` file to include more regular expressions for parsing the ORCA output file
82
+
-[ ] Update the `keywords.json` file to include more keywords for replacing the matched text
// Check if the element has children and set the collapsible state accordingly based on the highlighted state, isExpanded state, or the default collapsed state
55
-
if(element.children&&element.children.length>0){
56
-
// Check if an expanded state has been set, otherwise use the default, or set to expanded if highlighted
0 commit comments