I\'m using PyDev under Eclipse to write some Jython code. I\'ve got numerous instances where I need to do something like this:
import com.work.project.component
Add the hash character # at the end of the line then with the cursor on the flagged error, press Ctrl-1. One of the options in the menu will be something like @UndefinedVariable. Adding this comment will cause PyDev to ignore the error.
@UndefinedVariable