Skip to content

Feature: Replace global OFT scan with specialized run configuration templates #61

Description

@redcatbear

Description

Remove the redundant global OpenFastTrace scan menu and provide specialized run configuration templates to allow users to quickly set up common scanning scenarios.

Scope

  • Remove the 'Trace Project' action and its associated 'OpenFastTrace' menu group from the IntelliJ 'Tools' menu.
  • Introduce the following pre-configured run configuration templates in the 'Add New Configuration' menu:
    • User requirements: Scans doc/, excludes source directories, filters for artifact types: feat, req, scn, bconstr.
    • Design and down: Scans doc/, excludes source directories, filters for artifact types: feat, req, scn, bconstr, arch, dsn, constr, bld.
    • Typical project: Scans doc/ and all project source directories, with no artifact type filtering.
    • Unfiltered: Scans the entire project (.) with no filters.
  • Ensure each template is discoverable as a sub-item under the 'OpenFastTrace' run configuration type.

Motivation

The current global 'Trace Project' menu is redundant and offers limited configuration. By integrating these scenarios directly into the IntelliJ run configuration mechanism as templates, users get a more discoverable and powerful way to start OpenFastTrace with the appropriate scope and filters for their current task.

Technical Notes

  • Leverage the IntelliJ ConfigurationFactory mechanism to provide multiple factories for the OftRunConfigurationType.
  • Update OftRunConfigurationFactory to support initialization with specific settings.
  • Clean up plugin.xml by removing the Oft.ToolsMenu action group.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions