diff options
author | Lauris BH <lauris@nix.lv> | 2017-09-12 15:27:44 +0300 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-09-12 20:27:44 +0800 |
commit | 4c2b1be3a4bc0479927922f12b0c71b2404d073f (patch) | |
tree | 9d680c8ad29fb67a198a5069bcbd68340e63682d /contrib/ide/README.md | |
parent | 8c3a2e817be8a365abf167893e1d73ae79382cb6 (diff) | |
download | gitea-4c2b1be3a4bc0479927922f12b0c71b2404d073f.tar.gz gitea-4c2b1be3a4bc0479927922f12b0c71b2404d073f.zip |
Basic VSCode configuration for building and debugging (#2483)
* Basic VSCode configuration for building and debugging
* Fix building and debugging in Windows
* Move to contrib folder and add instructions
Diffstat (limited to 'contrib/ide/README.md')
-rw-r--r-- | contrib/ide/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/ide/README.md b/contrib/ide/README.md new file mode 100644 index 0000000000..80b6a8aad9 --- /dev/null +++ b/contrib/ide/README.md @@ -0,0 +1,12 @@ +# IDE and code editor configuration + +## Table of Contents +- [IDE and code editor configuration](#ide-and-code-editor-configuration) + - [Microsoft Visual Studio Code](#microsoft-visual-studio-code) + +## Microsoft Visual Studio Code +Download Microsoft Visual Studio Code at https://code.visualstudio.com/ and follow instructions at https://code.visualstudio.com/docs/languages/go to setup Go extension for it. + +Create new direcotry `.vscode` in Gitea root folder and copy contents of folder [contrib/ide/vscode](vscode/) to it. You can now use `Ctrl`+`Shift`+`B` to build gitea executable and `F5` to run it in debug mode. + +Supported on Debian, Ubuntu, Red Hat, Fedora, SUSE Linux, MacOS and Microsoft Windows. |