Author Topic: Which search paths does Code-completion use?  (Read 3589 times)

Offline Greatwolf

  • Multiple posting newcomer
  • *
  • Posts: 48
Which search paths does Code-completion use?
« on: September 12, 2010, 03:32:25 am »
I'm kind of wondering for the standard include headers that come with the compiler where does this plugin search?
I'm finding the 'Find declaration of' is looking in the wrong files. Instead of looking in the include files of borland, it's giving me include files from MinGW. I have both of these compilers setup.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Which search paths does Code-completion use?
« Reply #1 on: September 12, 2010, 10:50:30 am »
I think it asks gcc (executes gcc with special options)  for its paths
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Greatwolf

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Which search paths does Code-completion use?
« Reply #2 on: September 12, 2010, 09:51:49 pm »
So how can I correct this so it looks in and parses the correct files?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Which search paths does Code-completion use?
« Reply #3 on: September 12, 2010, 10:09:08 pm »
You could try the cc_branch (codecompletion_refactoring) there is a nightly for windows.
If there the problem is not fixed, you could make a patch:)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Greatwolf

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Which search paths does Code-completion use?
« Reply #4 on: September 13, 2010, 04:17:05 am »
I'll give that a try when I get some time. Does that branch provide some kind of mechanism for specifying where to look for a given toolchain's stl library?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Which search paths does Code-completion use?
« Reply #5 on: September 13, 2010, 09:13:13 am »
Don't know, look at the code :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]