ControlPlane is a plugin for IntelliJ IDEA that streamlines your workflow by allowing you to checkout GitLab projects directly from a custom toolbox. The plugin interacts with the GitLab API to display a list of all available projects in your GitLab instance. With its integrated search functionality, you can easily find and select a project for checkout.
Please be aware that during the checkout process, specific directories in opened project will be automatically replaced without any prompts or confirmation messages. This behavior is designed for efficient file handling within the system. This means any uncommitted changes in these directories may be lost. Before performing a checkout, ensure that all important modifications have been properly saved, committed, or backed up elsewhere. Remember to always commit or stash your changes to prevent any loss of work.
- Direct access to your GitLab projects within IntelliJ IDEA.
- Checkout functionality that allows you to clone GitLab projects directly from the custom toolbox.
- Search functionality to find specific projects quickly.
- Configurable GitLab API base URL and GitLab token.
ControlPlane can be installed from JetBrains Marketplace:
- In IntelliJ IDEA, go to
File -> Settings
(orIntelliJ IDEA -> Preferences
for macOS). - Navigate to
Plugins
. - Click
Marketplace
. - Search for "ControlPlane".
- Click
Install
.
Alternatively, you can download ControlPlane as a .jar file from the JetBrains Marketplace website and install it manually via File -> Settings -> Plugins -> Install Plugin from Disk
.
Before you can use ControlPlane, you need to configure your GitLab API base URL and GitLab token:
- Go to
File -> Settings -> Tools -> ControlPlane
. - Enter your GitLab token and GitLab API base URL. The GitLab API base URL is typically
https://<your-gitlab-instance>/api/v4/projects
. - Click
OK
.
After installation and configuration, a new tool window named "ControlPlane" will appear in IntelliJ IDEA.
To use ControlPlane:
- Open the "ControlPlane" tool window.
- If the project list is not already loaded, click
Refresh
. - Use the search bar to find a specific project (optional).
- Click a project from the list. ControlPlane will then checkout the Git repository in your current project's base directory.
ControlPlane is released under the MIT License.
If you encounter any issues or have any questions, please create a new issue on the ControlPlane's GitHub page.
Contributions to ControlPlane are welcome! Please see the CONTRIBUTING.md file for more details.
Note: The CONTRIBUTING.md file mentioned in the Contributing section is optional and would need to be created separately if you want to include it. You might also want to consider adding screenshots of ControlPlane in action or specific examples of how to use it to further enhance the README.