A Visual Studio Code extension providing deep integration with PTC Integrity (Windchill RV&S) Source Control Management (SCM) via the si CLI. This extension offers a modern, productive workflow for developers working with PTC-managed projects.
Features
SCM Integration: Registers a custom SCM provider in the Source Control view as "MyPTC".
Resource Groups: Displays files in groups: Conflicts, Modified Working Files, Out of Sync, and Non Members, each with colored custom SVG icons.
Contextual Actions: Right-click or command palette actions for Add to Project, Resynchronize, Check-in, Compare with Member Revision, and View Member History.
Change Package (CP) Workflow:
Status bar button shows a dropdown of available Change Packages (CPs) from si viewcps --fields=id,summary.
The dropdown always includes "" as the first/default item.
The currently selected CP is highlighted when the dropdown opens.
The selected CP is used in si add, si lock, and si ci commands (with --cpid=...) if not "".
The status bar tooltip always shows the selected CP's id and summary, or prompts to select a CP if none is chosen.
Command Execution: All si commands are run with the parent directory of the workspace as the working directory.
Automatic State Removal: Files are removed from their group after successful SCM actions.
Quick Diff: Compare working files with their member revision.
Robust Error Handling: User-friendly error messages for all SCM operations.
Usage
Open a folder managed by PTC Integrity in VS Code.
Open the Source Control view to see the "MyPTC" provider and resource groups.
Use the status bar CP button to select a Change Package for your work.
Use context menu or command palette actions to add, check in, resync, or compare files.
The selected CP is automatically used for relevant operations.
Requirements
PTC Integrity (Windchill RV&S) CLI (si) must be installed and available in your system PATH.
A workspace folder under PTC SCM control.
You must be logged in to PTC Integrity (Windchill RV&S) for all commands to work.