News for hackers. Stuff that matters.
Re:Seriously, we need multi-column editors by sz4kerto on Wednesday March 04, 2015 @10:53AM (#9144998)
Second image (http://falconair.github.io/assets/multicolumn/4k.png) shows IntellJ IDEA, that has multi-column editing. The first screenshot (http://falconair.github.io/assets/multicolumn/retina.png) shows Atom, that has multi-column editing as well. WTF?

He also has an IQueueFactory class, that seems like some nice antipattern to me ;) *Edit: also, use QuickFIX, don't write your own. Been there, done that, does not worth it.

Re:Seriously, we need multi-column editors by masklinn on Wednesday March 04, 2015 @10:59AM (#9145061)
The terminology really isn't clear, but assuming the author is not crazy and hasn't missed split windows, most editors have tiling systems, not multi-column systems: you can display different files tiled on the window, you can display independent views of the same file tiled, but it's not a continuous view of a file across multiple columns, where the end of one column is the starting point of the next, and scrolling is synchronised.

Or at least if you can do that, I've got no idea how to enable it in IDEA.

Emacs does provide that feature using follow-mode: http://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/F...

edit: it is apparently possible to do something very similar in vi/vim by using scrollbind.

Re:Seriously, we need multi-column editors by look_lookatme on Wednesday March 04, 2015 @11:01AM (#9145074)
I clicked the comments here first (bad habit) and presumed there was something more nuanced to the case the OP is trying to make... but you are right, it's quite the WTF.

To be fair I think Atom hides the split commands behind a View->Panes menu and IntelliJ (or PHPStorm at least) has the command in Window->Editor Tabs. (All on OSX). So it's not super clear where the split window functionality is, but it's also not hard to read the docs for your editor..

Edit: Ah I see what the OP is saying now. I'd be surprised if this functionality isn't covered by plugins, though.

Re:Seriously, we need multi-column editors by paperwork on Wednesday March 04, 2015 @11:55AM (#9145571)
I'm surprised too, but there don't seem to be any such plugins (although vim apparently comes closes...never looked at emacs).

What I find really interesting is that I seem to be in a _very_ tiny minority that wants this or even has given any thought to this. I expected that most other developers with modern monitors would want this. The comments here and on the blog show that isn't the case :)

Re:Seriously, we need multi-column editors by jhrobert on Tuesday March 17, 2015 @12:25PM (#9219049)
I would love to have "news paper like columns" in my editor. I have been looking for it since 2007...

Another thing I would like is the ability to inject multiple files into the same "edit buffer" so that "search" works over these related files as whole, transparently.

Re:Seriously, we need multi-column editors by paperwork on Wednesday March 04, 2015 @11:46AM (#9145503)
Author here. Looks like lots of people are mixing up multi-column editing with split pane views. I want the same file laid out in multiple columns to make use of the screen real-estate. If such functionality does indeed exist (other than emacs :) ), please let me know. I haven't been able to find it.

Regarding the anti-pattern. You may be right, I have't updated the code in a few years. I displayed it in the screenshot only because it is already open source. But I do need the option of writing files to disk, writing to some random data store or just keep the data in memory. Send me a note about your idea, the whole point of opening it up was to get feedback.

QuickFIX is pretty good, but doesn't hurt to experiment :)

Re:Seriously, we need multi-column editors by lowbloodsugar on Wednesday March 04, 2015 @11:35PM (#9149274)
If your class is so big that you need to have multiple views of it, then it probably doesn't have great SOLID metrics.
Re:Seriously, we need multi-column editors by paperwork on Thursday March 05, 2015 @01:23AM (#9149544)
You don't have any files over 200 or so lines of code?
Re:Seriously, we need multi-column editors by lowbloodsugar on Thursday March 05, 2015 @04:15AM (#9149858)
I do and I regard them as a bug in need of refactoring. I just ran sloccount on one of our key services and the largest non-test file is 106 lines. It has three methods that do not call each other. The largest test file is 268 lines.

Then again we have another service with four files over 1000 lines (1441 the biggest), and we experience significant pain: not because of the size of the files but because of what the size of the class means about its design. That's on a team that had significant pressure to meet some tight deadlines. They are now actively working on refactoring those classes - again, not because of the size, but because of the design.

Re:Seriously, we need multi-column editors by dktbs on Wednesday March 04, 2015 @12:01PM (#9145613)
Just curious, why is emacs not an acceptable solution?
Re:Seriously, we need multi-column editors by paperwork on Wednesday March 04, 2015 @12:09PM (#9145667)
Honestly, just never used it (not since freshman year almost two decades ago). I mainly use eclipse and it works very well for me. I like how I can hover over a variable and it tells me info about that variable, click on it and it shows me very other place it is used. I can rename a function and it gets updated in all files where it is used. I can very quickly see where a class fits in the class hierarchy or see which methods call other methods.

Emacs might do all of this, but eclipse does this well enough.

Re:Seriously, we need multi-column editors by nergal on Wednesday March 04, 2015 @03:12PM (#9146989)
vi and vim has it.
Re:Seriously, we need multi-column editors by dietrichepp on Wednesday March 04, 2015 @11:05AM (#9145125)
I think most of the time, stupid stuff like IQueueFactory just appears because it's Java and Java didn't let you pass individual functions around until recently.
Re:Seriously, we need multi-column editors by detrol2k on Wednesday March 04, 2015 @02:54PM (#9146881)
off-topic: what font is that in the first picture?