- Support for formatting documents that use
importto import external dependencies.
- Support abbreviated doc code blocks, such as
@doc "foo"
- Updated some outdated outlink.
- Improve error message when an error occurs in format api file.
- Add goctl output channel for debug info log print and error log print.
- Add
@handlerannotation syntax highlighting. - Support for route jump without returns to definition.
- Fix some syntax highlighting errors, example
get /greet/to/:name.
- Add go-zero logo.
- Optimize the formatting logic, when formatting the file, there is no need to save the file to disk.
- Fix the bug that the file cannot be saved when the user sets
editor.formatOnSaveistrue.
Note: To upgrade this version, please make sure that the goctl command line tool is also upgraded to the latest version. To upgrade the goctl command line tool, you can rerun the goctl command line tool installation command.
- Add
@handlersnippet. - Add go style snippet (
tysandim).
- Fixed cannot be jump to code definition in some cases.