6 ms·
Second image (http://falconair.github.io/assets/multicolumn/4k.png http://falconair.github.io/assets/multicolumn/4k.png) shows IntellJ IDEA, that has multi-colu
by sz4kerto 12y ago
Second image (http://falconair.github.io/assets/multicolumn/4k.png 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 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.
- masklinn 12y agoThe 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/Follow-Mode.html 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.
- look_lookatme 12y agoI 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.
- paperwork 12y agoI'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 :)
- jhrobert 12y agoI 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.
- dietrichepp 12y agoI 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.
- paperwork 12y agoAuthor 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 :)
- dktbs 12y agoJust curious, why is emacs not an acceptable solution?
- paperwork 12y agoHonestly, 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.
- nergal 12y agovi and vim has it.
- lowbloodsugar 12y agoIf your class is so big that you need to have multiple views of it, then it probably doesn't have great SOLID metrics.
- paperwork 12y agoYou don't have any files over 200 or so lines of code?
- detrol2k 12y agooff-topic: what font is that in the first picture?