Skip to content

Commit 7f96d9c

Browse files
committed
New Minor Release
Signed-off-by: Mike Lischke <[email protected]>
1 parent 38726af commit 7f96d9c

File tree

5 files changed

+33
-10
lines changed

5 files changed

+33
-10
lines changed

.vscodeignore

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
.vscode/**
2-
.vscode-test/**
3-
out/test/**
4-
test/**
5-
src/**
6-
images/**
1+
.vscode/
2+
.vscode-test/
3+
.github/
4+
tests/
5+
src/
6+
images/
7+
grammars/
8+
doc/
9+
coverage/
710
**/*.map
11+
12+
cspell.json
13+
jest.config.js
14+
readme.md
815
.gitignore
16+
.eslintignore
917
tsconfig.json
1018
typings/**
1119
**/.antlr

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"chiki",
1919
"citi",
2020
"debugadapter",
21+
"dendrogram",
2122
"deseret",
2223
"Deserialization",
2324
"duployan",

doc/graphical-visualizations.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This extension can create a number of graphical visualizations for you. All of them (except of the railroad/syntax diagram) share the same look and feel (they are all based on [D3.js](https://github.com/d3/d3)). You can press and hold the left mouse button in a free area in the graph and drag the mouse, to move the graph's view port. The mouse wheel or track pad can be used to zoom in and out. Certain graphs allow for additional actions, see below.
44

5-
All graphs also allow to export them to an SVG file (or in the case of the full RRD list, to an HTML file). The export will also copy the internal CSS file, as well as all custom CSS files you have specified for a graph type (in the settings). SVG files always use the light theme style colors, while the HTML output follows the currently set vscode theme.
5+
All graphs also allow to export them to an SVG file (and in the case of the full RRD list, also to an HTML file). The export will add the internal CSS file, as well as all custom CSS files you have specified for a graph type (in the settings) to the exported SVG. SVG files always use the light theme style colors, while the HTML output follows the currently set vscode theme.
66

77
## Railroad (aka. Syntax) Diagrams
88

@@ -22,5 +22,3 @@ In order to get an impression about the complexity of your grammar and visually
2222

2323
The more lines you see, the higher the rules interact with each other. You can hover with the mouse over a rule name and it will highlight all relationships for that rule (while the rest is faded out). Red lines are drawn to callers of that rule, green lines for those called by it. Hence many red lines means this is a rule used by many others and hence a good candidate for optimization. Many green lines however indicate a high complexity and you should perhaps refactor this rule into multiple smaller ones.
2424
>![](https://raw.githubusercontent.com/mike-lischke/vscode-antlr4/master/images/antlr4-11.png)
25-
26-

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"color": "#2789e1",
88
"theme": "dark"
99
},
10-
"version": "2.3.1",
10+
"version": "2.4.0",
1111
"publisher": "mike-lischke",
1212
"license": "SEE LICENSE IN License.txt",
1313
"repository": {

readme.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,23 @@ Bug fixing and what feels appealing to hack on.
6868

6969
## Release Notes
7070

71+
### 2.4.0
72+
73+
- Switched to a new TypeScript runtime (antlr4ng), which supports the latest features from ANTLR4 (e.g. case sensitive identifiers).
74+
- Fixed bug #195: Extension breaks if filename ends with Parser
75+
- Fixed bug #197: Use lexer token labels when generating tokens in debug console
76+
- Fixed bugs in the formatter (last token removal and wrong action with copy/paste).
77+
- Fixed a bug in the ATN graph renderer, where rule name + index were not properly updated, when navigating between rules.
78+
- Railroad diagrams received a big overhaul:
79+
- Updated to latest version of the generation script.
80+
- Added a button for exporting all diagrams in the all-rules list to individual SVG files.
81+
- Added a new option to specify a character length in a line, after which an path is wrapped. This is useful for long alternatives.
82+
- All CSS rules (including custom ones) are now inlined into exported SVG files, to avoid CSP problems.
83+
- The all-rules list can now be filtered by typing a regular expression and only the visible diagrams are exported.
84+
- A new option allows to strip out a part of rule names (e.g. a common `_SYMBOL` suffix), while rendering the SVG.
85+
7186
### 2.3.1
87+
7288
A bug fix release for even stricter content security policies in VS Code starting at version 1.73.
7389

7490
- Fixed bug #192: Broken Parse Tree Window on VSCode v1.73

0 commit comments

Comments
 (0)