aptana

how to set default file permissions in Aptana Studio 3?

被刻印的时光 ゝ 提交于 2019-12-04 18:28:11
问题 Every time I upload a file to the remote host and try to open it, I get the "Internal Server Error" message and file permissions get set to "666" which needs to be "644" to open. How do I set default file permissions to be set to "644"? 回答1: Open the Preferences dialog: Window > Preferences Then go to: Aptana Studio > Publishing > FTP (You can just type 'ftp' into the search box) That will bring you to the settings page below where you can set the default permissions for new files and folders

Aptana auto format

老子叫甜甜 提交于 2019-12-04 17:11:29
问题 I'm trying out Aptana (standalone version) for PHP editing. Like its parent Eclipse, it has a lot of settings for code formatting. Unlike Eclipse, it doesn't seem to have an option for actually doing code formatting automatically or even by manual trigger. Is there a nonobvious option for this that I'm missing? 回答1: Right click > Format Works fine for me. Make sure you have the PHP plugin installed if it isn't working for you 回答2: Shift + Ctrl + F is also the default keyboard shortcut for

Aptana smarty support?

北城以北 提交于 2019-12-04 16:24:16
Is there any way to make aptana (2 or 3) support smarty ? Code color, etc.. I read people talking about how they like to have smarty support in Aptana 3 as in Aptana 2, but i don't find it even for Aptana 2! Thank you. I just installed smartypdt http://code.google.com/p/smartypdt/ on Aptana 2. Just go to help > install new software then click on "add" and choose the zip file you just downloaded. Uncheck "group items by category" then check the new smarty package that just appeared and keep clicking next . Make sur the .tpl are not associated with other formats. You can associate .tpl files

Python - A keyboard command to stop infinite loop? [duplicate]

流过昼夜 提交于 2019-12-04 15:44:51
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Why can't I handle a KeyboardInterrupt in python? I was playing around with some Python code and created an infinite loop: y = 0 x = -4 itersLeft = x while(itersLeft<0): y = y + x itersLeft = itersLeft - 1 print "y = ",y, "itersLeft = ", itersLeft print y Is there a keyboard shortcut that would allow me to stop the looping - allowing me to fix the loop and then restart it? I've tried Ctrl + C and didn't have any

How to customise editor's background color in the ruby plugin for eclipse?

旧街凉风 提交于 2019-12-04 12:59:50
How to customize editor's background color in the aptana's ruby plug-in 3.0.3.201108101424-7e-7Q7f4b2QfPuHR for eclipse? (Descriptions for older versions do not apply to this version and settings in Preferences | General | Text Editors do not have any effect.) You could customize the theme settings in Preferences > Aptana > Themes, e.g. changing the theme used in the combo box to "Eclipse" would switch the editor background to white. You could also read more on http://wiki.appcelerator.org/display/tis/Themes . Myriana I just found the answer! You don't go to Preferences/Appearance to change

Aptana freezing regularly in Windows 7

≡放荡痞女 提交于 2019-12-04 12:49:28
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 Aptana would be greatly appreciated as this renders it pretty useless :(. Deleting the log file seems to

eclipse javascript editor '10

梦想的初衷 提交于 2019-12-04 11:31:52
问题 I am going to ask the same question as JavaScript editor within Eclipse because it was written in 2010 and answers from 2008 are not true any more. So, "I'm looking for opinions on the best JavaScript editor available as an Eclipse plugin". Many thanks. 回答1: You can Install Web Tools Platform (WTP) or download Indigo's Eclipse IDEs for Java EE Developers or Eclipse IDEs for JavaScript Web Developers which come bundled with WTP. WTP consists of the JavaScript Development Tools (JSDT) which

Aptana Configuration : The interpreter configured does not exist in the filesystem

荒凉一梦 提交于 2019-12-04 08:41:42
Pretty much all said in the title. I've updated to the last version of Aptana (on Windows), and now my interpreter does not work. I've recreated the PYTHONPATH Variable, deleted and reconfigured the python interpreter in Aptana , deleted and recreated it in my project, still not working... It gives me following error: The interpreter configured does not exist in the filesystem And all kinds of error like : Description Resource Path Location Type Undefined variable: None models.py line 48 PyDev Problem Worst part is, I work on a django app. and I can launch it fine, the only problem resides in

Aptana 3.0.4 and PHP Debugging

a 夏天 提交于 2019-12-04 08:10:24
问题 I have tried to debug PHP code in Aptana 3.0.4, however without success. First, it is possible? Second, what are the specific configurations? P.S.: I am using Symfony 1.4 and I want to debug the PHP code. 回答1: It's not possible yet on a plain vanilla version of Aptana Studio 3, but it will be possible soon (I hope). If you want to debug PHP, and only have the Aptana's editors support, you will need to install PDT on top of it and use its debugger capabilities for now. However, keep in mind

Aptana crashes after upgrading to Xubuntu 14.04

房东的猫 提交于 2019-12-04 05:59:00
问题 I have been using Aptana for years now, and have become accustom to its many features. It has been reliable up until I upgraded from Xubuntu 13.04 to 14.04. Now it crashes ever 5 or so minutes. I can't get work done. No error appears and the screen just disappears. I have to create my SFTP connections all over again each time i restart it. I have looked in ~/Aptana Workspace/.metadata/.log but it does not have any information about why it is crashing. If this means anything, 99% of my work is