VSCodeExtension icon indicating copy to clipboard operation
VSCodeExtension copied to clipboard

Variable/Function completion no longer works in <<if>>, <<set>> commands

Open fmoo opened this issue 1 year ago • 0 comments

What is the current behavior?

When writing an <<if>> or <<set>> statement, the vscode extension no longer suggests variables or custom functions.

Please provide the steps to reproduce, and if possible a minimal demo of the problem:

Type the following commands into any node:

<<declare $foo = 0>>
<<if $

Or:

<<declare $foo = 0>>
<<set{space}

(where {space} is a trailing spacebar keystroke)

What is the expected behavior?

The plugin should suggest valid variable names and custom functions.

Please tell us about your environment:

  • Yarn Spinner Version: 2.3
  • Extension Version: 2.2.113 or newer
  • Unity Version: 2021.3.25f1

Other information

  • Variable/Function suggestions work just fine inside of {...} braces inside of regular custom <<Commands>>
  • Versions 2.2.113 or older behaved as expected wrt: code completion on if and set statements

fmoo avatar Feb 17 '24 10:02 fmoo