Skip to content

Commit ae6442c

Browse files
committed
Move to contrib folder and add instructions
1 parent abf307d commit ae6442c

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ _test
1010
# IntelliJ
1111
.idea
1212

13+
# MS VSCode
14+
.vscode
15+
1316
# Architecture specific extensions/prefixes
1417
*.[568vq]
1518
[568vq].out

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ It assumes you have followed the
2626
Sensitive security-related issues should be reported to
2727
2828

29+
For configuring IDE or code editor to develop Gitea see [IDE and code editor configuration](contrib/ide/)
30+
2931
## Bug reports
3032

3133
Please search the issues on the issue tracker with a variety of keywords

contrib/ide/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# IDE and code editor configuration
2+
3+
## Table of Contents
4+
- [IDE and code editor configuration](#ide-and-code-editor-configuration)
5+
- [Microsoft Visual Studio Code](#microsoft-visual-studio-code)
6+
7+
## Microsoft Visual Studio Code
8+
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.
9+
10+
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.
11+
12+
Supported on Debian, Ubuntu, Red Hat, Fedora, SUSE Linux, MacOS and Microsoft Windows.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)