Add German translation for chapter 1
This commit is contained in:
248
de/01.4.md
248
de/01.4.md
@@ -1,66 +1,65 @@
|
||||
# Go development tools
|
||||
# Go Entwicklungswerkzeuge
|
||||
|
||||
In this section, I'm going to show you a few IDEs that can help you become a more efficient programmer, with capabilities such as intelligent code completion and auto-formatting. They are all cross-platform, so the steps I will be showing you should not be very different, even if you are not using the same operating system.
|
||||
In diesem Abschnitt werde ich Dir ein paar IDEs (***Integrated Developement Environments***) vorstellen, die Dir mit Funktionen wie intelligenter Codevervollständigung und automatischer Formatierung dabei helfen, effizienter zu programmieren. Alle Entwicklungsumgebungen sind plattformunabhängig, sodass die hier gezeigten Schritte nicht sehr verschieden seien sollten, auch wenn Du ein anderes Betriebssystem nutzt.
|
||||
|
||||
## LiteIDE
|
||||
|
||||
LiteIDE is an open source, lightweight IDE for developing Go projects only, developed by visualfc.
|
||||
LiteIDE ist eine leichtgewichtige IDE, die open source ist und einzig für die Go Programmierung gedacht ist. Entwickelt wurde sie von visualfc.
|
||||
|
||||

|
||||
|
||||
Figure 1.4 Main panel of LiteIDE
|
||||
Abbildung 1.4 Startansicht von LiteIDE
|
||||
|
||||
LiteIDE features.
|
||||
LiteIDEs Merkmale.
|
||||
|
||||
- Cross-platform
|
||||
- Plattformunaghängigkeit
|
||||
- Windows
|
||||
- Linux
|
||||
- Mac OS
|
||||
- Cross-compile
|
||||
- Manage multiple compile environments
|
||||
- Supports cross-compilation of Go
|
||||
- Project management standard
|
||||
- Documentation view based on $GOPATH
|
||||
- Compilation system based on $GOPATH
|
||||
- API documentation index based on $GOPATH
|
||||
- Go source code editor
|
||||
- Code outlining
|
||||
- Full support of gocode
|
||||
- Go documentation view and API index
|
||||
- View code expression using `F1`
|
||||
- Function declaration jump using `F2`
|
||||
- Gdb support
|
||||
- Auto-format with `gofmt`
|
||||
- Others
|
||||
- Multi-language
|
||||
- Plugin system
|
||||
- Text editor themes
|
||||
- Syntax support based on Kate
|
||||
- intelligent completion based on full-text
|
||||
- Customized shortcuts
|
||||
- Markdown support
|
||||
- Real-time preview
|
||||
- Customized CSS
|
||||
- Export HTML and PDF
|
||||
- Convert and merge to HTML and PDF
|
||||
- Plattformübergreifende Kompilierung
|
||||
- Verwalte mehrere Kompilierungsumgebungen
|
||||
- Unterstützt die plattformübergreifende Kompilierung von Go-Code
|
||||
- Standardisiertes Projektmanagement
|
||||
- Dokumentationsansicht basiert auf $GOPATH
|
||||
- Kompilierungsystem basiert auf $GOPATH
|
||||
- Index der API-Dokumentation basiert auf $GOPATH
|
||||
- Go Quellcode Editor
|
||||
- Umschreibung von Code
|
||||
- Vollständige Unterstützung von gocode
|
||||
- Anzeige der Go Dokumentation und ein API Index
|
||||
- Hilfe zu Codefragmenten durch `F1`
|
||||
- Aufrufen von Funktionsdeklerationen durch `F2`
|
||||
- Gdb Unterstützung
|
||||
- Automatische Formatierung durch `gofmt`
|
||||
- Anderes
|
||||
- Mehrsprachig
|
||||
- Plugin System
|
||||
- Texteditor Themes
|
||||
- Farbliche Syntaxhervorhebung basierend auf Kate
|
||||
- Intelligente Autovervollständigung basierend auf einer Volltext-Suche
|
||||
- Personalisierbare Tastenkürzel
|
||||
- Markdown Unterstützung
|
||||
- Echtzeit Vorschau
|
||||
- Personalisierbares CSS
|
||||
- Exportoptioen zu HTML und PDF
|
||||
- Konvertierung and Zusammenführung zu HTML und PDF
|
||||
|
||||
### LiteIDE installation
|
||||
### LiteIDE Instalation
|
||||
|
||||
- Install LiteIDE
|
||||
- [Download page](http://code.google.com/p/golangide)
|
||||
- [Source code](https://github.com/visualfc/liteide)
|
||||
- Installiere LiteIDE
|
||||
- [Lade LiteIDE herunter](http://code.google.com/p/golangide)
|
||||
- [Quellcode](https://github.com/visualfc/liteide)
|
||||
|
||||
You need to install Go first, then download the version appropriate for your operating system. Decompress the package to directly use it.
|
||||
- Install gocode
|
||||
Du musst Go zuerst installieren. Lade dafür die entsprechende Version für Dein Betriebssystem herunter. Entpacke das Archiv um es Programm direkt auszuführen.
|
||||
- Installiere gocode
|
||||
|
||||
You have to install gocode in order to use intelligent completion
|
||||
Im nächsten Schritt muss gocode installiert werden, um die intelligente Autovervollständigung zu nutzen.
|
||||
|
||||
go get -u github.com/nsf/gocode
|
||||
|
||||
- Compilation environment
|
||||
- Kompilierungsumgebung
|
||||
|
||||
Switch configuration in LiteIDE to suit your operating system.
|
||||
In Windows and using the 64-bit version of Go, you should choose win64 as the configuration environment in the tool bar. Then, choose `opinion`, find `LiteEnv` in the left list and open file `win64.env` in the right list.
|
||||
Passe die Einstellungen von LiteIDE Deinen Betriebssystem entprechend an. Unter Windows mit der 64-Bit Variante von Go solltest Du win64 als Umgebung in der Symbolleiste auswählen. Dann wähle `opinion`, finde `LiteEnv` in der Liste auf der linken Seiten und öffne die Datei `win64.env` in der Liste zu Deiner Rechten.
|
||||
|
||||
GOROOT=c:\go
|
||||
GOBIN=
|
||||
@@ -71,9 +70,9 @@ LiteIDE features.
|
||||
PATH=%GOBIN%;%GOROOT%\bin;%PATH%
|
||||
。。。
|
||||
|
||||
Replace `GOROOT=c:\go` to your Go installation path, save it. If you have MinGW64, add `c:\MinGW64\bin` to your path environment variable for `cgo` support.
|
||||
|
||||
In Linux and using the 64-bit version of Go, you should choose linux64 as the configuration environment in the tool bar. Then, choose `opinion`, find `LiteEnv` in the left list and open the `linux64.env` file in the right list.
|
||||
Ersetze `GOROOT=c:\go` mit Deinem Installationspfad von Go und speichere. Wenn Du MinGW64 nutzt, füge `C:\MinGW64\bin` der $PATH-Umgebungsvariable hinzu, um `cgo` starten zu können.
|
||||
|
||||
Unter Linux mit einer 64-Bit Variante von Go, solltest Du linux64 als Umgebung in der Symbolleiste auswählen. Dann wähle `opinion`, finde `LiteEnv` in der Liste auf der linken Seiten und öffne die Datei `linux64.env` in der Liste zu Deiner Rechten.
|
||||
|
||||
GOROOT=$HOME/go
|
||||
GOBIN=
|
||||
@@ -84,78 +83,79 @@ LiteIDE features.
|
||||
PATH=$GOBIN:$GOROOT/bin:$PATH
|
||||
。。。
|
||||
|
||||
Replace `GOROOT=$HOME/go` to your Go installation path, save it.
|
||||
Ersetzte `GOROOT=$HOME/go` mit Deinem Installationspfad von Go und speichere.
|
||||
- $GOPATH
|
||||
$GOPATH is the path that contains a list of projects. Open the command tool (or press ``Ctrl+` ``in LiteIDE), then type `go help gopath` for more details.
|
||||
It's very easy to view and change $GOPATH in LiteIDE. Follow `View - Setup GOPATH` to view and change these values.
|
||||
$GOPATH ist ein Pfad, der eine Liste von allen Go-Projekten umfasst. Öffne die Kommandozeile (oder drücke `Ctrl+` in LiteIDE) und gib dann `go help gopath` ein, um mehr Details einzusehen. In LiteIDE ist es sehr einfach, den $GOPATH einzusehen und ihn zu verändern. Folge `View - Setup GOPATH`, um dies zu tun.
|
||||
|
||||
## Sublime Text
|
||||
|
||||
Here I'm going to introduce you the Sublime Text 2 (Sublime for short) + GoSublime + gocode + MarGo. Let me explain why.
|
||||
Nun möchte ich dir Sublime Text 2 (oder einfach Sublime) in Kombination mit den Plugins GoSublime, gocode und MarGo vorstellen. Lass mich erklären, warum.
|
||||
|
||||
- Intelligent completion
|
||||
- Intelligente Autovervollständigung
|
||||
|
||||

|
||||
|
||||
Figure 1.5 Sublime intelligent completion
|
||||
- Auto-format source files
|
||||
- Project management
|
||||
Abbildung 1.5 Sublimes intelligente Autovervollständigung
|
||||
- Automatische Formatierung des Quellcodes
|
||||
- Unterstützung für Projektmanagement
|
||||
|
||||

|
||||
|
||||
Figure 1.6 Sublime project management
|
||||
Abbildung 1.6 Projektmanagement in Sublime
|
||||
|
||||
- Syntax highlight
|
||||
- Free trial forever with no functional limitations. You may be prompted once in a while to remind you to purchase a license, but you can simply ignore it if you wish. Of course, if you do find that it enhances your productivity and you really enjoy using it, please purchase a copy of it and support its continued development!
|
||||
- Farbliche Hervorhebung des Synax
|
||||
- Es gibt eine Testversion ohne Einschränkungen der Funktionen. Es kann sein, dass Du nach einer Weile daran erinnert wirst, dass Du eine Lizenz kaufen sollest, aber Du kannst diese Meldung auch einfach ignorieren. Wenn Du aber glaubst, dass Sublime Dich produktiver macht und Du den Editor magst, solltest Du eine Lizenz kaufen, um die fortwährende Entwicklung zu unterstützen.
|
||||
|
||||
First, download the version of [Sublime](http://www.sublimetext.com/) suitable for your operating system.
|
||||
Zu aller erst solltest Du Dir eine für Dein Betriebssystem geeignete Version von [Sublime](http://www.sublimetext.com/) herunterladen.
|
||||
|
||||
1. Press ``Ctrl+` ``, open the command tool and input the following commands.
|
||||
1. Drücke ``Ctrl+` ``, öffne die Kommandozeile und füge folgenden Codesnippsel ein:
|
||||
|
||||
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'
|
||||
|
||||
Restart Sublime text when the installation has finished. You should then find a `Package Control` option in the "Preferences" menu.
|
||||
Starte Sublime Text nach der Installation neu. Nun solltest Du im Menü unter dem Reiter `Preferences` die Option `Package Control` vorfinden.
|
||||
|
||||

|
||||
|
||||
Figure 1.7 Sublime Package Control
|
||||
2. To install GoSublime, SidebarEnhancements and Go Build, press `Ctrl+Shift+p` to open Package Control, then type `pcip` (short for "Package Control: Install Package").
|
||||
Abbildung 1.7 Die Paketverwaltung von Sublime
|
||||
|
||||
2. Zur Installation von GoSublime, SidebarEnhancements und Go Build, drücke `Ctrl+Shift+p` um die Paketverwaltung aufzurüfen und gib `pcip` (Kurzform für "Package Control: Install Package") ein.
|
||||
|
||||

|
||||
|
||||
Figure 1.8 Sublime Install Packages
|
||||
Abbildung 1.8 Installation von Paketen in Sublime
|
||||
|
||||
Now type in "GoSublime", press OK to install the package, and repeat the same steps for installing SidebarEnhancements and Go Build. Once again, restart the editor when it completes the installation.
|
||||
3. To verify that the installation is successful, open Sublime, then open the `main.go` file to see if it has the proper syntax highlighting. Type `import` to see if code completion prompts appear. After typing `import "fmt"`, type `fmt.` anywhere after the `import` declaration to see whether or not intelligent code completion for functions was successfully enabled.
|
||||
Gib nun "GoSublime" ein, drücke auf OK, um das Paket zu installieren und wiederhole diese Schritte jeweils für SidebarEnhancements und Go Build. Starte den Editor nochmals neu, sobald alle Pakete installiert wurden.
|
||||
|
||||
If everything is fine, you're all set.
|
||||
3. Um sicher zu stellen, dass die Installation auch erfolgreich abgeschlossen wurde, starte Sublime und öffne die Datei `main.go`, um zu sehen, ob dessen Syntax farblich hervorgehoben wird. Gib `import` ein, um zu testen, ob die automatische Codevervollständigung nun funktioniert oder nicht.
|
||||
|
||||
Wenn alles erfolgreich Verlaufen ist, können wir ja starten.
|
||||
|
||||
If not, check your $PATH again. Open terminal, type `gocode`. If it does not run, your $PATH was not configured correctly.
|
||||
Sollte dies nicht der Fall sein, solltest Du nochmal einen Blick auf die $PATH-Umgebungsvariable blicken. Öffne dazu die Kommandozeile und gib `gocode` ein. Sollte nichts ausgeführt werden, so wird $PATH wahrscheinlich nicht richtig konfiguriert worden sein.
|
||||
|
||||
## Vim
|
||||
|
||||
Vim is a popular text editor for programmers, which evolved from its slimmer predecessor, Vi. It has functions for intelligent completion, compilation and jumping to errors.
|
||||
Vim ist ein populärer Texteditor unter Programmierern, welcher sich aus seinem minimalistischeren Vorgänger Vi hervorging. Zu seinen Funktionen gehören u.a. die intelligente Autovervollständung von Codesegmenten, Kompilierung und das Springen zu Fehlern im Quellcode.
|
||||
|
||||

|
||||
|
||||
Figure 1.8 Vim intelligent completion for Go
|
||||
Abbildung 1.8 Vims intelligente Autovervollständigung für Go
|
||||
|
||||
1. Syntax highlighting for Go
|
||||
1. Syntaxhervorhebung für Go
|
||||
|
||||
cp -r $GOROOT/misc/vim/* ~/.vim/
|
||||
|
||||
2. Enabling syntax highlighting
|
||||
2. Syntaxhervorhebung aktivieren
|
||||
|
||||
filetype plugin indent on
|
||||
syntax on
|
||||
|
||||
3. Install [gocode](https://github.com/nsf/gocode/)
|
||||
3. Installiere [gocode](https://github.com/nsf/gocode/)
|
||||
|
||||
go get -u github.com/nsf/gocode
|
||||
|
||||
gocode will be installed in `$GOBIN` as default
|
||||
gocode wird standardmäßig unter `$GOBIN` installiert.
|
||||
|
||||
4. Configure [gocode](https://github.com/nsf/gocode/)
|
||||
4. Konfiguriere [gocode](https://github.com/nsf/gocode/)
|
||||
|
||||
~ cd $GOPATH/src/github.com/nsf/gocode/vim
|
||||
~ ./update.bash
|
||||
@@ -167,31 +167,31 @@ Figure 1.8 Vim intelligent completion for Go
|
||||
propose-builtins true
|
||||
lib-path "/home/border/gocode/pkg/linux_amd64"
|
||||
|
||||
Explanation of gocode configuration:
|
||||
Einige Worte zur Konfiguration von gocode:
|
||||
|
||||
propose-builtins: specifies whether or not to open intelligent completion; false by default.
|
||||
lib-path: gocode only searches for packages in `$GOPATH/pkg/$GOOS_$GOARCH` and `$GOROOT/pkg/$GOOS_$GOARCH`. This setting can be used to add additional paths.
|
||||
propose-builtins: aktiviert bzw. deaktiviert die Autovervollständigung; standardmäßig auf false gesetzt.
|
||||
lib-path: gocode sucht lediglich unter `$GOPATH/pkg/$GOOS_$GOARCH` und `$GOROOT/pkg/$GOOS_$GOARCH` nach Paketen. Mit dieser Einstellung können weitere Pfade hinzugefügt werden..
|
||||
|
||||
5. Congratulations! Try `:e main.go` to experience the world of Go!
|
||||
5. Glückwunsch! Tippe `:e main.go` ein und mache Deine ersten Schritte in Go!
|
||||
|
||||
## Emacs
|
||||
|
||||
Emacs is the so-called Weapon of God. She is not only an editor, but also a powerful IDE.
|
||||
Emacs wird auch als "Weapon of God" bezeichnet. Es handelt sich nicht nur um einen Editor, sondern vielmehr um eine mächtige IDE.
|
||||
|
||||

|
||||
|
||||
Figure 1.10 Emacs main panel of Go editor
|
||||
Abbildung 1.10 Emacs Hauptfenster als Go-Editor
|
||||
|
||||
1. Syntax highlighting
|
||||
1. Syntaxhervorhebung
|
||||
|
||||
cp $GOROOT/misc/emacs/* ~/.emacs.d/
|
||||
|
||||
2. Install [gocode](https://github.com/nsf/gocode/)
|
||||
2. Installiere [gocode](https://github.com/nsf/gocode/)
|
||||
|
||||
go get -u github.com/nsf/gocode
|
||||
|
||||
gocode will be installed in `$GOBIN` as default
|
||||
3. Configure [gocode](https://github.com/nsf/gocode/)
|
||||
gocode wird standardmäßig unter `$GOBIN` installiert.
|
||||
3. Konfiguriere [gocode](https://github.com/nsf/gocode/)
|
||||
|
||||
~ cd $GOPATH/src/github.com/nsf/gocode/vim
|
||||
~ ./update.bash
|
||||
@@ -203,12 +203,11 @@ Figure 1.10 Emacs main panel of Go editor
|
||||
propose-builtins true
|
||||
lib-path "/home/border/gocode/pkg/linux_amd64"
|
||||
|
||||
4. Install [Auto Completion](http://www.emacswiki.org/emacs/AutoComplete)
|
||||
Download and uncompress
|
||||
4. Installiere [Auto Completion](http://www.emacswiki.org/emacs/AutoComplete)
|
||||
|
||||
~ make install DIR=$HOME/.emacs.d/auto-complete
|
||||
|
||||
Configure ~/.emacs file
|
||||
Konfiguriere die ~/.emacs-Datei
|
||||
|
||||
;;auto-complete
|
||||
(require 'auto-complete-config)
|
||||
@@ -218,8 +217,9 @@ Figure 1.10 Emacs main panel of Go editor
|
||||
(local-set-key "." 'semantic-complete-self-insert)
|
||||
(local-set-key ">" 'semantic-complete-self-insert)
|
||||
|
||||
Follow this [link](http://www.emacswiki.org/emacs/AutoComplete) for more details.
|
||||
5. Configure .emacs
|
||||
Folge diesem [Link](http://www.emacswiki.org/emacs/AutoComplete) für weitere Informationen.
|
||||
|
||||
5. Konfiguriere .emacs
|
||||
|
||||
;; golang mode
|
||||
(require 'go-mode-load)
|
||||
@@ -305,95 +305,97 @@ Figure 1.10 Emacs main panel of Go editor
|
||||
(interactive)
|
||||
(show-all)
|
||||
(shell-command-on-region (point-min) (point-max) "go tool fix -diff"))
|
||||
6. Congratulations, you're done! Speedbar is closed by default -remove the comment symbols in the line `;;(speedbar 1)` to enable this feature, or you can use it through `M-x speedbar`.
|
||||
|
||||
6. Glückwunsch, Du hast es geschafft! Die Schnellzugriffsleiste (Speedbar) ist standardmäßig geschlossen - Entferne die Kommentarzeichen in der Zeile `;;(speedbar 1)`, um diese Funktion zu aktivieren, oder Du benutzt die Speedbar via `M-x speedbar`.
|
||||
|
||||
## Eclipse
|
||||
|
||||
Eclipse is also a great development tool. I'll show you how to use it to write Go programs.
|
||||
Eclipse ist ebenfalls ein großartiges Entwicklungswerkzeug. Ich werde Dir zeigen, wie Du mit ihm Programme in Go schreiben kannst.
|
||||
|
||||

|
||||
|
||||
Figure 1.1 Eclipse main panel for editing Go
|
||||
Abbildung 1.1 Eclipses Hauptfenster zum Programmieren Go
|
||||
|
||||
1. Download and install [Eclipse](http://www.eclipse.org/)
|
||||
2. Download [goclipse](https://code.google.com/p/goclipse/)
|
||||
1. Herunterladen und Installation von [Eclipse](http://www.eclipse.org/)
|
||||
2. Lade [goclipse](https://code.google.com/p/goclipse/) herunter
|
||||
[http://code.google.com/p/goclipse/wiki/InstallationInstructions](http://code.google.com/p/goclipse/wiki/InstallationInstructions)
|
||||
3. Download gocode
|
||||
3. Lade gocode
|
||||
|
||||
gocode in Github.
|
||||
gocode auf Github.
|
||||
|
||||
https://github.com/nsf/gocode
|
||||
|
||||
You need to install git in Windows, usually we use [msysgit](https://code.google.com/p/msysgit/)
|
||||
Unter Windows musst Du git installiert haben. Wir nutzen überlicherweise [msysgit](https://code.google.com/p/msysgit/).
|
||||
|
||||
Install gocode in the command tool
|
||||
Installiere gocode in der Kommandozeile
|
||||
|
||||
go get -u github.com/nsf/gocode
|
||||
|
||||
You can install from source code if you like.
|
||||
4. Download and install [MinGW](http://sourceforge.net/projects/mingw/files/MinGW/)
|
||||
5. Configure plugins.
|
||||
Du kannst die Installation mithilfe des Quellcodes selbst durchführen, wenn Du magst.
|
||||
4. Installation von [MinGW](http://sourceforge.net/projects/mingw/files/MinGW/)
|
||||
5. Konfiguration der Plugins.
|
||||
|
||||
Windows->Preferences->Go
|
||||
|
||||
(1).Configure Go compiler
|
||||
(1).Einrichtung des Go-Compiler
|
||||
|
||||

|
||||
|
||||
Figure 1.12 Go Setting in Eclipse
|
||||
Abbildung 1.12 Go-Einstellungen in Eclipse
|
||||
|
||||
(2).Configure gocode(optional), set gocode path to where the gocode.exe is.
|
||||
(2).Konfiguriere gocode(optional). Setze den Pfad zu gocode auf den Speicherort von gocode.exe.
|
||||
|
||||

|
||||
|
||||
Figure 1.13 gocode Setting
|
||||
Abbildung 1.13 gocode-Einstellungen
|
||||
|
||||
(3).Configure gdb(optional), set gdb path to where the gdb.exe is.
|
||||
(3).Konfiguriere gdb(optional). Setze den Pfad zu gdb auf den Speicherort von gdb.exe.
|
||||
|
||||

|
||||
|
||||
Figure 1.14 gdb Setting
|
||||
6. Check the installation
|
||||
Abbildung 1.14 gdb-Einstellungen
|
||||
6. Überprüfe, ob die Installation erfolgreich verlief
|
||||
|
||||
Create a new Go project and hello.go file as following.
|
||||
Erstelle ein neues Go-Project und eine Datei hello.go wie folgt.
|
||||
|
||||

|
||||
|
||||
Figure 1.15 Create new project and file
|
||||
Abbildung 1.15 Erstelle ein neues Projekt und eine Datei
|
||||
|
||||
Test installation as follows.(you need to type command in console in Eclipse)
|
||||
Überprüfe die Installation wie folgt. (Die Befehle müssen in die Konsole von Eclipse eingegeben werden).
|
||||
|
||||

|
||||
|
||||
Figure 1.16 Test Go program in Eclipse
|
||||
Abbildung 1.16 Teste ein Go-Programm in Eclipse
|
||||
|
||||
## IntelliJ IDEA
|
||||
|
||||
People who have worked with Java should be familiar with this IDE. It supports Go syntax highlighting and intelligent code completion, implemented by a plugin.
|
||||
Programmierer, die bereits mit Java gearbeitet haben, sollte diese IDE bekannt sein. Es unterstützt die farbliche Hervorhebung von Go-Code und intelligente Autovervollständigung, welches durch ein Plugin erreicht wird.
|
||||
|
||||
1. Download IDEA, there is no difference between the Ultimate and Community editions
|
||||
1. Lade IDEA herunter. Es gibt keinen Unterschied zwischen der Ultimate- und Community-Edition.
|
||||
|
||||

|
||||
|
||||
2. Install the Go plugin. Choose `File - Setting - Plugins`, then click `Browser repo`.
|
||||
2. Installiere das Go-Plugin. Gehe zu `File - Setting - Plugins` und klicke dann auf `Browser repo`.
|
||||
|
||||

|
||||
|
||||
3. Search `golang`, double click `download and install` and wait for the download to complete.
|
||||
3. Starte eine Suche mit `golang`, klicke doppelt auf `download and install` und warte, bis der Download abgeschlossen ist.
|
||||
|
||||

|
||||
|
||||
Click `Apply`, then restart.
|
||||
4. Now you can create a Go project.
|
||||
Klicke auf `Apply` und starte das Programm neu.
|
||||
|
||||
4. Nun kannst Du ein neues Go-Projekt erstellen.
|
||||
|
||||

|
||||
|
||||
Input the position of your Go sdk in the next step -basically it's your $GOROOT.
|
||||
Gib im nächsten Schritt den Speicherort Deines Go-SDK (***SDK steht für Software Developement Kit***) an - normalerweise handelt es sich hierbei um $GOROOT.
|
||||
|
||||
( ***See a [blog post](http://wuwen.org/tips-about-using-intellij-idea-and-go/) for setup and use IntelliJ IDEA with Go step by step *** )
|
||||
( ***Werfe einen Blick auf diesen [Blogartikel](http://wuwen.org/tips-about-using-intellij-idea-and-go/), welcher die Installation und Einrichtung von IntelliJ IDEA mit Go schrittweise erläutert.*** )
|
||||
|
||||
## Links
|
||||
|
||||
- [Directory](preface.md)
|
||||
- Previous section: [Go commands](01.3.md)
|
||||
- Next section: [Summary](01.5.md)
|
||||
- [Inhaltsverzeichnis](preface.md)
|
||||
- Vorheriger Abschnitt: [Go Befehle](01.3.md)
|
||||
- Nächster Abschnitt: [Zusammenfassung](01.5.md)
|
||||
|
||||
Reference in New Issue
Block a user