This is also part of my complaint. At least in Python, doctests limit the ability for the IDE to be effective.
They hinder the writer as well as the consumer, since they make it harder to write effective tests. What I am saying is, that all tests should be first class wrt the documentation.