Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Local Terminal Interpreter with "cd" and "npm"

Hello, Angelo
I do believe this is very useful functionality for bower / npm. 
Basically, bower / npm tools covers only install & update, which is pretty limited and will not replace CLI in many.  cases. I really like the idea with providing extension point for different interpreters, so that other CLI based tools can be adapted for the terminal. 

On Fri, Jun 17, 2016 at 3:55 PM, Angelo zerr <angelo.zerr@xxxxxxxxx> wrote:
Hi everybody,

I would like to know if you could interest with my work about "Local Terminal Interpreter". The basic idea is to interpret Terminal command to refresh the workspaces like project explorer. Here a demo where you can see:

 * "cd" command: when terminal executes "cd" command, the Project Explorer select the well folder.
 * "npm install" command: when terminal executes "npm install acorn", it refresh the parent folder where npm was executed and select the node_modules folder.



I think JSDT could be interested to refresh the Project Explorer after executing an "npm install" (like the demo) and for bower too.

In my case, I will use it to support Angular2 angular-cli to refresh the Project Explorer with components files which was generated with angular-cli.

For the moment, command interpreter are hard coded, but my idea is to provide an extension point to provide any interpreter.

I have posted my suggestion for Terminal project at https://bugs.eclipse.org/bugs/show_bug.cgi?id=496109 but none answer (I'm afraid that the project is not very active).

Today I define a new Local Terminal Interpreter, but I think Local Terminal could hosts this interpreter feature (that we could desactivate with a settings).

Hope you will like this feature and hope you will help me to try to ping Terminal guys to support this features.

Regard's Angelo


_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top