News for hackers. Stuff that matters.
Re:Sublime Text Build 3101 by softinio on Friday February 05, 2016 @06:48AM (#11040829)
I think its time to just move to using atom. To me its ahead of Sublime now.

Its clear that Sublime is no longer being developed as a priority like it used to.

Re:Sublime Text Build 3101 by jbrooksuk on Friday February 05, 2016 @07:14AM (#11040903)
(Disclaimer: I am a _huge_ Sublime fan. I picked up their net award in 2014 on behalf of Sublime HQ Pty, plus I've developed a fair few plugins for it.)

I've been using Atom for a couple of weeks now, mainly for a few Laravel applications. I use the git-hide package to remove the ".git", "node_modules" and "vendor" directories from the tree view which does seem to have a nice effect on speed.

That said, here are the issues I face:

- I frequently find that I type too quickly for the editor to pick up the keys and I end up missing off the beginning of some lines.

- I still use Sublime text daily for quickly opening a file, rather than waiting for a new Atom instance to open.

- PHP support is awful. Auto complete for class names in any used packages is something that I sorely miss from the Sublime plugin I use.

- Start-up time still takes a few seconds which means I only use it for projects.

- Listing of installed and discovery of packages is _so_ slow. Sometimes I just don't bother installing a package anymore because it takes at least 10 seconds to show me what I have installed or search for one.

Regardless of me using Atom, I'm still loving the updates to Sublime and continue to moderate the forums, knowing that Jon will deliver :)

Re:Sublime Text Build 3101 by zamalek on Friday February 05, 2016 @09:01AM (#11041395)
VSCode doesn't have some of the problems you mentioned, notably the startup time. No discernible difference between it and Notepad.

That's not to say that it doesn't have its own problems. One massive pain-point: I was assisting with a getting a complex build system working a few months back. The VSCode build integration is scenario-driven garbage. Because I deviated from the most basic of scenarios I had to resort to all manner of nasty hacks to avoid having contributors open a CLI.

Re:Sublime Text Build 3101 by theinternetman on Friday February 05, 2016 @12:31PM (#11042978)
> I use the git-hide package to remove the ".git", "node_modules" and "vendor" directories from the tree view which does seem to have a nice effect on speed.

I feel it'll never be a sensible choice until people no longer have to type sentences like this.

Re:Sublime Text Build 3101 by lobster_johnson on Friday February 05, 2016 @08:23PM (#11046027)
Hiding files and directories is part of the Atom core, why do you need a third-party package for it?
Re:Sublime Text Build 3101 by jbrooksuk on Saturday February 06, 2016 @05:26AM (#11047204)
AFAIK they only get excluded from indexing, if you don't want them to show in the sidebar, that's something else.

I may be wrong, so please let me know :)

Re:Sublime Text Build 3101 by lobster_johnson on Monday February 08, 2016 @10:55AM (#11058754)
It's part of Atom's own tree-view package. You can either edit the options [1] or add this to your config.cson (under the "*" key):

  "tree-view":
    hideIgnoredNames: true
    hideVcsIgnoredFiles: true
[1] http://i.imgur.com/tZc3DW9.png
Re:Sublime Text Build 3101 by afandian on Friday February 05, 2016 @06:54AM (#11040845)
I hope someone's already working on the successor to Atom. A piece of software like text-editor only has a shelf-life of a few short years before you need to start from scratch and write a new one.

EDIT: Do I really need to say /s ?

Re:Sublime Text Build 3101 by coldtea on Friday February 05, 2016 @10:03AM (#11041814)
>A piece of software like text-editor only has a shelf-life of a few short years before you need to start from scratch and write a new one.

A piece of software like a programming editor, which until now leaves a lot to be desired, even in the most popular implementations (Vim, Emacs, ST, Atom, etc), sure needs constant reinvention and refinement until someone finally gets it right.

Atom would be close to that if it was not fucking based on web technologies. ST3 would be that if it was open source (so the APIs/internals could be improved faster). Emacs would be that if it wasn't based on a 30+ year old UI model and elisp. Vim would be that if it was more extensible and not 100% focused on the CLI experience.

Re:Sublime Text Build 3101 by oldmanjay on Friday February 05, 2016 @10:08AM (#11041856)
No, it's much better to avoid posting sarcasm at all. It nearly never scans, and it doesn't really fit the HN culture in any case.

Also, your underlying point is practically offensive to the hacker mindset. Though there is nearly a cult-like devotion to the editing tools of yore, the devotion is not universal.

Re:Sublime Text Build 3101 by Klapaucius on Friday February 05, 2016 @07:36AM (#11040979)
I know /s, and perhaps I'm getting old and idiosyncratic, but I really don't understand why invent new text editors (Sublime, Atom, ...) at this point.

With emacs and vim around, I'd argue that text editors is a solved problem, if there ever was one. It is very hard to match emacs in terms of useful features or adaptability. Granted, the learning curve has a reputation for being steep, and elisp could need a facelift, but I think addressing these problems would provide much more value than reinventing the wheel with another shiny editor.

Re:Sublime Text Build 3101 by PokeTheCiTy on Friday February 05, 2016 @06:57AM (#11040855)
I disagree. Vim and emacs are still here and powerful
Re:Sublime Text Build 3101 by marklgr on Friday February 05, 2016 @07:01AM (#11040868)
/s grandparent, methinks.
Re:Sublime Text Build 3101 by ksherlock on Friday February 05, 2016 @09:58AM (#11041768)
Intel's top scientists are hard at work developing even slower and more inefficient programming languages and display technologies. I'm confident by the time we have 10 GHz processors, we'll also have a new generation of software that makes it perform like a 66Mhz 486DX.
Re:Sublime Text Build 3101 by arc0re on Friday February 05, 2016 @06:54AM (#11040842)
The only problem I have with Atom and siblings like VSCode is that they are way slower than native software (like Emacs or Sublime). So I'm waiting for editors like 4coder to come to life
Re:Sublime Text Build 3101 by ulber on Friday February 05, 2016 @07:18AM (#11040913)
Note that Atom and VSCode are "siblings" only in a very loose sense: they use the same app packaging technology [1]. This is enough for your point w.r.t. native software, but VSCode being a fork from Atom is a common misconception.

[1]: https://github.com/atom/electron

Re:Sublime Text Build 3101 by gpderetta on Friday February 05, 2016 @08:23AM (#11041185)
Then again, emacs is not really native code. Everything outside the basic editing and display layer is implemented in elisp, whose VM and GC are not exactly state of the art (single threaded, no JIT, basic mark/sweep).

It still somehow manages to feel faster than many other editors.

Re:Sublime Text Build 3101 by arc0re on Friday February 05, 2016 @09:27AM (#11041568)
Well Emacs is faster to me because its just a lisp interpreter written in C, tightly close to the hardware. So yes, Emacs is like 80% Elisp, but it still runs fast, and its stable. Editors like Atom are a bit too... "abstract" maybe. If I understand, Atom is CoffeeScript/JS running on a the Electron shell which runs on NodeJS which is written in C++ IIRC. Thats at least 3 levels of abstraction in my point of view, and knowing that Electron is Chrome based, it can't improve its speed. Simpler is faster
Re:Sublime Text Build 3101 by arc0re on Friday February 05, 2016 @09:23AM (#11041546)
Yes I knew that, I meant native in the sense of "not close to the metal"
Re:Sublime Text Build 3101 by cooper12 on Friday February 05, 2016 @08:15AM (#11041141)
4coder for those curious: http://www.4coder.net/info/
Re:Sublime Text Build 3101 by gladimdim on Friday February 05, 2016 @07:05AM (#11040881)
I tried to move to Atom. But on large projects it is very slow. Even when I'm typing characters I see lag :-(
Re:Sublime Text Build 3101 by cdnsteve on Friday February 05, 2016 @07:35AM (#11040972)
Try opening really really large files in Atom, it can't do it.
Re:Sublime Text Build 3101 by kuschku on Friday February 05, 2016 @09:02AM (#11041402)
VS code, interestingly, is faster with large files than even nano.
Re:Sublime Text Build 3101 by mrmondo on Friday February 05, 2016 @07:09AM (#11040890)
Yeah I tried it again recently, still seemed very 'javascripty' - try opening some large SQL etc... in it and it really doesn't compare to ST.
Re:Sublime Text Build 3101 by pantalaimon on Friday February 05, 2016 @08:09AM (#11041116)
What happened to Lime? [1] It looked promising (especially since it was from the author of SublimeClang [2] which worked like a charm, but now it's dead too and doesn't work with SublimeText 3), but there hasn't been any activity for half a year.

Is there any plugin/editor combination that still does C completion like SublimeClang used to do?

[1] http://limetext.org [2] https://github.com/quarnster/SublimeClang

Re:Sublime Text Build 3101 by arc0re on Friday February 05, 2016 @09:35AM (#11041626)
Lime looked so promising, and it seems they are still working on it (at least a couple of months ago, when I was lurking in their IRC chan).
Re:Sublime Text Build 3101 by bossx on Friday February 05, 2016 @06:53AM (#11040839)
How is the performance on Atom these day? When I tried it a few months back it took a while to start up, and to load large files.
Re:Sublime Text Build 3101 by softinio on Friday February 05, 2016 @07:03AM (#11040875)
When atom first came out and i tried I said no thank you as it genuinely was painfully slow.

I have been using atom now full time for 3 weeks and gave it another chance as I love a lot of the plugins it has and the community and I am very impressed.

Regarding its slowness it has improved a lot. The only complaint I have with its speed compared to a native app like sublime is that it is slow in starting. This doesn't affect me much as when I am working on a project I leave it open all the time anyway :-)

Give it a try and get some of the useful plugins and you will never look back.

Re:Sublime Text Build 3101 by gladimdim on Friday February 05, 2016 @07:04AM (#11040878)
Visual Code is much faster than Atom but Sublime is still way faster. I have not seen great speed improvement last year in Atom :-(
Re:Sublime Text Build 3101 by cfontes on Friday February 05, 2016 @06:56AM (#11040850)
Same for me, dropped it on spot because of those issues. It was very very slow, 6 months ago.
Re:Sublime Text Build 3101 by jsheard on Friday February 05, 2016 @07:17AM (#11040910)
Start-up and creating a new window can still take a good 3 seconds on my machine. Visual Studio (the huge IDE, not VS Code) is actually faster to start most of the time.
Re:Sublime Text Build 3101 by engi_nerd on Friday February 05, 2016 @07:46AM (#11041013)
https://github.com/atom/atom/issues/10086

Atom is fine for many people's usage of it, and it does some interesting things. It is not without merit. But until issues like this go away, I can't consider it. I regularly need to work with text files several hundred megabytes large. Atom cannot handle this usage. And before you say "Well, you're deliberately being difficult"... I am either taking a quick look at big csv files or automatically generated XML files that store configuration information for some of the systems I work on. A 120 MB XML config file isn't unusual.

Re:Sublime Text Build 3101 by patates on Friday February 05, 2016 @08:40AM (#11041263)
What kind of systems are you working on that require 120MB config files? I'm genuinely curious, not asserting anything.
Re:Sublime Text Build 3101 by engi_nerd on Friday February 05, 2016 @09:46AM (#11041678)
Pretty much what it says in my profile. Instrumentation systems. The system topology and configuration for each card, parameter, etc. are all defined in an XML document. With thousands of parameters these files become quite large.
Re:Sublime Text Build 3101 by rubberstamp on Friday February 05, 2016 @09:45AM (#11041670)
openstreet map data file for places can exceed GB even for cities. Sometimes it needs to be looked into. I was able to do it only using sublime.
Re:Sublime Text Build 3101 by JorgeGT on Saturday February 06, 2016 @07:32AM (#11047501)
I use Sublime to look and search very big files as well, it seems like basic functionality. Examples would include experimental pressure / temperature measurements, numerical simulation results, large geoJSON datasets...
Re:Sublime Text Build 3101 by Keats on Friday February 05, 2016 @07:38AM (#11040988)
And does not being actively developed anymore suddenly makes it unusable? I don't think I ran into a bug in years, it's fast and supports everything I need. Moving to Atom sounds like a downgrade to me.
Re:Sublime Text Build 3101 by TillE on Friday February 05, 2016 @08:21AM (#11041172)
Yeah, I'm baffled by the idea of trading lots of useful features and much better performance just to use a piece of software which is under more active development.

ST3 is a great editor. My biggest problem with the recent pause in development is that I have to install a plugin to get Rust syntax highlighting.

Re:Sublime Text Build 3101 by wanda on Friday February 05, 2016 @07:32AM (#11040963)
I certainly wouldn't buy a license considering both Atom and Visual Studio Code are freely available on major platforms.

I just wish Node-based editors were as nimble as ST.