On Windows, we suggest the Notepad++ text editor. It is actually unrelated to the Windows default program called Notepad.
To install it:
- Download from https://notepad-plus-plus.org/download/
- Run the installer, and follow the process to the end.
To run it:
- In Windows Vista or Windows 7, click on the Start menu, type Notepad++ in the Search Field, and hit enter.
- In Windows XP, click on the Start menu, navigate to All Programs, and then navigate to Notepad++.
Configure Notepad++ to indent with tabsEdit
- Click Settings -> Preferences
- Find the tab labeled "Language Menu/Tab Settings"
- Find the box labeled "Replace by space", and make sure it is not checked
- Click Close.
That's it! Now, you can hit tab to indent your code, and that indentation will actually be made of tab characters. This follows the official MediaWiki style guide.
Now you have an editor that you can use to open any text file, including PHP programs.
If you have different editor for text, check with an instructor before moving on to make sure it will work.