Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1152 commits
Select commit Hold shift + click to select a range
13106cf
Revert "Mark go.gopath, go.goroot and go.toolsgopath as machine scope…
ramya-rao-a Jul 6, 2019
a7ad03f
Mark only go.goroot as machine scoped #2576
ramya-rao-a Jul 6, 2019
57e5201
0.11.2
ramya-rao-a Jul 6, 2019
6da5570
coverprofile shld appear before other flags #2457
ramya-rao-a Jul 6, 2019
94030b3
Refactor listeners for better code readability
ramya-rao-a Jul 6, 2019
86498da
Fix linting errors
ramya-rao-a Jul 6, 2019
172771f
Add helpful links for gopls
ramya-rao-a Jul 6, 2019
38f7af0
Update log issue instructions to include settings
ramya-rao-a Jul 6, 2019
5f10107
feat(docs): Include Table of Contents (#2634)
jamesgeorge007 Jul 7, 2019
6f7c7ca
0.11.3
ramya-rao-a Jul 7, 2019
4b516f9
Revert scope for goroot to resource #2576
ramya-rao-a Jul 10, 2019
1dd40da
Status bar item for Modules usage
ramya-rao-a Jul 26, 2019
cdaf5e8
Added configuration for alternate gopls path. (#2660)
anurbol Jul 26, 2019
0942259
Make showHideStatus handle an undefined editor (#2673)
stuartgrigg Aug 15, 2019
e296cba
Support language server when using Go from tip #2705
ramya-rao-a Aug 25, 2019
415003d
Avoid using workspace.rootPath. Fixes #2713
ramya-rao-a Aug 25, 2019
72ddc18
Install tools with modules enabled (#2700)
stamblerre Aug 27, 2019
7203338
update vscode-languageclient version (#2716)
stamblerre Aug 29, 2019
4c4e09c
Fix copyrights
ramya-rao-a Aug 31, 2019
2c21805
separate tool information from installation (#2701)
stamblerre Sep 1, 2019
28e9105
Fix linting errors
ramya-rao-a Sep 1, 2019
c43b2a4
Fix language-client compat issues
ramya-rao-a Sep 2, 2019
3218ceb
Refactor language server handling (#2703)
stamblerre Sep 2, 2019
5cc133b
Fix liniting errors from previous commit
ramya-rao-a Sep 2, 2019
eb89f02
update all dependencies (#2718)
stamblerre Sep 2, 2019
2a16eb0
Remove use of deprecated gometalinter (#2726)
samanthakem Sep 6, 2019
461c79d
check the gopls version and update if outdated (#2719)
stamblerre Sep 6, 2019
12e064c
Polish remote debug experience (#2685)
quoctruong Sep 6, 2019
c3eed78
Show warning message when modifying debugged file (#2653)
haryps Sep 8, 2019
7ea5114
changelog for 0.11.5
ramya-rao-a Sep 9, 2019
575eb30
Debugging improvements in changelog
ramya-rao-a Sep 9, 2019
45f2b52
Use newlines instead of os.EOL for the gopls update check (#2743)
stamblerre Sep 11, 2019
7fab4f3
Update package-lock
ramya-rao-a Sep 11, 2019
e63cb4a
Reload if GO111MODULE changes in settings (#2747)
ramya-rao-a Sep 13, 2019
874bcb4
Fix typo in settings description for goimports (#2748)
jakejarvis Sep 13, 2019
a2db798
Handle pseudoversions when updating gopls version (#2745)
stamblerre Sep 13, 2019
95d4d58
Fix a bug where clearing breakpoints failed (#2744)
quoctruong Sep 19, 2019
4ce3c24
0.11.5
ramya-rao-a Sep 19, 2019
8315764
Add line comment language configuration for go.mod (#2761)
segevfiner Sep 20, 2019
0598317
Add try-catch blocks around web requests (#2771)
stamblerre Sep 21, 2019
c504929
Skip using Go proxy to get gopls latest info (#2775)
ramya-rao-a Sep 21, 2019
93a2c23
0.11.6
ramya-rao-a Sep 21, 2019
136965c
Skip reference codelens when guru is not installed
ramya-rao-a Sep 22, 2019
e0cb5d3
Reduce tools causing analysis tools missing alert, corresponding feat…
ramya-rao-a Sep 22, 2019
eef50e5
Increase timeout for long running tests (#2778)
ramya-rao-a Sep 22, 2019
551b7cc
Remove linux from matrix as tests are not being run
ramya-rao-a Sep 22, 2019
12369dd
Add note on all features in languageServerExperimentalFeatures setting
ramya-rao-a Sep 22, 2019
b3a16ec
Fix regression in test pkgs in workspace feature
ramya-rao-a Sep 22, 2019
6a39554
Fix regression in build workspace feature
ramya-rao-a Sep 22, 2019
c2551d9
vet only current package unless cmd is for workspace #2212
ramya-rao-a Sep 23, 2019
a3c7571
Handle case when goVersion is invalid
ramya-rao-a Sep 24, 2019
321dbc9
Fix a bug where remoteSource is incorrect if it is a forward slash (#…
quoctruong Sep 27, 2019
9874b40
fix stopOnEntry (#2762)
jhendrixMSFT Sep 27, 2019
dc02d57
0.11.7
ramya-rao-a Sep 27, 2019
b0cfd35
0.11.7 version update
ramya-rao-a Sep 27, 2019
cd30b0d
Hover test using go doc needs more time
ramya-rao-a Oct 2, 2019
e2461eb
Fix and reenable linux in travis runs (#2802)
ToothlessGear Oct 6, 2019
3d14fed
Show correct placeholder when extracting method (#2799)
romanlevin Oct 6, 2019
83b8fea
Remove user supplied -run flags when running tests (#2285)
scriptonist Oct 7, 2019
ddff5c3
Move comment outside multiline command in .travis.yml (#2814)
ToothlessGear Oct 7, 2019
4e56eb7
clear diagnostics on language server restart (#2817)
stamblerre Oct 7, 2019
f5e09c1
support Go 1.11 when installing tools in module mode (#2812)
stamblerre Oct 8, 2019
71c4e82
Clean up the signature help test (#2825)
zmb3 Oct 15, 2019
a1856f6
Gate the check for gopls updates using a setting (#2773)
ramya-rao-a Oct 17, 2019
ca1ea16
Update annotations for language server features
ramya-rao-a Oct 6, 2019
066bdbc
use the user's GOPROXY settings when requesting the gopls version (#2…
stamblerre Oct 17, 2019
282a94d
Update changelog
ramya-rao-a Oct 17, 2019
0839658
Fix the failing tests, include Go 1.13 in test matrix
ramya-rao-a Oct 20, 2019
3adbc57
Organize imports
ramya-rao-a Oct 20, 2019
cd1ad4b
Use getGoConfig() utility (#2818)
stamblerre Oct 20, 2019
da16ae7
always use a fake mod file and fresh temp directory for installation …
stamblerre Oct 20, 2019
ccd44d9
Add flag to disable gopls highlighting (#2833)
karthikraobr Oct 20, 2019
a8a867c
Distinguish between ni and zero slice and maps (#2839)
karthikraobr Oct 20, 2019
d250a86
Use new templates for bugs & feature requests (#2840)
JulioRamos0 Oct 20, 2019
7db4cb5
Remove old issue template
ramya-rao-a Oct 20, 2019
de7296f
Add logs around installing tools
ramya-rao-a Oct 21, 2019
1470692
Add more details on issue labels
ramya-rao-a Oct 22, 2019
a4df3b5
tslint: add no-empty (#2854)
kegsay Oct 24, 2019
6374465
tslint: add one-variable-per-declaration (#2856)
kegsay Oct 24, 2019
41dbe9c
tslint: add curly (#2855)
kegsay Oct 24, 2019
151b605
fix config for language server go to implementation feature (#2876)
stamblerre Nov 3, 2019
6bf3e8f
tslint: enable object literal shorthand rule (#2864)
zmb3 Nov 3, 2019
d6a0fac
tslint: prefer for-of loops (#2863)
zmb3 Nov 3, 2019
c1669d1
Use mod file to determine module mode when debugging (#2846)
ramya-rao-a Nov 4, 2019
578a3c5
Updated changelog
ramya-rao-a Nov 4, 2019
e7e56ea
Sort import packages in the Go: Add Import cmd by std lib first (#2803)
karthikraobr Nov 4, 2019
2bb53a5
Update gopls wiki links (#2852)
nezorflame Nov 4, 2019
e936903
Exclude prerelease tagged versions when fetching latest gopls version…
stamblerre Nov 5, 2019
21b2275
0.11.8
ramya-rao-a Nov 5, 2019
077e928
run `go mod tidy` between tool installations (#2877)
stamblerre Nov 6, 2019
74ba78a
0.11.9
ramya-rao-a Nov 6, 2019
5916863
fix GDPR annotation
kieferrm Nov 8, 2019
6ffbcd8
add setting to apply test coverage when single test file is run (#2884)
cristaloleg Nov 10, 2019
8db6623
Create pull_request_template.md (#2851)
JulioRamos0 Nov 10, 2019
93df346
Update PR template
ramya-rao-a Nov 10, 2019
e7da18f
Update bug report based on #2844
ramya-rao-a Nov 10, 2019
61b612e
Add option for "Dont Ask Again" while saving the file in debug mode (…
csmadhav Nov 15, 2019
7e2de14
Activate extension when workspace contains go files (#2859)
zmb3 Nov 19, 2019
58057ad
Update Typescript 3.7.2, vscode-test 1.2.3 (#2900)
lggomez Dec 3, 2019
4060ab1
Update .travis.yml (#2915)
ryboe Dec 3, 2019
05d741b
Clear diagnostics on gopls restart only if it exists #2928
ramya-rao-a Dec 10, 2019
26873d1
Prep changelog for next release
ramya-rao-a Dec 10, 2019
63f1b04
Trim features that can be disabled on the language server
ramya-rao-a Dec 11, 2019
be0cc9e
Trim more features that can be disabled on the language server
ramya-rao-a Dec 11, 2019
1feac6a
Deleting the accidental commit of vsix file
ramya-rao-a Dec 12, 2019
7954267
install tools with wildcards in module mode for Go >= 1.13 (#2945)
stamblerre Dec 13, 2019
d4982a9
use tags and options as default input value (#2944)
Ashniu123 Dec 13, 2019
da2c54c
delete and recreate go.mod instead of running go mod tidy (#2948)
stamblerre Dec 23, 2019
d6b6668
Use build & test tags in debug test at cursor cmd #2953
ramya-rao-a Dec 27, 2019
9ab7b8b
Pass build flags & args from testFlags separately to dlv #2115
ramya-rao-a Dec 27, 2019
24b493b
-coverprofile flag shld be set before user provided flags
ramya-rao-a Dec 27, 2019
26ea87f
0.12.0
ramya-rao-a Dec 31, 2019
6db689c
correctly set GO111MODULE when installing tools (#2970)
stamblerre Jan 13, 2020
0ba4d32
Support test matrix for last 3 versions only
ramya-rao-a Jan 13, 2020
acb945d
Avoid configuration word in config title #2964
ramya-rao-a Jan 15, 2020
f185987
^ outline to include constant & interface (#2973)
piengeng Jan 17, 2020
0eeec1b
Re-generate package-lock.json file
ramya-rao-a Jan 19, 2020
8a8ed50
Refactor telemetry handling (#2978)
stamblerre Jan 20, 2020
5bad613
Improve docs for gopls in Readme
ramya-rao-a Jan 21, 2020
8ffb9b6
[tslint] apply radix and ordered-imports rules
ramya-rao-a Jan 21, 2020
b28e6ad
[tslint] apply only-arrow-functions rule
ramya-rao-a Jan 21, 2020
8593ce9
[tslint] apply object-literal-key-quotes, one-line rules
ramya-rao-a Jan 21, 2020
c7dc31c
[tslint] apply allow-parens rule
ramya-rao-a Jan 21, 2020
9564e1f
[tslint] apply jsdoc-format rule
ramya-rao-a Jan 21, 2020
4c0e036
[tslint] apply member-access rule
ramya-rao-a Jan 21, 2020
74fe03c
[tslint] apply member-ordering rule
ramya-rao-a Jan 21, 2020
bfd437f
Add npm script for formatting using prettier
ramya-rao-a Jan 21, 2020
5a8208c
[tslint] apply no-shadowed-variable rule
ramya-rao-a Jan 21, 2020
2b44da3
Update package lock file for prettier
ramya-rao-a Jan 21, 2020
2847c40
[tslint] Remove rules that is not worth the effort to apply at the mo…
ramya-rao-a Jan 21, 2020
3b02de0
Update to latest vscode-languageclient (#2988)
stamblerre Jan 22, 2020
e819610
specify license info in package.json (#2994)
hyangah Jan 22, 2020
97a7fc6
remove obsolete enableBreakpointsFor (#2998)
hyangah Jan 26, 2020
41591e3
Considering receiverType on function test creation issue-2282 (#2987)
marcel-basel Jan 26, 2020
634da08
Feature: Load and apply a custom coverprofile (#2361)
Eun Jan 26, 2020
9dc5037
Remove unused references in test file
ramya-rao-a Jan 26, 2020
d0b6da7
Refactor test file to use async/await (#3002)
ramya-rao-a Jan 27, 2020
73eee40
Add a script to enable running tests locally (#2979)
hyangah Jan 27, 2020
d77f42f
Update description for useLanguageServer setting (#3004)
ramya-rao-a Jan 28, 2020
022c8a4
Add support for multiple environment files when debugging (#2395)
SteelPhase Jan 28, 2020
0db8134
Remove references to gometalinter that's deprecated (#2938)
hyangah Jan 28, 2020
99dbad7
Skip toggling to test file when generated tests are for test file (#2…
Jan 28, 2020
2a9ada4
Changelog entries for next update
ramya-rao-a Jan 28, 2020
335412a
Change index to i in for loop snippet (#3010)
programmer04 Jan 28, 2020
8f00179
Fix formatting in goMain.ts file
ramya-rao-a Jan 28, 2020
fbb180d
Look for Go tools in GOBIN as well (#3001)
marcel-basel Jan 28, 2020
d0c17ef
strictNullChecks for extension.test.ts file
ramya-rao-a Jan 28, 2020
ec8cfba
Fix errors resulting from strictNullCheck
ramya-rao-a Jan 28, 2020
533668b
More changelog entries for the next update
ramya-rao-a Jan 29, 2020
5f15c23
Revert "Update to latest vscode-languageclient (#2988)" (#3023)
hyangah Feb 1, 2020
45fb62b
stop registerLanguageFeatures cleanly when the binary is not installe…
hyangah Feb 1, 2020
b6d5c41
File exists check by apply code coverage command doesnt need access c…
ramya-rao-a Feb 3, 2020
ffff471
0.13.0
ramya-rao-a Feb 3, 2020
2bfedda
Update gopkgs to use v2 (#3057)
nezorflame Feb 27, 2020
369803d
goSymbol.ts: convert forEach to for-of loop (#3068)
stamblerre Feb 27, 2020
7f301ed
installAllTools: skip tools specified in go.alternateTools (#3046)
hyangah Feb 27, 2020
610e472
update README.md mostly where gopls is mentioned (#3018)
hyangah Feb 27, 2020
36f0b58
Update latest version details for gopls
ramya-rao-a Feb 28, 2020
6e607fc
0.13.1
ramya-rao-a Feb 28, 2020
7d0069a
Use 6.1.0 version of the language client
ramya-rao-a Feb 28, 2020
eae5825
travis-ci: prepare for 1.14 release (#3047)
hyangah Feb 28, 2020
330f08c
telemetry.ts: send telemetry only if aiKey is not an empty string(#3…
hyangah Mar 11, 2020
5dc0357
bug_report.md: Fix "architecture" typo. (#3095)
darkvertex Mar 14, 2020
6d1bf5c
Include the link to release note/package overview in the update promp…
hyangah Mar 16, 2020
7da5077
Address mismatch on path separators in debug config (#2010) (#3108)
quoctruong Mar 19, 2020
00c318b
Add stacktrace dump and better error messages on EXC_BAD_ACCESS panic…
lggomez Mar 20, 2020
d53b1b3
goLanguageServer: set completion follow up command from middleware (#…
hyangah Mar 20, 2020
38af15a
golangci-lint --out-format=colored-line-number (#3112)
CarltonHenderson Mar 20, 2020
5eeab5c
Hide linux failures in travis #3073
ramya-rao-a Mar 20, 2020
444f0fc
Update Readme.md
ramya-rao-a Mar 23, 2020
430362e
Eval failures to be logged as warnings #3006
ramya-rao-a Mar 23, 2020
1c0fe52
Run formatter
ramya-rao-a Mar 24, 2020
78518d7
Use go run . when program points to directory #3096
ramya-rao-a Mar 24, 2020
bec6bb5
Restore detach error log message (#3123)
lggomez Mar 24, 2020
87bfe72
Add note on git being needed for tool installation
ramya-rao-a Mar 24, 2020
efb94c8
Fixes linux test in travis (#3115)
hyangah Mar 24, 2020
28bab92
Show warning if 'program' attribute is used in 'remote' mode when att…
quoctruong Mar 24, 2020
79a6b01
Fix 'run without debugging' when using modules or no user debug confi…
hyangah Mar 25, 2020
893b29b
Expand file paths only when test fails #1836
ramya-rao-a Mar 26, 2020
92d149c
Expand file paths in test err output if line starts with tab or 4 spa…
ramya-rao-a Mar 26, 2020
2597690
Changelog prep for 0.14.0
ramya-rao-a Mar 26, 2020
5394548
Keep the last used cover profile path (#3119)
alexandrevilain Mar 26, 2020
765f96d
changelog update for cover profile path update
ramya-rao-a Mar 26, 2020
d4b0b01
goMain: go.locate.tools command (#3116)
hyangah Mar 26, 2020
134a1a0
Pass filepath to delve if program points to a file (#3016)
marcel-basel Mar 26, 2020
8f5548a
test/integration: use default GOPATH when the env var is not set (#3117)
hyangah Mar 28, 2020
bf488a2
test/integration: fix Build Tags checking test (#3135)
hyangah Mar 28, 2020
e4814d0
Fix process cancelation (#3131)
zmb3 Mar 28, 2020
b83ad81
Remove support for github.com/sourcegraph/go-langserver (#3127)
stamblerre Mar 28, 2020
392a3bb
Update changelog
ramya-rao-a Mar 29, 2020
cd6e81b
fix lint error (#3146)
hyangah Apr 5, 2020
fbb4cf8
Use 'entry' as stopped event reason when stopping on entry (#3150)
polinasok Apr 5, 2020
16cbd97
Use single method to kill processes
ramya-rao-a Apr 5, 2020
5afb2df
Run formatter
ramya-rao-a Apr 5, 2020
a424c33
Fix linting error in goDebugConfiguration.ts
ramya-rao-a Apr 6, 2020
0a63ec7
Simplify the code around cwd for the go run cmd (#3147)
simpleapples Apr 6, 2020
082bcfd
debugAdapter: Remove redundant support for thread events (#3145)
polinasok Apr 7, 2020
6542f43
Update changelog for polinasok's changes
ramya-rao-a Apr 9, 2020
bb9474f
Revert "Use 6.1.0 version of the language client"
ramya-rao-a Apr 9, 2020
78990dd
Update dependency versions in lock file
ramya-rao-a Apr 9, 2020
86ba23c
debug: use fileDirname for the default launch configuration (#3174)
hyangah Apr 14, 2020
4b36da1
Update changelog to better reflect the fix to 3096
ramya-rao-a Apr 14, 2020
9557e25
Documentation: move docs in wiki to Documentation directory (#3168)
hyangah Apr 15, 2020
3af83e6
0.14.0
ramya-rao-a Apr 16, 2020
0b5a013
Update language client to v6
ramya-rao-a Apr 16, 2020
bc1a24c
0.14.1
ramya-rao-a Apr 16, 2020
a5e40ca
Place the go runtime base path to the front of PATH (#3159)
hyangah Apr 16, 2020
383c0c0
Fix missing brace in placeholder for launch file snippet (#3155)
tom-shan Apr 16, 2020
c8ed3d8
remove fallbacks for lsp features that cannot be opted-out of (#3156)
stamblerre Apr 17, 2020
f56369c
package.json: update all dependencies (#3182)
stamblerre Apr 18, 2020
ffc1a56
Add note about needing WSL 2 on Windows 10 to use delve (#3167)
mpatnode Apr 18, 2020
ad7a1d9
Remove obsolete note on needing cert for delve
ramya-rao-a Apr 18, 2020
0240062
docs: replace wiki links with relative links (#3188)
hyangah Apr 18, 2020
702572e
Use tree-kill to cancel running tests
ramya-rao-a Apr 19, 2020
1c314d4
Match the version of @types/vscode with vscode engine
ramya-rao-a Apr 19, 2020
7d50d75
README: Add additional info on debug adapter compilation (#2402)
lggomez Apr 19, 2020
6c737b3
Fix: convert fillstruct's output to character offset (#2611)
stdupp Apr 19, 2020
28e2d9f
Logic for gopls updater to accept a pre-release version (#3014)
hyangah Apr 19, 2020
893c23e
Run format post prettier dependency update
ramya-rao-a Apr 20, 2020
46dfb5a
Fix #2551 : Code coverage disappears when typing a character (#2853)
kegsay Apr 20, 2020
dfa9cbb
Revert to kill just the process for go-outline #3178
ramya-rao-a Apr 20, 2020
d3c0757
Map remote go module cache to local module cache (#3079)
fnmunhoz Apr 22, 2020
b9fd380
src/goLanguageServer: fix missing gopls detection logic (#3197)
hyangah Apr 25, 2020
65ede88
Handle unexpected proxy query results gracefully #3204 (#3205)
neclepsio Apr 25, 2020
740d7eb
Improve 'bad access' error message (#3196)
polinasok Apr 25, 2020
605f182
Prep changelog for 0.14.2
ramya-rao-a Apr 25, 2020
7a57e56
src/goLanguageServer.ts: respect configuration changes on server rest…
stamblerre Apr 26, 2020
f3dd04b
test/gopls: initial test setup for gopls and hover tests (#3157)
hyangah Apr 27, 2020
c565b21
goImports: avoid collapsing new imports into pseudo import line (#3045)
hyangah Apr 27, 2020
b5d4c6d
Changelog prep for 0.14.2
ramya-rao-a Apr 28, 2020
e8e97e5
test/gopls: fix the lint error (#3209)
hyangah Apr 28, 2020
92fd305
docs: update gopls related documentation (#3203)
hyangah May 6, 2020
12fd44a
remove format setting from package.json (#3223)
stamblerre May 7, 2020
f2a7c11
Update default latest version for gopls (#3229)
stamblerre May 8, 2020
d7cbf69
0.14.2
ramya-rao-a May 13, 2020
ac02a87
docs: add link to the Go installation guide (#3235)
hyangah May 13, 2020
2dbccbe
all: correct copyright headers and files missing the copyright (#3238)
hyangah May 14, 2020
a09fc17
README: repo migration announcement (#3237)
hyangah May 16, 2020
58988de
Replace gitter with slack as communication channel
ramya-rao-a May 16, 2020
ed66a71
Add the changelog link that got removed in a prior commit
ramya-rao-a May 16, 2020
11b3c40
Replace wiki links with docs links
ramya-rao-a May 16, 2020
c2cc0e6
Remove references to go-langserver support in docs
ramya-rao-a May 16, 2020
ecd5824
Remove note on migration process as we don't have an issue yet.
ramya-rao-a May 16, 2020
d298646
README: fix broken links, a few cosmetic updates (#3250)
stamblerre May 18, 2020
95dda9d
direct issues to golang/vscode-go (#3257)
stamblerre May 20, 2020
8c084b2
Clear code coverage on file save #3252
ramya-rao-a May 21, 2020
a66e3b5
0.14.3
ramya-rao-a May 21, 2020
f183c11
add bug report redirect, remove bug_report.md (#3259)
stamblerre May 26, 2020
fc95cc5
Update readme about the move (#3264)
ramya-rao-a Jun 10, 2020
9ee1f17
Rely on blog posts in readme instead of custom text (#3265)
ramya-rao-a Jun 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Question
url: https://invite.slack.golangbridge.org/
about: Ask or answer questions in the \#vscode Gopher slack channel
- name: Bug Report
url: https://github.com/golang/vscode-go/issues/new?template=bug_report.md
about: Report a bug in the VS Code Go extension
- name: Feature Request
url: https://github.com/golang/vscode-go/issues/new?template=feature_request.md
about: Suggest ideas for improvement
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
We are moving to a new home! See https://github.com/microsoft/vscode-go/issues/3247.
Please send your pull request to https://github.com/golang/vscode-go instead.
5 changes: 5 additions & 0 deletions .github/locker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
daysAfterClose: 45,
daysSinceLastUpdate: 3,
perform: true
}
6 changes: 6 additions & 0 deletions .github/needs_more_info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
daysUntilClose: 7,
needsMoreInfoLabel: 'needs more info',
perform: true,
closeComment: 'This issue has been closed automatically because it needs more information and has not had recent activity. Thank you for your contributions.'
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
out
node_modules
.vscode-test
*.vsix
.DS_Store
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 120,
"singleQuote": true,
"arrowParens": "always",
"quoteProps": "consistent",
"trailingComma": "none"
}
66 changes: 38 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,62 @@
language: go

dist: bionic

go:
- 1.5
- 1.6
- 1.7
- 1.8
- 1.12.x
- 1.13.x
- 1.14.x
- tip

git:
depth: 1

sudo: false
matrix:
allow_failures:
- go: tip

os:
- osx
- linux

before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
# Call xvfb directly on linux runs and give it time to start
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
export DISPLAY=:99.0;
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
sleep 3;
sudo apt-get update && sudo apt-get install -y libsecret-1-0;
fi

install:
- TRAVIS_NODE_VERSION="6";
# Clear out whatever version of NVM Travis has as it is old.
- TRAVIS_NODE_VERSION="8";
# Clear out whatever version of NVM Travis has as it is old.
- rm -rf ~/.nvm;
# Grab NVM.
# Grab NVM.
- git clone https://github.com/creationix/nvm.git ~/.nvm;
# Checkout the latest stable tag.
# Note that you can just hardcode a preferred version here.
# Checkout the latest stable tag.
# Note that you can just hardcode a preferred version here.
- (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`);
# Install the desired version of Node
- source ~/.nvm/nvm.sh;
- nvm install $TRAVIS_NODE_VERSION;
# Install the desired version of Node
- source ~/.nvm/nvm.sh;
- nvm install $TRAVIS_NODE_VERSION;
- npm install
- npm run vscode:prepublish
- go get -u -v github.com/nsf/gocode
- go get -u -v github.com/acroca/go-symbols
- go get -u -v github.com/cweill/gotests/...
- go get -u -v github.com/davidrjenni/reftools/cmd/fillstruct
- go get -u -v github.com/haya14busa/goplay/cmd/goplay
- go get -u -v github.com/mdempsky/gocode
- go get -u -v github.com/ramya-rao-a/go-outline
- go get -u -v github.com/rogpeppe/godef
- if [[ "$(go version)" =~ "go version go1.5" ]]; then echo hello; else go get -u -v github.com/zmb3/gogetdoc; fi
- if [[ "$(go version)" =~ "go version go1.5" ]]; then echo cannot get golint; else go get -u -v github.com/golang/lint/golint; fi
- go get -u -v github.com/lukehoban/go-outline
- go get -u -v sourcegraph.com/sqs/goreturns
- go get -u -v github.com/sqs/goreturns
- go get -u -v github.com/uudashr/gopkgs/v2/cmd/gopkgs
- go get -u -v github.com/zmb3/gogetdoc
- go get -u -v golang.org/x/lint/golint
- go get -u -v golang.org/x/tools/cmd/gorename
- go get -u -v github.com/tpng/gopkgs
- go get -u -v github.com/newhook/go-symbols
- go get -u -v github.com/alecthomas/gometalinter
- go get -u -v github.com/cweill/gotests/...
- GO15VENDOREXPERIMENT=1
- if [[ "$(go version)" =~ "go version go1.5" ]]; then echo skipping gometalinter; else gometalinter --install; fi
- GO111MODULE=on go get golang.org/x/tools/gopls

script:
- npm run lint
- npm run unit-test
- npm test --silent
34 changes: 34 additions & 0 deletions .vscode/changelog.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"user": {
"prefix": "user",
"scope": "markdown",
"body": [
"* [$2 (@$1)](https://github.com/$1)"
],
"description": "User Info"
},
"pr": {
"prefix": "pr",
"scope": "markdown",
"body": [
"[PR $1](https://github.com/Microsoft/vscode-go/pull/$1)"
],
"description": "Pull Request Number"
},
"bug": {
"prefix": "bug",
"scope": "markdown",
"body": [
"Fixes [Bug $1](https://github.com/Microsoft/vscode-go/issues/$1) with [PR $2](https://github.com/Microsoft/vscode-go/pull/$2)"
],
"description": "Bug Number"
},
"feature": {
"prefix": "feature",
"scope": "markdown",
"body": [
"[Feature Request $1](https://github.com/Microsoft/vscode-go/issues/$1) implemented with [PR $2](https://github.com/Microsoft/vscode-go/pull/$2)"
],
"description": "Feature Request Number"
}
}
86 changes: 72 additions & 14 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,102 @@
{
"version": "0.1.0",
"version": "0.2.0",
"configurations": [

{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
// path to VSCode executable
"runtimeExecutable": "${execPath}",
"args": [ "--extensionDevelopmentPath=${workspaceRoot}" ],
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/**/*.js"],
"preLaunchTask": "npm"
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Launch as server",
"type": "node2",
"type": "node",
"protocol": "inspector",
"request": "launch",
"program": "${workspaceRoot}/out/src/debugAdapter/goDebug.js",
"args": [ "--server=4712" ],
"program": "${workspaceFolder}/out/src/debugAdapter/goDebug.js",
"args": [
"--server=4711"
],
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/**/*.js"]
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm"
},
{
"name": "Launch Tests",
"name": "Launch Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
// the workspace path should be GOPATH
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test", "env.GOPATH" ],
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/integration/index",
"--timeout",
"999999"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/**/*.js"],
"preLaunchTask": "npm"
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Launch Extension Tests with Gopls",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
// the workspace path should be GOPATH
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/gopls/index",
"--user-data-dir", "${workspaceFolder}/test/gopls/testfixtures/src/workspace",
"--timeout", "999999",
"${workspaceFolder}/test/gopls/testfixtures/src/workspace" // gopls requires a workspace to work with.
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch",
},
{
"type": "node",
"request": "launch",
"name": "Launch Unit Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-u",
"tdd",
"--timeout",
"5000",
"--colors",
"${workspaceFolder}/out/test/unit"
],
"internalConsoleOptions": "openOnSessionStart"
}
],
"compounds": [
{
"name": "Extension + Debug server",
"configurations": ["Launch Extension", "Launch as server"]
"configurations": [
"Launch Extension",
"Launch as server"
]
}
]
}
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"**/bower_components": true,
"out/": true
},
"editor.insertSpaces": false
"editor.insertSpaces": false,
"typescript.tsdk": "node_modules\\typescript\\lib",
}
40 changes: 32 additions & 8 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team
// ${workspaceFolder}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
Expand All @@ -9,23 +9,47 @@
// A task runner that calls the Typescript compiler (tsc) and
// compiles the extension.
{
"version": "0.1.0",
"version": "2.0.0",

// we want to run npm
"command": "npm",

// the command is a shell script
"isShellCommand": true,
"type": "shell",

// show the output window only if unrecognized errors occur.
"showOutput": "silent",
// don't show the output window, rely on the problem matcher.
"presentation": {
"reveal": "never"
},

// we run the custom script "compile" as defined in package.json
"args": ["run", "compile"],

// The tsc compiler is started in watching mode
"isWatching": true,
"isBackground": true,

// use the standard tsc in watch mode problem matcher to find compile problems in the output.
"problemMatcher": "$tsc-watch"
}
"problemMatcher": "$tsc-watch",
"tasks": [
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"problemMatcher": [
"$tsc"
]
},
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
7 changes: 6 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ typings/**/*
.vscode/**/*
tsconfig.json
.gitignore
node_modules/fs-extra
node_modules/fs-extra
test/
**/*.map
**/tslint.json
build/**/*
docs/
Loading