1. 2

    pretty cool, looks like Python with static types. one thing I don’t like is the mixing of test and code. I can imagine larger-scale codebases getting pretty damn huge and confusing, as a lot of the time the tests of my code are way longer than the implementation itself…

    1. 1

      I actually like having the tests inlined as they show how to use the function. I often find myself looking for test cases for a specific function which takes a lot of time. I also like having the contracts inlined in the function. But I agree that longer test cases and integration tests still need to be in separate files.

    1. 5

      Hey guys, I’m the author behind Shortcat. Feel free to ask me about the app!

      The screencast odin posted is pretty old; I’ll be doing an updated one this weekend.

      1. 3

        As a HUGE fan of things like ace jump mode in emacs, this just made my month. Thank you so much for building it!

        1. 2

          Glad you like it! The other benefit I haven’t listed on the site yet is hopefully as it gets more popular, more app developers will make their apps more accessible, which would benefit people who actually use the Accessibility API for screen readers etc

        2. 1

          I can’t type anything in the cat window after pressing cmd+shift+space. Is this a bug?

          1. 1

            Are you on Lion? I’ve heard reports of this bug happening more often on Lion. Restarting Shortcat should fix it

            1. 1

              Mountain Lion. It works after restarting the app.

              1. 1

                Happened again. App is unusable if I have to restart it every time.

                1. 2

                  It seems to be a bug with OS X itself… I’ve already tried a few workarounds but I haven’t been able to reliably reproduce the problem which makes it rather difficult to fix. Currently looking for someone who can help me reliably reproduce it, but I might add a shortcut to restart the app as a temporary hack.

          2. 1

            I’d like to see the usage dialog again, how can I access it? If I double-click on Shortcat.app again, it doesn’t show the dialog.

            1. 1

              You can access it via the cat icon in the menu bar and clicking on “Help”, otherwise you can go to http://shortcatapp.com/readme.html