Skip to main content
Inspiring
February 8, 2011
Answered

How to move code to the left or right?

  • February 8, 2011
  • 1 reply
  • 1572 views

Hi,

Does anyone know how you can easly move code to the left or right using ExtendScript Toolkit app?

In Dreamweaver there are 2 buttons which allows you to move the code. The buttons will insert or remove tab characters before the code.

Kind regards

John

This topic has been closed for replies.
Correct answer _Jongware_-9BC6tI

Quite to my surprise (Adobe missed the boat, AFAIAC, with just about the entire rest of the Extendscript editor), it adheres to the common conventions for most code editors(*): Tab indents a selected block, Shift+Tab outdents it.

(*) Apple's XCode editor replaces the selected text with a tab. Yuck.

1 reply

_Jongware_-9BC6tICorrect answer
Inspiring
February 8, 2011

Quite to my surprise (Adobe missed the boat, AFAIAC, with just about the entire rest of the Extendscript editor), it adheres to the common conventions for most code editors(*): Tab indents a selected block, Shift+Tab outdents it.

(*) Apple's XCode editor replaces the selected text with a tab. Yuck.

Inspiring
February 8, 2011

Thanx for your great feedback. It seems to work like a charm.

It also would be nice if adobe could do something about it's code completion functionality in the Toolkit. It's really a pain in my ***. It really doesn't work as well as it should be... Now, I have to lookup every property and function in the object model viewer...

John

Inspiring
February 8, 2011

Precisely. That's why I don't bother with their editor at all. (I must have started it, just for you, first time in several years.)

My personal code editor favourite is TextPad (Windows); it doesn't have code completion or other niceties, but it *has* built-in support for custom Windows Help Files. (Get it? )

Second best -- because it's not right there, but gettin' better all the time -- is TextWrangler on the Mac.

Of course I can only work with external editors because I don't really need the incessant pop-ups or the built-in Help. Don't worry, your time will come for that as well.