ActiveState Community

Code sidebar is using innacurate line references

Posted by gendem on 2008-10-03 08:46

Hi there

I use the code sidebar to jump around in my function list, but I've noticed that where Komodo thinks a function is is now quite wrong, often by a hundred lines or more.

Is there a way to force it to rescan the file so that this indexing works properly?

...Mike

gendem | Fri, 2008-10-03 08:50

Note that the command "Find all functions" correctly identifies them, but it does not update the sidebar. I'm assuming this info is being cached incorrectly somewhere, right?

toddw | Fri, 2008-10-03 11:14

Hi Mike,

This is with Komodo IDE correct?

The problem you describe sounds like a bug. It could be caused by a number of factors, but the best indication for problems is the Komodo log files:
http://community.activestate.com/faq/komodo-file-locations#log_files

Komodo should be automatically scanning the file whenever it is opened/saved, which then updates the code browser.

I'd recommend logging a bug on this at:
http://bugs.activestate.com/enter_bug.cgi?product=komodo
and specify the language you are editing when this occurs, attach any relevant Komodo log files and if this is reproducible, include a sample of the text causing the problem.

Thanks,
Todd