[jira] [Updated] (NETBEANS-326) Autocomplete does not work inside a lambda expression
[ https://issues.apache.org/jira/browse/NETBEANS-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Graf updated NETBEANS-326: Component/s: (was: cnd - Code Completion) java - Editor > Autocomplete does not work inside a lambda expression > - > > Key: NETBEANS-326 > URL: https://issues.apache.org/jira/browse/NETBEANS-326 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 8.2 > Environment: Windows 10 Enterprise >Reporter: Morgan M >Priority: Minor > Labels: patch, usability > Attachments: RLtLF.png, t51Jz.png > > > When declaring an object with a lambda expression, autocomplete for variables > inside the lambda does not seem to work, and instead I see global variables, > suggestions for keywords amongst other things as shown below. > {code:java} > public class SOInner { > private ActionListener listenerExampleLambda = e -> { > //autocomplete DOES NOT work for these vars > int testVarInner = 2; > int testVarInner2 = 4; > }; > private ActionListener listenerExampleClass = new ActionListener() { > @Override > public void actionPerformed(ActionEvent e) { > //autocomplete works for these vars > int testVarInner = 2; > int testVarInner2 = 4; > } > }; > private Comparable comparableExampleLambda = o -> { > //autocomplete DOES NOT work for these vars > String testString = "Hello"; > String testString2 = "Hi"; > return 0; > }; > private Comparable comparableExampleClass = new > Comparable() { > @Override > public int compareTo(SOInner o) { > //autocomplete works for these vars > String testString = "Hello"; > String testString2 = "Hi"; > return 0; > } > }; > } > {code} > You can reproduce the bug by placing your cursor inside the lambda > expression under the String variables and pressing Ctrl+Space. You will > notice that testString and testString2 do not appear. They do appear if these > steps are reproduced from within an anonymous inner class. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-390) Please add postfix completion
[ https://issues.apache.org/jira/browse/NETBEANS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16602450#comment-16602450 ] Alexander Graf commented on NETBEANS-390: - Isn't the "Code Template" feature exactly what you are looking for? See Tools->Options->Editor->Code Templates for example completion patterns by language. > Please add postfix completion > - > > Key: NETBEANS-390 > URL: https://issues.apache.org/jira/browse/NETBEANS-390 > Project: NetBeans > Issue Type: New Feature > Components: cnd - Code Completion, editor - Completion > Templates, editor - CSL (API infrastructure) >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > > It would be great, if we can have postfix completion like in IntelliJ: > `myValue.if -> see code completion or not -> tab or enter on the right > suggestion` > will expand to: > {code:java} > if(myValue) { > } > {code} > This feature should be specified for each language that NetBeans supports, > because it is needed for most of such languages, but I will create sub tasks > for them too. > Cheers > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] 01/01: Merge pull request #833 from matthiasblaesing/remove-jaxws-dep
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit 3219187fddccddb72c2b4218364b2a5a55aebb72 Merge: fc5673b ea9d500 Author: Geertjan Wielenga AuthorDate: Mon Sep 3 22:28:32 2018 +0200 Merge pull request #833 from matthiasblaesing/remove-jaxws-dep Remove JAX-WS dependency .../db/explorer/action/RecreateTableAction.java| 31 +++--- .../db/explorer/dlg/AddConnectionWizardTest.java | 13 + .../org/netbeans/modules/derby/RegisterDerby.java | 7 +++-- .../modules/derby/api/DerbyDatabasesTest.java | 19 +++-- 4 files changed, 33 insertions(+), 37 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] branch master updated (fc5673b -> 3219187)
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from fc5673b Merge pull request #830 from junichi11/fix-php-heredoc-nowdoc-syntaxes add f53592f Remove dependency on JAX-WS from db module add ea9d500 Remove dependency on JAX-WS from derby module new 3219187 Merge pull request #833 from matthiasblaesing/remove-jaxws-dep The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../db/explorer/action/RecreateTableAction.java| 31 +++--- .../db/explorer/dlg/AddConnectionWizardTest.java | 13 + .../org/netbeans/modules/derby/RegisterDerby.java | 7 +++-- .../modules/derby/api/DerbyDatabasesTest.java | 19 +++-- 4 files changed, 33 insertions(+), 37 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-1207) Javascript2.editor tests fail
Svatopluk Dedic created NETBEANS-1207: - Summary: Javascript2.editor tests fail Key: NETBEANS-1207 URL: https://issues.apache.org/jira/browse/NETBEANS-1207 Project: NetBeans Issue Type: Bug Components: javascript - Editor Reporter: Svatopluk Dedic After license cleanup number of tests in javascript2.editor package fail - the resources are copied to the dist location as usual, but something other might screw up. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-857) IP CLEARANCE: WSDL-2004 license
[ https://issues.apache.org/jira/browse/NETBEANS-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-857: Labels: pull-request-available (was: ) > IP CLEARANCE: WSDL-2004 license > --- > > Key: NETBEANS-857 > URL: https://issues.apache.org/jira/browse/NETBEANS-857 > Project: NetBeans > Issue Type: Bug >Reporter: Emilian Bold >Priority: Major > Labels: pull-request-available > Fix For: 9.0 > > > Review our WSDL-2004 license usage which is not under > https://www.apache.org/legal/resolved.html -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-22) Sources generated by Annotation Processor through Maven are not on classpath of Java Editor
[ https://issues.apache.org/jira/browse/NETBEANS-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16602169#comment-16602169 ] René Kraneis edited comment on NETBEANS-22 at 9/3/18 1:28 PM: -- I have created two minimal projects, that show which configuration of annotation processors works with NetBeans and which doesn't: [https://github.com/rkraneis/annotation-processing] * if just added as a “provided” dependencies, annotation processors like auto-value, dagger or checkerframework are picked up correctly by NetBeans * if configured via annotationProcessorPaths, they are not picked up was (Author: rkraneis): I have created two minimal projects, that show which configurations of annotation processors work with NetBeans: [https://github.com/rkraneis/annotation-processing] > Sources generated by Annotation Processor through Maven are not on classpath > of Java Editor > --- > > Key: NETBEANS-22 > URL: https://issues.apache.org/jira/browse/NETBEANS-22 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven >Affects Versions: 8.2, 9.0 >Reporter: Dave Schoorl >Priority: Major > Labels: annotation-processor, java-editor, maven > Attachments: mvn_immut.zip, mvn_meta.zip > > > I have attached two simple maven projects that use an Annotation Processor. > The project mvn_immut uses the Immutables framework to generate immutable > implementations from an interface. The project mvn_meta uses the JPA > Metamodel AP. Both projects have a simple class or interface, Book.java, with > annotations and a class with a main-method, that interacts with the sources > generated by the AP (E.g. print something to System.out). > 'Clean and Build' and 'Run' work without a problem. I see a Generated Sources > node appearing, containing the expected sources and when inspecting the > target/classes directory, I see the class files of my handwritten code and of > the generated code. However, the source file that uses the generated source, > does not compile, as the java editor does not recognize the AP generated > sources. > I file this report under Maven component, because if I have the exact same > source files in an Ant based project, there are no compilation problems. > It appears to me that issue > https://netbeans.org/bugzilla/show_bug.cgi?id=217556 is related to this one. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-22) Sources generated by Annotation Processor through Maven are not on classpath of Java Editor
[ https://issues.apache.org/jira/browse/NETBEANS-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16602169#comment-16602169 ] René Kraneis commented on NETBEANS-22: -- I have created two minimal projects, that show which configurations of annotation processors work with NetBeans: [https://github.com/rkraneis/annotation-processing] > Sources generated by Annotation Processor through Maven are not on classpath > of Java Editor > --- > > Key: NETBEANS-22 > URL: https://issues.apache.org/jira/browse/NETBEANS-22 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven >Affects Versions: 8.2, 9.0 >Reporter: Dave Schoorl >Priority: Major > Labels: annotation-processor, java-editor, maven > Attachments: mvn_immut.zip, mvn_meta.zip > > > I have attached two simple maven projects that use an Annotation Processor. > The project mvn_immut uses the Immutables framework to generate immutable > implementations from an interface. The project mvn_meta uses the JPA > Metamodel AP. Both projects have a simple class or interface, Book.java, with > annotations and a class with a main-method, that interacts with the sources > generated by the AP (E.g. print something to System.out). > 'Clean and Build' and 'Run' work without a problem. I see a Generated Sources > node appearing, containing the expected sources and when inspecting the > target/classes directory, I see the class files of my handwritten code and of > the generated code. However, the source file that uses the generated source, > does not compile, as the java editor does not recognize the AP generated > sources. > I file this report under Maven component, because if I have the exact same > source files in an Ant based project, there are no compilation problems. > It appears to me that issue > https://netbeans.org/bugzilla/show_bug.cgi?id=217556 is related to this one. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] branch master updated (4fe72ac -> fc5673b)
This is an automated email from the ASF dual-hosted git repository. tmysik pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from 4fe72ac [NETBEANS-1164] Move modules from php cluster into a subdirectory (#829) add 3c6113a Fix ASTPHP5Scanner (Heredoc & Nowdoc syntaxes) new fc5673b Merge pull request #830 from junichi11/fix-php-heredoc-nowdoc-syntaxes The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../modules/php/editor/parser/ASTPHP5Scanner.java | 2887 ++-- .../parser/ASTPHP5ParserTest/parser/heredoc00.pass | 30 +- .../parser/ASTPHP5ParserTest/parser/heredoc01.pass |7 +- .../ASTPHP5ParserTest/parser/heredoc_001.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_002.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_003.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_004.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_005.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_006.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_007.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_009.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_010.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_011.pass | 10 +- .../ASTPHP5ParserTest/parser/heredoc_012.pass | 10 +- .../ASTPHP5ParserTest/parser/heredoc_013.pass | 10 +- .../ASTPHP5ParserTest/parser/heredoc_015.pass | 10 +- .../parser/ASTPHP5ParserTest/parser/nowDoc.pass|8 +- .../parser/ASTPHP5ParserTest/parser/nowdoc01.pass |8 +- .../parser/ASTPHP5ParserTest/parser/nowdoc02.pass | 10 +- .../ASTPHP5ParserTest/parser/nowdoc_001.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_002.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_003.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_004.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_005.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_006.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_007.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_009.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_010.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_011.pass |8 +- .../ASTPHP5ParserTest/parser/nowdoc_012.pass | 10 +- .../ASTPHP5ParserTest/parser/nowdoc_013.pass | 10 +- .../ASTPHP5ParserTest/parser/nowdoc_014.pass | 10 +- .../ASTPHP5ParserTest/parser/nowdoc_015.pass | 40 +- php/php.editor/tools/ASTPHP5Scanner.flex | 212 +- 34 files changed, 1878 insertions(+), 1726 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] 01/01: Merge pull request #830 from junichi11/fix-php-heredoc-nowdoc-syntaxes
This is an automated email from the ASF dual-hosted git repository. tmysik pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit fc5673ba477c561c7ea4dbd654ad38709973216b Merge: 4fe72ac 3c6113a Author: Tomáš Myšík AuthorDate: Mon Sep 3 14:59:00 2018 +0200 Merge pull request #830 from junichi11/fix-php-heredoc-nowdoc-syntaxes Fix ASTPHP5Scanner (Heredoc & Nowdoc syntaxes) .../modules/php/editor/parser/ASTPHP5Scanner.java | 2887 ++-- .../parser/ASTPHP5ParserTest/parser/heredoc00.pass | 30 +- .../parser/ASTPHP5ParserTest/parser/heredoc01.pass |7 +- .../ASTPHP5ParserTest/parser/heredoc_001.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_002.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_003.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_004.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_005.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_006.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_007.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_009.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_010.pass | 20 +- .../ASTPHP5ParserTest/parser/heredoc_011.pass | 10 +- .../ASTPHP5ParserTest/parser/heredoc_012.pass | 10 +- .../ASTPHP5ParserTest/parser/heredoc_013.pass | 10 +- .../ASTPHP5ParserTest/parser/heredoc_015.pass | 10 +- .../parser/ASTPHP5ParserTest/parser/nowDoc.pass|8 +- .../parser/ASTPHP5ParserTest/parser/nowdoc01.pass |8 +- .../parser/ASTPHP5ParserTest/parser/nowdoc02.pass | 10 +- .../ASTPHP5ParserTest/parser/nowdoc_001.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_002.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_003.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_004.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_005.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_006.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_007.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_009.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_010.pass | 16 +- .../ASTPHP5ParserTest/parser/nowdoc_011.pass |8 +- .../ASTPHP5ParserTest/parser/nowdoc_012.pass | 10 +- .../ASTPHP5ParserTest/parser/nowdoc_013.pass | 10 +- .../ASTPHP5ParserTest/parser/nowdoc_014.pass | 10 +- .../ASTPHP5ParserTest/parser/nowdoc_015.pass | 40 +- php/php.editor/tools/ASTPHP5Scanner.flex | 212 +- 34 files changed, 1878 insertions(+), 1726 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-1206) Profiling SQL Queries truncated
Stefan Wendelmann created NETBEANS-1206: --- Summary: Profiling SQL Queries truncated Key: NETBEANS-1206 URL: https://issues.apache.org/jira/browse/NETBEANS-1206 Project: NetBeans Issue Type: Bug Components: profiler - Base Affects Versions: 8.2 Environment: Windows 10 1803 Reporter: Stefan Wendelmann When Profile SQL queries are viewed or copied the maximum number of characters is 1024 (obviously 1kB). Having bigger SQL statements is hard to profile. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists