How do I change the file extension with TextEdit on osx?

7

2

I am teaching Python to the people I work with, and we are all mac users. I would like to be able to create files like hello.py or data.csv.

However, I do not see an option in TextEdit to save as a "plain text no-frills no-formatting non-rtf" file. When I select RTF but try to save with a .py or .csv extension, TextEdit will no do so.

Is there another text editor that comes with osx that I can use? Or, is there a way to coerce TextEdit to behave like Windows Notepad (when it comes to file extensions, etc?)

rascher

Posted 2012-04-24T03:48:19.727

Reputation: 556

Answers

10

TextEdit has separate plain text and rich text modes. You'll have to select Format > Make Plain Text or set the default format to plain text first.

Lri

Posted 2012-04-24T03:48:19.727

Reputation: 34 501

wow. I totally missed this. Thank you so much! – rascher – 2012-04-24T17:55:41.513

0

You can use the toggle command Shift + Command + T. This will turn rich text to plain text. Or plain text to rich text depending on which mode you are using currently. Another user has given the answer, I wanted to add the shortcut keys.

enter image description here

Clint

Posted 2012-04-24T03:48:19.727

Reputation: 1