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"

Hi Mickael,

2016-06-20 10:18 GMT+02:00 Mickael Istria <mistria@xxxxxxxxxx>:
On 06/17/2016 03:55 PM, Angelo zerr wrote:
 * "cd" command: when terminal executes "cd" command, the Project Explorer select the well folder.
I do not think that all people will enjoy seeing this selection changed without them being aware of it.

Yes sure Mickael, it was just a sample. And my idea is to provide an UI Preferences which list of contributed interpreters to disable it if you wish (by default, cd interpreter could be disable). My other idea too si to add a checkbox "with interpreter" to the existing "Local Terminal" to disable/enable interpreter.

 
So if you're going to contributor, it most likely requires a way to switch it on/off from Terminal.

No, I will not have time to become a contributor. My idea is to implement in typescript.java the "Local Terminal (Interpreter)" because I'm using for Angular2 ng angular-cli. If my work pleases to tm project, I will try to create a PR for that. If you want to try it, you can find my work at 


I have just tested with Windows OS, I don't know if it works with other OS.
 
Note that rather than listening to the "cd" command, just listening to the current path of the terminal on each command may be more generic (supports pushd or other commands changing directories but not being cd)

Yes you are right, I will try to implement your idea. 

 * "npm install" command: when terminal executes "npm install acorn", it refresh the parent folder where npm was executed and select the node_modules folder.
Refreshing when we know something changed is a good thing.
I have same concerns as above about immediately changing selection.
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).
I'll post my comments there.

Thanks! 


--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

_______________________________________________
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