[jira] [Commented] (NETBEANS-2986) Relative URL not saved in Project Properties
[ https://issues.apache.org/jira/browse/NETBEANS-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16917340#comment-16917340 ] Dave Hutira commented on NETBEANS-2986: --- Hi Laszlo, I encountered this issue while working through the JavaEE First Cup tutorial. I've zipped and attached the dukes-age project; hopefully this will help reproduce it. Thank You for your time, and have a great day... Dave > Relative URL not saved in Project Properties > > > Key: NETBEANS-2986 > URL: https://issues.apache.org/jira/browse/NETBEANS-2986 > Project: NetBeans > Issue Type: Bug > Components: javaee - Maven >Affects Versions: 11.1 > Environment: Netbeans 11.1 > Operating System: Debian GNU/Linux 9 (stretch) > Kernel: Linux 4.9.0-9-amd64 > Architecture: x86-64 >Reporter: Dave Hutira >Priority: Major > Attachments: Screenshot at 2019-08-14 19-53-53.png, dukesAge.zip > > > Right click on a project in the Projects list, and select Properties. From > the Categories list, select Run and enter a Relative URL. Select OK; go back, > and the Relative URL is blank. > A similar or identical issue appears in the 'old' Netbeans Bugzilla system as > Bug 146672 and 178650. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3038) When I start with "netbeans" (11.1) it shwos some Warning messages!
Ion Schiopu created NETBEANS-3038: - Summary: When I start with "netbeans" (11.1) it shwos some Warning messages! Key: NETBEANS-3038 URL: https://issues.apache.org/jira/browse/NETBEANS-3038 Project: NetBeans Issue Type: Bug Components: cnd - Other Affects Versions: 11.1 Environment: NetBeans 11.1 Reporter: Ion Schiopu Fix For: 11.1 Warnings! -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2735) Gradle - Custom tasks (in gradle.properties) do not propagate to sub-projects
[ https://issues.apache.org/jira/browse/NETBEANS-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16917117#comment-16917117 ] Mathieu Fournier commented on NETBEANS-2735: It would be very useful in any project that contains lots of subprojects to avoid to recreate a custom task for every sub-project. * As a workaround for issue NETBEANS-2737 (we could override the "test" action on the root project and not have to do it on all sub-projects) * To be able to exclude "long" tests when running "test" action * Add a "build all" task that builds the project and compiles the tests * Any custom task that can apply to all sub-projects of a project... > Gradle - Custom tasks (in gradle.properties) do not propagate to sub-projects > - > > Key: NETBEANS-2735 > URL: https://issues.apache.org/jira/browse/NETBEANS-2735 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Windows 10 > NetBeans 11.0 > RedHat's OpenJDK 11.0 >Reporter: Mathieu Fournier >Assignee: Laszlo Kishalmi >Priority: Major > > When we create a task via the "Run Gradle"/"Tasks..." screen on the root > project, it won't show in the context menu for sub-projects. It is only > available on the root project. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3037) Git repository created with worktree does not work
Enrico Scantamburlo created NETBEANS-3037: - Summary: Git repository created with worktree does not work Key: NETBEANS-3037 URL: https://issues.apache.org/jira/browse/NETBEANS-3037 Project: NetBeans Issue Type: Bug Components: versioncontrol - Git Affects Versions: 11.1 Reporter: Enrico Scantamburlo I created a copy of my GIT repository using the [worktree |https://git-scm.com/docs/git-worktree] option but NetBeans does not like it. For instance, I cannot see my modified lines on the bar on the side -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Closed] (NETBEANS-2924) Empty "Available Plugins" tab from the box
[ https://issues.apache.org/jira/browse/NETBEANS-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] user124 closed NETBEANS-2924. - Problem absent if installing version 11.1 from binaries. > Empty "Available Plugins" tab from the box > -- > > Key: NETBEANS-2924 > URL: https://issues.apache.org/jira/browse/NETBEANS-2924 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 > Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10 > Runtime: OpenJDK Runtime Environment 12.0.2+10 > System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb) >Reporter: user124 >Assignee: user124 >Priority: Critical > Fix For: 11.1 > > Attachments: Screenshot_20190730_221808.png, > Screenshot_20190730_221827.png > > > There is no any plugins to install after netbeans installed from the box. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Resolved] (NETBEANS-2924) Empty "Available Plugins" tab from the box
[ https://issues.apache.org/jira/browse/NETBEANS-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] user124 resolved NETBEANS-2924. --- Fix Version/s: 11.1 Resolution: Not A Problem Problem absent if installing version 11.1 from binaries. > Empty "Available Plugins" tab from the box > -- > > Key: NETBEANS-2924 > URL: https://issues.apache.org/jira/browse/NETBEANS-2924 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 > Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10 > Runtime: OpenJDK Runtime Environment 12.0.2+10 > System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb) >Reporter: user124 >Assignee: user124 >Priority: Critical > Fix For: 11.1 > > Attachments: Screenshot_20190730_221808.png, > Screenshot_20190730_221827.png > > > There is no any plugins to install after netbeans installed from the box. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Closed] (NETBEANS-2923) "nb-javac library" module can't be downloaded
[ https://issues.apache.org/jira/browse/NETBEANS-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] user124 closed NETBEANS-2923. - Resolution: Not A Problem Problem absent if installing version 11.1 from binaries. > "nb-javac library" module can't be downloaded > - > > Key: NETBEANS-2923 > URL: https://issues.apache.org/jira/browse/NETBEANS-2923 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 > Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10 > Runtime: OpenJDK Runtime Environment 12.0.2+10 > System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb) >Reporter: user124 >Assignee: user124 >Priority: Critical > Attachments: Screenshot_20190730_221524.png > > > "nb-javac library" module didn't downloaded, netbeans can't find it. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Closed] (NETBEANS-2922) Can't activate HTML5 and Java EE modules
[ https://issues.apache.org/jira/browse/NETBEANS-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] user124 closed NETBEANS-2922. - Fix Version/s: 11.1 Resolution: Not A Problem Problem absent if installing version 11.1 from binaries. > Can't activate HTML5 and Java EE modules > > > Key: NETBEANS-2922 > URL: https://issues.apache.org/jira/browse/NETBEANS-2922 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 > Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10 > Runtime: OpenJDK Runtime Environment 12.0.2+10 > System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb) >Reporter: user124 >Assignee: user124 >Priority: Critical > Fix For: 11.1 > > Attachments: Screenshot_20190730_220847.png, > Screenshot_20190810_175435.png > > > Can't activate HTML5 and Java EE modules, Throws exception: "The plugin named > org.netbeans.libs.oracle.jsparser is needed and not found." -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Assigned] (NETBEANS-2924) Empty "Available Plugins" tab from the box
[ https://issues.apache.org/jira/browse/NETBEANS-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] user124 reassigned NETBEANS-2924: - Assignee: user124 > Empty "Available Plugins" tab from the box > -- > > Key: NETBEANS-2924 > URL: https://issues.apache.org/jira/browse/NETBEANS-2924 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 > Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10 > Runtime: OpenJDK Runtime Environment 12.0.2+10 > System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb) >Reporter: user124 >Assignee: user124 >Priority: Critical > Attachments: Screenshot_20190730_221808.png, > Screenshot_20190730_221827.png > > > There is no any plugins to install after netbeans installed from the box. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Assigned] (NETBEANS-2922) Can't activate HTML5 and Java EE modules
[ https://issues.apache.org/jira/browse/NETBEANS-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] user124 reassigned NETBEANS-2922: - Assignee: user124 > Can't activate HTML5 and Java EE modules > > > Key: NETBEANS-2922 > URL: https://issues.apache.org/jira/browse/NETBEANS-2922 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 > Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10 > Runtime: OpenJDK Runtime Environment 12.0.2+10 > System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb) >Reporter: user124 >Assignee: user124 >Priority: Critical > Attachments: Screenshot_20190730_220847.png, > Screenshot_20190810_175435.png > > > Can't activate HTML5 and Java EE modules, Throws exception: "The plugin named > org.netbeans.libs.oracle.jsparser is needed and not found." -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Assigned] (NETBEANS-2923) "nb-javac library" module can't be downloaded
[ https://issues.apache.org/jira/browse/NETBEANS-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] user124 reassigned NETBEANS-2923: - Assignee: user124 > "nb-javac library" module can't be downloaded > - > > Key: NETBEANS-2923 > URL: https://issues.apache.org/jira/browse/NETBEANS-2923 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 > Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10 > Runtime: OpenJDK Runtime Environment 12.0.2+10 > System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb) >Reporter: user124 >Assignee: user124 >Priority: Critical > Attachments: Screenshot_20190730_221524.png > > > "nb-javac library" module didn't downloaded, netbeans can't find it. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3036) Go To Declaration is broken in multi-module project after upgrade to v11
Mathieu Moloney created NETBEANS-3036: - Summary: Go To Declaration is broken in multi-module project after upgrade to v11 Key: NETBEANS-3036 URL: https://issues.apache.org/jira/browse/NETBEANS-3036 Project: NetBeans Issue Type: Bug Components: projects - Maven Affects Versions: 11.0 Environment: Windows 10 Following upgrade from Netbeans v8 to v11 (it was working correctly before) Reporter: Mathieu Moloney Attachments: messages.log Following upgrade of Netbeans from v8.2 to v11 and running a java/maven project with many modules. Go To Declaration no longer works correctly. The shortcut opens the correct class under Dependencies (ie the binary file) not the source file in another project. It still works correctly for files within the same JAR I have tried without success to : * Delete the cache * Check the logs for errors (log file attached) See older/duplicate/similar issues : * [https://netbeans.org/bugzilla/show_bug.cgi?id=256166] * [https://github.com/kelemen/netbeans-gradle-project/issues/196] * [https://stackoverflow.com/questions/8369807/go-to-declaration-does-not-work-in-netbeans-php] -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3034) Error parsing generic class with Lombok annotation
[ https://issues.apache.org/jira/browse/NETBEANS-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander updated NETBEANS-3034: Description: Steps to reproduce: # Create Gradle project. # Create entity class with generic field. # Add Lombok annotation @Value(staticConstructor = "from") Class has red error mark in project tree. was: Steps to reproduce: # Create Gradle project. # Create entity class with generic field. # Arr Lombok annotation @Value(staticConstructor = "from") Class has red error mark in project tree. > Error parsing generic class with Lombok annotation > -- > > Key: NETBEANS-3034 > URL: https://issues.apache.org/jira/browse/NETBEANS-3034 > Project: NetBeans > Issue Type: Bug >Reporter: Alexander >Priority: Major > Attachments: build.gradle, screenshot.png > > > Steps to reproduce: > # Create Gradle project. > # Create entity class with generic field. > # Add Lombok annotation @Value(staticConstructor = "from") > Class has red error mark in project tree. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3034) Error parsing generic class with Lombok annotation
[ https://issues.apache.org/jira/browse/NETBEANS-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander updated NETBEANS-3034: Summary: Error parsing generic class with Lombok annotation (was: Error parsing generic class vith Lombok annotation) > Error parsing generic class with Lombok annotation > -- > > Key: NETBEANS-3034 > URL: https://issues.apache.org/jira/browse/NETBEANS-3034 > Project: NetBeans > Issue Type: Bug >Reporter: Alexander >Priority: Major > Attachments: build.gradle, screenshot.png > > > Steps to reproduce: > # Create Gradle project. > # Create entity class with generic field. > # Arr Lombok annotation @Value(staticConstructor = "from") > Class has red error mark in project tree. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3035) “Package […] does not exist” when including another project with generated sources as a Maven dependency
dennis lucero created NETBEANS-3035: --- Summary: “Package […] does not exist” when including another project with generated sources as a Maven dependency Key: NETBEANS-3035 URL: https://issues.apache.org/jira/browse/NETBEANS-3035 Project: NetBeans Issue Type: Bug Affects Versions: 11.1 Environment: Windows 10 Reporter: dennis lucero I have two projects: * *Model* generates Java files (.java/.class) from XSD files (via JAXB) * *Service* includes _Model_ as a Maven dependency. Both projects compile fine. However, if Service includes Model with the current version, NetBeans cannot resolve references to Model in the Service project. For example, Service 1.0.0 uses Model 42.0.0. If my Model project specifies version 42.0.0 in the POM, NetBeans marks files in the Service project referencing classes from Model with a red icon and states “Package demo.model.foo does not exist” on the import statements. If I keep the dependency version in Service’s pom.xml at 42.0.0 and change the Model version in its POM to 42.0.1-SNAPSHOT, everything works fine. It is true that there are no *.java files in the Model project sources. These are generated and compiled when the Model project is compiled. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3033) NullPointerException when pressing button Reload in Gradle based project
Alexander created NETBEANS-3033: --- Summary: NullPointerException when pressing button Reload in Gradle based project Key: NETBEANS-3033 URL: https://issues.apache.org/jira/browse/NETBEANS-3033 Project: NetBeans Issue Type: Bug Reporter: Alexander Attachments: messages.log -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3032) Copy & paste improvement of variable names in PHP editor
Czukowski created NETBEANS-3032: --- Summary: Copy & paste improvement of variable names in PHP editor Key: NETBEANS-3032 URL: https://issues.apache.org/jira/browse/NETBEANS-3032 Project: NetBeans Issue Type: New Feature Components: php - Editor Affects Versions: 11.1 Reporter: Czukowski I would like to propose an improvement for PHP editor. When one needs to have class method that set object properties, such as setter methods or constructors for dependency injection, method parameter names are often same as the object properties, so copy and pasting of the parameters names often occurs. However the variable names are being selected including the dollar sign prefix {{$}} and after pasting it needs to be removed. If there are many parameters to set, this may become very routine work. The idea is that when the paste _containing a variable name_ occurs right after {{$this->}} (or perhaps rather after object instance operator {{->}}), then it will be pasted _without the {{$}} sign_. I believe this would greatly improve the workflow. {code:php} function __construct($someProperty) { $this->someProperty = $someProperty; } {code} So in order to achieve property assignment, one would need to type {{$this->}}, ctrl+v, {{=}}, ctrl+v instead of, for example: {{$this->}}, ctrl+v, ctrl+back-arrow (multiple times), backspace, end, {{=}}, ctrl+v Of course, there could be variable variables, but I believe these haven't been considered a good practice for a long time and in any case, are much much more rare than the use case above. Do you see any possible drawbacks to this? There could also be a suggestion to generate the assignment for even less keystrokes, but I figure it would be far more complex solution than this. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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
[netbeans] branch master updated: [NETBEANS-2917]: Support for yield in Switch-Expression for JDK-13 (#1409)
This is an automated email from the ASF dual-hosted git repository. arusinha pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 3ddcdc4 [NETBEANS-2917]: Support for yield in Switch-Expression for JDK-13 (#1409) 3ddcdc4 is described below commit 3ddcdc4d242293353d5a320d837759e8413644dd Author: Arunava Sinha AuthorDate: Tue Aug 27 17:12:34 2019 +0530 [NETBEANS-2917]: Support for yield in Switch-Expression for JDK-13 (#1409) * Adding support for yield. * Adding forgotten test API. * [NETBEANS-2917]: AutoCompletion of Yield keyword inside Switch Expression for JDK-13 * [NETBEANS-2917]: Corrected formatting for Switch Expression using yield with value * [NETBEANS-2917]: Added autocomplete for Switch-Expr Yield keyword inside Block * [NETBEANS-2917]: Modified Test-Cases for supporting Yield with value inside Switch Expression * [NETBEANS-2917]: Refactored code for Yield Support in Switch Expression * [NETBEANS-2917]:Syncing golden file with master --- .../java/completion/JavaCompletionTask.java| 49 --- .../1.8/SwitchExprYieldAutoCompletion.pass | 1 + .../10/SwitchExprYieldAutoCompletion.pass | 1 + .../11/SwitchExprYieldAutoCompletion.pass | 1 + .../12/SwitchExprYieldAutoCompletion.pass | 1 + .../13/SwitchExprYieldAutoCompletion.pass | 1 + .../13/ruleSwitchAutoCompleteCaseValues.pass | 1 + .../13/ruleSwitchEnumCaseValues.pass | 1 + .../13/switchEnumCaseValues.pass | 3 ++ .../13/switchEnumCaseValues2.pass | 2 + .../13/switchExprEnumCaseValues.pass | 2 + .../data/SwitchExprForYieldWithValue.java | 35 + .../data/SwitchExprForYieldWithValue2.java | 36 ++ .../JavaCompletionTask113FeaturesTest.java | 57 ++ .../base/semantic/SemanticHighlighterBase.java | 13 - .../java/editor/base/semantic/DetectorTest.java| 15 ++ .../java/editor/base/semantic/HighlightImpl.java | 3 ++ .../java/editor/base/semantic/TestBase.java| 35 - .../hints/errors/DifferentCaseKindsFixTest.java| 44 - .../org/netbeans/api/java/source/WorkingCopy.java | 6 +++ .../netbeans/modules/java/source/TreeShims.java| 16 ++ .../modules/java/source/pretty/VeryPretty.java | 17 ++- .../modules/java/source/save/Reformatter.java | 25 -- .../api/java/source/gen/SwitchExpressionTest.java | 10 ++-- .../modules/java/source/save/FormatingTest.java| 36 +++--- .../modules/java/source/save/ReindenterTest.java | 16 +++--- 26 files changed, 361 insertions(+), 66 deletions(-) diff --git a/java/java.completion/src/org/netbeans/modules/java/completion/JavaCompletionTask.java b/java/java.completion/src/org/netbeans/modules/java/completion/JavaCompletionTask.java index fb901e3..2722cf0 100644 --- a/java/java.completion/src/org/netbeans/modules/java/completion/JavaCompletionTask.java +++ b/java/java.completion/src/org/netbeans/modules/java/completion/JavaCompletionTask.java @@ -198,7 +198,8 @@ public final class JavaCompletionTask extends BaseTask { private static final String VOLATILE_KEYWORD = "volatile"; //NOI18N private static final String WHILE_KEYWORD = "while"; //NOI18N private static final String WITH_KEYWORD = "with"; //NOI18N - +private static final String YIELD_KEYWORD = "yield"; //NOI18N + private static final String JAVA_LANG_CLASS = "java.lang.Class"; //NOI18N private static final String JAVA_LANG_OBJECT = "java.lang.Object"; //NOI18N private static final String JAVA_LANG_ITERABLE = "java.lang.Iterable"; //NOI18N @@ -235,9 +236,10 @@ public final class JavaCompletionTask extends BaseTask { private static final SourceVersion SOURCE_VERSION_RELEASE_10; private static final SourceVersion SOURCE_VERSION_RELEASE_11; +private static final SourceVersion SOURCE_VERSION_RELEASE_13; static { -SourceVersion r10, r11; +SourceVersion r10, r11, r13; try { r10 = SourceVersion.valueOf("RELEASE_10"); @@ -249,9 +251,15 @@ public final class JavaCompletionTask extends BaseTask { } catch (IllegalArgumentException ex) { r11 = null; } +try { +r13 = SourceVersion.valueOf("RELEASE_13"); +} catch (IllegalArgumentException ex) { +r13 = null; +} SOURCE_VERSION_RELEASE_10 = r10; SOURCE_VERSION_RELEASE_11 = r11; +SOURCE_VERSION_RELEASE_13 = r13; } private final ItemFactory itemFactory; @@ -491,6 +499,11 @@ public final class JavaCompletionTask extends BaseTask { case STRING_LITERAL:
[jira] [Commented] (NETBEANS-3015) h:outputScript and h:outputStylesheet should be treated as JS and CSS respectively
[ https://issues.apache.org/jira/browse/NETBEANS-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16916541#comment-16916541 ] Guillermo González de Agüero commented on NETBEANS-3015: [~Juneau001] I think you are the one who knows this Java EE stuff, thus I'm assigning it to you. I know nothing about NetBeans internals but if you give me some guidance I'd love to help on it. > h:outputScript and h:outputStylesheet should be treated as JS and CSS > respectively > -- > > Key: NETBEANS-3015 > URL: https://issues.apache.org/jira/browse/NETBEANS-3015 > Project: NetBeans > Issue Type: Improvement > Components: javaee - JSF Editor >Affects Versions: 11.1 >Reporter: Guillermo González de Agüero >Assignee: Josh Juneau >Priority: Major > Attachments: image-2019-08-22-12-06-34-853.png > > > JSF h:outputScript and h:outputStylesheet can embed JavaScript and CSS code. > However, NetBeans trets it as plain text, which means no syntax highlighting, > and missing format when autoformatting. > See an example after autoformatting: > !image-2019-08-22-12-06-34-853.png! > > NetBeans should treat h:outputScript as JavaScript and h:outputStylesheet as > CSS. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Assigned] (NETBEANS-3016) New persistence unit dialog should allow server provided library
[ https://issues.apache.org/jira/browse/NETBEANS-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillermo González de Agüero reassigned NETBEANS-3016: -- Assignee: Guillermo González de Agüero > New persistence unit dialog should allow server provided library > > > Key: NETBEANS-3016 > URL: https://issues.apache.org/jira/browse/NETBEANS-3016 > Project: NetBeans > Issue Type: Improvement > Components: javaee - Persistence >Reporter: Guillermo González de Agüero >Assignee: Guillermo González de Agüero >Priority: Major > > The "New Persistence Unit" dialog requires you to specify the JPA provider > and the connection URL. Selecting the library adds the dependency to your pom. > Both options should be optional, at least when the application is configured > to run on a Java EE server, where a JPA implementation and a default library > are always provided. > A new option "Use server default" would be good. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Assigned] (NETBEANS-3016) New persistence unit dialog should allow server provided library
[ https://issues.apache.org/jira/browse/NETBEANS-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillermo González de Agüero reassigned NETBEANS-3016: -- Assignee: Josh Juneau (was: Guillermo González de Agüero) > New persistence unit dialog should allow server provided library > > > Key: NETBEANS-3016 > URL: https://issues.apache.org/jira/browse/NETBEANS-3016 > Project: NetBeans > Issue Type: Improvement > Components: javaee - Persistence >Reporter: Guillermo González de Agüero >Assignee: Josh Juneau >Priority: Major > > The "New Persistence Unit" dialog requires you to specify the JPA provider > and the connection URL. Selecting the library adds the dependency to your pom. > Both options should be optional, at least when the application is configured > to run on a Java EE server, where a JPA implementation and a default library > are always provided. > A new option "Use server default" would be good. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Assigned] (NETBEANS-3015) h:outputScript and h:outputStylesheet should be treated as JS and CSS respectively
[ https://issues.apache.org/jira/browse/NETBEANS-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillermo González de Agüero reassigned NETBEANS-3015: -- Assignee: Josh Juneau > h:outputScript and h:outputStylesheet should be treated as JS and CSS > respectively > -- > > Key: NETBEANS-3015 > URL: https://issues.apache.org/jira/browse/NETBEANS-3015 > Project: NetBeans > Issue Type: Improvement > Components: javaee - JSF Editor >Affects Versions: 11.1 >Reporter: Guillermo González de Agüero >Assignee: Josh Juneau >Priority: Major > Attachments: image-2019-08-22-12-06-34-853.png > > > JSF h:outputScript and h:outputStylesheet can embed JavaScript and CSS code. > However, NetBeans trets it as plain text, which means no syntax highlighting, > and missing format when autoformatting. > See an example after autoformatting: > !image-2019-08-22-12-06-34-853.png! > > NetBeans should treat h:outputScript as JavaScript and h:outputStylesheet as > CSS. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Resolved] (NETBEANS-3026) When IDE is loaded up, nothing opens. I re-click net-beans and it opens up small, empty window
[ https://issues.apache.org/jira/browse/NETBEANS-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel-John Karas resolved NETBEANS-3026. - Resolution: Fixed > When IDE is loaded up, nothing opens. I re-click net-beans and it opens up > small, empty window > --- > > Key: NETBEANS-3026 > URL: https://issues.apache.org/jira/browse/NETBEANS-3026 > Project: NetBeans > Issue Type: Bug > Components: java - Beans >Affects Versions: 11.1 >Reporter: Daniel-John Karas >Priority: Critical > Labels: windows > Fix For: 11.1 > > > When I open net beans, I am shown the basic loading screen where it loads up > the modules and such. When it finishes, nothing happens. I try to relaunch > the app, then I am given nothing but an empty tiny empty window. I have been > trying to fix it for an hour, I am going to use a different IDE in the > meantime but I might as well try and get some help with this. Let me know if > you need any other information and I should be able to provide it. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Reopened] (NETBEANS-3026) When IDE is loaded up, nothing opens. I re-click net-beans and it opens up small, empty window
[ https://issues.apache.org/jira/browse/NETBEANS-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel-John Karas reopened NETBEANS-3026: - > When IDE is loaded up, nothing opens. I re-click net-beans and it opens up > small, empty window > --- > > Key: NETBEANS-3026 > URL: https://issues.apache.org/jira/browse/NETBEANS-3026 > Project: NetBeans > Issue Type: Bug > Components: java - Beans >Affects Versions: 11.1 >Reporter: Daniel-John Karas >Priority: Critical > Labels: windows > Fix For: 11.1 > > > When I open net beans, I am shown the basic loading screen where it loads up > the modules and such. When it finishes, nothing happens. I try to relaunch > the app, then I am given nothing but an empty tiny empty window. I have been > trying to fix it for an hour, I am going to use a different IDE in the > meantime but I might as well try and get some help with this. Let me know if > you need any other information and I should be able to provide it. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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] [Closed] (NETBEANS-3026) When IDE is loaded up, nothing opens. I re-click net-beans and it opens up small, empty window
[ https://issues.apache.org/jira/browse/NETBEANS-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel-John Karas closed NETBEANS-3026. --- Fix Version/s: 11.1 Resolution: Fixed > When IDE is loaded up, nothing opens. I re-click net-beans and it opens up > small, empty window > --- > > Key: NETBEANS-3026 > URL: https://issues.apache.org/jira/browse/NETBEANS-3026 > Project: NetBeans > Issue Type: Bug > Components: java - Beans >Affects Versions: 11.1 >Reporter: Daniel-John Karas >Priority: Critical > Labels: windows > Fix For: 11.1 > > > When I open net beans, I am shown the basic loading screen where it loads up > the modules and such. When it finishes, nothing happens. I try to relaunch > the app, then I am given nothing but an empty tiny empty window. I have been > trying to fix it for an hour, I am going to use a different IDE in the > meantime but I might as well try and get some help with this. Let me know if > you need any other information and I should be able to provide it. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3026) When IDE is loaded up, nothing opens. I re-click net-beans and it opens up small, empty window
[ https://issues.apache.org/jira/browse/NETBEANS-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16916489#comment-16916489 ] Daniel-John Karas commented on NETBEANS-3026: - I got it fixed, thanks for the help! > When IDE is loaded up, nothing opens. I re-click net-beans and it opens up > small, empty window > --- > > Key: NETBEANS-3026 > URL: https://issues.apache.org/jira/browse/NETBEANS-3026 > Project: NetBeans > Issue Type: Bug > Components: java - Beans >Affects Versions: 11.1 >Reporter: Daniel-John Karas >Priority: Critical > Labels: windows > > When I open net beans, I am shown the basic loading screen where it loads up > the modules and such. When it finishes, nothing happens. I try to relaunch > the app, then I am given nothing but an empty tiny empty window. I have been > trying to fix it for an hour, I am going to use a different IDE in the > meantime but I might as well try and get some help with this. Let me know if > you need any other information and I should be able to provide it. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3026) When IDE is loaded up, nothing opens. I re-click net-beans and it opens up small, empty window
[ https://issues.apache.org/jira/browse/NETBEANS-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16916434#comment-16916434 ] Daniel-John Karas commented on NETBEANS-3026: - I'm going to restart, and see if this fixes it. I followed all the steps and changed the names of the specific paths. Thanks for the help, this should work. > When IDE is loaded up, nothing opens. I re-click net-beans and it opens up > small, empty window > --- > > Key: NETBEANS-3026 > URL: https://issues.apache.org/jira/browse/NETBEANS-3026 > Project: NetBeans > Issue Type: Bug > Components: java - Beans >Affects Versions: 11.1 >Reporter: Daniel-John Karas >Priority: Critical > Labels: windows > > When I open net beans, I am shown the basic loading screen where it loads up > the modules and such. When it finishes, nothing happens. I try to relaunch > the app, then I am given nothing but an empty tiny empty window. I have been > trying to fix it for an hour, I am going to use a different IDE in the > meantime but I might as well try and get some help with this. Let me know if > you need any other information and I should be able to provide it. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2555) When running any test, standard output is not shown in the panel to the right of the test file result.
[ https://issues.apache.org/jira/browse/NETBEANS-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16915771#comment-16915771 ] Andrea Paternesi edited comment on NETBEANS-2555 at 8/27/19 6:28 AM: - This is a bug to me not an improvement. Old plugin had it. And if we canno see tests output in netbeans consolle is a real problem. We are stuck with netbeans 10 version since test output are not shown anymore. More if with gradle we use interactive commands, now we cannot launch tasks anymore because the interactive output is not shown in the consolle and gradle does not accept user input. was (Author: patton73): This is a bug to me not an improvement. Old pluging had it. And if we canno see tests output in netbeans consolle is a real problem. We are stuck with netbeans 10 version since test output are not shown anymore. More if with gradle we use interactive commands, now we cannot launch tasks anymore because the interactive output is not shown in the consolle and gradle does not accept user input. > When running any test, standard output is not shown in the panel to the right > of the test file result. > -- > > Key: NETBEANS-2555 > URL: https://issues.apache.org/jira/browse/NETBEANS-2555 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0, 11.1 >Reporter: Mark Flacy >Assignee: Laszlo Kishalmi >Priority: Minor > > It isn't important that the output is available on the side panel while the > test is running; it is sufficient to me if the output is presented after the > tests have run if I select a specific test on the test panel. > I have a simple project at github that shows the behavior. > [https://github.com/Richard-Cranium/NB11GradleJunitExample] > The head of the master branch is the gradle based project that shows the > misleading behavior. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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