Skip to content

Commit fdf275e

Browse files
committed
v0.0.3: Improve .out file highlighting for description header lines
1 parent 8e03123 commit fdf275e

4 files changed

Lines changed: 21 additions & 5 deletions

File tree

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
*.vsix
22

3-
# Large simulation output/binary files
4-
*.out
5-
*.dbg
6-
*.bts
3+
# OpenFAST sample data and reference files
4+
IEA-15-240-RWT/
5+
IEA-15-240-RWT-UMaineSemi/
6+
openfast_udl.xml

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.0.3
4+
5+
- Improved highlighting for OpenFAST output (`.out`) files
6+
- Added recognition of output file description/metadata header lines (e.g. `Description from the FAST input file: ...`)
7+
38
## 0.0.2
49

510
- Added VTK parameter keywords: `WrVTK`, `VTK_type`, `VTK_fields`, `VTK_fps`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "openfast-rosco-syntax-highlighting",
33
"displayName": "OpenFAST & ROSCO Syntax Highlighting",
44
"description": "Syntax highlighting for OpenFAST input files and ROSCO controller input files in Visual Studio Code.",
5-
"version": "0.0.2",
5+
"version": "0.0.3",
66
"publisher": "SMI-Lab",
77
"repository": {
88
"type": "git",

syntaxes/openfast.tmLanguage.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
{
1818
"include": "#file-opening"
1919
},
20+
{
21+
"include": "#output-header-line"
22+
},
2023
{
2124
"include": "#full-line-comments"
2225
},
@@ -78,6 +81,14 @@
7881
}
7982
]
8083
},
84+
"output-header-line": {
85+
"patterns": [
86+
{
87+
"name": "markup.heading.openfast",
88+
"match": "^[A-Za-z][A-Za-z0-9 ,;()/_-]*:\\s+[^\t\r\n]+$"
89+
}
90+
]
91+
},
8192
"full-line-comments": {
8293
"patterns": [
8394
{

0 commit comments

Comments
 (0)