Coder Social home page Coder Social logo

goctl-vscode's Introduction

Goctl for Visual Studio Code

English | 简体中文

go-zero license Test

Install

This plugin can be installed on Visual Studio Code version 1.46.0+. First make sure your version of Visual Studio Code meets the requirements and that the goctl command line tool is installed. If Visual Studio Code is not installed, please install and open Visual Studio Code. Navigate to the Extensions pane, search for goctl and install this extension (publisher ID is "xiaoxin- technology.goctl").

Please refer to here for Visual Studio Code extension usage.

Note: If the shell you are using is fish, the $PATH environment variable is configured in fish, which may cause the $PATH in vscode to be inconsistent with the $PATH in Terminal, please refer to: PATH issues with Fish shell on macOS.

Functions

Implemented functions

  • Syntax highlighting
  • Jump to definition/reference
  • Code formatting
  • Code block hinting

No implemented:

  • Syntax error checking
  • Cross-file code jumping

Syntax Highlighting

Code Jump


(Jump to definition/reference)

Code Format

The code formatting function will invoke the goctl command line formatting tool. Make sure goctl is added to $PATH and has executable permissions before using it.

Code Block Hints

Info Code Block


(Generate info code block)

Type Code Block


(Generate type code block)

Service Code Block


(Generate service code block)

Handler Code Block


(Generate handler code block)

Feedback & Suggestions

If you encounter problems or have suggestions for improvement, please submit an issue by clicking here.

goctl-vscode's People

Contributors

fanlongteng avatar szaquila avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.