Gherkin View
Shows Cucumber .feature files as living documentation with run results from Cucumber Messages reports
Gherkin View shows Cucumber .feature files as readable living documentation instead of plain text, and adds a table of contents of every feature file in the workspace.
Reading a feature file
Choose Gherkin when Paseo asks which panel should open a .feature file, or under Open with… in the tab menu. To make it the default, pick it in Settings > Chat & panes > Files. Installing the plugin does not change how .feature files open until you choose it.
The panel has three views:
- Document: the Feature, Background, Rules and Scenarios as cards, with Scenario Outline parameters highlighted and Examples shown as tables.
- Pickles: each Scenario Outline expanded into one scenario per Examples row, as Cucumber runs them.
- Source: the file with line numbers and keyword highlighting. Press Edit to change the text. Edits save about half a second after you stop typing. If the file changes on disk while you have unsaved edits, the panel asks whether to reload or overwrite.
Tag chips filter scenarios (any selected tag matches), cards collapse, and the toolbar counts scenarios and pickles. Localized keywords are supported, for example # language: ko. The panel follows changes made by agents while it is open. When the file has a syntax error, it shows the line and message and keeps the last valid version on screen.
Run results
When the workspace has a Cucumber Messages report (NDJSON, written by --format message:reports/cucumber.ndjson), the Gherkin panel marks each scenario and step as passed, failed, pending, undefined or skipped. Failed steps are shown in the danger color with a Show error button that expands the error message. A failed hook is shown on its scenario. In the Pickles view each Examples row has its own result.
Set where reports are found under Settings > Plugins > Gherkin View, in the Run results section. The default is reports/**/*.ndjson, relative to the workspace. When several reports match, the newest one that ran the file is used. The panel checks for new results every 5 seconds. If the report ran an older version of the file, its results are hidden until the tests run again. The Features panel shows each file's pickle counts by result from the same reports; it updates when the list refreshes, not every 5 seconds. Cucumber JSON and Behave reports are not supported.
Features panel
Features appears in the Explorer and can open as a workspace tab. The Command Center item Open Gherkin features opens it too. It lists the workspace's feature files by folder with scenario and pickle counts, shows every tag with the number of pickles that carry it, and searches Feature, Rule and Scenario names and paths. Selecting a file shows it read-only in the same panel. Files that fail to parse are listed with their error.
Data and limits
Files are read and parsed on the daemon machine with the official @cucumber/gherkin parser. Nothing is sent to outside services. The Features panel only reads .feature files inside the workspace directory. It skips hidden folders and node_modules, does not follow symbolic links, and stops at 2,000 files. Run results only read report files inside the workspace that match the setting; the glob cannot be absolute or contain .., and reports over 64 MB are skipped.
Files over 1 MB show only the Source view. There is no autocompletion, step definition lookup or linting, and the plugin does not run tests. Requires Paseo 0.13.0 or later.


