title: Blockly How to create a Variable to the workspace (developer variable)
body: <p>I want to create a Developer Variable to the workspace in Blockly, but I cannot find the necessary function/method. </p>
  
  <p>I do not want to create the variable over a button. The variable should be included even if there is no block in the workspace. </p>
  
  <p>With these two functions I can get the already created variables:</p>
  
  <pre><code>var variables = workspace.getAllVariables();
  var dev_var = Blockly.Variables.allDeveloperVariables(workspace);
  </code></pre>
  
  <p>But what is the setting function? </p>