Skip to content

0.48.3

Compare
Choose a tag to compare
@Prince781 Prince781 released this 04 Jul 09:42

what's new

code help

  • more expressions are supported by the rapid completion parser
  • the highlighted range has been narrowed to the symbol on hover, making it easier to move your mouse over sub-expressions and sub-symbols
  • suggest unimplemented symbols for compact classes
  • Vala with statements are now supported
  • keyword suggestions have been improved

symbols are rendered with the name of their parent, which gives more visual context

before:
Screenshot from 2021-07-04 04-11-14

after:
Screenshot from 2021-07-04 04-10-35

signature help for printf()-style functions is tailored to the format string

Peek 2021-07-04 04-35

code lenses for methods that are overridden, hidden, or implemented

(clicking on the code lens to list the base/hidden symbol is only supported with the VS Code plugin, but see the next feature)
Peek 2021-07-04 05-10

use goto-definition on implementing/hiding symbols to go to the base/hidden symbol

(this works for everything else that doesn't support VLS's code actions)
Peek 2021-07-04 05-18

snippets for method completion

method snippets

Demonstration of VLS understanding the code style when completing (notice that VLS dynamically adjusts to the coding style as it changes from one space to zero spaces before method arguments):
method snippets style

fixes/other improvements

  • project: improve dependency graph construction (#168)
  • support Meson subprojects (#162)
  • make GIR documentation work with custom targets (#162) and Vala scripts (#186)
  • set default value for insertTextFormat (#148)
  • completion: fix inclusion of override when suggesting unimplemented symbols
  • fix substitution of type args in parent types
  • add a few workarounds for recursive types to avoid compiler crashes
  • improve the handling of changes to the project

contributors

Princeton Ferro (@Prince781), Ben Iofel (@benwaffle), Rasmus Thomsen (@Cogitri), Tao Zuhong (@taozuhong)