aptana

Jquery/Jquery mobile - Aptana Studio 3

时光怂恿深爱的人放手 提交于 2019-12-10 10:43:58
问题 I can't seem to find a good post for turning on syntax highlighting or intellisense for jquery/jquery mobile in Aptana Studio 3 for Mac. What I have found is out of date or the instructions don't match the version I have installed (like this SO post. Is it possible in Studio 3 for Mac? 回答1: Well right after I posted I found this answer on a SO post (which like all others didn't have the correct instructions, but this one was close enough to where I managed to find it) Here's what I did: 1)

Python unicode write to file crashes in command line but not in IDE

别来无恙 提交于 2019-12-10 10:32:53
问题 I'm having a problem wherein my Python 2.7.3rc2 code runs fine through an IDE (Aptana Studio 3 with PyDev), but crashes when I either double-click the .py file or try to run it from the Windows command line. The problem line is where I try to write a string containing unicode characters to a file. The IDE has no problem with it, and writes the file properly with the unicode characters. The command line version complains that it can't encode certain characters. The root of the question is:

Code editing in Visual Studio like it is in Aptana Studio

会有一股神秘感。 提交于 2019-12-10 10:24:15
问题 Is there any plugins to Visual Studio that enables you to have the wonderful type-style you get in Aptana Studio, ie: Auto brace completion Auto indentation of braces (and other characters) whenever 'enter' is pressed inside the braces, like so: Before enter: {*} After enter: { * } Is it possible to make this work in Visual Studio (via plugin or otherwise)? 回答1: You can use, for instance, Resharper, http://www.jetbrains.com/resharper, which is a pay-for plugin for code style, code refactoring

How to automatically indent the JavaScript code in Aptana Studio?

孤者浪人 提交于 2019-12-10 03:26:27
问题 Previously I used Eclipse for PHP and Java development, and I liked the command Ctrl + i to automatically indent the code. Now am I using Aptana Studio that is based on Eclipse, for JavaScript development. I would like to automatically indent my JavaScript code, but Ctrl + i deletes all my code. Is there any other command that automatically indent JavaScript code in Aptana Studio? 回答1: The Studio does not have this feature yet. You can add a feature request here: https://aptana.lighthouseapp

Aptana Warns about script and link tags when it shouldn't

蓝咒 提交于 2019-12-10 01:23:27
问题 I'm running Aptana Studio 3, build: 3.1.3.201205292243, Win7 64bit, and I've noticed that after the last update, Aptana is warning me (annotations on the vertical) that I should "trim empty " tags, but these are normal script tags linking an external js file like this: <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references --> <link rel="shortcut icon" href="/favicon.ico" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <script

Advanced Custom Syntax Coloring for Aptana Studio 3 (.less)

杀马特。学长 韩版系。学妹 提交于 2019-12-09 16:21:46
问题 I would like to add syntax highlighting for .less for Aptana Studio 3. I found XText but it only seems to work with Eclipse. Apatana doesn't seem to give too many leads into how to do this on their forums, so does anyone have any experience working with creating custom syntax highlighting or know of a solution for including .less syntax detection and highlighting already? 回答1: If you just want syntax highlighting, you could get Aptana to treat .less files as .css files. To do this, open the

Can Aptana find and replace in multiple files?

余生颓废 提交于 2019-12-09 14:36:46
问题 I have a lot of files that have errors because the imported text uses smart quotes and the export program has replaced these with those crazy symbols. I'd like to just find and replace with Aptana and change all of these in all these files. It would be useful in a much greater capacity, however, today this is the only thing I need it for. Thanks. Using Aptana 2 if it is different than 3. 回答1: Pressing Ctrl + H will allow you to search, find, and replace based on workspace, selected files, and

Aptana Studio 3's error log location?

心已入冬 提交于 2019-12-09 14:07:13
问题 When formatting a file, Aptana reports: Unable to format. See error log for details. I haven't been able to find the error log. 回答1: You could access it via Help > Aptana > View Log File. 回答2: According to the docs it should be in the current workspace /.metadata/.log https://wiki.appcelerator.org/display/tis/Accessing+the+Log+File 回答3: !ENTRY com.aptana.formatter.epl 4 0 2012-12-07 09:47:47.868 !MESSAGE (Build 3.2.2.201208201020) [ERROR] com.aptana.formatter.epl/debug Error while formatting

How to change the HTML file template on Aptana Studio 3 beta?

不羁的心 提交于 2019-12-09 13:21:06
问题 Aptana Studio 3 beta's HTML5 file template is below: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame Remove this if you use the .htaccess --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>new-file</title> <meta name="description" content="" /> <meta name="generator" content="Studio 3 http://aptana.com/" /> <meta name="author" content="Wei Lou" /> <meta name="viewport"

Aptana PHP Formatter - use custom formatting rules

 ̄綄美尐妖づ 提交于 2019-12-09 09:47:55
问题 I'm using Apatana's formatting features in PHP documents, it works well except with arrays where it transform this: $data = array( 'email' => $params['email'], 'username' => $params['username'], ); into this: $data = array('email' => $params['email'], 'username' => $params['username']); is there a way to avoid this and set custom formatting rules? 回答1: Yes. There is a way. Go to the Studio's preferences and locate the 'Formatter' item. If you are using the default formatter profile, create a