Welcome, Guest. Please login or register.

Author Topic: Good source code editor?  (Read 3414 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AMC258Topic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Good source code editor?
« on: February 17, 2008, 11:35:38 PM »
Okay, the last bit of HSPascal I was using is now dead to me:  The IDE doesn't work in OS4.

So, what's a good editor that will work in OS4 for editing source code?

Basically, I need:
-  Automatically open the files I'm working on at startup
-  Ability to set and go to 'bookmarks' without using the mouse
-  Ability to open a duplicate window (of the current file) without using the mouse
-  Hopefully some automatic window arranging
-  Runs on it's own *public* screen (so I can run a shell on that screen too)
-  Lots and lots of keyboard shortcuts!  Especially good text manipulation ones.
-  Ability to jump to a line by line number
-  Line number/character number display
-  Automatic indenting

What I don't need:  Special C source code functionality.  I don't code in C, C+, C++, C#, C*, C-, whatever.
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline Jose

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show only replies by Jose
Re: Good source code editor?
« Reply #1 on: February 17, 2008, 11:42:26 PM »
Dunno what you mean by bookmarks but CygnusEd does everything you mention, except maybe the automatic window arranging, but it can display multiple views of the same file.
It's also very fast even on nonexpanded classic machines, there was new version released last year and it's been recognized as one of the coolest editors by Amiga users for many years.

Otherwise I'd say CubicIDE but that's very heavy though it provides a ton of language oriented features (never tried it but been hearing about it for too long...)

\\"We made Amiga, they {bleep}ed it up\\"
 

Offline AMC258Topic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Good source code editor?
« Reply #2 on: February 17, 2008, 11:56:23 PM »
Well, in HSPascal, let's say, you go to line 153, character 8, and set Bookmark #8.  Now, you go somewhere else, then, call up Bookmark #8, and BAM, you're back on line 153, character 8.  And, you can automatically go to the last changed character, too.  I think they took this from the TurboPascal IDE.  I seem to remember in that one you could automatically go to the last cursor position too, which was helpful.

Where can I get a demo version of CygnusEd newer than 1987?  I'd sure like to try it out before I commit to buying it.

Where can I find CubicIDE at all?

Quote
Cubicide:
Death caused by various office-related objects. This act of violence usually arises when a worker is micro-managed by his or her boss. Sometimes this act stems from the simple fact that a person is required to stare at a computer screen for 8 hours a day for 260 or more days per year. Symptoms include loss of vision from macular decay, increased procrastination to get projects done on time, and heart palptations from too much coffee.
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Good source code editor?
« Reply #3 on: February 18, 2008, 12:19:53 AM »
Cubic IDE website seems to be offline for now.  I don't know about CygnusEd having newer versions.
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Good source code editor?
« Reply #4 on: February 18, 2008, 12:20:43 AM »
I used to use Black's Editor.. or BED for short...

Offline AMC258Topic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Good source code editor?
« Reply #5 on: February 18, 2008, 12:21:38 AM »
There appears to be a very new version, just no demo for it.  The only demo I can find is from 1987 and on Aminet.
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: Good source code editor?
« Reply #6 on: February 18, 2008, 12:37:38 AM »
I cross-compile (for OS3) and use Visual Studio's IDE. I know--not too helpful.
 

Offline AMC258Topic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Good source code editor?
« Reply #7 on: February 18, 2008, 12:53:56 AM »
 !  I hate that IDE.  I used to have to use it for a living.

I still can't even cross-compile for OS3 with OS4!  The OS3 version of 'as' crashes under OS4, and I can't compile a 68k version of 'as' for OS4, because the configure script for binutils locks up my Amiga!
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline sandpiper

  • Full Member
  • ***
  • Join Date: Apr 2005
  • Posts: 133
    • Show only replies by sandpiper
Re: Good source code editor?
« Reply #8 on: February 18, 2008, 01:25:33 AM »
My vote goes to CubicIDE but you may also want to try TurboText. It is very configurable and is now free here.
 

Offline AMC258Topic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Good source code editor?
« Reply #9 on: February 18, 2008, 01:36:38 AM »
I'm going to try as many as I can, I plan on sticking with whichever I choose for a LONG time :-)
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline Jose

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show only replies by Jose
Re: Good source code editor?
« Reply #10 on: February 18, 2008, 01:48:25 AM »
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline AMC258Topic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Good source code editor?
« Reply #11 on: February 18, 2008, 02:07:25 AM »
Danke schön!
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline avanham

  • Newbie
  • *
  • Join Date: Mar 2005
  • Posts: 42
    • Show only replies by avanham
Re: Good source code editor?
« Reply #12 on: February 18, 2008, 02:39:17 AM »
I spent years using other editors including CygnusEd (which is very nice) but nothing comes close to the flexibility of Vim (except possibly Emacs, but it has nasty multifinger keyboard shortcuts -- Vim uses modes which mean you rarely have to use the control or alt keys).  Although it has a very steep learning curve and is just plain weird, I use it for everything on every platform I have to code on.  There is an OS4 version at http://os4depot.net/share/utility/text/edit/vim-bin.lha

It can be set up to do everything you describe except open on a public screen

Quote

Basically, I need:
-  Automatically open the files I'm working on at startup

Vim has sessions that allow this

Quote

-  Ability to set and go to 'bookmarks' without using the mouse

Vim comes from the days before mice.  Everything can be done without a mouse.  Vim has two bookmark modes. The first is two letter combination that allows 26 quick-access bookmarks.  The second is for named bookmarks

Quote

-  Ability to open a duplicate window (of the current file) without using the mouse

Vim allows any number of duplicates and allows you to arrange them side by side, one above the other or a combination of them both

Quote

-  Hopefully some automatic window arranging

I'm not sure what you mean by this

Quote

-  Runs on it's own *public* screen (so I can run a shell on that screen too)

Okay, it won't do this but it does run in a console so you can have a shell in another window

Quote

-  Lots and lots of keyboard shortcuts!  Especially good text manipulation ones.

Vim is the king of keyboard shortcuts.  I would say that is one of the things fans like the most and non-fans hate the most

Quote

-  Ability to jump to a line by line number

simplicity

Quote

-  Line number/character number display

Vim has a mode line that shows this

Quote

-  Automatic indenting

Vim can automatically indent for a bazillion languages

Quote


What I don't need:  Special C source code functionality.  I don't code in C, C+, C++, C#, C*, C-, whatever.
 

Offline AMC258Topic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Good source code editor?
« Reply #13 on: February 18, 2008, 02:57:31 AM »
Well, so far I'm not liking CygnusEd.  5 seconds into it and it's inserting garbage characters and copies of my text as I type.

Other than that, it seems to have some nice features.
It sure would take a while to get used to the weird non-standard window layout, although I'm not sure it's really a bad thing.

It does support 'bookmarks', only they're called 'marks'.  And, I don't see a way to quickly display a second copy of the same file without loading it from disk as a seperate file.

Selecting text is kind of a pain.
And, there it is.  I just crashed it.  Got a DSI trying to select text.  I guess I can't say I didn't see it coming.
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Good source code editor?
« Reply #14 on: February 18, 2008, 03:27:02 AM »
Quote
don't see a way to quickly display a second copy of the same file without loading it from disk as a seperate file.

amiga + d (or Special/View operations/ ...)
Quote
And, there it is. I just crashed it.

I've never been able to get CEd to crash and I've used it for over 15 years already.

There must be something wrong with your system.