A software program that provides tools for writing computer programming code, as opposed to the word processor, which is designed to facilitate writing prose and displaying typography.

learn more… | top users | synonyms

32
votes
4answers
27k views

How can I open a text file with TextWrangler from the Terminal (command line)?

Often when I work in the Terminal (the command line) I need to edit some text files. I prefer to edit text files using TextWrangler. How can I open a text file with TextWrangler from the Terminal? I ...
19
votes
6answers
41k views

How do I start TextEditor from the command line?

I work a lot at the command line in a Terminal and would like to start a text editor on a certain file. I'm from Linux Land and normally use kwrite or gedit from a bash shell. Trying to find the Mac ...
18
votes
16answers
4k views

Is there a free, lightweight text editor that isn't text-only but also isn't a heavyweight IDE?

I'm not really satisfied with the text-editors available for Mac OS X. I tried TextWrangler, Smultron, Coda, SubEthaEdit, TextMate and others I do not remember. But none of the above satisfied my ...
17
votes
8answers
8k views

What's the best text editor for use with large files?

What are your recommendation for opening large text files on OS X? I found both BBEdit and Textmate to be struggling in this department.
14
votes
13answers
1k views

Can anyone recommend a programmers' editor?

I'm looking for a programmers' editor. I know Xcode and I use it for application programming but I'm looking for something that will: Syntax highlight PHP, SQL, Javascript (including jQuery) and CSS ...
14
votes
14answers
2k views

Editor or notes application with Markdown support?

Are there any editors or notes applications out there that support Markdown? I am often having to make notes or documents where markdown formatting would be ideal, and have gotten into the habit of ...
13
votes
8answers
3k views

Which text editors take advantage of Lion's Versions feature?

I've been a fervent user of Textmate for many a year, and I hope to continue to be one. However, the versions feature of OSX seems like a great and easy to use idea. I'm mostly doing HTML, CSS and ...
9
votes
4answers
33k views

How do I open a .plist file?

What's the best application to open and edit a plist file ?
9
votes
4answers
4k views

LaTeX Editor for OS X

I am looking for an easy to use LaTeX text editor for OS X. It is meant to be used by a social science student, hence TextMate seems to difficult to use. Basically I am looking for a LaTeX editor ...
8
votes
4answers
991 views

What are the advantages of Emacs for Mac OS X users?

Over the past year or so I've seen a movement towards switching to Emacs on Mac OS X, often away from TextMate. While I understand the motivation for switching away from TextMate (TM2 is more or less ...
7
votes
7answers
3k views

What are some Textmate alternatives that have the completion key feature?

I am slowly beginning to fear the worst with Textmate and the impending release of Lion and how stable Textmate might be on it. So my question is, are there any Textmate alternatives out there that ...
7
votes
3answers
4k views

How does Mountain Lion set the default text editor for the “open -t” terminal command?

OSX seem to offer open -t command line shortcut to open arbitrary files in the system default text editor. Where is this default text editor set? Can I change it from the command line (if possible) ...
7
votes
5answers
5k views

Which text editor has better OSX support, TextMate, or Sublime Text 2

I've been using Sublime Text 2 for Windows and Linux because it's simply the best for those platforms. However, when using OSX I have the option to use TextMake, which is where Sublime Text 2 seems ...
7
votes
3answers
2k views

Why don't my arrow keys work in vim under iTerm?

They work just fine if I use Terminal and start a vim session, but under iTerm I have to resort to using H-J-K-L to do left-up-down-right movement. In both Terminal and iTerm TERM=xterm-color. My ...
6
votes
4answers
10k views

BBEdit - The authenticated save for this file failed (application error code: 20004)

I'm trying to edit my hosts file with BBEdit 10. When I begin, it tells me to unlock the file with this message: Are you sure you want to unlock "hosts"? You aren't a member of the group ...
6
votes
5answers
19k views

Free .CSV text file editor for Mac OS X?

I am looking for a free editor to edit comma-delimited text files, or .csv format.
6
votes
6answers
17k views

Has anyone figured out a keyboard shortcut to globally strikethrough selected text in any OS X app?

We have ⌘B to bold, ⌘I to italicise, ⌘U to underline, but we don't (as far as I can tell) have a shortcut to strikethrough selected text in any OS X rich editor. I added a keyboard shortcut into ...
6
votes
2answers
1k views

MATLAB and Objective-C in Sublime Text 2

Is there a way to set Sublime Text 2 (running under OSX) so that it identify MATLAB (.m) files and Objective-C (.m) files automatically? Meaning that ST2 would be able to differentiate between each ...
5
votes
1answer
232 views

How to edit any text in chosen editor?

I'm looking for a small app that will let me move any selected text (ie in a text box or another app) into my chosen text editor (in this case Sublime Text 2), and when I save will move it back to ...
5
votes
1answer
7k views

Change highlight colour in Sublime Text 2

How can I change the default highlight colour in Sublime Text 2? I know I have to find a highlight key in one of the theme files but I don't know where these theme files are kept. Are they in the ...
5
votes
3answers
1k views

Force Terminal to Use Gedit for any Text Editing - not vim

I'm learning to program. While following this mission, I typed git commit, which opened up vim. I don't know or want to know vim (no offense to vim lovers). I'd like to have: terminal open gedit ...
5
votes
2answers
415 views

Indenting html + javascript/css

Have you encountered an OS X text editor capable of indenting both the line var x = 2; and the lines <it>Item A</it> <it>Item B</it> in the following html? <html> ...
5
votes
2answers
3k views

What is the most advanced JavaScript editor for OS X?

I tried Espresso but it lacks so many important features like no auto-parentheses, no auto-aliging. What is the most advanced JS editor for OS X? (please not Emacs for me).
5
votes
1answer
387 views

How to clean up emails when replying in plain text?

I have a problem that I want to solve after many years of using Mac OS X Mail.app... I generally like to send plain text emails that are full width (format=flowed) and nicely indented for quote ...
5
votes
1answer
695 views

Why does my mouse cursor stick as the default arrow instead of a text selector?

I use NetBeans, and when I activate other applications or windows then return to NetBeans, the cursor no longer changes to the text selection cursor, but instead it remains as the default mouse icon. ...
4
votes
10answers
16k views

Looking for the ultimate IDE for Mac

I am a little disenchanted with development on the Mac right now. I need a single IDE that can handle all of my development needs. I did notice there are other questions on this topic already, but ...
4
votes
1answer
7k views

Where does OS X store unsaved TextEdit documents?

Where does Mac OS X store TextEdit's unsaved documents? I want to programmatically: increase/decrease that size flush the cache provide configuration option to control the frequency of auto ...
4
votes
1answer
3k views

Refining a Sublime Text 2 / Transmit workflow

I recently changed code editors from Coda to Sublime Text 2. All in all, I am finding that ST2 fits my web development workflow almost perfectly. My one friction point is when interacting with an ...
4
votes
1answer
2k views

Tabs to spaces in BBEdit

How can I configure BBEdit to insert 4 spaces (or at least spaces up to the next column which is a multiple of 4)? I've checked "Auto-expand tabs" in the preferences, but it doesn't seem to be doing ...
4
votes
1answer
219 views

Open as text option for every file, regardless of what OS X thinks of it [duplicate]

Possible Duplicate: How to permanently put TextEdit in the Open with… menu list? Being a programmer, I often work with text files. As you probably know, file extensions are more or ...
4
votes
2answers
1k views

Are there iOS/iPad apps that work well to edit XML?

I'm surprised that a google search doesn't turn up dozens of XML editors for ipad. All I can find are generic code text editors that happen to "support" XML. Well duh. I'm looking for an ipad app ...
3
votes
2answers
490 views

Replacing all white spaces with commas in a 46MB text file

How long should replacing all white spaces with commas take in my 46MB text file using a simple text editor such as textmate on my Mac?
3
votes
2answers
177 views

Go to beginning of text field in Mac.

What's the keyboard combination to use to go to the very beginning of a text field? Tried Fn+Up and it scrolls the document up but doesn't move the cursor.
3
votes
3answers
851 views

Replace Text Edit as the default text editor

I've seen questions like this which don't quite solve my problem. I'd like to make Sublime Text 3 the default file viewer/editor for all files that currently use textedit. Most of these files can be ...
3
votes
1answer
195 views

Simply texteditor accesibile from menu bar for making fast snippets?

Simply texteditor accesibile from menu bar for making fast snippets? Do you know some solution or some clever way how to link some text editor to menubar with some icon in top menubar? The desired ...
3
votes
3answers
1k views

Where to put the .vimrc file for sudo in OS X Lion?

I always put a .vimrc in my home folder for turning :syntax on. But in OS X Lion it seems that sudo vi foo.txt ignore or can't find this vim configuration anymore. Has anyone experiences the same ...
3
votes
1answer
322 views

Opening a new file in TextMate opens the last opened file as well

Here is a small annoyance that I have with TextMate. When I want to open a new file in TextMate when it's not running it also opens the last opened file. Now for some cases that's just nice of him to ...
3
votes
1answer
74 views

How does Sublime open file with cmd+click on its path in Terminal?

For example: $ ls -lsa 4 -rw-r--r-- 1 denis 404 Jul 16 18:36 pgadmin.log cmd+click on pgadmin.log Sublime opens pgadmin.log (if path is 'pgadmin.log:12', it opens it and sets cursor to 12th ...
3
votes
1answer
196 views

Opening text files from finder: Unable to find application

Since I updated my OSX to version 10.9.1 I am unable to open text files from the Finder. I always opened the files with the default TextEditor. I've tried to change the default application from ...
3
votes
3answers
6k views

How do I setup Python3.3 and Sublime Text 2 correctly on OS X 10.8.2?

I am trying to setup Sublime Text 2 so that the build command correctly runs Python3 / Python3.3 scripts. I have installed Python 3.3 via the installer obtained from python.org and installed Sublime ...
3
votes
1answer
2k views

Change tabstop in TextEdit.app

How does one change the tabstop in TextEdit.app for Snow Leopard? The current tabstop is 8 spaces. I would like to change this to 4 spaces. Is there any way to achieve this?
3
votes
1answer
116 views

Open-source TextWrangler alternative? [closed]

I need to use a text editor that is capable of always saving documents using Windows CRLF line endings. So now I'm using TextWrangler. I am opening files from volumes encrypted with TrueCrypt, and I ...
2
votes
2answers
177 views

What are the control keys available when working in a text field?

I know that ctrl-e will move to me to the end of a line, and ctrl-a to the start. I also know that ctrl-n will move down a line. What other ctrl-key combinations are there? Is it possible to move ...
2
votes
6answers
140 views

What python editors have syntax coloring and don't need much training to learn?

I have a friend who is trying to learn Python on Mac OS X. She does not have prior experience with programming. I am looking for an editor that is: Free and easy to get started with Support at least ...
2
votes
4answers
95 views

Looking for a text editor with specific syntax highlighting features

I'm a pc guy, but I have a programming student who's got a mac. We have been using TextMate, but there are a few features missing that I either can't find, or that are not available in TextMate. In ...
2
votes
2answers
23k views

How can I edit a .docx file in Dropbox on my iPad?

I have all my papers in a .docx on Dropbox and I'd like to be able to edit them on my iPad. How do I do this? All the free editors I've tried only support reading .docx files and they don't have ...
2
votes
4answers
236 views

How to 'scroll down' when there's nothing more to show? (cause I like the blank space)

When I'm working in a text document, I like to start typing at the top of the window or in the middle. I hate when the carat/cursor gets all the way to the bottom and there's no blank space left ...
2
votes
3answers
986 views

Is there a Mac text editor that has live display of unique word count?

That is, it shows, while you type, the count of unique words. Not a count of all words. If the document had the words: The cat is in the hat which is in Toledo. It would show a count of 7. I ...
2
votes
1answer
714 views

Removing gray part of BBEdit/TextWrangler

How can I remove the gray part in BBEdit/TextWrangler. I want it to be white as the other part. Screenshot (see part marked with red square):
2
votes
1answer
146 views

How can I easily indent a block in any textarea on OS X?

Are there shortcut keys or another quick way to indent a text block at once in a normal text area on OS X? So that I can easily turn: [I want this to indent. For formatting. It's several lines.] ...