Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

While editing a C project on Notepad++ 5.6.7 (Unicode) with the SourceCookifier plugin, I can press Ctrl+Shift+Enter to go to the definition of a function which the cursor is on, but only if it is in the same file.

How can I go to its definition if it's in another file e.g. an extern, either natively or using SourceCookifier (preferred), or another plugin?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Simply drag and drop your top level source folder into the SourceCookifier window. Additionally pressing SHIFT, CTRL or ALT while dropping will speed up everything, since no tags are shown in the tree view then. Check out the short manual and start using session files.

share|improve this answer
    
Thanks, SpaceCur. A bit slow, but does the job! –  Gnubie May 17 '12 at 15:17
add comment

I'm not a regular Notepad++ user, but the OpenCTags project at sourceforge looks promising.

share|improve this answer
    
OpenCTags indeed works, but the user has to first index the entire set of source files to search through (with Alt+C). Then pressing Alt+Space on an indentifier (including function name) pops up an index from which the appropriate entry can be clicked (pressing Enter doesn't work). Alt+P can then be used to return to the original file. –  Gnubie May 10 '11 at 13:46
    
ADDENDUM - why does Stack Exchange allow comments to be edited for only 5 minutes?! Drawbacks (as far as I can tell): 1. The index has to be manually updated. 2. It just matches strings (fine with unique names but not common ones). 3. Cannot use Enter to select item from popup list. 4. It's quite slow on a 2GB project with about 36000 files. –  Gnubie May 10 '11 at 13:55
    
Re point 3: The space-bar selects the item from the popup list. –  Gnubie May 11 '11 at 12:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.