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
Update documentation for features added since 0.8.0
Document the verify/run simulator integration, three-scope column
alignment with grid-array exclusions, well/group name completion,
boilerplate completion, and diagnostic quick fixes across the
extension README, DEVELOPMENT, and the demo video script.
- README: add formatting settings entry and Unreleased release notes
- DEVELOPMENT: refresh src module layout, builder test, build/sync scripts
- VIDEO-SCRIPT: add verify/run/PRT clip plus quick-fix and snippet takes
Copy file name to clipboardExpand all lines: vscode-extension/README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -379,6 +379,12 @@ you can override them per-workspace or per-folder.
379
379
| --- | --- | --- |
380
380
|`opm-flow.additionalFileExtensions`|`[]`| Extra file extensions (with or without a leading `.`) to open as OPM Flow on top of the built-in list. Useful for project-specific include-file conventions. Matched case-insensitively. Example: `[".myinc", "wellconv"]`. For one-off cases the VS Code-native `files.associations` setting still works too. |
381
381
382
+
### Formatting
383
+
384
+
| Setting | Default | Description |
385
+
| --- | --- | --- |
386
+
|`opm-flow.formatting.alignColumnsExcludedKeywords`|`[]`| Extra keywords to skip when aligning record columns. Names are upper-cased on read; matching is case-insensitive. Honoured by all three [Align Record Columns](#align-record-columns) commands, and *added* to the built-in deck-sweep defaults (per-cell grid/region arrays like `PORO`/`PERMX`/`COORD` and large `VFPPROD`/`VFPINJ` tables, which **Align … in Deck** already skips). |
387
+
382
388
### Simulator
383
389
384
390
Optional integration for the [Verify and Run](#verify-and-run-the-simulation-optional)
@@ -451,6 +457,20 @@ The language is registered as `opm-flow`.
451
457
452
458
### Unreleased
453
459
460
+
-**Align Record Columns at three scopes** — the alignment command is now split
461
+
into **Align Record Columns in Record** (the group under the cursor), **… in
462
+
File** (the whole document, or the selection), and **… in Deck** (follows the
463
+
`INCLUDE` chain, resolving `PATHS` aliases, and aligns every reachable file,
464
+
reporting the line/file counts). The deck sweep skips per-cell grid/region
465
+
arrays (`PORO`, `PERMX`, `COORD`, …) and large `VFPPROD`/`VFPINJ` tables by
466
+
default so `INCLUDE`d fixed-width files are not rewritten; the new
467
+
`opm-flow.formatting.alignColumnsExcludedKeywords` setting adds further
468
+
keywords to skip (honoured by all three commands).
469
+
-**Well / group name completion** — in a well- or group-name column (the
470
+
opm-common `WELL`/`GROUP` item family — `WCONPROD`, `WELOPEN`, `GCONPROD`,
471
+
`WEFAC`, …) the suggestion list offers the names the deck already declares:
472
+
well names from `WELSPECS`, and group names from `WELSPECS` and `GRUPTREE`,
473
+
gathered across the whole file.
454
474
-**Verify and run the simulation (optional)** — new **OPM Flow: Verify Deck
455
475
(dry run)** and **OPM Flow: Run Simulation** commands launch a locally
456
476
installed `flow` binary on the open deck in an integrated terminal. Verify uses
0 commit comments