Ask Your Question
0

Code Completion with Eclipse

asked 2012-06-30 04:06:46 -0600

Casper gravatar image

Hi

I recently managed to get SimpleCV up and running, after running into some issues. I now have a working SimpleCV installed and am using it with Eclipse Indigo. However, all my imports from SimpleCV are marked in red, and Eclipse states that it cannot find the specified import (even though the imported functions work fine).

Is there any way to have Eclipse recognize the imports from SimpleCV, so that I can make use of its Ctrl-Space code-complete functionality?

I tried to add "SimpleCV" to the Forced Builtins, but with no success. (This is what I did when I had the same problem for OpenCV, and it worked then)

Thanks for any advice!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-07-03 15:40:53 -0600

xamox gravatar image

I highly recommend taking a look at IPython notebook's. We wrapper IPython at the moment so it integrates very well. It has the code complete as well as inline documentation. It's a little different to write code in but after you get used to it, it makes sense why you would use it over say an editor. I also understand that editors offer other features such as find/replace across multiple files, etc. We have an developer in house that has moved from eclipse to geany and actually likes it quite a bit, plus it is much more lightweight in terms of loading (although almost all the same functionality is there as eclipse).

edit flag offensive delete link more
0

answered 2012-07-03 14:54:54 -0600

kscottz gravatar image

Casper,

Unfortunately none of the primary SimpleCV developers use eclipse. We all use vi, emacs, and geany. My guess is that eclipse is looking for your setup.py file. If you find a solution (perhaps on the eclipse forum) please let us know.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-30 04:06:46 -0600

Seen: 452 times

Last updated: Jul 03 '12