Bug 435444 - Update Tips & Tricks for Luna (4.4)
Summary: Update Tips & Tricks for Luna (4.4)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Doc (show other bugs)
Version: 4.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.4 RC4   Edit
Assignee: Noopur Gupta CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2014-05-21 16:09 EDT by Dani Megert CLA
Modified: 2014-06-04 15:11 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2014-05-21 16:09:08 EDT
Update JDT T&T document with relevant items from Luna (4.4) N&N documents.
Comment 1 Noopur Gupta CLA 2014-05-22 05:29:20 EDT
From Luna M1-M7 N&N documents and Java 8 features, here are the relevant items:

- Quick Fixes (now - Quick Assists?) to create 'for' loops:
Probably not necessary in T&T doc, can be added in the list of Available Quick Assists.

- Java™ 8 support:

1. Quick Assists and Clean Up:
    * Convert to anonymous class creation
    * Convert to lambda expression

2. Hover to see the functional method:
    * On '->' in lambda expression
    * On '::' in method reference

3. Type Hierarchy shows lambda expressions as implementations of the functional interface.

4. Search: UI for finegrain IJavaSearchConstants#METHOD_REFERENCE_EXPRESSION

Here, 3 and 4 can probably be ignored from being added to T&T doc.

Dani / Markus, please let me know the relevant items from above to be added to the T&T document.
Comment 2 Dani Megert CLA 2014-05-22 08:45:30 EDT
(In reply to Noopur Gupta from comment #1)
> Here, 3 and 4 can probably be ignored from being added to T&T doc.
> 

I'd say so too.
Comment 3 Markus Keller CLA 2014-05-22 09:01:04 EDT
(In reply to Noopur Gupta from comment #1)
> - Quick Fixes (now - Quick Assists?) to create 'for' loops:
> Probably not necessary in T&T doc, can be added in the list of Available
> Quick Assists.

Please add the Quick Assists to both. Since they don't appear in Quick Fix hovers, they can be hard to find, so it's good to mention them explicitly in the T&T. Maybe just after "Surround lines"?
Comment 4 Noopur Gupta CLA 2014-05-23 04:28:37 EDT
Released the changes in JDT Tips & Tricks document and List of Available Quick Assists document with:
http://git.eclipse.org/c/platform/eclipse.platform.common.git/commit/?id=b801c0dc8620c288040293a9ea43197c43307aed
Comment 5 Noopur Gupta CLA 2014-05-23 04:37:49 EDT
Both the documents have some already existing images that are not being shown on opening the page with internal web browser. Need to check the issue.
Comment 6 Noopur Gupta CLA 2014-05-23 07:06:06 EDT
(In reply to Noopur Gupta from comment #5)
> Both the documents have some already existing images that are not being
> shown on opening the page with internal web browser. Need to check the issue.

For those images, the img src is "PLUGINS_ROOT/org.eclipse.help/...".
They are shown properly when opened via Help > Tips and Tricks..., but not with the imported repo code in the workspace.
Comment 7 Noopur Gupta CLA 2014-05-23 09:35:11 EDT
Leaving the bug open for any further changes that are required.
Comment 8 Martin Mathew CLA 2014-05-27 02:38:20 EDT
Noopur, kindly update the copyright year of the documents. Also verify the same for bug 435639.

I have used "Hover to see the functional method" from the T&T in the final consolidated N&N document.
Comment 9 Noopur Gupta CLA 2014-05-27 04:08:28 EDT
(In reply to Manju Mathew from comment #8)
> Noopur, kindly update the copyright year of the documents. Also verify the
> same for bug 435639.
Updated the year for files in both the bugs:
http://git.eclipse.org/c/platform/eclipse.platform.common.git/commit/?id=6c807bbdcf80f61d7dbf0333f5b222fbdb1ce0a8
Comment 10 Dani Megert CLA 2014-06-04 15:11:42 EDT
.