简体   繁体   English

JavaScript中的区域/代码崩溃? (Aptana工作室)

[英]Regions/code collapse in JavaScript? (Aptana studio)

is it possible to use "Region" code for JavaScript in Aptana Studio? Aptana Studio中可以在JavaScript中使用“区域”代码吗? 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.. 我发现了一个帖子,您应该转到“首选项-> aptana->编辑器-> javascript->选择折叠”,但这并没有告诉我该怎么做。

Is there a command, such as #region in visual studio? 是否有命令,例如Visual Studio中的#region?

Thanks! 谢谢!

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. 该命令将控制默认情况下折叠的区域,但这与您在Visual Studio中找到的自定义区域不同。 If you'd like that feature, you might submit a feature request on the Aptana bug tracker. 如果您想要该功能,则可以在Aptana错误跟踪器上提交功能请求。 I couldn't find an existing ticket that covers it. 我找不到覆盖它的现有票证。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM