CodeRunner is the easiest way to write code on your Mac. You can run code in almost any language instantly, and you’ll be surprised by the powerful set of features in such a lightweight and easy-to-use editor.
- Edit and run code in AppleScript, C, C++, Java, Objective-C, Perl, PHP, Python, Ruby or Shell
- Fully-featured editor with syntax highlighting, code completion, color themes, intelligent bracket matching and more
- Editable code presets for new documents eliminates the need to keep writing main methods etc.
- Full encoding support, custom run/compiler flags and more
CodeRunner 2 is a complete overhaul of the original app, and introduces major new features and improvements across the board. You’ll love CodeRunner 2’s slick interface, ease of use, and powerful editing features. Major changes include:
- Revamped syntax highlighting. CodeRunner 2 now uses TextMate syntax definitions, which provide better syntax highlighting and support for many more languages. You can even install your own syntaxes.
- Revamped code completion. CodeRunner 2 features fully-dynamic code completion with fuzzy search, tab-selectable placeholders, and documentation snippets.
- Improved multi-file run support. CodeRunner 2 does a better job running multiple-file projects.
- TextMate theme support. You can now use the popular TextMate theme format in CodeRunner 2.
- Revamped templates. CodeRunner 2 features vastly improved template functionality, including multiple and dynamic templates. It’s now super easy to create classes, document structures, etc.
- Improved extendability. With CodeRunner 2, you can now import and export languages. This makes it easy to share your custom languages with others, or download languages from the web.
- Text editing improvements. CodeRunner 2 contains many new text editing features, such as the symbol navigator, better indentation support, improved behavior under source control, word-completions and more.
- Run statistics. You can now keep better track of your code while it’s running. CodeRunner 2 displays live CPU and memory usage, in addition to spent CPU time once your code is finished running.
- Bundled compilers. CodeRunner 2 now includes the compilers necessary for running C and C++ code, so you don’t need to have Xcode installed for these languages.
- Yosemite support. In addition to loads of UI enhancements, CodeRunner 2’s look and feel now integrates seamlessly with OS X Yosemite.
- Fixes an issue with building Go files, introduced in version 2.2
- Debugging with Breakpoints: CodeRunner 2.2 finally supports debugging, which means you can set breakpoints in your code. To set a breakpoint, simply click a line in the text margin. Once your breakpoint is hit, you can step through your code, explore the call stack, view and edit local variables, and leverage the full power of the debugger by issuing debugger commands. Debugging is currently supported with the following languages: C, C++, Go, Java, Objective-C, Objective-C++, Perl, PHP, Python, Python 3, Rust, Shell Script, and Swift.
- Swift improvements: IDE-level code completion (requires Xcode) + improved run capabilities for multi-file projects (if running file main.swift).
- New preference: "Ask to save untitled documents when quitting", used instead of the system-wide setting (which many found confusing).
- New built-in mechanism for downloading compilers/components that may be required to run code in certain languages.
- New preference to specify where on the tab bar new tabs are inserted.
- Python 3 code completion now gives results for Python 3 and not 2.7.
- Improved formatting of Python code completion documentation snippets.
- White I-beam cursor in the editor and console for improved visibility on dark backgrounds.
- Console text colors are now customizable through themes. These settings can be found at the bottom of any theme's settings list in CodeRunner preferences.
- The console now provides proper support for the r character.
- Instead of displaying "Run Failed" when your code exits with a non-zero exit status, it now shows "Run Ended" and displays the exit status.
- Improved Objective-C code completion.
- The Dock menu now lists open documents and windows.
- Improvements to the contextual menu when right-clicking in the editor.
- The "Go to Folder" keyboard shortcut changed to ⌥⌘G, and now provides autocompletion of directory paths.
- Added the ability to compile only (without running) using ⌘B.
- Fixed a lot of bugs.
OS X 10.7 or later, 64-bit processor