The following forum message was posted by gmseed at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4566881:

It appears this is a peculiar feature/bug of PyDev and discussed elsewhere:

http://stackoverflow.com/questions/1702043/how-can-i-make-the-pydev-editor-selec
tively-ignore-errors

The following import:

import java.util.ArrayList as ArrayList

raises the error "Unresolved import", flagged in the left hand margin

However, if the code is run it actually works - which is very confusing as the
IDE is telling you there are errors and yet the code will run. This does not
instill me with confidence with respect to future error messages.

Adding #@UnresolvedImport at the end of the import statement:

import java.util.ArrayList as ArrayList #@UnresolvedImport

stops the left-hand-margin error message.

Furthermore, I notice that there is no field/method popup listing in the editor
when adding defining an object of a Java class.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to