Code Monkey home page Code Monkey logo

Comments (6)

allending avatar allending commented on July 20, 2024

I'm working on this btw. It basically involves stripping out all the VA_ARGS from the macros. It confuses the hell out of the compiler.

from kiwi.

allending avatar allending commented on July 20, 2024

But it may end up not being possible iirc :)

from kiwi.

lukeredpath avatar lukeredpath commented on July 20, 2024

I was just going to say, this appears to be an issue with Xcode not being able to figure out the scope for completion (Xcode 4 uses LLVM to do it's auto-complete and syntax highlighting).

from kiwi.

lukeredpath avatar lukeredpath commented on July 20, 2024

I've just committed a change that lets you disable the Kiwi built-in macros by defining KIWI_DISABLE_MACRO_API.

The result is that the equivalent functions will be called directly. The use of macros was to enable the calling of these functions with call-site information for better error handling although it seems that Xcode 4 is able to show errors in the correct place without this.

As a result, by not using the macros, code completion appears to work correctly, as do breakpoints within your spec blocks!

Please test it out.

from kiwi.

ma11hew28 avatar ma11hew28 commented on July 20, 2024

@lukeredpath, you are my hero! Works! Why not make this default behavior?

from kiwi.

allending avatar allending commented on July 20, 2024

Theoretically, this should now be the only behavior ;)

from kiwi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.