Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 55ffdc1

Browse files
authored
Merge pull request #1 from gopcode/init_pr
init commit
2 parents 190341b + 00ae90d commit 55ffdc1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7310
-2
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,13 @@
1111
# Output of the go coverage tool, specifically when used with LiteIDE
1212
*.out
1313

14+
# Output of nodejs and typescript
15+
out
16+
node_modules
17+
18+
# Other
19+
.vscode-test
20+
.DS_Store
21+
1422
# Dependency directories (remove the comment below to include it)
1523
# vendor/

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: node_js
2+
3+
node_js:
4+
- "8.11.1"
5+
6+
install:
7+
- npm install -g typescript
8+
- npm install
9+
10+
script:
11+
- tsc -p ./

.vscode/launch.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"runtimeExecutable": "${execPath}",
9+
"args": [
10+
"--extensionDevelopmentPath=${workspaceFolder}"
11+
],
12+
"outFiles": [
13+
"${workspaceFolder}/out/**/*.js"
14+
],
15+
"preLaunchTask": "${defaultBuildTask}"
16+
},
17+
{
18+
"name": "Extension Tests",
19+
"type": "extensionHost",
20+
"request": "launch",
21+
"runtimeExecutable": "${execPath}",
22+
"args": [
23+
"--extensionDevelopmentPath=${workspaceFolder}",
24+
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
25+
],
26+
"outFiles": [
27+
"${workspaceFolder}/out/test/**/*.js"
28+
],
29+
"preLaunchTask": "${defaultBuildTask}"
30+
}
31+
]
32+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"git.ignoreLimitWarning": true
3+
}

.vscodeignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
src/**/*
2+
test/
3+
third_party/
4+
typings/**/*
5+
.vscode/**/*
6+
tsconfig.json
7+
.gitignore
8+
**/*.map
9+
**/tslint.json
10+
build/**/*
11+
docs/
12+
*.md.nightly
13+
.github/**/*
14+
.prettierrc.json
15+
out/test/**
16+
.vscode-test/**
17+
SECURITY.md
18+
node_modules/*
19+
out/*

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
1-
# vscode-gop
2-
GoPlus (Go+) Plugin for vscode
1+
![logo](./images/icon.png)
2+
3+
[![Build Status](https://travis-ci.org/gopcode/vscode-goplus.svg?branch=master)](https://travis-ci.org/github/gopcode/vscode-goplus)
4+
[![License](https://img.shields.io/badge/license-Apache-blue.svg)](https://raw.githubusercontent.com/gopcode/vscode-goplus/master/LICENSE)
5+
6+
# GoPlus (Go+) Plugin for vscode
7+
8+
This extension provides rich language support for the Go+ programming language in VS Code.
9+
10+
## Example
11+
12+
![example](https://github.com/gopcode/vscode-goplus/blob/master/images/example3.gif)
13+
14+
## Install Go
15+
Before you start coding, make sure that you have already installed Go, as explained in the Go installation guide.
16+
17+
If you are unsure whether you have installed Go, open the Command Palette in VS Code (Ctrl+Shift+P) and run the goplus
18+
19+
## Feature Support
20+
21+
- [x] Syntax Highlight
22+
- [x] Auto Snippet
23+
- [x] Format Source Code
24+
- [ ] Semantic Highlight
25+
- [x] Auto Completion
26+
- [x] Hover function Display
27+
- [X] Auto import
28+
- [ ] Code Diagnostics
29+
- [ ] Help With Function and Method Signatures
30+
- [x] Show Definitions of a Symbol
31+
- [ ] Find All References to a Symbol
32+
- [ ] Highlight All Occurrences of a Symbol in a Document

fileicons/vs_goplus-icon-theme.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"iconDefinitions": {
3+
"_goplus_": {
4+
"iconPath": "../images/icon.png"
5+
}
6+
},
7+
8+
"fileExtensions": {
9+
"gop": "_goplus_"
10+
},
11+
"languageIds": {
12+
"gop": "_goplus_"
13+
}
14+
}

images/example1.gif

4.87 MB
Loading

images/example2.gif

2.09 MB
Loading

images/example3.gif

2.56 MB
Loading

images/icon.png

9.69 KB
Loading

language-configuration.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"comments": {
3+
// symbol used for single line comment. Remove this entry if your language does not support line comments
4+
"lineComment": "//",
5+
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
6+
"blockComment": [ "/*", "*/" ]
7+
},
8+
// symbols used as brackets
9+
"brackets": [
10+
["{", "}"],
11+
["[", "]"],
12+
["(", ")"]
13+
],
14+
// symbols that are auto closed when typing
15+
"autoClosingPairs": [
16+
["{", "}"],
17+
["[", "]"],
18+
["(", ")"],
19+
["\"", "\""],
20+
["'", "'"]
21+
],
22+
// symbols that can be used to surround a selection
23+
"surroundingPairs": [
24+
["{", "}"],
25+
["[", "]"],
26+
["(", ")"],
27+
["\"", "\""],
28+
["'", "'"]
29+
]
30+
}

0 commit comments

Comments
 (0)