Author Topic: Code completion, symbol browser issue.  (Read 2737 times)

mfox

  • Guest
Code completion, symbol browser issue.
« on: August 09, 2010, 07:54:43 pm »
Hello, I just discovered this IDE, very nice tool, I was about to make this my main C editor (over Jedit), but ran across the following bug. Not sure if this is the right place to post this, please advise...

For C projects that are designed to be supported on multiple platforms, I use a platform specific module, which is guarded by a processor define. I have several such platform specific modules that use the same function names. While viewing the, "Current file's symbols", when I select a symbol from the list, the editor does not necessarily locate the function in this currently selected file. It will open any file that uses this symbol and is part of the project.

Any suggestions for a workaround, that will keep the navigation scope to the current file's symbols?

Thanks,
Mike.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Code completion, symbol browser issue.
« Reply #1 on: August 10, 2010, 01:53:02 am »
Can you test the cc_branch?(you need to build it your self)
Also, can you give a simple small test project?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.