formulahendry / vscode-node-red

Node-RED for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=formulahendry.vscode-node-red
MIT License
19 stars 14 forks source link

How to expose global variable via setting config ? #7

Open acctesttemp opened 5 years ago

acctesttemp commented 5 years ago

Love this Node-Red style in Vscode. It can be configured to the same configuration and using same "flow.json" with outside, but how can I get global variable outside ( os, path ... also "electron" ) to this instance Node-Red via setting config as "readme" doing ?

Many thanks for any hint to expose global variable in Vscode, I think it's need for us to make seamless between in and outside instance Node-Red. As I know Vscode using electron in the base, please correct me if I miss sth :).