VS Code ClearCase
This repository contains the extension for IBM Rational ClearCase SCM for the VS Code editor.
Features
Clearcase commands exposed by this extensions:
* Launch ClearCase Explorer
* Checkout
* Checkin
* Undo Checkout
* Version Tree
* Compare with previous version
* Find Checkouts
* Find modified files
* Update snapshot
* Item Properties
* Annotate
* Set current Activity
* Remote Cleartool Client
GUI
Automatically checkout on save if file isn't checked out.
Show view private and checkedout files in SCM view
Show version of current file in the status bar. This can be disabled via the user setting
vscode-clearcase.showVersionInStatusbar = false
Annotate code lens is customizable via these user settings
vscode-clearcase.annotationColor = rgba(220, 220, 220, 0.8)
vscode-clearcase.annotationBackgroundColor = rgba(20, 20, 20, 0.8)
vscode-clearcase.annotationFormatString = "%d %12u"
Format string is documented at https://www.ibm.com/support/knowledgecenter/SSSH27_8.0.0/com.ibm.rational.clearcase.cc_ref.doc/topics/fmt_ccase.htm
Syntax highlighting for ClearCase config-spec files
It is possible to use the remote cleartool client with VSCode. To activate, set the configuration vscode-clearcase.remoteCleartool.enable
to true
. With that set, insert the username to vscode-clearcase.remoteCleartool.webviewUsername
. When connecting to the server, the password will be requested. It is stored as long as the VSCode window lives. Alternatively there is a setting for storing the password in the configuration vscode-clearcase.remoteCleartool.webviewPassword
.
WSL
You can use this extenion in a WSL environment and a windows clearcase installation. Just make sure the configured executeable is the windows one (this is the default). The second important setting is the tempDir value. If you use a windows cleartool binary the temp dir needs to be a windows style path as already set by default. This path needs to be reachable by the windows cleartool executable. Therefor it is not possible to use a wsl linux only path like /tmp/
.
If the above settings are correct everything else is handled by the extension transparantly.
Requirements
A valid ClearCase installation within the system's PATH or a valid executable path setup in the extension preferences value.
License
MIT