26
SNIPMATCH 1 „Snippets for the World“

Snipmatch - Snippets for the World

Embed Size (px)

DESCRIPTION

Eclipse Democamp Hamburg

Citation preview

Page 1: Snipmatch - Snippets for the World

SNIPMATCH

!1

„Snippets for the World“

Page 2: Snipmatch - Snippets for the World

About me

• Project Lead of Eclipse Code Recommenders • Eclipse Committer since 2010 • Plug-in Developer for 10 years (Eclipse 2.1) • Member of the Eclipse Architecture Council

!• Co-Lead of JUG Darmstadt • Speaker at JUGs, EclipseCon, JavaOne... • PhD in Computer Science • CEO of Codetrails !!Passion to improve developers day-to-day work with intelligent and practical tools - mostly using Data Mining on Big (Software Engineering) Data.!! @MarcelBruch +MarcelBruch

Page 3: Snipmatch - Snippets for the World
Page 4: Snipmatch - Snippets for the World

Call Completion

Page 5: Snipmatch - Snippets for the World

Call Completion

Page 6: Snipmatch - Snippets for the World

Overrides Completion

Page 7: Snipmatch - Snippets for the World

Chain Completion

Page 8: Snipmatch - Snippets for the World

Subwords Completion

Page 9: Snipmatch - Snippets for the World

How Recommenders 1.0 works

!9

Code Recommenders Knowledge Base

❷ Mine data, extract patterns, create recommendation models

❸ deliver mined knowledge to Eclipse users

❶ Analyze source code

Page 10: Snipmatch - Snippets for the World

Time for seeding new ideas...

!10

Page 11: Snipmatch - Snippets for the World

In 2.0 we (want to) go crowd!

❹    developers  share  

(clicks,  comple3ons,  snippets) !11

Code Recommenders Knowledge Base

Page 12: Snipmatch - Snippets for the World

Crowdsourcing call completions

Page 13: Snipmatch - Snippets for the World

Crowdsourcing constructor completions

!13

It learns from you. From the very 1st moment.

Page 14: Snipmatch - Snippets for the World

Codetrails Connect

Page 15: Snipmatch - Snippets for the World

SNIPMATCH

!15

Page 16: Snipmatch - Snippets for the World

(Why) do you use code templates?

Page 17: Snipmatch - Snippets for the World

<ctrl+space>

<ctrl+space>

{

<ctrl+space>

<ctrl+space>

}

Safe time typing

Page 18: Snipmatch - Snippets for the World

Learning from Snippets

Page 19: Snipmatch - Snippets for the World

Where do Snippets come from?

Page 20: Snipmatch - Snippets for the World

Snippetsarrayadd

arraymerge ...

Awesome New

Snippet

Snippetsarrayadd

arraymerge ...

Snippetsarrayadd

arraymerge ...

Snippetsarrayadd

arraymerge ...

Sharing Code Snippets?

Page 21: Snipmatch - Snippets for the World

Snippet Repository

Snippetsarrayadd

arraymerge ...

Awesome new

Snippet

Snippetsarrayadd

arraymerge ...

Snippetsarrayadd

arraymerge ...

Snippetsarrayadd

arraymerge ...

Sharing Code Snippets!

Page 22: Snipmatch - Snippets for the World

Demo

Page 23: Snipmatch - Snippets for the World

What’s Next?

• Comment on snippets

• Snippets from selection

• Improved editor

• Streamlined sharing workflow

• You tell me!

Page 24: Snipmatch - Snippets for the World

Start sharing!

!24

Page 25: Snipmatch - Snippets for the World

http://download.codetrails.com/updates/labs/releases

Thank you!

Page 26: Snipmatch - Snippets for the World