Author Topic: Cross platform text editor  (Read 3201 times)

0 Members and 1 Guest are viewing this topic.

Offline blueskullTopic starter

  • Supporter
  • ****
  • !
  • Posts: 367
  • Country: cn
  • BA7LKP
Cross platform text editor
« on: December 01, 2017, 06:52:53 am »
Is there any recommended text editors that work on both Linux/Win10 and macOS?
My main usage will be editing text documents and C/C#/C++ code. I don't need code analyzing (besides basic ones such as showmatch and autoindent in VIM), but auto correction and at least American English dictionary will be great.
Theme support is required, as I prefer a dark background.
Resolution independent tab indentation is required as I work on different computers with different screens, and I use tabs to indent instead of spaces.
Also, column selection , copy, paste and cut are needed.

So far I know VS Code is great, but it chews up battery too fast. My 2017 12'' Retina can hold ~5 hours on a fully charged battery while running VS Code.
I know GVIM is very fast and lightweight, but I need CTRL/CMD+C/V and other OS shortcuts and native mouse integration, and all of these must be done native without those stupid key mapping scripts. It's 2017, and no one should use a script to support CTRL+C/V.

I've heard Sublime is great, but I've not used it, so if anyone has any experience, I would like to know.
Similarly, I would like to know how Atom or Brackets work.
I also use Gedit a lot on Linux, and it seems it also runs on macOS.
Free lunch is always great, but I won't care spending a little bit, so UE and registered Sublime are also okay to me. However, I'm not paying a license fee for each of my computers. The license must be addressing a person, not a computer.

Any suggestions?
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2267
  • Country: 00
Re: Cross platform text editor
« Reply #1 on: December 01, 2017, 07:37:38 am »
The best is Kate: https://kate-editor.org/

Everything is configurable, very extensible, lot's of plugins, supports almost all programming languages.

 
The following users thanked this post: kripton2035

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22408
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Cross platform text editor
« Reply #2 on: December 01, 2017, 10:45:09 am »
Notepad++?  Autocomplete, dictionary, highlighting, um not themes I think but colors yes?  I use it on Windows, forget what else it's available on, but it's GNU so it better have Linux..

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline rollatorwieltje

  • Supporter
  • ****
  • Posts: 571
  • Country: nl
  • I brick your boards.
Re: Cross platform text editor
« Reply #3 on: December 01, 2017, 10:55:28 am »
Notepad++?  Autocomplete, dictionary, highlighting, um not themes I think but colors yes?  I use it on Windows, forget what else it's available on, but it's GNU so it better have Linux..

Tim
It's not available on linux, the entire GUI is written using pure Win32 functions. But the editor widget itself is Scintilla, which is used in many Linux editors as well.
 

Offline epongenoir

  • Contributor
  • Posts: 14
  • Country: it
Re: Cross platform text editor
« Reply #4 on: December 01, 2017, 11:03:39 am »
I use SublimeText (https://www.sublimetext.com/
Which is a very powerful tool with loads and loads of features for an advanced user.
The program itself is shareware like winrar. From time to time it reminds the user to buy it,  but has all the features enabled.
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Cross platform text editor
« Reply #5 on: December 01, 2017, 11:21:56 am »
I like Atom!

Tons of plugins available, highly configurable, themeable, stable and best of all, 100% free and open source.
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline cybermaus

  • Frequent Contributor
  • **
  • Posts: 691
  • Country: nl
Re: Cross platform text editor
« Reply #6 on: December 01, 2017, 11:33:05 am »
 

Offline Canis Dirus Leidy

  • Regular Contributor
  • *
  • Posts: 218
  • Country: ru
Re: Cross platform text editor
« Reply #7 on: December 01, 2017, 11:53:43 am »
So far I know VS Code is great, but it chews up battery too fast. My 2017 12'' Retina can hold ~5 hours on a fully charged battery while running VS Code.
I know GVIM is very fast and lightweight, but I need CTRL/CMD+C/V and other OS shortcuts and native mouse integration, and all of these must be done native without those stupid key mapping scripts. It's 2017, and no one should use a script to support CTRL+C/V.
EMACS with CUA-mode enabled?
 

Offline grifftech

  • Frequent Contributor
  • **
  • Posts: 369
  • Country: us
    • youtube channel
Re: Cross platform text editor
« Reply #8 on: December 01, 2017, 04:00:38 pm »
google docs
 

Offline IanMacdonald

  • Frequent Contributor
  • **
  • Posts: 943
  • Country: gb
    • IWR Consultancy
Re: Cross platform text editor
« Reply #9 on: December 01, 2017, 04:06:53 pm »
Geany is good and has a near-identical interface on both Lin/Win.  Although it's not strictly a MacOS product I believe the Linux version can be installed
« Last Edit: December 01, 2017, 04:08:54 pm by IanMacdonald »
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3523
  • Country: it
Re: Cross platform text editor
« Reply #10 on: December 01, 2017, 04:53:33 pm »
Notepad++?  Autocomplete, dictionary, highlighting, um not themes I think but colors yes?  I use it on Windows, forget what else it's available on, but it's GNU so it better have Linux..

Tim

do you know if there are diff plugins other than compare? compare is atrocious and does weird things with longer files. when i have to diff i open the file inside mplabx /netbeans (i actually like the way it diffs quite a lot)
« Last Edit: December 01, 2017, 05:00:00 pm by JPortici »
 

Offline tablatronix

  • Regular Contributor
  • *
  • Posts: 199
  • Country: us
Re: Cross platform text editor
« Reply #11 on: December 01, 2017, 05:46:39 pm »
Ditto on sublime text,  I use it daily in multiple environments , so I also use it for dev, I use it with deviot as a PIO/arduino IDE since I am familiar with it. It does not make a good IDE, but its a great editor.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: Cross platform text editor
« Reply #12 on: December 01, 2017, 07:18:11 pm »
BBEdit is Mac-only but its by far my favorite text editor.

Is there any recommended text editors that work on both Linux/Win10 and macOS?
My main usage will be editing text documents and C/C#/C++ code. I don't need code analyzing (besides basic ones such as showmatch and autoindent in VIM), but auto correction and at least American English dictionary will be great.
Theme support is required, as I prefer a dark background.
Resolution independent tab indentation is required as I work on different computers with different screens, and I use tabs to indent instead of spaces.
Also, column selection , copy, paste and cut are needed.

So far I know VS Code is great, but it chews up battery too fast. My 2017 12'' Retina can hold ~5 hours on a fully charged battery while running VS Code.
I know GVIM is very fast and lightweight, but I need CTRL/CMD+C/V and other OS shortcuts and native mouse integration, and all of these must be done native without those stupid key mapping scripts. It's 2017, and no one should use a script to support CTRL+C/V.

I've heard Sublime is great, but I've not used it, so if anyone has any experience, I would like to know.
Similarly, I would like to know how Atom or Brackets work.
I also use Gedit a lot on Linux, and it seems it also runs on macOS.
Free lunch is always great, but I won't care spending a little bit, so UE and registered Sublime are also okay to me. However, I'm not paying a license fee for each of my computers. The license must be addressing a person, not a computer.

Any suggestions?
"What the large print giveth, the small print taketh away."
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23096
  • Country: gb
Re: Cross platform text editor
« Reply #13 on: December 01, 2017, 07:32:15 pm »
Vim does everything you want. Been using it for about 20 years. It’s the only editor that my investment in time hasn’t been a waste on.

I’m using MacVim at the moment on macOS. Cmd+C and Cmd+V work in it.

On Linux it’s just there. On windows, standard vim installer does job.

There are extensions for full contextual autocomplete, correction etc. It’s as powerful as vscode believe it or not.
« Last Edit: December 01, 2017, 07:33:59 pm by bd139 »
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: Cross platform text editor
« Reply #14 on: December 01, 2017, 11:19:59 pm »
What does UE stand for? (Sorry if its something obvious)
"What the large print giveth, the small print taketh away."
 

Online langwadt

  • Super Contributor
  • ***
  • Posts: 4720
  • Country: dk
Re: Cross platform text editor
« Reply #15 on: December 02, 2017, 01:23:18 am »
What does UE stand for? (Sorry if its something obvious)

Ultra Edit

Ultraedit is probably the best editor I have tried, but +$100 for a text editor is just silly so I'll do without
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf