Hackathon/Laptop setup/OSX text editor

From Wikimania 2012 • Washington, D.C., USA

Our recommendation

On Mac OS, we suggest the Smultron text editor. You'll have to first download it, then install it.

To download Smultron:

To install Smultron:

  • Start Finder
  • On the left side of the Finder, under "Places", click on "Applications".
  • Drag the Smultron icon to any blank space in that window.

To run Smultron:

  • Start Finder
  • On the left side of the Finder, under "Places", click on "Applications".
  • In the middle column, scroll down to to find Smultron.
  • Double-click Smultron to launch the editor.

If you run into trouble with Smultron

If you can't run the version of Smultron we recommend, try the older version 3.1.2 of Smultron. We've tested that it runs properly on Mac OS 10.4 on PowerPC and Intel.

Configure Smultron to indent with tabs

  • Start up Smultron, and click Smultron -> Preferences. This will pop up a preferences window.
  • Click on the Advanced tab, and then on the Really Advanced tab within that tab.
  • Make sure the the "Indent with spaces, not tabs" checkbox is not checked.
  • Close the Preferences window.

That's it! Now, you can hit tab to indent your code, and that indentation will actually be made of tabs. This change will help you use tabs consistently, which is consistent with the MediaWiki code style guidelines.

Success!

Now you have an editor that you can use to open any text file, including PHP programs.

If you prefer a different editor for text, check with an instructor before moving on to make sure it will work.

« Back to the laptop setup page