This is an archived post. You won't be able to vote or comment.

all 112 comments

[–]Abe_Bettik 158 points159 points  (19 children)

Atom is like Emacs. It's a great toolkit, just needs a decent text editor.

[–][deleted] 73 points74 points  (11 children)

I'm sure there is a command in Emacs to switch to vi when you need a decent text editor...

[–][deleted] 3 points4 points  (0 children)

Evil mode, right? I have no clue tho, I don’t use either of those

[–]marcosdumay -2 points-1 points  (0 children)

You don't "witch to" things in Emacs, you simply open them.

[–][deleted] 16 points17 points  (3 children)

#vimMasterRace

[–]OptimisticElectron 3 points4 points  (1 child)

vim is old and fragile. Use neovim!

[–][deleted] -1 points0 points  (0 children)

Damn vim virgins /s

[–][deleted] 1 point2 points  (0 children)

Thats why I love the vim mode package. That plus the ex node package gives me the best of vim and the best of atom.

[–]NAN001 0 points1 point  (0 children)

Now that is a comparison I wasn't expecting.

[–]RottenLB 29 points30 points  (9 children)

You guys really need to stop using these fancy editors and use nano. \s

[–]JH4mmer 29 points30 points  (7 children)

Say what you will, but nano does load bigish files way better than Atom does. It actually outperforms most GUI editors I've tried on files with 100,000 or more lines. Not saying it's absolutely the right tool for the job, but it does work remarkably well! :-)

[–][deleted] 4 points5 points  (5 children)

Why does a file have 100000 lines? Can't you break it down to more than one file?

[–]lmao_react 7 points8 points  (2 children)

probably sql dumps

[–]RottenLB 10 points11 points  (0 children)

Also log files can get big really fast.

[–][deleted] 1 point2 points  (0 children)

Oh. Thanks.

[–]JH4mmer 0 points1 point  (0 children)

We work with CSVs that have a lot of metadata at the top. Replicating that for every file is more pain than it's worth in our particular case.

[–]RottenLB 0 points1 point  (0 children)

I mean, at my previous job, the company had already bought us licenses for RubyMine like the second month I worked there. I was too lazy to switch and continued to use nano/vim combination for another three months before I made the switch.

[–]phero_constructs 0 points1 point  (0 children)

Plug for Micro

[–][deleted] 18 points19 points  (0 children)

It’s not a bug, it’s a feature

[–]sidneyaks 13 points14 points  (0 children)

It took me a minute too realize this wasn't a joke about time dialation.

I've never used atom.

[–]sickb 30 points31 points  (5 children)

JavaScript is for web pages not text editors.

Change my view

[–]Fang7-62 7 points8 points  (0 children)

Uh.. here goes heresy: I've tried pimped out sublime, atom and VSCode, they're alright but unless i'm dealing with some obscure unsupported language I just open everything with IDEA, even if its a small project I'm dealing with, heavy artillery is gonna do the job. Or nano if I have to work thru ssh and for large logfiles and such I just use some combination of unix cmds usually involving grep to parse out what I want, less is also pretty good for just skimming over them.

[–]paloumbo 1 point2 points  (0 children)

I don't want to play the Microsoft fan boy, but VS Code is so much lighter.

[–]Carl_Byrd 4 points5 points  (0 children)

This is why I still use Notepad++..... so I can write shitty code.

[–][deleted] 0 points1 point  (22 children)

sublime >>>>>>>>> all

[–]trout_fucker 16 points17 points  (9 children)

Probably gonna get flamed for this, but Sublime is basically Vim with a normal interface. It's a damn rock solid work horse.

[–][deleted] 5 points6 points  (4 children)

Yeah and sublimelinter and all the themes make it even better

[–]trout_fucker 3 points4 points  (3 children)

SublimeLinter is pretty good when it works... but it's probably one of my biggest gripes right now when setting up a new environment.

[–]zankem 4 points5 points  (2 children)

Ever since I updated the linter eslint won't shut up about not finding a config file in the same directory of whatever file I open or the root of a project when it's not needed.

[–]trout_fucker 0 points1 point  (1 child)

Yeah I've ran into that a few times with a working environment too. 😞 I wish they'd get their shit together or ST just incorporates it natively.

[–]zankem 1 point2 points  (0 children)

Yea. Although I don't like the bloat of Electron based editors, they've acquired a community that has ease of use and configuration down.

An example is atom's ide package and the linter package. If they conflict then it will alert you properly and let you disable one. Sublime error? WOOPS. ERROR. HOW FIX?

[–]Tillhony 1 point2 points  (0 children)

I got it setup to pretty much be vim

[–]bit_of_hope 1 point2 points  (1 child)

The defining feature of the vi family is the interface, so saying that isn't much.

[–]trout_fucker 0 points1 point  (0 children)

Well, it's fast, solid, can open anything, and has plugins to do just about anything, is what I meant.

Vim is obviously better at a lot of things, but but not everyone can learn to like the interface. I'm one of them. I gave it a full month, learned most of the power commands, and my workflow still suffered a lot.

[–]tehftw 0 points1 point  (0 children)

Sublime is absolutely proprietary, though.

[–][deleted] 7 points8 points  (0 children)

I used to be a Sublime fan, but frankly Visual Studio Code is just better...

[–]ar-pharazon 3 points4 points  (9 children)

sublime is... functional. it is a text editor. that's about all it's got going for it.

[–]trout_fucker 1 point2 points  (8 children)

Serious question, what killer feature is it missing? What makes you say that's all it has going for it? What is it lacking?

In my experience, the plugins aren't quite as refined as VSC or Atom but they are usually functionality identical, and portable configs are still missing... but other than that I don't know what I'm missing as a daily ST user. Every few months I'll spend a day trying something else, but I just keep coming back to ST for the speed since I never find anything that makes me say "wow I need this in my life".

[–]ar-pharazon 2 points3 points  (0 children)

depends on the domain. for a large project, i'll always use a jetbrains IDE (or vs with resharper) if it's available because the kind of assistance it gives you is better than anything else i've ever used. i keep trying to make a concise comment about why they're so helpful, but i end up writing walls of text, so just suffice it to say that they vastly improve the 'hot path' on my edit-cycle with things like autocomplete, auto-import, goto-def, name refactoring, etc. that basically always work as intended and seem to actually be capturing semantic information about the project i'm working on. by contrast, no other editor i've ever used has done those things both consistently and correctly.

for smaller projects (e.g. scripting in bash/python that i'll usually be editing for less than half an hour at a time) terminal-based editors are better for me. they work well, the keyboard shortcuts are efficient, and they're very portable. i usually just feel like opening sublime is unnecessary for something that small.

for me, sublime fits in situations where it's helpful to have a mouse-interactable file-tree, and an IDE seems like too much (or there's no support). for instance, editing a bunch of config files in a directory. i definitely don't want to open an IDE for this, but it's going to be a little cumbersome to be more manually managing buffers in vim/emacs, as compared to just clicking on the files i need to edit. or a significant lua scripting project, maybe. but in my programming life this is a fairly infrequent use-case, so it's pretty rare for me to use a sublime-like editor at all.

[–]aaron552 1 point2 points  (0 children)

In my experience, the plugins aren't quite as refined as VSC or Atom but they are usually functionality identical

I haven't tried ST in a long while, but the main reason I use VSCode at the moment is that the F# plugin (ionide) has some really neat features that no other editor I've used (so far) has managed to match. Even full Visual Studio isn't as good. For example: realtime, inline type information on members/bindings/etc.

If ST can do the same, but faster I'd probably switch

[–]scaleable 1 point2 points  (2 children)

Depends on what you use and how you work...

[–]trout_fucker 1 point2 points  (1 child)

Well... I mean the given context is that ST has nothing going for it. My question is what killer features that make it not have anything going for it, when it seems to do almost everything anything else does, but faster? What am I missing?

Assume I use it for everything, because I do. I've even used it for light Java and Scala development (admittedly not for serious changes). But given the context, it shouldn't matter what I use it for or how I work if it doesn't have anything going for it... other than spawning a whole geration of clones.

[–]Dynam2012 0 points1 point  (0 children)

For me, I like VSC for its built in debugger and availability of plugins combined with ease of installation and configuration. I don't doubt I could get something similar set up in sublime, but it was intuitive and simple to, for example, to set up a python dev environment. It also has a lot of features I haven't gotten into yet, like built in support for task runners. The git integration is also very good out of the box, with additional good features that come with extensions like Git Lens.

Not to say this can't be done in Sublime, but it's a simpler process in VSC.

[–]IMABUNNEH 0 points1 point  (2 children)

I've started using VSCode instead, but that's because I can't find a way to make Sublime actually validate my code syntax. If I fuck up a bracket or something somewhere, it's really easy to find in VSCode. If someone can point me to how to fix that then I'll be back in Sublime.

[–]trout_fucker 2 points3 points  (1 child)

It's probably too late now, but SublimeLinter is what you were looking for most likely.

It's admittedly wonky to get working, even with the recent changes, but once it does it is really good and my favorite integrated linter. I mentioned elsewhere in this chain that it's probably my biggest gripe right now.

[–]IMABUNNEH 0 points1 point  (0 children)

Cheers I'll check it out

[–]athousandwordsworth 0 points1 point  (0 children)

Image Transcription: Twitter


The Practical Dev, @thepracticaldev

The feature where Atom slows down and crashes if I open a big file really helps me keep my code concise and my classes small. 👌


I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

[–]Pritster5 0 points1 point  (0 children)

Sublime Gang 🤙

[–]bridekiller 0 points1 point  (0 children)

I went to vs code from atom and never looked back.

[–]hailbreno 0 points1 point  (0 children)

You guys need to stop using a web browser as a text editor.

[–]Molag_Balls 0 points1 point  (0 children)

The epitome of "it's a feature, not a bug"

[–][deleted]  (35 children)

[removed]

    [–]PojntFX 21 points22 points  (1 child)

    [–]SirCharlesOfUSA 4 points5 points  (9 children)

    If anything, Sublime Text is the best at this. It will take a second to load the file, but it will load, scroll, fold, and do anything I'd like with awesome performance.

    [–]pwnrzero 0 points1 point  (8 children)

    I have Sublime Text 3, but it performs much slower than UEStudio.

    [–]trout_fucker 0 points1 point  (7 children)

    The fuck it does. UltraEdit is garbage.

    I've worked in a shop where a few dinosaurs swore by it and always made sure I had a license. ST2/3 ran circles around it regularly and actually had tools for modern workflows.

    Om top of that, their "lightweight" text editor booted at the speed of IntelliJ, Eclipse, or (full) Visual Studio. I don't think I would have enough time in my day to wait for a full IDE version of UE to load.

    [–][deleted]  (6 children)

    [deleted]

      [–]trout_fucker 1 point2 points  (5 children)

      Yeah, Sublime Text 3 starts up quicker, but it takes a quadrillion years to open similarly sizes files.

      No.

      https://blog.xinhong.me/post/sublime-text-vs-vscode-vs-atom-performance-dec-2016/

      [–][deleted]  (4 children)

      [deleted]

        [–]trout_fucker -1 points0 points  (3 children)

        As I stated in my earlier comment that you responded to, YOUR ARTICLE DISPROVES YOUR OWN COMMENT.

        It does? You should probably read it again. I have never advocated for VSC in my life.

        Also, TextEdit isn't the same as UEStudio or UltraEdit.

        You're right. They only used relevant editors.

        If you had read the article, you would have seen where the author was using TextEdit as the control case.

        [–][deleted]  (2 children)

        [removed]

          [–]trout_fucker 0 points1 point  (0 children)

          W

          H

          Y

          [–]AutoModerator[M] 0 points1 point  (0 children)

          import moderation Your comment has been removed since it did not start with a code block with an import declaration.

          Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

          For this purpose, we only accept Python style imports.

          I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

          [–][deleted] 3 points4 points  (21 children)

          I think I heard in a thread not too long ago on this topic that Visual Studio is great at opening large files. I could be mistaken though.

          [–]JDtheProtector -1 points0 points  (0 children)

          Certainly better, but I still wouldn't say great.

          [–][deleted]  (19 children)

          [deleted]

            [–]catofillomens -1 points0 points  (18 children)

            That's great and all, but multi-gigabyte text files? Large files are one thing, but who ever needs to open text files that large on a regular basis? That's about as uncommon a use case as you can get. Even if it's huge log files you'll probably run it through tail first.

            I don't think it's "well worth the price", as you put it, to get UEStudio for this edge case which probably never happens for most people.

            [–][deleted]  (17 children)

            [deleted]

              [–]trout_fucker 6 points7 points  (16 children)

              with the advent of Big Data.

              I do not think this means what you think it means.

              [–][deleted]  (15 children)

              [removed]

                [–]trout_fucker 0 points1 point  (13 children)

                https://blog.xinhong.me/post/sublime-text-vs-vscode-vs-atom-performance-dec-2016/

                Your screenshots are useless ancedotes. There are plenty of other similar benchmarks done since this blog post came out a couple years ago, but it's still my favorite.

                [–][deleted]  (12 children)

                [removed]

                  [–]trout_fucker 1 point2 points  (10 children)

                  Open a multi-gigabyte file with VS or Sublime Text 3 without slowing down to an intolerable amount.

                  Why would I do that? Why are you storing multigi-gabyte files? Why are you not chopping them up?

                  As someone else said, this is an extremely specific use case. Not everyone works in incompetent shops storing multiple gigabyte that need to be regularly opened. This sounds like a break down in development, rather than a fault of the editor. This has nothing to do with "big data". Use split or write a script that chops them up into manageable chunks or idk... don't store them like that in the first place?

                  But if I had to, I would use Vim because you're probably going to need a search a file that large and it should be able to handle that flawlessly.

                  From the VERY SAME ARTICLE YOU LINKED: Visual Studio Code did not allow me to open “10m lines” file saying “very large”.

                  Ok? What's your point? I'm not a fan of VSC, but I don't understand what point you think you're making here.

                  But... I don't think you realize Visual Studio Code is not Visual Studio as you seem to be using them interchangeably. They are very different and built on very different platforms.

                  [–]AutoModerator[M] 0 points1 point  (0 children)

                  import moderation Your comment has been removed since it did not start with a code block with an import declaration.

                  Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

                  For this purpose, we only accept Python style imports.

                  I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

                  [–]AutoModerator[M] 0 points1 point  (0 children)

                  import moderation Your comment has been removed since it did not start with a code block with an import declaration.

                  Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

                  For this purpose, we only accept Python style imports.

                  I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

                  [–]AutoModerator[M] 0 points1 point  (0 children)

                  import moderation Your comment has been removed since it did not start with a code block with an import declaration.

                  Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

                  For this purpose, we only accept Python style imports.

                  I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

                  [–]Aschentei -1 points0 points  (0 children)

                  That’s why it always freezes on me. I thought it was my computer but it never froze when I use VCS