UXP (Unified Extensibility Platform) is the modern way to create plugins and scripts for Adobe Creative Cloud
This plugin validates manifest.json
and CSS, LESS, SCSS files for UXP compatibility.
- Validates manifest.json for UXP compatibility
- Supports manifestVersion 4 and 5. Simply change the number and schema will switch
- Also supports auto-completion for manifest.json
- Validates CSS, LESS, SCSS files for UXP compatibility
- Use statusbar button to:
- enable/disable plugin
- change UXP version to validate against
Download from VS Marketplace: Validator for UXP
In VSCode type UXP
in commands pallette
By default it detects UXP version from manifest file but you can override it.
Alternatively you can also use menu in VSCode status bar.
If you find any issue or new rule to implement please create issue in this GitHub repo.
Although UXP looks like a browser it is not browser. All CSS support has to be explicitly implemented including units, selectors, css properties and other features. Different UXP versions support different properties and different host apps (e.g. Photoshop) implements different UXP version. Validator for UXP is here to help.
Shows UXP version, host app release date, EcmaScript version and version of V8 engine included in the oldest(min) host app version you decided to support. So you can make better decision on what and how should be supported in older versions.
Not all manifest parts are supported in older versions of host apps.
manifestVersion: 3
validation (often used in Experience Designer)
- make sure to uninstall the Marketplace version of this plugin (if you have any)
- run
npm i
in root of the project,server
folder andclient
folder - in project root run
npm run watch
- in Run & Debug tab in VSCode select
Launch Client
and click run - that is all you have to do... you can add breakpoints and inspect variables
- after you do changes and save them... it will recompile automatically
- press Ctrl+R in debugged VSCode to reload changes
- run
npm run build