Files
emacs-gdscript-mode/CHANGELOG.md
Franco Eusébio Garcia 6a3e4070bb Add syntax highlighting for function calls
Closes #30.

Pattern: identifier optional_spaces open_parenthesis

The implementation uses `"("` instead `(syntax open-parenthesis)` as
`open-parenthesis` is defined from `(open-paren (or "{" "[" "("))`. As a result,
the regular expression would also highlight array and dictionary variables.

The regular expression does highlight signal definitions with parameters,
though, as they follow the same pattern of function calls. This could be avoided
by ignoring expressions started with "signal" (or by adding a custom rule to
highlight signal definitions).
2020-04-03 15:22:52 -03:00

2.5 KiB

Changelog

This document lists new features, improvements, changes, and bug fixes in each release of the package.

GDScript mode 1.2.0

Currently in development.

Features

  • Added a command to insert a path to a project file, either using project-find-file if projectile is available, otherwise with find-file.
  • Added a command to format a selected region with gdformat.
  • Added syntax highlighting for function calls.

Bug fixes

  • Fixed loading the gdscript-godot module at initialization.
  • Fixed function calls in the mode map.

GDScript mode 1.1.0

Emacs GDScript mode is now available on the MELPA package archive!

Features

  • Added commands to run files or open the project in Godot. Type M-x gdscript-godot to find and try them.

Bug fixes

  • Fixed incorrect match block indentation.
  • Fixed error with code folding.
  • Added syntax highlighting for more built-in keywords .
  • Fixed error at startup on Emacs 26.3

Documentation

  • Added instructions to install with use-package.
  • Updated install instructions for MELPA.
  • Added documentation on using gdscript-godot-* commands.

GDScript mode 1.0.2

Changes

  • Addressed linting and checkdoc errors for a release on the MELPA package archive.
  • Split some more of the code to make the code easier to read and to maintain.

Bug fixes

  • Fixed function-definition-void errors in some cases due to a missing file import.
  • Fixed package loading error in some configurations.
  • Added syntax highlighting and completion for the following keywords: in, and, or, not, true, false.
  • Fixed incorrect auto-indentation in match blocks.

GDScript mode 1.0.1

This minor release fixes a bug with the GDScript keywords.

Improvements

  • Compile keywords for faster auto-completion and syntax highlighting.

Bug fixes

  • Fixed missing language keywords and constants lists.

GDScript mode 1.0.0

This is the initial release of gdscript-mode, which adds support for the Godot engine's GDScript programming language in Emacs.

Features:

  • Syntax highlighting.
  • Code folding.
  • Imenu.
  • Indentation and auto-indentation: tab-based (default) and space-based.
  • GDScript code formatting using gdformat.
  • Automatic pairing of parentheses, brackets, etc.
  • Comment wrapping when using fill-paragraph.
  • Support for scenes (.tscn), resources (.tres) and GDScript (.gd) files.
  • Basic code completion.