9
spunky
7y

!rant
Does anybody know how Google, Microsoft, Apple etc autocomplete their code demos in live sessions? They tend to type out short codes and voila lines of code appear. They must be doing some sort of code mapping and this is what I am curios on how to do.

I am curios on how to do this in Xcode and/or in Brackets for a Python script.

Watch the next seven seconds of this Google I/O to see what I am talking about.

http://youtube.com/watch/...

PS: At the beginning of the presentation, they have four presenters on stage so I know for a fact that a human is typing out the code and its not a pre-recording of any sorts.

Comments
  • 0
    I think you are referring to the code completion and snippets from intellij.

    Try any jetbrains product, or I think VS has some similar possibilities too.
  • 2
    Looks like snippets, you can see them in Atom if you watch the bottom left screen.
  • 0
    @juzles That can be achieved by simply using IntelliJ? Really? If you pause at 9:26, they simply type ';io' then voila three lines of code appear. And each time they type a separate code, an entire method or different implementations appear.
  • 5
    @spunky a snippet is just a keyword you define which autocompletes to whatever code you want. For the sake of speed they've set up snippets for all the code they need in the demo.
  • 3
    @kvsm Thanks alot for the clarification..You have no idea how much time you've saved me for my upcoming demos.
  • 1
    @spunky There are some default ones that you can learn and as @kvsm said you can add more
Add Comment