A text editor is a type of program used for editing text files.
Questions tagged [text-editor]
2184 questions
1022
votes
2 answers
Text editor to open big (giant, huge, large) text files
I mean 100+ MB big; such text files can push the envelope of editors.
I need to look through a large XML file, but cannot if the editor is buggy.
Any suggestions?

Yuvi
- 4,447
- 8
- 35
- 42
747
votes
5 answers
Set default syntax to different filetype in Sublime Text 2
How do I set a default filetype for a certain file extension in Sublime Text 2? Specifically I want to have *.cfg files default to having Ini syntax highlighting but I cannot seem to figure out how I could create this custom setting.

keiththomps
- 8,005
- 3
- 15
- 17
379
votes
8 answers
How do I enable the column selection mode in Eclipse?
News wrote that Eclipse 3.5 finally supports column selection.
Unfortunately I don't know HOW to enable it. I tried pressing the ALT-key like I am used to in Visual Studio and all other Microsoft products but that had no effect.
How can I mark a…

vobject
- 5,290
- 3
- 29
- 21
334
votes
14 answers
What is the difference between Sublime text and Github's Atom
Github announced Atom which is very similar to Sublime. Even some keyboard shortcuts like ⌘ + P, ⌘ + Shift + P etc. are same.
How is Atom different from Sublime?
Does it include IDE features like build tools, function definition jumps,…

Om Shankar
- 7,989
- 4
- 34
- 54
276
votes
7 answers
Does Notepad++ show all hidden characters?
In Notepad++ I have set "replace tab with 2 spaces".
When coding in Python I copy-pasted some code from the web and it appeared indented correctly. But running the code resulted in indentation errors, which I solved in the end by removing all…

user89021
- 14,784
- 16
- 53
- 65
242
votes
4 answers
What is the difference between MacVim and regular Vim?
I'm reasonably new to OS X, but I'm familiar with Vim from using it in various *nix systems. I've seen many people recommend running MacVim over Vim in the terminal. Can anyone tell me what differences there are between MacVim and regular Vim?

Mark Costello
- 4,334
- 4
- 23
- 26
237
votes
9 answers
See line breaks and carriage returns in editor
Is there a text editor on Linux that allows me to see line breaks and carriage returns? Does Vim support this feature?

usertest
- 27,132
- 30
- 72
- 94
213
votes
11 answers
How do I use Notepad++ (or other) with msysgit?
How do I use Notepad++ (or any other editor besides vim) with msysgit?
I tried all of the following to no avail:
git config --global core.editor C:\Program Files\Notepad++\notepad++.exe
git config --global core.editor "C:\Program…

PHLAK
- 22,023
- 18
- 49
- 52
208
votes
60 answers
What is the best way to force yourself to master vi?
A good while ago, I read an article by the creator of viemu, clearing up a lot of the misconceptions about vi, as well as explaining why it's a good idea (and why it's been very popular for the last 30 years+). The same guy also has a great set of…

webmat
- 58,466
- 12
- 54
- 59
206
votes
28 answers
How to call VS Code Editor from terminal / command line
The question says it all.
How can I open VS Code editor from
windows cmd
linux and mac terminal
e.g. for notepad++ I write
> start notepad++ test.txt
By the way, the editor is awesome (cross-platform)! Thank you Nadella!
You can download it from…

Levon
- 10,408
- 4
- 47
- 42
204
votes
15 answers
How to run vi on docker container?
I have installed docker on my host virtual machine. And now want to create a file using vi.
But it's showing me an error:
bash: vi: command not found

Krati Jain
- 2,059
- 2
- 11
- 3
204
votes
21 answers
IntelliJ IDEA way of editing multiple lines
I've seen this done in TextMate and I was wondering if there's a way to do it in IDEA.
Say I have the following code:
leaseLabel = "Lease";
leaseLabelPlural = "Leases";
portfolioLabel = "Portfolio";
portfolioLabelPlural = "Portfolios";
…

hdx
- 4,198
- 7
- 26
- 33
197
votes
7 answers
How to prevent vim from creating (and leaving) temporary files?
Why does vim create ~ files? Is there a way to disable that?
If it's for backup (or something), I use git for that.
Also, these ..swp files too.
How do I tell vim not to create those, or at the least to cleanup…

hasen
- 161,647
- 65
- 194
- 231
197
votes
8 answers
Vim multiline editing like in sublimetext?
I started to use gvim, and I can't quite understand how the multiline edit works in gvim.
For example:
Original text:
asd asd asd asd asd;
asd asd asd asd asd;
asd asd asd asd asd;
asd asd asd asd asd;
asd asd asd asd asd;
asd asd asd asd asd;
asd…

AlfredoVR
- 4,069
- 3
- 25
- 33
182
votes
32 answers
Is there a valid reason for enforcing a maximum width of 80 characters in a code file, this day and age?
Seriously. On a 22" monitor, it only covers maybe a quarter of the screen. I need some ammo to axe down this rule.
I'm not saying that there shouldn't be a limit; I'm just saying, 80 characters is very small.

TraumaPony
- 10,742
- 12
- 54
- 74