简体   繁体   中英

How do I view a Function List from my open file or project in Code::Blocks?

I frequently use Notepad++ for source code editing on my Windows machine. If I go to View --> Function List I can have it show a list of all the functions in the files I'm working in, so I can click on one and jump to that location.

I just started using the Code::Blocks IDE now for C++. Does it have something similar, or a plugin that can do this? I've searched around, googled a bit, and can't seem to find it anywhere.

The comment below my question answered it. Thank you. In Code::Blocks it's not called a "Function List," it's simply called "Symbols." It never occurred to me it would be under that name. Click the "Symbols" tab on the left-hand side, select "Current File's symbols" under the "View" dropdown menu, and select "Global functions." Then, you see the functions listed below. Double-click them to jump to any desired function's location.

Boom done. That's all I wanted.

See here:

在此处输入图像描述

Also, see this image here, from @Fibbles. He posted it as a link in the comments below. Click where he marked "Here" to get a function drop-down list, in alphabetical order, as an alternate way to jump to a function.

在此处输入图像描述

Update 22 Apr. 2020:

I use Eclipse now, and highly recommend it, and have written full setup instructions in a PDF here. Check it out:

  1. See the PDF in this GitHub project and folder: https://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles/tree/master/eclipse .
    1. Direct link: Eclipse setup instructions...pdf

When you install CodeBlocks, you should get the option "Custom".

Select All Plugins iis where you will find that there are some useful plugins for you. Or you can go to Plugins->Manage plugins to show the plugins management panel.

You will find plugins it has installed automatically and from there you may install what you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM