This repository has been archived by the owner on Apr 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
51 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
# Golang snippets | ||
# Golang Tools | ||
|
||
[![Version](https://vsmarketplacebadge.apphb.com/version/neonxp.gotools.svg)](https://marketplace.visualstudio.com/items?itemName=neonxp.gotools) | ||
[![Installs](https://vsmarketplacebadge.apphb.com/installs/neonxp.gotools.svg)](https://marketplace.visualstudio.com/items?itemName=neonxp.gotools) | ||
|
||
[Install extension](https://marketplace.visualstudio.com/items?itemName=neonxp.gotools) | ||
|
||
Extensions with frequently used snippets for productive go development. | ||
Extensions with frequently used snippets and code actions for productive go development. | ||
|
||
Extension in active development! Your contribution is always welcome :) | ||
|
||
# Snippets | ||
|
||
| Prefix| Description | Example | | ||
| :---- |:-----------:| -------:| | ||
| `pkg` | Package header line | `package test` | | ||
| `construct` | Constructor for structure type | see in action | | ||
| `var` | Variable with type and value | `var test string = "hello"` | | ||
| `stack` | Stack from array of types | see in action | | ||
|
||
# Code actions | ||
|
||
* Add error checking - adds stub error checking to current line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters