Skip to content

Commit eb89f50

Browse files
committed
v0.0.8: Add .lin linearization output file support
1 parent 2861832 commit eb89f50

4 files changed

Lines changed: 12 additions & 5 deletions

File tree

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.8
4+
5+
- Added support for OpenFAST linearization output files (`.lin`)
6+
- Linearization file header lines (e.g. `Simulation time: 400.0 s`) are now recognized and highlighted as headings
7+
38
## 0.0.7
49

510
- Fixed inline `!` comment handling: parameter names inside `! ParameterName - description` style lines are now highlighted correctly while the description remains styled as a comment

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Unofficial VS Code extension for OpenFAST, ROSCO, and TurbSim input and output f
66

77
## Features
88

9-
- Syntax highlighting for OpenFAST-style text input files such as `.fst`, `.dat`, `.in`, `.inp`, `.out`, `.ipt`, `.ech`, `.wnd`, `.sum`, and `.bmi`
9+
- Syntax highlighting for OpenFAST-style text input files such as `.fst`, `.dat`, `.in`, `.inp`, `.out`, `.ipt`, `.ech`, `.wnd`, `.sum`, `.bmi`, and `.lin`
1010
- Support for common OpenFAST module files including AeroDyn, ElastoDyn, HydroDyn, InflowWind, MoorDyn, ServoDyn, SeaState, and related driver files
1111
- Support for ROSCO-style `DISCON.in` controller files
1212
- Support for TurbSim input files (`.inp`, and `.in`)

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "openfast-rosco-syntax-highlighting",
33
"displayName": "OpenFAST, ROSCO & TurbSim Syntax Highlighting",
44
"description": "Syntax highlighting for OpenFAST, ROSCO, and TurbSim input and output files in Visual Studio Code.",
5-
"version": "0.0.7",
5+
"version": "0.0.8",
66
"publisher": "SMI-Lab",
77
"repository": {
88
"type": "git",
@@ -50,7 +50,8 @@
5050
".ech",
5151
".wnd",
5252
".sum",
53-
".bmi"
53+
".bmi",
54+
".lin"
5455
],
5556
"configuration": "./language-configuration.json"
5657
}

syntaxes/openfast.tmLanguage.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"ech",
1212
"wnd",
1313
"sum",
14-
"bmi"
14+
"bmi",
15+
"lin"
1516
],
1617
"patterns": [
1718
{
@@ -85,7 +86,7 @@
8586
"patterns": [
8687
{
8788
"name": "markup.heading.openfast",
88-
"match": "^[A-Za-z][A-Za-z0-9 ,;()/_-]*:\\s+[^\t\r\n]+$"
89+
"match": "^\\s*[A-Za-z][A-Za-z0-9 ,;()/_?-]*:(?:\\s+[^\\t\\r\\n]*)?$"
8990
}
9091
]
9192
},

0 commit comments

Comments
 (0)