PyDev开发环境设置

1、content assist: 和java一样,自己喜欢改成Ctrl+J
2、打开互动的console(需要焦点在编辑器中):  Ctrl+Alt+Enter  建议装上IPython
   参见 http://pydev.org/manual_adv_interactive_console.html
3、Ctrl+Shift+  上/ 下:     移动到上一个、下一个方法
4、Shift+Enter:     移动到行末尾+换行
   建议将Ctrl+Enter设置为 移动到行尾(line end), 这样在需要在行尾添加冒号的时候比较方便

5、代码提示问题
cv2提示找不到,这是由于cv2是以so的形式存在的,需要在 pydev的python interpreter的forced builtins中新建一个cv2项,并重启eclipse。
参见 http://stackoverflow.com/questions/9085643/how-to-use-code-completion-into-eclipse-with-opencv

猜你喜欢

转载自cherishlc.iteye.com/blog/1901597