Questions tagged [text-editor]

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.

Filter by
Sorted by
Tagged with
89
votes
10answers
78k 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 ...
64
votes
8answers
240k 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 ...
56
votes
5answers
76k 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 ...
41
votes
10answers
51k 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.
36
votes
6answers
124k views

How do I edit a .plist file?

What's the best application to open and edit a plist file ?
30
votes
19answers
8k 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 ...
23
votes
8answers
70k 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 ...
21
votes
19answers
10k 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 ...
21
votes
12answers
50k 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.
19
votes
17answers
2k 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 ...
18
votes
2answers
3k 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. ...
14
votes
14answers
91k 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 ...
14
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 ...
13
votes
3answers
18k views

How to make command apm available after installing atom?

I have installed github's editor atom into /Application. I now expected to have the command apm at my disposal to be able to install further packages. Yet: $ apm -bash: apm: command not found How do ...
13
votes
2answers
9k 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 ...
12
votes
5answers
5k 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 ...
12
votes
5answers
18k views

Text Editor on iOS that can edit files from any folder in Dropbox

Can anyone recommend an iOS text editor (iPad and iPhone) that can open arbitrary text files from Dropbox? I've used a few, but they tend to be restricted to a specific subdirectory of my Dropbox ...
11
votes
1answer
1k views

In TextEdit, if I type two `-` it is converted to one longer `-`

I use TextEdit to edit my text. If I type in a double -, it is converted to one longer -. How to avoid this?
11
votes
2answers
26k 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 saving/...
10
votes
4answers
8k 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?
10
votes
4answers
10k 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 ....
9
votes
4answers
2k 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 ...
9
votes
3answers
5k 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) ...
9
votes
2answers
1k 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 ...
9
votes
2answers
495 views

How can I instantly move the cursor to the end of a long document in iOS?

I edit Markdown documents on iPhone 7 sometimes. Some of the documents I want to work with are pretty long — 15,000 words or more. When I open a document to work on it (for example in the Byword or ...
9
votes
2answers
978 views

OSX: modifying text selection with ⌘⇧→ and ⌘⇧←

I've selected some text using my keyboard, starting at the bottom line and moving up (the | character indicates the cursor position): AAA |{BBB CCC DDD} EEE FFF Now, I would like to change ...
8
votes
1answer
41k views

Mac equivalent of Notepad++? [closed]

Brand new Mac user here. Switching over from Windows, where I relied heavily upon Notepad++. Notepad++ is a raw text editor with a ton of convenience features built into it. My favorite is its file ...
8
votes
1answer
23k 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 ...
8
votes
6answers
8k 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
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
4answers
21k 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 "...
7
votes
1answer
1k views

How do you cope with tons of web fonts when copying and pasting from web pages?

Whenever I copy something from the web and paste it in my Mail or Evernote, or Apple Notes, it always brings the text style from the page and inserts those weird looking fonts in my mail, or notes. ...
7
votes
6answers
5k views

Open a large XML file

I am trying to open a relatively large XML file (50mb) but my Mac just won't open it: No errors though, just been waiting for almost 10 minutes but nothing happens. Tried using TextEditor, Xcode Any ...
7
votes
1answer
2k views

How to setup a specific application to open all files with unknown extension

I am trying to open some files with unknown extension and it always ask me to choose an application from local or AppStore. The problem is, I sometimes need to generate some text file with ...
6
votes
2answers
2k views

Strange Clipboard behaviour on OS X El Capitan

I've been experiencing a very weird clipboard behaviour on my mac. This is my OS I'm a developer and every now and then I need to copy paste code, text or even files around. What I've been ...
6
votes
2answers
2k views

MATLAB and Objective-C in Sublime Text 2

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

Avoid the terminal process to close, after BBEdit runs a script

I use BBEdit to write and test Python scripts, and I usually run the scripts in a terminal process, with the "Run in Terminal" command. Is there a way to have the terminal process opened by BBEdit ...
5
votes
1answer
300 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
8k views

What command-line text editors come bundled with macOS? [duplicate]

When I walk up to a Mac, and open a Terminal.app window, what options do I have for editing text files? I see that both Pico and GNU nano text editors are included with macOS Sierra, along with vi ...
5
votes
2answers
497 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
4answers
3k 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 ever ...
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
828 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 levels....
5
votes
1answer
269 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 less ...
4
votes
5answers
2k views

Is there a simple texteditor accessible from the menu bar for making fast snippets?

Do you know some solution or some clever way how to link some text editor to menu bar with an icon in the menu bar? The desired app should look something like this: http://www.sourcedrop.net/mac BUT:...
4
votes
2answers
552 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.
4
votes
3answers
7k views

Textwrangler Open File in New Tab

I just become a Mac user and I've been looking for a decent free code editor, thus I found Textwrangler. However, I like it a lot, I only have one problem with it. How does one open a new file in a ...
4
votes
2answers
847 views

How to stop TextWrangler changing the text file icon?

I use a several text editors, but every time I save with TextWrangler it changes the file's icon in Finder to a TextWrangler icon with the following extended attributes; com.apple.FinderInfo com....
4
votes
1answer
4k 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

Text editor to search/replace newlines and tabs

A time-saving feature I often used while editing large text files (the kind used for batch processes of data exchanges, aka, "flat files" for feeds between multiple systems) was Notepad++'s extended ...