This extension finds work items in polarion and add the title of the work item behind the item ID in any text. These texts are decorations in Code and do not interfere with the document itself.
A document will be updated on save or when changes the file that is viewed in Code.
After setup after any save expect the titles to be displayed like depicted below:
Hover over the text behind the line or on the item for a hover with more detailed info:
Right click on a work item name will enable the 'Open item in Polarion' option in this context menu.
Use the outline to quickly navigate to work items in the currently opened document.
Look for the messages that pop-up:
General information is always available in the status bar. which can be clicked to restart the polarion client.
More detailed info is printed in a newly added output channel:
Include if your extension adds any VS Code settings through the contributes.configuration
extension point.
For example:
This extension contributes the following settings:
Polarion.Username
: The polarion username to log inPolarion.Password
: The password for that userPolarion.Url
: The polarion url, f.e.: http://polarion2020.example.com/polarionPolarion.Project
: The polarion project IDPolarion.Prefix
: The ticket prefix without the -Polarion.Color
: The color for the texts that are addedPolarion.Hover
: Enables the hover menuPolarion.RefreshTime
: Time after which an item in cache is refreshed
The username and password can be saved in a separate file in .vscode with the name polarion.json. IF the file is present and valid, it will override the settings above.
Password is stored in plain text in settings.
Only the first work item is handled:
Added the refresh time setting and polarion.json configuration file.
Added time to workitem so they are retrieved again after a period of time. This helps when updating tickets or after a disconenction from polarion.
Initial test command added for getting the work item title
Added outline view.
Added hover menu with more work item info.
Added output channel for more detailed logs that are user accesible.
Added status bar item showing update progress. Nice for larger documents or slower servers.
Adding logo
Add editor context menu option. some error reporting in place.
Initial release with basic functionality and no tests