[jira] [Commented] (NETBEANS-5055) NetBeans 12.2 doesn't permit "permits" as identifier
[ https://issues.apache.org/jira/browse/NETBEANS-5055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237786#comment-17237786 ] Jeffrey Morlan commented on NETBEANS-5055: -- In JDK 15 "permits" is an identifier token and is only treated specially in a class declaration; nb-javac instead made it a full fledged new token type in com.sun.tools.javac.parser.Tokens > NetBeans 12.2 doesn't permit "permits" as identifier > > > Key: NETBEANS-5055 > URL: https://issues.apache.org/jira/browse/NETBEANS-5055 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 12.2 >Reporter: Jeffrey Morlan >Priority: Major > > The following valid Java code fails to parse in 12.2-vc2: > class MySemaphore { > MySemaphore(int permits) {} > } > May be related to the "Sealed Classes" preview feature which uses a "permits" > pseudo-keyword, but it should still be allowed as a variable name (JDK 15 > javac has no problem with it even with --enable-preview). -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5055) NetBeans 12.2 doesn't permit "permits" as identifier
[ https://issues.apache.org/jira/browse/NETBEANS-5055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeffrey Morlan updated NETBEANS-5055: - Summary: NetBeans 12.2 doesn't permit "permits" as identifier (was: NetBeans 12.2 doesn't permit "permits" as parameter name) > NetBeans 12.2 doesn't permit "permits" as identifier > > > Key: NETBEANS-5055 > URL: https://issues.apache.org/jira/browse/NETBEANS-5055 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 12.2 >Reporter: Jeffrey Morlan >Priority: Major > > The following valid Java code fails to parse in 12.2-vc2: > class MySemaphore { > MySemaphore(int permits) {} > } > May be related to the "Sealed Classes" preview feature which uses a "permits" > pseudo-keyword, but it should still be allowed as a variable name (JDK 15 > javac has no problem with it even with --enable-preview). -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5055) NetBeans 12.2 doesn't permit "permits" as parameter name
Jeffrey Morlan created NETBEANS-5055: Summary: NetBeans 12.2 doesn't permit "permits" as parameter name Key: NETBEANS-5055 URL: https://issues.apache.org/jira/browse/NETBEANS-5055 Project: NetBeans Issue Type: Bug Components: java - Compiler Affects Versions: 12.2 Reporter: Jeffrey Morlan The following valid Java code fails to parse in 12.2-vc2: class MySemaphore { MySemaphore(int permits) {} } May be related to the "Sealed Classes" preview feature which uses a "permits" pseudo-keyword, but it should still be allowed as a variable name (JDK 15 javac has no problem with it even with --enable-preview). -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5054) web.bootsfaces is not registered in a cluster and thus does not become part of the IDE
Matthias Bläsing created NETBEANS-5054: -- Summary: web.bootsfaces is not registered in a cluster and thus does not become part of the IDE Key: NETBEANS-5054 URL: https://issues.apache.org/jira/browse/NETBEANS-5054 Project: NetBeans Issue Type: Bug Components: javaee - JSF Affects Versions: 12.2 Reporter: Matthias Bläsing With the PR: [https://github.com/apache/netbeans/pull/2357] customizations were added to support bootsfaces components in the JSF editor. The new module was not recorded in the `nbbuild/cluster.properties` file and thus will not become part of netbeans 12.2. The registration needs to be added. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5052) Mark unused private constants
[ https://issues.apache.org/jira/browse/NETBEANS-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237535#comment-17237535 ] Tomáš Procházka commented on NETBEANS-5052: --- Example of PR output: !netbeans5052.png! > Mark unused private constants > - > > Key: NETBEANS-5052 > URL: https://issues.apache.org/jira/browse/NETBEANS-5052 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.2 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Attachments: netbeans5052.png > > Time Spent: 20m > Remaining Estimate: 0h > > Since PHP 7.1 its possible to use visibility modifiers with class constants. > PHP Editor does not mark unused private constants as it does for unused > fields and methods. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5052) Mark unused private constants
[ https://issues.apache.org/jira/browse/NETBEANS-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomáš Procházka updated NETBEANS-5052: -- Attachment: netbeans5052.png > Mark unused private constants > - > > Key: NETBEANS-5052 > URL: https://issues.apache.org/jira/browse/NETBEANS-5052 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.2 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Attachments: netbeans5052.png > > Time Spent: 20m > Remaining Estimate: 0h > > Since PHP 7.1 its possible to use visibility modifiers with class constants. > PHP Editor does not mark unused private constants as it does for unused > fields and methods. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-188) Please add support for code completion while typing
[ https://issues.apache.org/jira/browse/NETBEANS-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-188: Labels: pull-request-available (was: ) > Please add support for code completion while typing > --- > > Key: NETBEANS-188 > URL: https://issues.apache.org/jira/browse/NETBEANS-188 > Project: NetBeans > Issue Type: Improvement > Components: db - SQL Editor >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > Labels: pull-request-available > Attachments: sqlCodeCompletion.gif > > Time Spent: 10m > Remaining Estimate: 0h > > Afaik, the SQL Editor, is the only one, where you don't have code completion, > while typing. It only appears after you hit ctrl + space, which is weird. It > should be there per default. If not, there should be an option that code > completion should always be possible, in any cases and you can deactivate it, > if you don't want it. > For each keyword, table, view whatever, I have to type a character and hit > ctrl + space. It would be very nice to have the same code completion feature > as in java or other languages, that the code completion comes up, while > typing. For example: > Type "S" -> code completion should come immediately and should show you the > results. Same for everything like tables, views, databases, aliases and > columns. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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