Introduction
ScriptRunner recommends using Visual Studio Code (VSC) for script creation and editing.
VSC is a free, cross-platform source code editor from Microsoft that has become one of the most popular tools for software developers in recent years. It combines the speed of a lightweight editor with many of the features of an integrated development environment (IDE).
One of VSC's greatest strengths is its extensive Marketplace. Thousands of extensions make it possible to integrate additional programming languages, frameworks, cloud services, and tools. Whether working with PowerShell, Python, or JavaScript, VSC can be customized to meet specific requirements.
VSC combines usability, performance, and flexibility in a powerful tool. Thanks to its wide range of extensions, integrated development tools, and support for modern technologies, VSC is suitable for both beginners and experienced developers.
Useful Extensions for Script Development
First and foremost, the PowerShell extension should be installed. Developers who prefer a different user interface language can install the corresponding language pack.
When it comes to Git extensions, there is a wide range of options available. ScriptRunner and many of its customers have had positive experiences with the Git Graph extension.
Additional helpful extensions can be installed for JSON, SQL, and similar technologies.
Git Graph for Visual Studio Code
Git Graph is an extension that displays Git repositories in a clear, graphical interface. It simplifies working with Git by presenting important version-control information visually and making commonly used Git operations available directly within VSC.
The extension displays commit history as a graph, making it easy to understand the relationships between branches, commits, and merges. This is particularly useful when working on projects with multiple developers or complex branch structures.
Key features of Git Graph include:
- Key features of Git Graph include:
- Graphical visualization of commit history
- Support for multiple repositories within a workspace
- Viewing and comparing branches, tags, and commits
- Creating, renaming, and deleting branches
- Merging branches
- Creating and managing tags
- Viewing commit details and file changes
- Performing pull, push, and fetch operations directly from the interface
Its intuitive user interface allows many Git actions to be performed without using the command line. As a result, Git Graph is suitable for both beginners and experienced developers who want to make their Git workflows more efficient.
Working with VSC and Git Graph
Before the extension can be used, Git must be installed on the workstation.
After Git has been installed, the required repositories are cloned into a local folder. This folder is then opened in VSC. Git Graph automatically detects the cloned repositories and supports the entire development process with a clear visualization of branches, commits, and merges.
Changes are first staged for commit. A commit is then created with a meaningful description and pushed to the central repository.
Git Graph supports working with multiple repositories and branches simultaneously. The graphical representation provides a quick overview of the current development status and the relationships between individual branches.
Branches can be managed directly through Git Graph. This includes creating new branches, merging changes, and deleting branches that are no longer needed. Many Git operations can therefore be performed conveniently through the user interface without having to use the command line.
Conclusion
Git Graph extends Visual Studio Code with a powerful graphical interface for Git. The extension provides a quick overview of project history and simplifies the management of branches, commits, and merges. This makes everyday work with Git significantly more convenient and transparent.
Note
Working with the ScriptRunner extension in VS Code is not described in this article. The ScriptRunner extension works directly with the ScriptRunner repository, which must be available on a storage device for this purpose.
Further information can be found in the ScriptRunner documentation:
· Visual Studio Code Extension Documentation
Would you like to discuss your specific use case and see ScriptRunner live in action? Then book a demo today!

