The fifth GoLand 2023.2 EAP construct is now out there!
You will get it through the Toolbox App, obtain it from our web site, use a snap package deal (for Ubuntu), or from inside GoLand, choose Test IDE updates for: Early Entry Program in Settings | Look & Conduct | System Settings | Updates.
Intention actions to replace dependencies in go.mod
We’ve added a number of intention actions and inspections that can assist you replace dependencies in go.mod
information quicker.
Now, while you open your go.mod
file, GoLand highlights outdated dependencies. You’ll be able to hover over the highlighted variations of a given package deal and use a quick-fix to replace it.
You can too replace all dependencies to their patches or newest main variations, and there’s an choice to replace solely direct dependencies.
The outdated dependencies are highlighted because of the Dependency replace out there inspection. We’ve additionally added two extra inspections:
- Deprecated dependency reveals deprecated dependencies in strikethrough textual content.
- Retracted dependency model reveals retracted model numbers in strikethrough textual content.
You’ll be able to handle these inspections, together with their scope and severity, in Settings / Preferences | Editor | Inspections | Go modules.
Model management programs
Choice to commit particular traces of code
GoLand 2023.2 EAP 5 introduces a extremely anticipated function to selectively commit particular components of code chunks. To carry out a partial commit, choose the traces inside a piece and name Embrace these traces into commit from the context menu. The chunk might be divided into particular person traces with the chosen ones highlighted. You’ll be able to add or exclude traces from the choice utilizing checkboxes or the context menu.
Docker
Preview of information inside Docker picture layers
It’s now straightforward to entry and preview the contents of a Docker picture layer within the Providers view. Choose the picture from the checklist, choose Present layers, and click on Analyze picture for extra info. You’ll be able to then view a listing of the information saved within the layer and simply open a specific file within the editor by right-clicking on the file and calling the Open File (or Obtain File for binaries) possibility.
Set Docker container to run as a Earlier than Launch job for run configurations
It’s now attainable to set a Docker run configuration to run earlier than one other configuration by designating it a Earlier than Launch job. The IDE will look forward to the container that’s at present operating to be wholesome, after which it’s going to launch the subsequent run configuration. To arrange a queue, first create a required Docker run configuration after which add it to the container through Modify choices | Add earlier than launch job | Run configuration.
Kubernetes
Help for a number of kubeconfig information inside a single mission
Now we have launched a brand new function that lets you arrange a number of kubeconfig information inside a single mission. This simplifies the expertise of dealing with a number of clusters or working with environments on totally different clusters in the identical mission. To set the information up, go to File | Settings | Construct, Execution, Deployment | Kubernetes.
Capability to view deployment logs
Now you can view logs for deployments in Kubernetes clusters from the Providers software window. Proper-click on Deployment within the tree after which choose Comply with Log or Obtain Log from the context menu.
That’s it for immediately! We’d love to listen to what you concentrate on the brand new options. Get in contact with us on Twitter, go away your feedback right here, open a difficulty in our tracker, or drop us a message within the Gophers Slack #goland channel. Thanks!
Subscribe to Weblog updates