Right-click the parent folder of a project, and select New | Go File.Ĭlick the parent folder of a project, press Alt+Insert, and select Go File.Ĭlick the parent folder of a project, navigate to File | New | Go File. To create a Go file, perform one of the following actions: Read more about environment variables in the Environment variables section.Ī new project has no Go files. For example, the GOPROXY environment variable. (Optional) In the Environment field, specify environment variables that you need for your project. (Optional) Select or clear the Enable vendoring support automatically checkbox. To change or install a new version of Go SDK, click the Add SDK… button and select Local… to choose the Go SDK version on your hard drive, or select Download… to download Go SDK from the official repository. Usually, the location is defined automatically. In the GOROOT field, specify the location of your Go installation. In the New Project dialog, select Go from the list of available projects. Create a project with Go modules integrationĪlternatively, click New Project in the Welcome to GoLand dialog. For more information about installing plugins, read Plugins. To use other version control systems, install a corresponding plugin. Click OK.įor more information about version control systems, refer to Version control. To use a file browser, click the Browse icon. In the Location field, specify the path for the SDK. In the file browser, navigate to the SDK version that is on your hard drive.ĭownload…: download the SDK. Click the AddSDK() button and select between two options:Īdd SDK…: use a local SDK copy. To set the Go SDK, open settings Control+Alt+S and navigate to Go | GOROOT. You can specify a local path to the SDK or download it. Enter a path to the sources and clone the repository to your computer.Īfter you have opened your project, you need to specify the location of the Go SDK. To check out files from Mercurial, install and configure Mercurial and restart GoLand. Enter your GitHub credentials and grant access to your GitHub account. You will be redirected to where you need to click Authorize in GitHub. To check out files from GitHub, select GitHub and click Log In via GitHub…. In the Welcome to GoLand dialog, click Get from Version Control.įrom the Version Control list, select Git or Mercurial: In the file browser, navigate to a folder with project files and click Open….Ĭlone an existing project from a Version Control System ![]() ![]() In the Welcome to GoLand dialog, click Open. You have three options to start working on a project inside the IDE:Ĭheck out a project from the Version Control System (VCS) It serves as a basis for coding assistance, bulk refactoring, coding style consistency, and other features. Everything you do in GoLand is done within the context of a project. Open or create a Go project in GoLandĪfter you have installed GoLand and launched it for the first time, you need to create a project. ![]() This quick start guide will introduce you to the key concepts and help you with your first steps in GoLand.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |