What code formatting extensions are recommended for editing ExtendScript in VSCode?

LEGEND ,
Jun 16, 2022 Jun 16, 2022

Copy link to clipboard

Copied

I've been using Beautify but it is no longer maintained.
Other options are ESLint and Prettier. Don't know if they recognize ExtendScript.

TOPICS
Scripting

Views

76

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 16, 2022 Jun 16, 2022

Copy link to clipboard

Copied

i use the standard formatter baked into vscode. that has done just fine for me. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 21, 2022 Jun 21, 2022

Copy link to clipboard

Copied

I use Prettier, and it seems to do OK with ExtendScript.

 

There's some VSCode tooling set-up recommendations in this blog post.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 23, 2022 Jun 23, 2022

Copy link to clipboard

Copied

LATEST

There are at least 17 "Prettier" extensions in the VSCode library and more than one that says it's for "Javascript". Which one should be installed? These are my top 3 guesses:

  • Prettier - Code formatter v9.5.0
  • Prettier - JavaScript formatter v0.17.101
  • Prettier - JavaScript formatter v0.22.1

Also, the blog post from 2019 referenced "Adobe Code Runner". Is that still a useful extention with the updates to "ExtendScript Debugger" extension?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines