https://github.com/magicbell/interface-conformance
Interface Conformance VSCode extension for Golang
https://github.com/magicbell/interface-conformance
golang vscode vscode-extension
Last synced: about 1 month ago
JSON representation
Interface Conformance VSCode extension for Golang
- Host: GitHub
- URL: https://github.com/magicbell/interface-conformance
- Owner: magicbell
- License: mit
- Created: 2023-12-19T14:23:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T17:29:29.000Z (almost 2 years ago)
- Last Synced: 2025-08-18T15:50:40.432Z (10 months ago)
- Topics: golang, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=CodeInbox.interface-conformance
- Size: 1.78 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

## Interface Conformance
Interface Conformance for Golang is a VSCode extension that provides code actions for implementing interfaces in Go. When your method implements an existing interface, this extension will recommend a rename to match convention.

## Contributing
### Setup
1. Clone this repository
2. Run `npm install`
3. Run `npm run watch` to start the compiler in watch mode
4. Press F5 to open a new window with your extension loaded
5. Open a Go file and try out the code actions
## VS Code API
### `vscode` module
- [`languages.registerCodeActionsProvider`](https://code.visualstudio.com/api/references/vscode-api#languages.registerCodeActionsProvider)
- [`Diagnostic.code`](https://code.visualstudio.com/api/references/vscode-api#Diagnostic)
- [`CodeActionContext.diagnostics`](https://code.visualstudio.com/api/references/vscode-api#CodeActionContext)