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

NSAssert mucking up the Go to Symbol panel. #1

Closed
klacoste opened this issue Jan 8, 2011 · 3 comments
Closed

NSAssert mucking up the Go to Symbol panel. #1

klacoste opened this issue Jan 8, 2011 · 3 comments

Comments

@klacoste
Copy link

klacoste commented Jan 8, 2011

When using NSAssert() calls in Objective-C code, the NSAssert line shows up in the panel making it much less useful as a navigation tool. Is it possible to have these removed from the display?

Filed as a bug as I'm guessing these weren't intended to show up in the panel.

Example -- Enter the following method into an Objective-C file and then hit command-shift-T to see the results.

  • (void)method
    {
    NSAssert(1);
    }
@joachimm
Copy link
Member

I have updated the grammar for Lion, and also included various Cocoa macros that were missing. this should now be solved.

@klacoste
Copy link
Author

This is still happening in the latest version of the bundle here. To see what I'm talking about, enter this in an Objective-C file:

- (id)method:(id)anArgument
{
    NSAssert(1, @"message");

    return nil;
}

Now hit command-shift-T to show the symbol navigator and you should see NSAssert as one of the symbols in there. I'm pretty sure that's not helpful.

@infininight infininight reopened this Sep 26, 2011
@nrichards
Copy link

Could this be related? #5 It also has issues with NSCAssert.

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

4 participants