<p>I want to use a real IDE for editing javascript files in combination with Firebug. In the 'Add editor' dialog for Firebug I'm allowed to specify executable and arguments. So the question is really how do I open a file in Eclipse/Netbeans from the command line. </p>

<p>Extra points for allowing me to choose between opening a new Eclipse/netbeans instance and reusing an already running one.</p>

[{'answer_id': 58847, 'author': 'andyuk', 'author_id': 2108, 'author_profile': 'https://Stackoverflow.com/users/2108', 'pm_score': 1, 'selected': False, 'text': '<p>Not an exact answer I\'m afraid, but this information might help.</p>\n\n<p><a href="http://help.eclipse.org/help21/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/running_eclipse.htm" rel="nofollow noreferrer">Eclipse Help - Running Eclipse</a><br>\n<a href="http://ajaxian.com/archives/fireclipse-debug-from-ff-straight-into-eclipse" rel="nofollow noreferrer">Fireclipse: Debug from FF straight into Eclipse</a></p>\n'}, {'answer_id': 322518, 'author': 'Craig Angus', 'author_id': 15352, 'author_profile': 'https://Stackoverflow.com/users/15352', 'pm_score': 0, 'selected': False, 'text': '<p>I havent tried this yet but looks interesting <a href="http://code.google.com/p/jsdt/wiki/newFeatures" rel="nofollow noreferrer">Javascript Debug Toolkit 2.0.0</a></p>\n\n<p>Also I have heard that <a href="http://www.aptana.com/" rel="nofollow noreferrer">aptana</a> is pretty good</p>\n'}, {'answer_id': 362920, 'author': 'mliebelt', 'author_id': 2603665, 'author_profile': 'https://Stackoverflow.com/users/2603665', 'pm_score': 0, 'selected': False, 'text': '<p>Ever though about the other way round? That means to start eclipse, start there a debug session with Firebug included?</p>\n\n<p>If that could be an answer, see the explanation under <a href="http://www.aptana.com/docs/index.php/Installing_the_JavaScript_debugger" rel="nofollow noreferrer">Installing the JavaScript degbugger</a> for the <a href="http://www.aptana.com/studio" rel="nofollow noreferrer">Aptana Studio</a>. There is an option to install Aptana inside eclipse instead of loading the whole thing.</p>\n\n<p><strong>Caveat:</strong> I have never tried that, but I use currently Aptana for programming Rails, perhaps I will use that in the near future.</p>\n'}]
['https://Stackoverflow.com/questions/58551', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1835074/']