[JSDT] Extends JSDT to manage MongoDB Shell Editor [message #897318] |
Mon, 23 July 2012 15:03 |
Angelo ZERR Messages: 122 Registered: July 2009 |
Senior Member |
|
|
Hi JSDT Team,
I'm starting to develop MongoDB IDE which is a Plugin Eclipse (RCP and RAP too) to manage MongoDB Databases.
For the moment I can start/stop a localhost MongoDB by managing Eclipse launch (like WTP Tomcat server) and display trace of the server in the Eclipsse Console.
MongoDB provides a Shell to type some query (bin/mongo.exe/sh). I can call it by creating launch and display in the Eclipse Console. But I think it should really cool if I can manage Mongo Query in a Eclipse Editor with completion, syntax error, highlight, etc...
Mongo Query follows Javascript syntax. For instance :
means that you wish to retrieve the all document from the users collection.
My idea is to provide for instance completion. Ex you type :
and Ctrl+Space, it opens completion with 'users' and other database names.
So I'm searching a good and extensible Javascript Editor to manage a new editor. My idea is to create *.mongo extension files, so I could inject for this kind of files db variable in the javascript context.
Do you think it's possible with JSDT?
Could you please give some help, how I could extend JSDT to manage my need?
Many thank's for your answer.
Regards Angelo
|
|
|
Powered by
FUDForum. Page generated in 0.02700 seconds