EmbeddedRelated.com
Forums

Editor recommendation

Started by Roberto Waltman August 28, 2013
On 08/29/13 03:41, bbhack wrote:

> > Try Netbeans. > > https://netbeans.org/
Wasn't that originally a Sun Micro product ?. Anyway, the fact that it's available for Solaris Sparc and X86 means i'll be having a look at that. Thanks for the pointer... Chris
>
>What editor would you recommend for code development?
Thanks for the replies - my notes in no particular order. I knew about all the options except Smultron (not a Mac guy,) and the new implementation of Brief, and thought CodeWright was dead. Pity the new Brief doesn't have the original's macro language. (I used it extensively in the DOS days. ) By "still supported", I meant "bugs are fixed" No CVS integration needed. Working under windows when at work. I don't want my spaces replace by tabs either ;) I used Nedit and recommended it to others, but did not use it under Windows Will give a try to Eclipse again, although don't like the screen real state it uses in things other than the files edited. Specially when I need to use larger and larger fonts as time goes by. (Not everybody has dual 30" monitors.) And what was that Saturn-like icon for? -- Roberto Waltman [ Please reply to the group, return address is invalid ]
On 28/08/2013 22:18, Roberto Waltman wrote:
> For some reason never got used to Emacs
What are exactly the reason(s) why you have excluded Emacs ? I have been using Emacs for 15 years (sometimes extensively) and i always enjoy using it as an editor for C/C++. I think Emacs is one of few tools making you a better programmer. H
On 29.8.13 5:01 , Roberto Waltman wrote:
>> What editor would you recommend for code development? > > Thanks for the replies - my notes in no particular order. > > I knew about all the options except Smultron (not a Mac guy,) and the > new implementation of Brief, and thought CodeWright was dead. > Pity the new Brief doesn't have the original's macro language. (I used > it extensively in the DOS days. ) > > By "still supported", I meant "bugs are fixed" > > No CVS integration needed. > > Working under windows when at work. > > I don't want my spaces replace by tabs either ;) > > I used Nedit and recommended it to others, but did not use it under > Windows > > Will give a try to Eclipse again, although don't like the screen real > state it uses in things other than the files edited. > Specially when I need to use larger and larger fonts as time goes by. > (Not everybody has dual 30" monitors.) And what was that Saturn-like > icon for? > -- > Roberto Waltman > > [ Please reply to the group, > return address is invalid ]
Did you notice that there is a box-like icon in the right top corner of the editor frames (and quite many others)? It can be used to maximize the window. There may be several files open in the same window, and they may be used as split screen. I'm usually using the editor window maximized with two tabbed subwindows containing the files currently of interest. This has been sufficient for me (67 yrs) on a MacBook, though I like the 24 inch Cinema display on BigMac more. Please take the time to wade the workbench and CDT documents. A single pass was not enough for me, but after some frustrating 'Where on Earth is the function I'd find' the terrain starts to feel more familiar. The globe in Eclipse icon is a darkened Sun in an ... eclipse. -- -Tauno
On Thursday, August 29, 2013 1:10:10 AM UTC+3, chris wrote:
>... The most useful thing when I started using it was the > rectangular cut and paste, which I still use all the time, though the rest > of the world has caught up meantime.
So the rest of the world slowly catches up I gather :-)? I have had rectangular cut and paste ever since I began using my own editor (around 1990), had no idea who else would have it and since when. I wonder if the world has caught up with some useful key combinations I introduced for myself back then (shift-up or shift-down moves 4 lines, shift right moves to next word etc.). I suppose my editors (two of them, the second one came for DPS around 1996 or 1997) have been a significant part of what has made me as efficient as I am. Sorry for the OT as I can't recommend any of the PC based editors but sometimes like all of us I also need to talk to people who understand what I am talking about :-). Dimiter ------------------------------------------------------ Dimiter Popoff Transgalactic Instruments http://www.tgi-sci.com ------------------------------------------------------ http://www.flickr.com/photos/didi_tgi/sets/72157600228621276/
On 2013-08-29, dp <dp@tgi-sci.com> wrote:
> On Thursday, August 29, 2013 1:10:10 AM UTC+3, chris wrote: >>... The most useful thing when I started using it was the >> rectangular cut and paste, which I still use all the time, though the rest >> of the world has caught up meantime. > > So the rest of the world slowly catches up I gather :-)? > I have had rectangular cut and paste ever since I began > using my own editor (around 1990), had no idea who else > would have it and since when.
Emacs has it, but I don't know when Emacs acquired it. DEC's EVE/TPU editor for VMS has had box select/box cut functionality since at least the early 1990s; I don't know when the functionality was added, but EVE/TPU was created in the middle 1980s.
> I wonder if the world has caught up with some useful key > combinations I introduced for myself back then (shift-up > or shift-down moves 4 lines, shift right moves to next > word etc.).
I've no need for moving up/down in units of 4 lines, but both DEC's editors and Emacs have move by word functionality. I don't know about others here, but I find DEC's EDT keypad mode, in which common commands are mapped to the numeric keypad (the keypad is placed into application keypad mode which causes escape sequences to be sent instead of numbers) to be very useful indeed. I find it useful enough that I have emacs setup to use it's built-in emulation of EDT keypad mode. You either need a _good_ terminal emulator to use it (for text mode) or to run a Emacs supplied keypad configuration script (for GUI mode). Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world
On Thursday, August 29, 2013 8:15:24 PM UTC+3, Simon Clubley wrote:
> On 2013-08-29, dp <dp@tgi-sci.com> wrote: >> .... >> I wonder if the world has caught up with some useful key >> combinations I introduced for myself back then (shift-up >> or shift-down moves 4 lines, shift right moves to next >> word etc.). > > > I've no need for moving up/down in units of 4 lines, > ...
How do you move vertically when you have to do it for long distances? To me, shift-cursor up or down is may be the most frequently used combination. ------------------------------------------------------ Dimiter Popoff Transgalactic Instruments http://www.tgi-sci.com ------------------------------------------------------ http://www.flickr.com/photos/didi_tgi/sets/72157600228621276/
On 2013-08-29, dp <dp@tgi-sci.com> wrote:
> On Thursday, August 29, 2013 8:15:24 PM UTC+3, Simon Clubley wrote: >> >> I've no need for moving up/down in units of 4 lines, >> ... > > How do you move vertically when you have to do it for long distances? > To me, shift-cursor up or down is may be the most frequently > used combination. >
Page up/page down, which is really screen up/screen down as it jumps in units based on the terminal emulator/GUI window length (minus some configurable overlap so you don't lose your place while scrolling through the code). Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world
Greetings Dimiter!

On 8/29/2013 9:23 AM, dp wrote:
> On Thursday, August 29, 2013 1:10:10 AM UTC+3, chris wrote: >> ... The most useful thing when I started using it was the >> rectangular cut and paste, which I still use all the time, though the rest >> of the world has caught up meantime. > > So the rest of the world slowly catches up I gather :-)? > I have had rectangular cut and paste ever since I began > using my own editor (around 1990), had no idea who else > would have it and since when.
Brief had rectangular cut & paste in the early 80's (my v2.1 manual is copyright 1984 and I'm pretty sure the feature was present on earlier versions -- I'll have to chase down a floppy .IMZ from my archives...)
> I wonder if the world has caught up with some useful key > combinations I introduced for myself back then (shift-up > or shift-down moves 4 lines, shift right moves to next > word etc.).
In school (late 70's), forward/backward word/line/etc. was a common feature on the (numeric) keypad on one of the DEC? systems I used (I recall "red" and "gold"? keys as command introducers) [Of course, back then, each class had it's own INCOMPATIBLE system... :< ]
> I suppose my editors (two of them, the second one came > for DPS around 1996 or 1997) have been a significant part > of what has made me as efficient as I am.
One of the most enjoyable features I have found is being able to set the "cursor direction". I first saw this feature on The Electric Blackboard (under CP/M). Basically, you defined the direction in which the cursor would move after each keystroke. One of the more common uses was to move over to some column where on-line comments began (e.g., ~40) set the cursor direction to *down* and then lean on, for example, ';' (to introduce comments). This would have the effect of inserting (or replacing, depending on which mode you were in) a semicolon in column 40 of each line that you passed *through*. It was also great for "ruling" tables, etc. One of my common gripes with, e.g., emacs, vi, etc. is that I can't just move to a random point ON THE SCREEN and start typing AS IF the screen was filled with virtual whitespace (which would automatically be inserted *iff* I actually needed it inserted on a particular line in order to pad out to something I've chosen to add "in column 72")
> Sorry for the OT as I can't recommend any of the PC based > editors but sometimes like all of us I also need to talk > to people who understand what I am talking about :-).
Hope Lucy isn't reading over your shoulder!! :> --don
Don Y <this@isnotme.com> writes:
> One of my common gripes with, e.g., emacs, vi, etc. is that I > can't just move to a random point ON THE SCREEN and start typing > AS IF the screen was filled with virtual whitespace
In Emacs, this is called Picture Mode. Just say M-x picture-mode to activate it.