NEP Embedded Test System Extension for VS CodeA set of features for VS Code that speeds up development of sequence packages for the NEP Embedded Test System. Sequence File PreviewMuch like the built-in Markdown Preview extension, this one previews ETS Sequence Files. The goal is to provide an overview of the sequence file which takes less vertical space than the XML file does. Preview can be activated automatically (default false), via the Command Palette or by clicking the preview icon in the editor title menu (next to tabs). Most of the structure of this part of the extension is inspired by (stolen) from vscode-markdown-preview-enhanced. Many improvements can be made. Jump to Source LineJump to source can be achieved by either clicking the step title or by clicking the line number in the gutter. Editable FieldsMany fields in the preview are editable. Simply click them to change the value, click outside the field or press Enter / Esc to commit the change. Toggle BreakpointBy clicking in the gutter of the preview, to the left of the line number, breakpoints can be toggled for supported step types. Comments and DividersBy default, XML comments will be rendered in the preview. This can be disabled in settings. To logically separate parts of the sequence, use dividers by adding either Optional: Automatic Preview and Live UpdateIf enabled in settings, the Sequence File Preview will open automatically when a supported document is opened. If the source document is modified, the preview is updated in real-time. Sequence File Module Language Features SupportThe extension will parse the AutoCompleteAuto completion is supported by the Module tag. Start typing in a supported tag or invoke the keyboard shortcut for IntelliSense to get started. For Module Function the Parameter tags will be inserted automatically if none are already defined. Use the VS Code Command "Insert Module Function Parameters" to overwrite any already defined parameters. HoverHover defined values in the Module tag to see information from the Module's XML Documentation. DiagnosticsIf incorrect values are used in the Module tag, the extension will mark these lines with an error. The problems will also appear in the "Problems" pane. SnippetsTo accelerate the development of new sequence files, a couple of snippets have been added. This list may be outdated, for an up to date version have a look at
.csx Embedded Test Engine IntelliSenseThe extension will download the latest release (configurable) of the Embedded Test Engine from the MyGet feed and construct an .rsp file which allows the Requirements
Known Issues / Bug Fixes ToDo
RoadmapSuggestions of features:
DevelopmentStart by reading up on the documentation. Test the extension directly from VS Code by starting the debugger. ReleaseBefore making a new release, a Personal Access Token needs to be acquired from the NEP Azure DevOps organization. First request an invite to the organzation by an admin (Fredrik Karlsson / Fredrik Larsson), then follow the instructions. Skip the create publisher step and go directly to logging in with To make a new release:
|