google / bamboo-soy

An intellij plugin supporting Closure Template language (Soy)
Apache License 2.0
48 stars 17 forks source link

Add "Quick Fix" for adding missing required parameters #19

Closed thso closed 6 years ago

thso commented 7 years ago

When a template function call is missing required parameters

{template .foo}
  {@param a: int}
  {@param b: text}
{/template}

{template .other}
  {let $a: 42 /}

  {call .foo<caret>}
  {/call}
{/template}

a quick fix should add them

{template .other}
  {let $a: 42 /}
  {call .foo}
    {param a: $a /}
    {param b kind="text"}

    {/param}
  {/call}
{/template}

Notes:

kaathewise commented 7 years ago

blocked by #91

thso commented 6 years ago

Not doing this.