Aptana Studio: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Debug) |
|||
Zeile 36: | Zeile 36: | ||
==Django== | ==Django== | ||
===Configure=== | ===Configure=== | ||
− | * sudo apt-get install python-mysqldb | + | * Install PyDev: http://pydev.org/download.html |
+ | * Install MySQL DB: sudo apt-get install python-mysqldb | ||
+ | |||
===Debug=== | ===Debug=== | ||
* Right click on project -> Debug as -> PyDev Django (starts the server in debug mode) | * Right click on project -> Debug as -> PyDev Django (starts the server in debug mode) |
Version vom 23. Juni 2013, 14:44 Uhr
__NONUMBEREDHEADINGS__ http://www.aptana.com/products/studio3
Editors Settings
Javascript
- Install the plugin "JavaScript Developer Tools". Repository location: http://download.eclipse.org/webtools/updates
- Use "JavaScript Editor" instead of "JavaScript Source Editor":
- better auto completion
- Convert your project to JavaScript project.
- Right click on the project and then select "Convert to JavaScript project". This will add the JS nature to your project,
- Setting the JavaScript Build Path
- How to enable code assist for the DOM for JavaScript projects in Eclipse
Plugins
- jshint-eclipse - JSHint integration for the Eclipse IDE
- http://jebaird.com/2012/11/02/useful-plugins-for-aptana-studio-3.html
- Using the Eclipse Marketplace on Aptana Studio 3
Code Completion
- jQuery: Commands->Bundle Development->Install Bundle and then select jQuery from the list.
Shortcuts
- Unbind Shift-Alt Up shortkey in 12.04? (useful for block selection in Aptana/Eclipse)
- 10 Eclipse Navigation Shortcuts Every Java Programmer Should Know
- Eclipse Shortcuts
Libraries Support
Validation
- We've added a new high-performance JavaScript Style validator that does much of what JSLint does, but in a fraction of the time. Try turning it on in Preferences > Studio > Validation > JavaScript.
Aptana Development
Django
Configure
- Install PyDev: http://pydev.org/download.html
- Install MySQL DB: sudo apt-get install python-mysqldb
Debug
- Right click on project -> Debug as -> PyDev Django (starts the server in debug mode)
Drawbacks
- It does not "understand" Django templates; treating them as ordinary HTML files. So you will not get code completion in templates
Alternatives
Online IDEs
- Cloud9 IDE, Features
- Ace
- Pulled request: Implement basic code completion, Autocompletion in ACE editor