title: Dictionary as variable in Robot Framework: code runs ok but the IDE yields error
body: <p>I'm trying to set up a dictionary as a variable (so I can use it as a Resource and access its values from another file) and there is something that is driving me crazy.</p>
  
  <p>Here is the code I have (just for testing purposes):</p>
  
  <pre><code>*** Settings ***
  Documentation    Suite description
  Library  Collections
  
  *** Variables ***
  &amp;{SOME DICT}  key1=value1  key2=value2
  
  *** Test Cases ***
  Dict Test                                # why $ instead of &amp;?
      ${RANDOM VAR}=  Get From Dictionary  ${SOME DICT}  key1
      Log  ${RANDOM VAR}  WARN
  </code></pre>
  
  <p>If I run that, I got the expected result (<strong>[ WARN ] value1</strong>) BUT the IDE (PyCharm) is complaining about that <strong>${SOME DICT}</strong> variable is not defined, and the dictionary declaration is not highlighted the same as variable or a list.</p>
  
  <p>If I change that to <strong>&amp;{SOME DICT}</strong> the IDE won't complain anymore, but the test fails with the following output:</p>
  
  <pre><code>Dict Test                                                             | FAIL |
  Keyword 'Collections.Get From Dictionary' got positional argument after named arguments.
  </code></pre>
  
  <p>That is puzzling me to no end: why I have to use a $ instead of a &amp; if it's a dictionary to make it work? Is there something I am doing wrong and it is just running by luck?</p>
  
  <p>Thanks for any advice or guidance you may have!</p>