Whats The Best Editor For C++ On Mac

Sublime Text editor is one best text editor in the market. It is a proprietary software with a focus on features. Not only it is a great alternative to a powerful IDE, but it is also lightweight and does the job with great efficiency and accuracy. Another cross-platform editor, Bluefish is available for Windows, Linux (various distros) and Mac. Its developers pride themselves on its lightweight design; the program is speedy and can handle.

Active4 years, 8 months ago

I've just started a job where I'm programming in C on a Mac, which is my first experience using a Mac for development. For now I'm using Xcode as my editor, then using make/gcc/svn at the command line for compiling and source control.

Is there a good, full featured IDE out there for Macs that will compile C code (something comparable to VS would be ideal), or should I stick with these low level tools?

EDIT: so I called Xcode a 'low level tool' because I was under the impression that it was just a text editor for code, like gvim. I will definitely look into it's compiling/source control features.

idmean
11.1k7 gold badges39 silver badges71 bronze badges
Graphics NoobGraphics Noob
6,93710 gold badges39 silver badges42 bronze badges

Best C++ Editor For Linux

closed as off-topic by legoscia, showdev, QuinnG, Linger, hexacyanideOct 23 '13 at 19:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • 'Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.' – legoscia, showdev, QuinnG, Linger, hexacyanide
If this question can be reworded to fit the rules in the help center, please edit the question.

7 Answers

FrankFrank
30k84 gold badges213 silver badges308 bronze badges
stefanBstefanB
49.9k24 gold badges107 silver badges135 bronze badges

textmate - Download from Macromates website.

The latest version is textmate2 but some people choose to keep using textmate-1.5 because there are significant differences between the two versions and they're both awesome.

davidcondrey
24.4k7 gold badges87 silver badges119 bronze badges
bgwbgw
1,7581 gold badge17 silver badges28 bronze badges

I just stumbled over Qt Creator. It seems to hold up really nice where every other IDE failed me when working with a plain Makefile project.

XCode, Eclipse, IntelliJ or Netbeans wouldn't resolve dependencies, or load my project in a good way. In Qt Creator I could just point to New Project » Import Project » Import Existing Project and voila!

neu242neu242
9,30513 gold badges60 silver badges90 bronze badges

Remember that Objective-C is a superset of C (a pretty pure one, if I recall correctly). You should be able to use XCode for editing, compiling, and debugging.

Here's one solution (which tells you to create a C++ project, then rename main.cpp to main.c)... http://www.cs.nyu.edu/~s70201/C_In_Xcode/Xcode_Tutorial.html

NosrednaNosredna
61.4k14 gold badges89 silver badges119 bronze badges

Xcode can manage project and compile for you as any IDE. But if you're familiar with CLI, I would recommand you to use a good editor and your usual build tools. Emacs and vim are available on os x (using xcode just for its editor is not ideal). Many mac dev love the excellent TextMate editor, but it is not a free (as in freedom) software.

Frank
30k84 gold badges213 silver badges308 bronze badges
p4bl0p4bl0

Obviously 'good' is a subjective decision, but Xcode 3.2 is certainly up to par with what you can do in VisualStudio (if one considers VS good, is another thing of course).

I have a project with 250000+ lines of codes, 10 dylibs, helpfile, all in an SVN (Perforce) etc. and hardly ever go outside Xcode.

Xcode has a few peculiar ways to do some things and the debugger is not quite as powerful as the current one in VisualStudio, but overall there's hardly anything you can not do from within the IDE (and the options to adjust the shortcuts within the IDE, Debugger and Editor to your needs are really awesome).

gcamp
12.8k4 gold badges49 silver badges80 bronze badges
NicholazNicholaz

Not the answer you're looking for? Browse other questions tagged cmacoside or ask your own question.

We all use text editors to take notes, save web addresses, write code, as well as other uses. Every operating system comes with a default, basic text editor, but most of us install our own enhanced text editors to get more features.

In this article, we’ve gathered links to many different text editors used for different purposes. You can use text editors for basic text editing and taking notes, writing programming code, producing LaTeX documents, writing a book, among many other uses.

Notepad and WordPad Replacements

Are you looking for more capabilities than the default Notepad in Windows? Would you rather use a graphical text editor in Linux, rather than the built-in vi? There are many options for useful text editors out there.

Some employ a tabbed interface, such as Jarte (which is based on the WordPad word processing engine and integrates easily with WordWeb), EditPad Lite (which also has the automatic backup), and Notetab Light (which can also calculate the value of mathematical expressions entered in the program). Jarte, EditPad Lite, and Notetab Light are all only available for Windows. Jarte is also available as a portable program.

Typically, Vi is the default text editor in Linux operating systems and it’s a keyboard intensive program with no graphical user interface (GUI). A good text editor for Windows that has hotkeys available for its 312 text-processing functions, innovative features, and timesaving tools is TED Notepad, which is also available as a portable program. Emacs is also available for both Windows and Linux, and is customizable. It also includes a file compare utility and a file manager. You can also add Org-mode to Emacs, which is a personal information management and outlining tool. If you prefer text editors with GUIs, Vim and gEdit are both good options and are available. Vim is essentially the graphical version of Vi. For help editing text files in Vi or Vim, see our Beginner’s Guide.

GetDiz is a Notepad replacement for Windows that allows you to edit many text files quickly from within Windows Explorer and has enhanced functionality for dealing with DIZ and NFO files. It can also display ASCII art correctly. Another ASCII text formatter for Windows is TextMorph, which can also convert text to and from HTML and clean up emails (remove all the “>” symbols, etc.), and search and replace by words or multiple paragraphs.

Programmer’s Text Editors

There are many text editors that provide useful functionality for programmers. Most support syntax highlighting for many programming languages, multiple document editing, and are extendable with plugins. Some also allow editing of remote files through FTP.

Whats The Best Editor For C++ On Mac

PSPad not only supports syntax highlighting, but also matching bracket highlighting for most popular programming languages. It also has a hex editor, macro recorder, and a differencing tool. PSPad also easily integrates with the free version of the TopStyle CSS editor. Notepad++ also supports bracket highlighting and macro recording. It also supports syntax folding and is highly customizable through plugins using the included plugin manager. Both PSPad and Notepad++ are only available for Windows.

The cross-platform (Windows, Linux, and Mac OS X) editor, jEdit, supports syntax highlighting for over 200 programming languages and auto indent, as well as a differencing utility, an FTP browser, and block selecting. It is also extendable using plugins and macros, and there are hundreds of plugins and macros available through the built-in plugin manager feature.

Programmer’s Notepad for Windows supports syntax highlighting using schemes, both built-in and user-defined, code folding and outlining, a tabbed interface with multi-level split views, and the ability to export to HTML (using CSS) and RTF.

If you like the Vi editor in Linux, but prefer a graphical editor that also serves well as a programmer’s text editor, Editra and Komodo Edit are good options. They both provide Vi emulation, as well as support for syntax highlighting in many programming languages and code folding. Editra has a tabbed interface, allows block (un)commenting and (un)indenting, and is extendable using the built-in plugin downloader/installer. Komodo Edit supports background syntax checking and contains a toolbox with shell command integration, macros, and code snippets. Both Editra and Komodo Edit are available for Windows, Linux, and Mac OS X.

What Is The Best Editor For Green Screens

Other options include the following:

  • Crimson Editor – A very small editor for Windows containing a directory tree view window
  • Geany – A small and fast IDE for Windows, Linux, and Mac OS X that supports code folding, code navigation, a build system, and a plugin interface
  • Notepad2 – A fast, light-weight text editor like Notepad for Windows with syntax highlighting and runs as a portable program

Microsoft Word Replacements

There are also free programs that act as replacements for Microsoft Word. They can be used as text editors, but they have more formatting features than simple text editors. You can add images and tables, change fonts and color, and insert hyperlinks.

AbiWord runs on Windows and Linux and can read and write OpenOffice.org documents, Microsoft Word documents, WordPerfect documents, Rich Text Format documents, and HTML web pages. It has advanced document layout options such as tables, bullets, numbered lists, images, styles, footnotes, and endnotes. It even has a Mail Merge utility like Microsoft Word. You can extend AbiWord with a variety of plugins, which can be selected when you install AbiWord. A portable version is also available that you can run from a USB flash drive.

Angel Writer is a small rich text editor for Windows with a high performance rate that allows you to easily create impressive documents.

Minimalist Text Editors

If you get distracted when you write by the plethora of features in text editors and word processors, you might want to try one of the so-called “minimalist” text editors out there. They are “no-frills” editors that either don’t offer any formatting features or many of the other features of modern word processors, and even third-party text editors, or the features are hidden until you want them. Without all the fancy features staring you in the face, you can concentrate on the task of writing. Below is a list of some of the minimalist text editors we found.

  • Dark Room– Available for Windows, requires .NET Framework 2.0, and is available as a portable program.
  • JDarkRoom– Available for Windows, Linux and Mac OS X
  • Q10– Available for Windows and as a portable program
  • CopyWriter– Available for Windows and as a portable program
  • WriteMonkey– Available for Windows and as a portable program
  • Bookwrite– Available for Windows and Linux
  • Scribes– Available for Linux
  • FocusWriter – Available for Windows, Linux and Mac OS X, and as a portable program for Windows

You can even download Word 5.5 from Microsoft for free and run it under DOSBox in Windows.

If you want a simple text editor with the ability to count down from a set word count, try yEdit2 for Windows. If you have to write a certain number of words, yEdit2 can make it easier.

Secure Text Editors

You can also use a text editor as secure place to store private information. There are several text editors that either include encryption as a feature or are specially designed for securely storing text. Notepad++, mentioned in the Programmer’s Text Editors section above, allows you to add encryption functionality using the SecurePad plugin, which is available through the Plugin Manager. SecurePad will encrypt selected text in the current document or the whole document.

What Is The Best Editor For Recorded Game Play

Steganos LockNote is a small, simple method for securely storing chunks of information in files. For example, if you purchase a download-only program, you can use LockNote to store the product key or serial number that goes with that program in the same folder, so you always know where to find it.

  • CryptNote – Available for Windows and as a portable program
  • CryptoTE– Available for Windows and Linux, and as a portable program for Windows
  • NotepadCrypt– Available for Windows as a portable program
  • Xint– Available for Windows
  • f0dder’s fSekrit – Available for Windows and as a portable program

LaTeX Editors

Do you write a lot of scientific papers, documents, or books? If so, there are several text editors that allow you to easily use TeX/LaTeX (document markup language and document preparation system) through a graphical interface to create mathematical content and structured documents like academic articles, theses, and books.

Best Editor For C

  • LaTeX Editor (LEd)– Available for Windows and as a portable program
  • LyX– Available for Windows, Linux, and Mac OS X
  • WinEdt– Available for Windows
  • TeXstudio– Available for Windows, Linux, and Mac OS X and as a portable program on Windows and Mac OS X
  • Texmaker – Available for Windows, Linux, and Mac OS X

Novel Writing Editor

There’s even an editor that’s meant for writing novels, called yWriter5, available for Windows and Linux. It breaks your novel into chapters and scenes, helping you to keep track of your work. However, yWriter5 does not suggest plot ideas, character names, or write any part of your novel for you. The creative task of writing is still up to you, yWriter5 just makes it easier.

One more text editor to mention is Nano in Linux, which is an easy-to-use text editor you run directly on the command line. Nano is installed by default in Ubuntu and many other Linux distros, and is easier to learn than Vi or emacs.

READ NEXT

Best C++ Text Editor

  • › How to Set Up a Child’s Smart Bedroom
  • › What Does “FOMO” Mean, and How Do You Use It?
  • › How to Fix a Slow or Unresponsive Mac
  • › Windows 10’s Tablet Mode May Be Replaced With the Desktop
  • › How to Quickly Switch Between Gmail Accounts on Android, iPhone, and iPad