How to edit "launch.json" file in VSC (Visual Studio Code) to automatically run current file in AI?
I am moving to VSC for ExtendScript development and have a question about the "launch.json". I read that it can be edited to target a specific application when running a script. But I can't find instructions for "How" to do that.
"version": "0.2.0",
"configurations": [
{
"type": "extendscript-debug",
"request": "launch",
"name": "Launch Program",
"program": "${file}",
"stopOnEntry": false
},
]
}
The above "launch.json" will run the current file to Illustrator as long as AI has been selected from the "Target Apps" list at the bottom of VSC. Problem is this selection is lost between sessions and I ONLY develop for AI (right now).
Note: There is no "JSON" code option in the "Format Code" feature in this forum.
