Regions/code collapse in JavaScript? (Aptana studi

2019-06-14 08:40发布

问题:

is it possible to use "Region" code for JavaScript in Aptana Studio? I found a post that you should go to "preferences -> aptana -> editor -> javascript -> select folding", but that doesn't tell me how to do it..

Is there a command, such as #region in visual studio?

Thanks!

回答1:

That command is to control which areas are folded by default, but that's not the same as custom regions that you find in Visual Studio. If you'd like that feature, you might submit a feature request on the Aptana bug tracker. I couldn't find an existing ticket that covers it.

https://aptana.lighthouseapp.com/projects/35272-studio/tickets/new