之前也在网上找了些打开文件当前目录的插件,可不知道为何用不了,后来发现,原来可以自己手写一个类似功能的插件的(用eclipse自带的插件定义设置)。
1.开打eclipse ide,依次run-》external tools-》external tools configuration
2.在Program下,new一个自己定义的program,我这里取名为“打开文件所在目录”
3.在Location一栏,输入:C:\WINDOWS\explorer.exe;在argument一栏,输入:${container_loc};确认新增即可
4.回到主界面,在run那里,可以看见刚才自定义的插件了。
5.测试下,大功告成。
[img]http://dl.iteye.com/upload/attachment/425902/5ee5c5e4-761e-3a28-919f-0426297a8487.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/425906/36f89245-f2e9-3ca2-b028-120b1a3ee21f.jpg[/img]
1.开打eclipse ide,依次run-》external tools-》external tools configuration
2.在Program下,new一个自己定义的program,我这里取名为“打开文件所在目录”
3.在Location一栏,输入:C:\WINDOWS\explorer.exe;在argument一栏,输入:${container_loc};确认新增即可
4.回到主界面,在run那里,可以看见刚才自定义的插件了。
5.测试下,大功告成。
[img]http://dl.iteye.com/upload/attachment/425902/5ee5c5e4-761e-3a28-919f-0426297a8487.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/425906/36f89245-f2e9-3ca2-b028-120b1a3ee21f.jpg[/img]