2017-02-15 18:13:07 +08:00
2016-12-11 22:45:31 +08:00
2016-12-25 19:35:11 +08:00
2017-01-02 10:23:36 +01:00
2016-12-11 22:45:31 +08:00
2017-01-19 23:05:23 +08:00
2017-02-15 18:13:07 +08:00
2017-01-19 23:05:23 +08:00
2017-01-19 23:05:23 +08:00
2016-12-11 22:45:31 +08:00

A complete set of tools to code games with the Godot game engine in Visual Studio Code.

Features

The plug-in comes with a wealth of features to make your programming experience as comfortable as possible

  • Syntax highlighting for the GDscript language
  • Syntax highlighting for the tscn and tres scene formats
  • Function definitions and documentation on hover
  • Rich auto completion
  • Static code validation
  • Open projects and scenes in Godot from VScode
  • Ctrl click on a variable or method call to jump to its definition (new in 0.1.3)

Showing the documentation on hover feature

Available commands

The plug-ins adds a few entries to the command palette

  • Update Workspace Symbols
  • Run workspace as godot project
  • Open workspace with godot editor
  • Run current scene

Settings

You can use the following settings to setup the Godot Tools:

  • GodotTools.editorServerPort: The http server port used by the EditorServer Godot module (see Extra Functionality below)
  • GodotTools.maxNumberOfProblems: Sets the limit for the issues reported by the static code validator
  • GodotTools.editorPath: An absolute path pointing at the Godot Editor executable file. Required to run the project and test scenes from VScode
  • GodotTools.workspaceDocumentWithMarkdown: Control the documentations of workspace symbols should be rendered as plain text or html from markdown

Extra functionality

If you want to get an even better experience with this plug-in, you can extend its functionality using the following modules and VScode extensions:

Godot modules

These are modules for the goats editor itself, programmed in C++. In order to use them, you have to create a custom build of the engine. Only do that if you know what you're doing.

  • EditorServer: Using HTTP requests, this module gets extra information from Godot to improve autocompletion.
  • VSCode: The VS code module generates a setting file that Visual Studio code can use to generate Tasks automatically.

VScode extensions

  • TOML language: Godot uses this minimal language to store settings. For example in your project config file. If you want to get syntax highlighting for these files, you will have to install the TOML language extension.

Issues and contributions

The Godot Tools and the go to engine modules are all hosted on GitHub. Feel free to open issues there and create pull requests anytime.

Release Notes

0.2.2

  • Better Syntax validating for code blocks
  • More waring for non-python liked expression

0.2.1

  • Support markdown render in hover tips for documentations in workspace symbols
  • Add configuration GodotTools.workspaceDocumentWithMarkdown to control workspace documentation rendering

0.2.0

  • Show autoloads informations in hover tips and go to autoloads' definitions are supported now
  • Fix the bug that workspace symbols resoved twice on Windows

0.1.9

  • Show workspace constant value in hover tips and completion items
  • More readable style for links in documentation preview page
  • Improve code completion sort order and auto insert () for functions without paramaters
  • Fix bugs with workspace documentation parsing

Read more from the full change log

Description
Godot development tools for VSCode
Readme MIT 6.2 MiB
Languages
TypeScript 89.2%
GDScript 7.3%
JavaScript 2.8%
CSS 0.7%