News for hackers. Stuff that matters.
Re:Sublime Text 2.0 Released by clintjhill on Tuesday June 26, 2012 @01:14PM (#4162988)
But it's not. In fact intelligent completion is incredibly hard for dynamically typed languages. Those IDE that do perform intellisense or autocomplete with dynamic languages do it with very basic ability. In a real world dynamically written code file the editor simply has no way of knowing the members of a class. Or if it is even a "class".
Re:Sublime Text 2.0 Released by jamesaguilar on Tuesday June 26, 2012 @02:22PM (#4163409)
No one's saying it's easy, but enough IDEs have done it that some of us have come to expect it.
Re:Sublime Text 2.0 Released by snprbob86 on Tuesday June 26, 2012 @02:45PM (#4163521)
I started programming on VB3 and spent many years doing Visual C++ and C# as well as quite a bit of Java with IntelliJ. I depended deeply on IntelliSense/autocomplete. Years later, I don't remember how I ever got anything done with that stupid distracting drop down box. It's just so easy to arrow up/down through that list and hope to stumble upon the correct method to call. On the rare occasion that I type that member accessor dot and don't know what I want, I much prefer full-sized documentation in a browser that I can cmd+f on.
Re:Sublime Text 2.0 Released by pbz on Wednesday June 27, 2012 @12:59AM (#4165596)
Using it as an alternative to documentation is a small part. First of all you get a confirmation that what you have up to that point is somewhat correct. If the dropdown doesn't show then something's wrong - sometimes that's ok and expected. You also get a type confirmation and actual completion as in type one or two characters and have the rest filled out for you.
Re:Sublime Text 2.0 Released by snprbob86 on Thursday June 28, 2012 @11:24AM (#4172112)
It's just a different style of working, but I almost never type long symbols. I go to their definition site, yank them into a buffer, and paste them into place.

Or, I work with a REPL. So I write the code there and run it before putting it into my code base, so I know it's correct.

Re:Sublime Text 2.0 Released by bronson on Tuesday June 26, 2012 @06:41PM (#4164545)
Only for old and static languages.
Re:Sublime Text 2.0 Released by jamesaguilar on Tuesday June 26, 2012 @08:24PM (#4164898)
Actually, Eclipse's Python support is decent. You can infer a lot about what a type is by what methods and properties are accessed. It's not perfect, but it can do a decent job of it in a lot of cases.
Re:Sublime Text 2.0 Released by recursive on Tuesday June 26, 2012 @11:56PM (#4165426)
How old is old?
Re:Sublime Text 2.0 Released by lyime on Tuesday June 26, 2012 @01:19PM (#4163010)
Sometimes the simples things are hardest to implement. Visual voice mail - No brainer, but took a decade.
Re:Sublime Text 2.0 Released by chokma on Thursday June 28, 2012 @02:42AM (#4170572)
I am still looking for a Perl IDE which offers autocomplete - or at least the option to jump to where the currently selected method is defined. Something like the Groovy/Grails-support in IntelliJ - but of course, Groovy is somewhat easier to autocomplete because of the underlying Java class system.
Re:Sublime Text 2.0 Released by astral303 on Tuesday June 26, 2012 @10:39PM (#4165248)
IntelliJ does really impressive type inference in Groovy. I can write all sorts of dynamic code and it autocompletes surprisingly well. Not as great as Java, obviously, but impressive nonetheless.
Re:Sublime Text 2.0 Released by chrisbuc on Tuesday June 26, 2012 @04:08PM (#4163861)
Unless that dynamic language is Google Dart. The Dart Editor's intellisense works just fine.