Welcome Guest.   Make a donation to an author on the site November 25, 2014, 02:41:21 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Cross-platform Coders Editor  (Read 3390 times)
Ehtyar
Supporting Member
**
Posts: 1,236



That News Guy

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« on: January 30, 2009, 12:33:18 AM »

Hi all.

Off the bat, I'm not looking for an IDE (for anyone who is I recommend Code::Blocks).

What I'm looking for is a text editor that is friendly to code, you know..syntax hilighting, regex, maybe code folding, scripting (yay perl!), command line piping etc etc. Notepad++ for Windows and Linux if you will (I so don't care about Mac compatibility). ATM it looks like gvim is the winner (if anyone mentions emacs, your shoes will spontaneously catch fire), but I wanted to check things out before I commit myself. All suggestions are appreciated guys, and IDE comments are welcome, though that's not what I am after.

Thanks, Ehtyar.
Logged
Jibz
Developer
***
Posts: 946



Cold Warrior

View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: January 30, 2009, 01:34:46 AM »

*puts fire extinguisher next to chair*

What about emacs?

onfire
Logged

"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu
ewemoa
Honorary Member
**
Posts: 2,492



View Profile Give some DonationCredits to this forum member
« Reply #2 on: January 30, 2009, 02:02:47 AM »

I tried out gvim for a while and have currently stopped (I did learn quite a bit and have built up a vimrc file, though it was only tested for Windows) -- if you go that route, I'm interested in hearing about your progress.

For the moment I have reverted to ***** (trying to avoid unnecessary combustion), but mostly because the brain I'm currently using happens to already be wired for it -- accident of history you see Wink

I too am quite interested in other alternatives.
Logged
Ehtyar
Supporting Member
**
Posts: 1,236



That News Guy

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: January 30, 2009, 03:16:36 AM »

Well....being that both the first and second replies mentioned the unspeakable, I guess i need to open my mind a little more. Perhaps, if I suspend the spontaneous fire-catching, someone would be willing to tell me what specifically they like about Emacs?

Ehtyar.
Logged
ewemoa
Honorary Member
**
Posts: 2,492



View Profile Give some DonationCredits to this forum member
« Reply #4 on: January 30, 2009, 04:57:09 AM »

There's plenty to complain about the unspeakable -- but since you didn't ask for that, how about if I list some of what I find useful?

  • dabbrev-expand - I do basically all of my completion with this (whether it's in an ordinary buffer or the minibuffer) - bound to M-/ (Alt-/) by default
  • describe-key - find out what command a given key sequence is bound to
  • describe-function - find documentation for a function (that is, for something accessible via the editor)
  • recentf-* - access to recently opened files
  • rect.el - manipulation of rectangular regions (e.g. kill-rectangle, yank-rectangle)
  • column-number-mode - displaying current column number
  • which-func-mode - displaying a guess as to the current function where the cursor is at
  • speedbar - a sort of fake side panel for file, directory, and tag access
  • various programming language modes - recently I've been using one of the JavaScript modes and a PHP mode (I've been secretly plotting with mouser to see if the "Ignore Thread" feature for SMF is worth doing)
  • occur - showing lines in the current buffer which matched some regular expression
  • query-replace* - can probably guess this one, right?
  • isearch-* - incremental searching
  • imenu - for jumping to specific locations in the buffer (e.g. to particular function definitions)
  • find-file-at-point - attempt to open a file, guessing a default from text around where the cursor is
  • shell - some kind of access to a command prompt
  • goto-line - smiley
  • kill-line, yank-line - cut and paste line
  • split-window-* - horizontal and vertical window splitting
  • make-frame-command - creating additional frames (more commonly referred to outside of this editor as windows)
  • untabify
  • undo
  • next-buffer, previous-buffer

A little less specifically:

  • narrowing a buffer - temporarily having a buffer seem as if only a portion of it exists
  • multi-lingual display and input
  • syntax highlighting
  • bookmarks
  • http://emacswiki.org/ - I think one of the reasons I was willing to consider using this editor again was the birth and development of this site

Since I don't have a problem w/ lispy languages, it's usually not too bad to add functionality I'd like to have if I don't happen to find a way to do it with something someone else has written.
« Last Edit: January 30, 2009, 05:29:24 AM by ewemoa » Logged
housetier
Charter Honorary Member
***
Posts: 1,321


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #5 on: January 30, 2009, 07:44:10 AM »

I recommend gvim.

And while you are at it: I also recommend vimperator for firefox.
Logged
ewemoa
Honorary Member
**
Posts: 2,492



View Profile Give some DonationCredits to this forum member
« Reply #6 on: January 31, 2009, 11:21:40 PM »

May be it's already well-known to folks who've posted in this thread, but perhaps for future reference it's worth bring up the following thread concerning vim usage tips

http://www.donationcoder....um/index.php?topic=6400.0

I found the following particularly useful during my recent vim trial:

http://vim.wikia.com/wiki/Main_Page
Logged
Ehtyar
Supporting Member
**
Posts: 1,236



That News Guy

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: March 15, 2009, 05:04:56 AM »

Well, it looks like jEdit, of all apps, is winning at the moment, gvim was just too far outside my comfort zone. I probably haven't explored it to it's fullest yet, but it seems like Notepad++ with proper regex and more powerful macros to me. The only thing that bugs me is that you can't select lines of text from the gutter, and from a feature request I read that won't be happening at all due to a conflict it would cause with the way code folding works (ironically I don't use code folding at all, though I probably should). Anyway, I'll keep this thread updated if my path changes.

Ehtyar.
Logged
Armando
Charter Member
***
Posts: 2,683



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #8 on: June 29, 2009, 02:03:58 PM »

Hi Ethyar,
Sorry For bringing back this old thread... but... Did you stick to jEdit, finally (seems a bit slower than Notepad++) ? Do you like it ?
I like Notepad++, but I'm having issues with its amputated regex functionality.


(PS : Hello to all. have been seriously busy since last September -- computer science + directing a play... Less busy now.)
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.02 ]