aptana

How to format code on aptana 3?

谁说胖子不能爱 提交于 2019-12-13 16:19:46
问题 It is showing default code format settings in preferences but i can not see any option to format a code file.Please help. Edited: I can format text by selecting text and ctrl+shift+F. But i want to format whole source code or at least a given folder. 回答1: That's not currently an option. I've added a ticket for it here: https://aptana.lighthouseapp.com/projects/35272-studio/tickets/2333-format-whole-folder-of-source-code 回答2: You can format the code by a simple Ctrl+Shift+F. It's actually

How to understand browser icons in PHPStorm content assist?

喜你入骨 提交于 2019-12-13 12:38:46
问题 In the image attached below, in the (3) light blue content assist box, on the left there are 5 Firefox browser icons. What do they mean? Seemingly they mean those methods are only supported in Firefox. But of what versions ? And if a certain element is supported in both Firefox and Chrome, but not IE , how will it show (as there is only 1 column space for 1 icon)? (image from http://www.jetbrains.com/phpstorm/webhelp/familiarize-yourself-with-phpstorm-editor.html) On the other hand, in Aptana

Aptana studio 3 installation error

对着背影说爱祢 提交于 2019-12-13 08:48:46
问题 I've just installed Aptana Studio 3 on windows. I have installed ruby 192 with rubyinstaller. When I try to execute a code I get: c:\Ruby192\bin\rubyw.EXE: No such file or directory -- Studio (LoadError). What should I do now? Thanks, 回答1: This is a known issue with debugging on Windows in Studio 3.0.3, see http://jira.appcelerator.org/browse/APSTUD-3075 This is fixed in the upcoming 3.0.4 release. You can grab the bugfix by changing to the beta or nightly update streams: http://wiki

Can Aptana do code folding?

不想你离开。 提交于 2019-12-13 08:32:04
问题 I would like to code folding in aptana 2 but I cannot figure out how to do it. How do you do it? 回答1: You mean these things? Go to Window > Preferences Type in code folding (my bad) into the search box, then change the preferences. 来源: https://stackoverflow.com/questions/3642668/can-aptana-do-code-folding

Aptana closes unexpectedly

流过昼夜 提交于 2019-12-13 02:38:44
问题 I just installed Aptana Studio 3.4.2 on a fresh install of Linux Mint 16 with Oracle java. The program closes unexpectedly. So far I've only used it with the Python perspective active. It seems to happen more often when I'm editing an html file. I used it for 3 hours one day before it crashed; other times only 10 minutes. The log file has a recurring error that may be related but I can't find any info on it: !MESSAGE Invalid preference page path: XML Syntax. Does anyone know what is causing

How to configure aptana for instant running of my script

我与影子孤独终老i 提交于 2019-12-12 22:26:08
问题 I'm working on a Ruby on Rails project and sometimes I need to run a script. Everyone else seems happy running their own server and scripts through the console. I on the other hand really want to write my code, press a button and have Aptana run my script. For one I hope this will enable breakpoints. How do I make sure it knows the database classes, currently I get TableName unknown name error. "require 'table.rb'" gets me a cannot load file error. Tried adding the file path with / and \,

Aptana not saving changes

微笑、不失礼 提交于 2019-12-12 20:34:16
问题 I have installed Aptana onto my new laptop the same way as I have installed it on all my computers. When I make changes to a file in my project, those changes are not getting written to the local file itself (confirmed this by opening the file in another program like notepad). However, if I re-open the file in Aptana (even if i restart the computer), I can still see the changes that I have made to that file. I have never seen Aptana do this before. On all my other computers, this does not

How to make Aptana shows Laravel statements color in .php files(support Laravel)?

一笑奈何 提交于 2019-12-12 14:07:07
问题 Sublime Text 2 in my tutorial video shows Laravel statement color well, the same code in my Aptana is just white(in a *.php file), it treats the code as plain HTML text, how can I set Aptana to show code with color(support Laravel)? @layout('master') @section('main') @foreach($users as $user) {{$user->email}} @endforeach @endsection @section('nav') <li>Details</li> @parent @endsection All above codes are white except <li></li> tags, that is not the way I want. I don't know how to set Aptana

Aptana flagging valid brackets as PHP syntax error

不羁的心 提交于 2019-12-12 12:05:06
问题 I'm new to Aptana, so don't quite have all of the behaviors sorted. I have PHP code that works, but Aptana is throwing syntax errors on both of the brackets: public function addRecord($data) { $request = [ 'action' => 'addrecord', 'data' => json_encode($data) ]; return $this->requestJson($request, 'POST'); } What am I not seeing here? 回答1: It seems that Aptana does support PHP 5.4 now, whereas it didn't when the original post was made. Project->Properties->PHP Development-> Select PHP 5.4.x

Aptana freezing regularly in Windows 7

时间秒杀一切 提交于 2019-12-12 08:56:17
问题 Seems to be since updating Aptana 3.4 (3.4.0.201304151603 to be precise) that it regularly freezes up - greys out and displays "Not responding". It doesn't freeze up straight away, usually after editing and saving for a few minutes. Generally seems to freeze while editing code, usually PHP. My log file did report issues with the Subversion plugin, but I've since removed this entirely and still face the same issues. My OS is Windows 7 32-bit. Any suggestions on how to remedy such problems in