Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

completionResultsForLine:column: returns ALL possible chunks #2

Closed
mralexgray opened this issue Jul 7, 2013 · 3 comments
Closed

completionResultsForLine:column: returns ALL possible chunks #2

mralexgray opened this issue Jul 7, 2013 · 3 comments
Assignees

Comments

@mralexgray
Copy link

@" NSString * x;\n" ok so we know where this is...
"<CKToken: 0x100b1aed0>: Identifier[9:5] NSString

Let's try a completion on the next line...
@" NSStrin\n"

NSArray *comp = [tu completionResultsForLine:10 column:12];
NSLog(@"count: %ld", comp.count);

Result with Foundation.h linked.. 33718 without... 232.
That seems like ALL the completions available, to me... Not just those that correspond to this particular spot...

How can we get the results to correspond to the actual request / context?

@ghost ghost assigned macmade Jul 8, 2013
@macmade
Copy link
Owner

macmade commented Jul 8, 2013

Thanks for the report. Will try to figure out what's happening... : )

@macmade
Copy link
Owner

macmade commented Feb 5, 2015

I finally managed to have some time to update this project, as it's been years since I last used it.
Will keep you informed about the progress.

@macmade
Copy link
Owner

macmade commented Feb 5, 2015

Ok, I've updated the project with the latest versions of Clang/LLVM.
As this issue is quite old and may be fixed with the new version, I'm closing it.

Feel free to re-open it if you're still working with ClangKit and still have issues. : )

@macmade macmade closed this as completed Feb 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants