You can get Nodeclipse plugin in any Eclipse-based IDE. Recommended are standard Eclipse distributions or Nodeclipse NTS for Windows (where it is already pre-installed).
Nodeclipse runs perfectly well inside Adobe Flex Builder
Aptana Studio hints are now on separate page Hints-Aptana.md
Nodeclipse NTS is Eclipse distribution. Nodeclipse NTS currently is only for Windows.
Add -vm option in eclipse.ini, that is in Eclipse folder. Quote:
Note the format of the -vm option - it is important to be exact:
The -vm option and its value (the path) must be on separate lines.
The value must be the full absolute or relative path to the Java executable, not just to the Java home directory.
The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM.
Example:
...
-vm
C:\Program Files\Java\jdk1.7.0_11\bin\javaw.exe
-vmargs
-Xms40m
-Xmx512m
Using jvm.dll
is advised to be faster:
-vm
C:\Program Files\Java\jdk1.7.0_11\jre\bin\server\jvm.dll
In Eclipse ecosystem there are a lot of JavaScript Editors. Some examples:
- JSDT project
- VJET project
- Nodeclipse ships with it's own Node Editor and ...
- JS Editor (from Chromium project)
Eclipse standard JavaScript Development Tools (JSDT) (wiki) already includes JavaScript Editor with Code/Content Assist function.
Go to Preferences->JavaScript->Editor->Content Assist
Inferred Types
In order for some JDT-based functionality (such as code completion) to work correctly, class type information needs to be available. This information is not available in JavaScript, but it can be inferred in many cases.
Code assist for some libraries and framework is provided as extensions, for example Code assist for jQuery.
Check http://coffeescript.org/ for intro about CoffeeScript.
# Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
# Objects:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, runners
# Existence:
alert "I knew it!" if elvis?
# Array comprehensions:
cubes = (math.cube num for num in list)
Use CoffeeScriptSet.p2f
to quickly install.
Warning: this plugin created by Adam Schmideg was not updated for a year.
see About CoffeeScript support in Nodeclipse
JSON means JavaScript Object Notation, so you just have to have any JavaScript editor and associate the *.json files with it (this is default since Nodeclipse 0.4):
Window > Preferences
General > Editors > File Associations
Add... > File type: *.json
Select *.json file type > Add... (Associated editors) > JavaScript Editor
Make it default
Now you can now open JSON files with the JavaScript editor (with syntax highlight), use the formatter and set your favorite color theme with Eclipse Color Theme.
Alternatively, if you need/like good Outline, you can install JSON Editor plugin.
There is experimental support for minimap.
(Only in Nodeclipse NTS, close when don't like)
-
(Switch to Node perspective)
-
run as -> npm....
See also npm documentation
Thank to George Pang for question.
Press Ctrl+Shift+L to open QuickSearch Dailog, where you can search anything anywhere superquick.
Right-click folder in Project Explorer or selected path in an Editor, then
Press Ctrl+Shift+3 to commit current file or file set.
Just select them with mouse (holding Ctrl)
Right-click any of them Team -> Pull
See result.
When pulling, EGit (as any Git) does fetch then merge.
EGit will show error message if change conflict has happened. And Merging will stop.
You can use Team -> Synchronize, to compare local git workspace and with git repository.
Then you may select Replace With -> Branch, Tag, or Reference...
See markdown .md files as they are on GitHub. Very useful when browsing node_modules
folder. Minimum recommended version is 1.1.1 .
To open GFM View right click any .md file and select Show in GFM view. (Since 1.1.1 in Enide 0.4.10)
STS comes with EGit and GitHub support, that includes Mylyn GitHub Connector.
You need to add at least 1 query
See more at GitHub:teach:
- [Tips and Tricks: Using Eclipse with GitHub(http://eclipsesource.com/blogs/2012/08/28/tips-and-tricks-using-eclipse-with-github/) by Ian Bull
- GitHub Eclipse page
This one has not been updated for a long while. Sources are still on SVN.
Included as option since 0.4.11
https://sourceforge.net/projects/shelled/ http://shelled.sourceforge.net/
Press alt + shift + A to *Toggle block selection (option/alt+command+A on Mac)
Check current binding in Window->Preferences->General->Keys
From Eclipse Help:
-
Use Alt+Shift+W to open Properties or other associated Views.
-
All text editors based on the Eclipse editor framework support editing functions, including moving lines up or down (Alt+Arrow Up and Alt+Arrow Down), copying lines (Ctrl+Alt+Arrow Up and Ctrl+Alt+Arrow Down), inserting a new line above or below the current line (Ctrl+Shift+Enter and Shift+Enter), and converting to lowercase or uppercase (Ctrl+Shift+Y and Ctrl+Shift+X).
Eclipse Standard doesn't have HTML Editor included.
In order to get HTML Editor
- check Nodeclipse Plugin List plugin or HTML Editor (standard on Marketplace)
or
TODO update
- for Kepler
http://download.eclipse.org/releases/kepler
update site, just select JSF Tools - Web Page Editor - for Juno
http://download.eclipse.org/releases/juno
update site, just select Web Page Editor
http://download.eclipse.org/webtools/downloads/ is not updated yet for Kepler.