English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 31 October 2014, 21:23   #1
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
The greatest code editor feature of all time

I'm working on an Assembler code editor for Amiga.

I would like to listen especially to those of you who also code on PC, Mac, Linux etc day in and day out. Language doesn't matter, but try to visualize if your suggestion would work at all for the very line-oriented format of 68K Assembler with its very regular expressions.

I want your most ambitious killer features! And little neat nice touches that you like as well. It could be as simple as "it adds this character if I forget to type it", or something.

Most of all, I would like to have ambitious features that you imagine, and wish were in your best editor!
Photon is offline  
Old 31 October 2014, 21:32   #2
alkis
Registered User
 
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
- Autocompletion
- Syntax highlight
- Minimap on the right
- Auto Ident
- Reident the whole file
- A variety of nice color schemes
alkis is offline  
Old 31 October 2014, 22:13   #3
RedskullDC
Digital Corruption
 
RedskullDC's Avatar
 
Join Date: Jan 2007
Location: Dorrigo/Australia
Age: 60
Posts: 355
- Highlight matching braces
- Indent selected section


Cheers,
Red
RedskullDC is offline  
Old 31 October 2014, 22:38   #4
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Modern features are nice, but it should still feel like an Amiga editor. Which means for example:
shift-left = beginning of line
shift-right = end of line
shift-up = page up
shift-down = page down
ctrl-up = start of source
ctrl-down = end of source
It should also use Amiga-C for copy and Amiga-V for paste and not the control key.

Features:
A good search/replace function is frequently needed.
Also a macro function would be nice to record and repeat complex manipulations quickly.

Last edited by phx; 31 October 2014 at 22:44. Reason: Add some features
phx is offline  
Old 31 October 2014, 22:45   #5
Asman
68k
 
Asman's Avatar
 
Join Date: Sep 2005
Location: Somewhere
Posts: 828
- Folding data/code
- Possibility to jump and back to/from label
- Count cycles on comment
Asman is offline  
Old 31 October 2014, 23:39   #6
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Excellent, keep'em coming

Also, don't hesitate to specify exactly how you would like them to work (context, how the code should look when finished etc). The more picky/choosy you are ("only this way, or your editor is crap") the better!
Photon is offline  
Old 01 November 2014, 00:17   #7
Cylon
Registered User
 
Join Date: Oct 2014
Location: Europe
Posts: 470
- dblclick on label reference jumps to label (and return to origin, if requested)
- split view of src in one window
- split view of two (or more) src in one window, maybe with simultanious scrolling (spotting diffs)
- lvo refs replacing numerical offsets with context menu (right mouse button) (magic menu)
- spell checker for asm syntax (typing mistakes)
Cylon is offline  
Old 01 November 2014, 00:19   #8
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
I think that looking at best "PC" editor could help, like Slickedit, Sublime Text, Textmate, Ultra edit.
Kamelito
kamelito is offline  
Old 01 November 2014, 00:32   #9
hukka
Wolf-bear thing
 
hukka's Avatar
 
Join Date: Jan 2014
Location: Finland
Age: 41
Posts: 56
My wishlist:

- Syntax highlight! (with customizable keywords so I can colorize my macro calls suitably)
- Possibility of easily switching between files in current project (or directory)
- Find in Files (maybe Search&Replace as well)
- A list of labels(/macros/defines/sections) would be neat
- Duplicate/delete line/selection
- Comment/uncomment selection
- Indent/unindent selection
hukka is offline  
Old 01 November 2014, 00:44   #10
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
-IntelliSense for all system includes.
-Fully programmable like FrexxEd on the Amiga through a script system.
-Syntax coloring based on language grammar, not just word highlighting.
-Being able to change the color pen of everything (nothing worse than the drab gray background you find in Amiga text editors).

There are so many good features in existing editors, that you should just take a look at them. There's too many to easily list here.
Thorham is offline  
Old 01 November 2014, 00:56   #11
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Hmmm, I agree with all suggestion so far, but here's one that I think has been missed:

- Bookmarks! (bookmark a specific line to jump to, rather than just the start of the routine)
Lonewolf10 is offline  
Old 01 November 2014, 13:26   #12
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
Quote:
Originally Posted by Thorham View Post
There are so many good features in existing editors, that you should just take a look at them. There's too many to easily list here.
You should definitely take a look at vim. You would be doing very well if your editor was half as easy to use as that is.
Hewitson is offline  
Old 01 November 2014, 13:59   #13
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
Quote:
Originally Posted by Hewitson View Post
You should definitely take a look at vim. You would be doing very well if your editor was half as easy to use as that is.
On Windows, Notepad++ suits me fine. On Amiga, Vim doesn't seem very usable. Just tried Vim5 from Aminet. Dat scrolling What's worse it that it runs in a shell window I'll stick to FrexxEd.
Thorham is offline  
Old 01 November 2014, 14:49   #14
Zetr0
Ya' like it Retr0?
 
Zetr0's Avatar
 
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
@Proton

Interesting thread and project =)


Features Required
  • Page Colour and Pen/Ink user configurable - some times I prefer a blue background as opposed to white or grey
  • Context Highlighting (user configurable)
  • Auto Indent (configurable)
  • Collapsable Code / Funtions
  • Search and Replace
  • Line and Section Comment
  • Bookmark Code Block / Line Position
  • Save / Load mutli-text formats
  • User changeable compiler / linker and path
  • One button / key press for building
  • One button / key press for building and executing
  • User changeable output for compiling linking output (Verbose / Limited by Error or None)


Nice to Have Features
  • Double Click "Function / Label - Jump" jump from Call instance to Called code
  • Variable Counter with initial stack size for each function call
  • Variable Watches (this is more debugger than editor)
  • Program Stepper ( simulates each line call - again more of a debugger )
  • Split View with multiple source pages / cli
  • Auto Doc libraries linking - A right click or deliberate mouse hover brings up the auto-doc information for that instruction and or syntax for that call
Zetr0 is offline  
Old 01 November 2014, 14:58   #15
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
Quote:
Originally Posted by Thorham View Post
On Windows, Notepad++ suits me fine. On Amiga, Vim doesn't seem very usable. Just tried Vim5 from Aminet. Dat scrolling What's worse it that it runs in a shell window I'll stick to FrexxEd.
I have not tried it on the Amiga, but I can assure you that it is an amazing editor when used on Linux, BSD, or any of the various UNIX derivatives. Probably the most popular editor in the world, actually.
Hewitson is offline  
Old 01 November 2014, 15:04   #16
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
Quote:
Originally Posted by Hewitson View Post
I have not tried it on the Amiga, but I can assure you that it is an amazing editor when used on Linux, BSD, or any of the various UNIX derivatives. Probably the most popular editor in the world, actually.
The problem I have with Vim is that it doesn't conform to the standard editor model. This is why I stick to editors like Notepad++. On the Amiga, FrexxEd is great, because it conforms to the standard model, and gives you the programability of Emacs.
Thorham is offline  
Old 01 November 2014, 15:59   #17
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Quote:
Originally Posted by kamelito View Post
I think that looking at best "PC" editor could help, like Slickedit, Sublime Text, Textmate, Ultra edit.
Kamelito
No, that's not the right way at all. I know and use a lot of the features in PC editors of course, and the ones I like best are already in or will be in.

I'm taking suggestions from seasoned (Amiga) assembler programmers, because there might be a feature that I didn't think of, or one that hasn't been done yet which I can't but someone else can imagine.

Simply, you've been coding assembler and needed to do something the editor couldn't, "wish it could have done that".

Features suggested so far are very good, for many of them: we are thinking along the same lines!
Photon is offline  
Old 01 November 2014, 16:12   #18
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
Quote:
Originally Posted by Photon View Post
Simply, you've been coding assembler and needed to do something the editor couldn't, "wish it could have done that".
Good integration with assemblers and debuggers. Also, a real time mem viewer which can be controlled from the program you're writing through a simple message port. Command line like AsmOne/Pro.

A good auto complete system for OS includes (EVERYTHING), would be nice. That, and full syntax coloring for OS includes.
Thorham is offline  
Old 01 November 2014, 17:41   #19
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
- Macro explode / implode function
- Single step debug with actual source code as base
- Smart undo / redo handling using hot keys, "whole line" or "character by character"
- Edit label; "one changes all"
- Optional hints which cleverly teaches us to use the editor (without reading the whole manual first)
modrobert is offline  
Old 01 November 2014, 17:45   #20
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Quote:
Originally Posted by Thorham View Post
Good integration
I'm for a more open approach. How far would an "execute commandline/script from within the editor" take me, you think? With a parameter for the currently edited file that you can pass. You'd add " > CON:" if they don't open their own screens.
Photon is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Your greatest moments Anakirob Retrogaming General Discussion 59 07 October 2009 16:51
The Thirteen Greatest Error Messages of All Time DamienD Retrogaming General Discussion 22 13 July 2009 13:59
The 12 Greatest Video Game Toilets of All Time Retro-Nerd Retrogaming General Discussion 40 09 February 2008 19:48
The Greatest games machine of all time Dastardly Nostalgia & memories 0 23 November 2002 00:21
3D code and/or internet code for Blitz Basic 2.1 EdzUp Retrogaming General Discussion 0 10 February 2002 11:40

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:55.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10721 seconds with 14 queries