Is there a plan to enable the arcade ide to auto-indent like other languages( python )?

893
11
02-27-2025 07:25 AM
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

Just a basic question but is there any plans to update arcade so that ide indents like it does for other languages? I don't know if this question has been asked but I have been using other ides( Code Writer ) to write the code needed simply due to syntax and indentation.

Specifically regarding ArcGIS Pro.

11 Replies
HaydenWelch
MVP Regular Contributor

To add to this, it would also be nice to be able to edit Arcade scripts in your IDE of choice. Having to switch back and forth between IDEs is a pain.

Maybe just a VSCode extension that allows you to connect to a database and edit the Arcade directly?

HaydenWelch
MVP Regular Contributor

As it stands, the only way I can do this is with bespoke tooling that expands the CSV export into a framework, then re-compiles that to CSV and applies the changes with a Python tool.

And that feels dirty...

 

Edit: Since this doesn't seem to be in the current project map, I'm gonna clean up my code and submit it in a blog post here later this week. I'll also publish it on github as a public repository so people can help me out with it and get updates.

 

Edit2: Here it is!

0 Kudos