如何保存带有自定义扩展名(.sas)的TextEdit(mac)文件? [英] How do I save a TextEdit (mac) file with a custom extension (.sas)?

查看:244
本文介绍了如何保存带有自定义扩展名(.sas)的TextEdit(mac)文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我正在为SAS编写一些代码,并且意识到必须将文件另存为filename.sas.我的教授提到我必须在计算机上使用记事本或其他文本编辑器.

So, I'm in the process of writing some code for SAS and I realized I have to save the file as filename.sas. My professor mentioned that I would have to use note pad or another text editor on my computer.

如何在Mac上使用TextEdit保存.sas文件?打开TextEdit,添加一些文本,然后保存,将在文件中添加.rtf或.odt扩展名.

How can I use TextEdit on the Mac to save a .sas file? Opening TextEdit, adding some text, and saving causes the file to have a .rtf or .odt extension added to it.

应该添加我的mac版本是10.5.8

Should probably add that my mac version is 10.5.8

推荐答案

您的Mac附带了TextEdit,这是一个非常好的基本文本编辑器.确保选择格式">制作纯文本",以便获取文本文件.保存时,请确保取消选中隐藏扩展名",并手动提供.sas扩展名.或者,您可以稍后在Finder中使用文件">获取信息"来更改扩展名.

Your Mac comes with TextEdit, which is a perfectly good basic text editor. Be sure to choose Format > Make Plain Text so that you get a text file. Be sure to uncheck Hide Extension when you save, and provide the .sas extension manually. Or you can change the extension later using File > Get Info in the Finder.

终端中还有pico,vim,vi,emacs,以及其他主机.

You also have pico, vim, vi, emacs, and probably a host of others in the Terminal.

这篇关于如何保存带有自定义扩展名(.sas)的TextEdit(mac)文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆