You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pieter van den Hombergh (Jira)" <ji...@apache.org> on 2020/07/10 08:03:00 UTC
[jira] [Updated] (NETBEANS-4568) extend inline hints to reader
support, use case fluent api ussage such as streams
[ https://issues.apache.org/jira/browse/NETBEANS-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pieter van den Hombergh updated NETBEANS-4568:
----------------------------------------------
Priority: Minor (was: Major)
> extend inline hints to reader support, use case fluent api ussage such as streams
> ---------------------------------------------------------------------------------
>
> Key: NETBEANS-4568
> URL: https://issues.apache.org/jira/browse/NETBEANS-4568
> Project: NetBeans
> Issue Type: New Feature
> Components: editor - Hints & Annotations
> Reporter: Pieter van den Hombergh
> Priority: Minor
>
> When you build up a stream with several mapping operations
> it would be nice to see what the intermediate types are, not only when completing,
> but also when reading the code.
> It will be very helpful when exploring an API any when studying th concept.
> example (the addition shown as trailing comment.)
> {{
> return Files.lines( filePath ) // Stream<String>
> .filter( this.lineFilter ) // Stream<String> coan be ommited becasue no type change
> .map( s -> s.split( this.splitString ) ) // Stream<String[]>
> .filter( rowFilter ) // omitted, stream type same
> .map( creator ) // Stream<T>
> ;
> }}
> Other use cases are frameworks with fluent APIs such as AssertJ to name one.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists