Hennamann / CC-Extension-Builder-For-Visual-Studio-Code

A Visual Studio Code Extension that lets you create HTML based extensions for Adobe Creative Cloud applications such as Photoshop, Illustrator and InDesign.
MIT License
45 stars 10 forks source link

How to use #8

Closed MrDChristop closed 4 years ago

MrDChristop commented 5 years ago

Hi i installed the extension but can not find a way to use it. Can you explain this a bit more?

Thanks

curtney commented 5 years ago

I cannot find any configuration for the extension. A brief explanation how to setup the extension would be great.

Thanks

curtney commented 5 years ago

Okay, I figured it out!

  1. Go to "Command Palette" (View -->Command Palette or simply press F1).
  2. type "Extension Creator" You will see the command "Create a New CC Extension" select it and follow the prompts.

Hi i installed the extension but can not find a way to use it. Can you explain this a bit more?

Thanks

rupeshbhatti commented 4 years ago

Thanks @curtney ... how does one then access an extension in the desired Adobe CC app e.g. Premiere Pro?

rupeshbhatti commented 4 years ago

I've just worked it out. Incase it's of use for anyone else:

  1. Go to Command Palette (on the mac use cmd-shift-p)
  2. Find and select Extension Creator: Enable CEP Debug mode

This will activate the extension. Next, open the Adobe CC app and you should see your extension under window -> extensions

schroef commented 4 years ago

Looks like a great tool indeed, but could some info on that screen :)

Ps does anyone know if i can also debug an already made extension with this tool. I don't really like CEFclient, Chrome devtools don't work properly

Screen Shot 2020-03-27 at 14 09 37
Hennamann commented 4 years ago

Should have answered here long ago, apologies for that. I'll get the readme updated with instructions, i guess i just assumed that everyone using VScode were familiar with extensions and the command palette.

@schroef Outside of the use of CEFclient or chrome dev tools there really is no good way of debugging CEP extensions. Though you can debug extendscript files using the official Adobe Extendscript Debugger extension from Adobe: https://marketplace.visualstudio.com/items?itemName=Adobe.extendscript-debug

Adobe is working on a new plugin/extension system called UXP which will improve debugging, but it's currently only available for XD and soon Photoshop. And it's a completely different system from CEP.