Bug 547934 - [Snippets] Add SnippetExplorer to filter and launch SWT Snippets
Summary: [Snippets] Add SnippetExplorer to filter and launch SWT Snippets
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.12   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.13 M1   Edit
Assignee: Paul Pazderski CLA
QA Contact: Eric Williams CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2019-06-04 17:51 EDT by Paul Pazderski CLA
Modified: 2019-07-10 11:23 EDT (History)
2 users (show)

See Also:


Attachments
Snippet Explorer (29.24 KB, image/png)
2019-06-04 17:51 EDT, Paul Pazderski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pazderski CLA 2019-06-04 17:51:45 EDT
Created attachment 278822 [details]
Snippet Explorer

The first time I came to SWT Snippets all I saw was a over long list of classes with useless names. I found the SnippetLauncher but that was even more disappointing. A tool which just run all ~350 Snippets one after another. (also at this time the SnippetLauncher explanation comment was between two imports and therefore collapsed/invisible by default)

I found the Snippet website [1] but was still annoyed from searching the Snippet, memorizing the number, search it in Eclipse and then launch it. Even more frustrating if the Snippet was not what I expected.

Given all that I started to make a better SnippetLauncher including a search to launch exactly that Snippet I'm interested in. (I got a bit overexcited over time)

[1] https://www.eclipse.org/swt/snippets/
Comment 1 Eclipse Genie CLA 2019-06-04 17:54:05 EDT
New Gerrit change created: https://git.eclipse.org/r/143307
Comment 3 Eric Williams CLA 2019-06-10 13:23:59 EDT
(In reply to Eclipse Genie from comment #2)
> Gerrit change https://git.eclipse.org/r/143307 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=a4938743e4a8061dce698d5f6c3850bb2a4930c7

Really nice work Paul, I'll definitely be making use of this. In master now.
Comment 4 Lakshmi P Shanmugam CLA 2019-06-11 02:37:07 EDT
@Paul,
Thanks! Please create an N&N entry for this in 4.13/platform_isv.html.
Comment 5 Eclipse Genie CLA 2019-07-09 08:50:27 EDT
New Gerrit change created: https://git.eclipse.org/r/145685
Comment 7 Eric Williams CLA 2019-07-10 11:23:40 EDT
Verified in I20190710-0610.