Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
When include a file, auto add matching brackets
blueshake:
--- Quote ---Use case 3 :
In the ultimate case when I start an include with < , I would like to see the C/C++ headers too in the list.
I have type already so many times vector, string, iostream, .... Wink
--- End quote ---
I have a think for this for a long time , just not figure out a good way to implement it. :wink:
oBFusCATed:
For 3: Is there a way to get all automatic include paths?
If there is we can scan this paths and cache the result, after some time we can scan again.
Another way is to hook the folders and wait for changes.
killerbot:
--- Quote from: oBFusCATed on May 02, 2010, 11:02:26 am ---For 3: Is there a way to get all automatic include paths?
If there is we can scan this paths and cache the result, after some time we can scan again.
Another way is to hook the folders and wait for changes.
--- End quote ---
For GCC we go hunt for them for the CC, otherwise even something like right clicking on include <string> to open the string header didn't work.
Loaden:
--- Quote from: killerbot on May 02, 2010, 09:35:59 am ---Use case 1 :
I am working on a file in the src dir, when I want to include a header file it gives them to me as "../src/header.h". This is correct but I like it to be normalized/reduced --> ../src is where I am at the moment, so I just want "header.h"
Use case 2 :
I added for example the inc directory of another component to the list of include/search directories.
I want to include in a source file in the src directory of my current project a header from that other component.
Not even 1 header file from the added include directory shows up. It would be nice those would pop up to.
--- End quote ---
Hi, killerbot, I make a patch for do this.
Welcome for test.
The patch based cc branch.
killerbot:
this sounds great, could you think you can have a patch for trunk ?
by the way : any idea when another merge round from cc_branch to trunk might happen ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version