[netbeans] branch master updated: [NETBEANS-4646] Fix completionInvoke hint in code templates

2020-11-03 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 a9871c5  [NETBEANS-4646] Fix completionInvoke hint in code templates
a9871c5 is described below

commit a9871c5085106f1ffd6c1c7ec594774185cf69d6
Author: Arthur Sadykov 
AuthorDate: Fri Oct 30 22:22:33 2020 +0500

[NETBEANS-4646] Fix completionInvoke hint in code templates
---
 .../codetemplates/CodeTemplateInsertHandler.java   | 42 
 .../codetemplates/CodeTemplateParameterImpl.java   |  8 +++
 .../textsync/TextRegionManagerEvent.java   | 11 
 .../editor/codetemplates/textsync/TextSync.java| 27 
 .../CodeTemplateInsertHandlerTest.java | 49 +-
 .../CodeTemplateParameterImplTest.java | 77 ++
 6 files changed, 184 insertions(+), 30 deletions(-)

diff --git 
a/ide/editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java
 
b/ide/editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java
index 0841c65..87f794a 100644
--- 
a/ide/editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java
+++ 
b/ide/editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java
@@ -99,8 +99,6 @@ public final class CodeTemplateInsertHandler implements 
TextRegionManagerListene
 
 private boolean released;
 
-private boolean completionInvoke;
-
 private TextRegion completeTextRegion;
 
 private String completeInsertString;
@@ -110,6 +108,8 @@ public final class CodeTemplateInsertHandler implements 
TextRegionManagerListene
 
 private TextSyncGroup textSyncGroup;
 
+private boolean completionInvoked;
+
 public CodeTemplateInsertHandler(
 CodeTemplate codeTemplate,
 JTextComponent component, 
@@ -224,12 +224,8 @@ public final class CodeTemplateInsertHandler implements 
TextRegionManagerListene
 for (CodeTemplateProcessor processor : processors) {
 processor.updateDefaultValues();
 }
-
 // Insert the template into document
 insertTemplate();
-
-if (!isEditable())
-checkInvokeCompletion();
 }
 
 void checkInsertTextBuilt() {
@@ -275,6 +271,10 @@ public final class CodeTemplateInsertHandler implements 
TextRegionManagerListene
 }
 }
 
+boolean isCompletionInvoked() {
+return completionInvoked;
+}
+
 public void run() {
 boolean success = false;
 try {
@@ -321,7 +321,6 @@ public final class CodeTemplateInsertHandler implements 
TextRegionManagerListene
 if 
(CodeTemplateParameter.CURSOR_PARAMETER_NAME.equals(master.getName())) {
 // Add explicit ${cursor} as last into text sync group to 
jump to it by TAB as last param
 caretTextRegion = masterImpl.textRegion(); 
-completionInvoke = 
master.getHints().get(CodeTemplateParameter.COMPLETION_INVOKE_HINT_NAME) != 
null;
 } else {
 
textSyncGroup.addTextSync(masterImpl.textRegion().textSync());
 }
@@ -457,18 +456,24 @@ public final class CodeTemplateInsertHandler implements 
TextRegionManagerListene
 textSync.setEditable(true);
 if 
(CodeTemplateParameter.CURSOR_PARAMETER_NAME.equals(paramImpl.getName()))
 textSync.setCaretMarker(true);
+textSync.setCompletionInvoke(paramImpl.isCompletionInvoke());
 }
 
+@Override
 public void stateChanged(TextRegionManagerEvent evt) {
+completionInvoked = false;
 TextRegionManager trm = evt.textRegionManager();
 if (evt.isFocusChange()) {
+TextSync activeTextSync = evt.activeTextSync();
+if (activeTextSync != null && activeTextSync.isCompletionInvoke()) 
{
+SwingUtilities.invokeLater(Completion.get()::showCompletion);
+completionInvoked = true;
+}
 List> removedGroups = 
evt.removedGroups();
 for (int i = removedGroups.size() - 1; i >= 0; i--) {
 CodeTemplateInsertHandler handler = 
removedGroups.get(i).clientInfo();
 if (handler == this) {
 release();
-if (isEditable())
-checkInvokeCompletion();
 break;
 }
 }
@@ -530,25 +535,6 @@ public final class CodeTemplateInsertHandler implements 
TextRegionManagerListene
 return parametrizedTextParser.buildInsertText(allParameters);
 }
 
-private void checkInvokeCompletion() {
-if (completionInvoke) {
-completionInvoke = false;
-SwingUtilities.invokeLater(new Runnable() {
- 

[jira] [Updated] (NETBEANS-4646) The completionInvoke hint in code templates does not work as expected

2020-11-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-4646:
-
Labels: pull-request-available  (was: )

> The completionInvoke hint in code templates does not work as expected
> -
>
> Key: NETBEANS-4646
> URL: https://issues.apache.org/jira/browse/NETBEANS-4646
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Arthur Sadykov
>Assignee: Arthur Sadykov
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Steps to reproduce:
>  # Open Tools -> Options -> Editor -> Code Templates.
>  # Select Java from the Language combobox if not already selected.
>  # Click the New button.
>  # In the opened dialog box type vo in the Abbreviation text field and click 
> the Ok button.
>  # Copy and paste String ${name newVarName} = String.valueOf (${param 
> instanceof="" completionInvoke}); to the Expanded Text tab.
>  # Click the Ok button.
>  # Open any Java file with at least one declared method and at least one 
> declared variable.
>  # Place the mouse pointer in the method body.
>  # Type vo and press the code template expansion hotkey.
>  # The valueOf variable is currently selected in the editor. Press Tab.
>  # The variable inside parenthesis is now selected but the completion dialog 
> box does not appear.



--
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-4940) Caret drawing problems over a TAB

2020-11-03 Thread Ernie Rael (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225552#comment-17225552
 ] 

Ernie Rael commented on NETBEANS-4940:
--

editor.lib2's EditorCaret exhibits this problem. This issue was filed after 
seeing a plugin, using the editor.lib BaseCaret. There is considerable 
discussion about this issue in the PR #2482 

EditorCaret is now the default caret, BaseCaret is no longer used expect by 3rd 
party plugins. EditorCaret has both single caret and multi-caret and they both 
exhibit this problem. 

Switching to multi-caret modes happens by choosing multiple positions by 
clicking on new positions while CTRL+Shift is held down.

To see the multi-caret problem you can do
# Starting with a clean userdir/cachedir, start up NetBeans
# in Editor>Formatting>AllLang,Tabs... turn off EnableIndent & 
ExpandTabtoSpaces, set NumSpacePerIndent to 8 (to match tab size)
# NewFile>Other>EmptyFile.
# I added a line full of regular chars, two lines of just TABs, then a line of 
regular chars.
# Place caret on a TAB in second line, add a second caret on regular char in 
last line.
# Hit the right arrow.
# Observe the rendering artifacts over the TAB.



> Caret drawing problems over a TAB
> -
>
> Key: NETBEANS-4940
> URL: https://issues.apache.org/jira/browse/NETBEANS-4940
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 12.1
>Reporter: Ernie Rael
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> To recreate.
>  # Open a file in the editor (emptyfile, java file,...)
>  # Insert a tab into the file
>  # Place the caret over the tab
> Observe the caret as it blinks and notice that it only partially blanks. 
> There is a vertical artifact.
> The jVi application uses a block caret (rather than a vertical line) and the 
> problem is more more pronounced.



--
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-4396) Can not run or debug netbeans ant modular project with J14 if nb-javac is NOT installed/active

2020-11-03 Thread Laszlo Kishalmi (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225494#comment-17225494
 ] 

Laszlo Kishalmi commented on NETBEANS-4396:
---

No need to close the issue. Usually I bulk close resolved issues after a while.

> Can not run or debug netbeans ant modular project with J14 if nb-javac is NOT 
> installed/active
> --
>
> Key: NETBEANS-4396
> URL: https://issues.apache.org/jira/browse/NETBEANS-4396
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
>Reporter: Martin Meeser
>Priority: Critical
> Fix For: 12.1
>
> Attachments: messages.log
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> As soon as I hit "Run" or "Debug". (I am right clicking the project in 
> projects view)
> Update:
> I have the same issue on my other machine. It is only related to NOT having 
> nb-javac active.
> -I can only assume that it is related to using --enable-preview and the new 
> switch expressions.-
> nb-javac is deactivated in order to be able to use switch expressions.
> Exception is:
> java.lang.UnsupportedOperationException: command: debug, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@c8cf27e]
>   at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport.bypassAntBuildScript(ActionProviderSupport.java:583)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$9.performCompileOnSave(JavaActionProvider.java:1591)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1310)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
>   at 
> org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
>   at java.base/java.util.Optional.ifPresent(Optional.java:176)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
>   at 
> org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
>   at org.openide.util.Mutex.writeAccess(Mutex.java:285)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction$1$1.run(ProjectAction.java:115)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)



--
This message was sent by Atlassian Jira
(v8.3.4#803

[netbeans] branch delivery updated (2969adc -> e0f3b4c)

2020-11-03 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a change to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 2969adc  Ensure document state is consistent after unnamed is saved.
 add e0f3b4c  ioContainer in IOProvider.getIO(...) is allowed to be null.

No new revisions were added by this update.

Summary of changes:
 .../src/org/openide/io/BridgingIOProvider.java | 10 ++-
 .../src/org/openide/io/BridgingIOProviderTest.java | 84 +-
 2 files changed, 92 insertions(+), 2 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



[netbeans] branch master updated (a8e9e91 -> 12b06c1)

2020-11-03 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from a8e9e91  Merge pull request #2278 from Enroi/NETBEANS-626
 add 12b06c1  [NETBEANS-1972] Initial Groovy Support Module for Gradle

No new revisions were added by this update.

Summary of changes:
 groovy/gradle.groovy/build.xml | 25 +++
 groovy/gradle.groovy/manifest.mf   |  6 ++
 groovy/gradle.groovy/nbproject/project.properties  | 19 ++
 groovy/gradle.groovy/nbproject/project.xml | 76 ++
 .../modules/gradle/groovy/Bundle.properties| 17 +
 .../groovy/RecommendedPrivilegedTemplatesImpl.java | 52 +++
 groovy/groovy.support/nbproject/project.xml|  1 +
 nbbuild/cluster.properties |  1 +
 8 files changed, 197 insertions(+)
 create mode 100644 groovy/gradle.groovy/build.xml
 create mode 100644 groovy/gradle.groovy/manifest.mf
 create mode 100644 groovy/gradle.groovy/nbproject/project.properties
 create mode 100644 groovy/gradle.groovy/nbproject/project.xml
 create mode 100644 
groovy/gradle.groovy/src/org/netbeans/modules/gradle/groovy/Bundle.properties
 create mode 100644 
groovy/gradle.groovy/src/org/netbeans/modules/gradle/groovy/RecommendedPrivilegedTemplatesImpl.java


-
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-4988) Ant java web application in Netbeans 10 and later won't debug

2020-11-03 Thread Roy Damman (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roy Damman updated NETBEANS-4988:
-
Summary: Ant java web application in Netbeans 10 and later won't debug  
(was: Ant java webapplication in Netbeans 10 and later won't debug)

> Ant java web application in Netbeans 10 and later won't debug
> -
>
> Key: NETBEANS-4988
> URL: https://issues.apache.org/jira/browse/NETBEANS-4988
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Ant, serverplugins - Tomcat
>Affects Versions: 10.0, 11.3
> Environment: Windows 10 pro, OpenJDK11, Tomcat 9
>Reporter: Roy Damman
>Priority: Major
>  Labels: ANT, Tomcat, classfile, debugger, java
>
> I have a Wicket java webapplication Ant project created in Netbeans 7.x. In 
> the past the project has moved to Netbeans 8.2 and 9.0. I use currently the 
> OpenJDK11. I can still build, run and debug the project in Netbeans 9. But in 
> Netbeans 10 and later (11.3), the project won't run in Tomcat 9. I have 
> searched for the cause and found out that the class files are changed or 
> deleted on the first attempt to run or debug after a *clean and build*. All 
> the innerclasses and anonymous classes (*$*.class) files in the projects 
> *build directory* are deleted. Also the normal other class files were 
> shrunked in size. After a *clean and build* command there is also a *war* 
> file created in the *dist* directory. When I restore the class files in the 
> *war* file to the *build* directory suddenly the project will run. In 
> Netbeans 9 everything works normally with the same project and Ant file. Also 
> the Tomcat installation and JDK is the same. Later I found out that the 
> problem depends on the project settings. When settings 
> _Project->Build->Compiling->Compile-on-Save_ and 
> _Project->Run->Deploy-on-Save_ are switched off, you can debug the project 
> with Tomcat and the problem doesn't occur. But then you don't have that 
> options. I haven't checked if this a sole Ant problem or that Maven projects 
> also are affected.



--
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-4988) Ant java webapplication in Netbeans 10 and later won't debug

2020-11-03 Thread Roy Damman (Jira)
Roy Damman created NETBEANS-4988:


 Summary: Ant java webapplication in Netbeans 10 and later won't 
debug
 Key: NETBEANS-4988
 URL: https://issues.apache.org/jira/browse/NETBEANS-4988
 Project: NetBeans
  Issue Type: Bug
  Components: debugger - Ant, serverplugins - Tomcat
Affects Versions: 11.3, 10.0
 Environment: Windows 10 pro, OpenJDK11, Tomcat 9
Reporter: Roy Damman


I have a Wicket java webapplication Ant project created in Netbeans 7.x. In the 
past the project has moved to Netbeans 8.2 and 9.0. I use currently the 
OpenJDK11. I can still build, run and debug the project in Netbeans 9. But in 
Netbeans 10 and later (11.3), the project won't run in Tomcat 9. I have 
searched for the cause and found out that the class files are changed or 
deleted on the first attempt to run or debug after a *clean and build*. All the 
innerclasses and anonymous classes (*$*.class) files in the projects *build 
directory* are deleted. Also the normal other class files were shrunked in 
size. After a *clean and build* command there is also a *war* file created in 
the *dist* directory. When I restore the class files in the *war* file to the 
*build* directory suddenly the project will run. In Netbeans 9 everything works 
normally with the same project and Ant file. Also the Tomcat installation and 
JDK is the same. Later I found out that the problem depends on the project 
settings. When settings _Project->Build->Compiling->Compile-on-Save_ and 
_Project->Run->Deploy-on-Save_ are switched off, you can debug the project with 
Tomcat and the problem doesn't occur. But then you don't have that options. I 
haven't checked if this a sole Ant problem or that Maven projects also are 
affected.



--
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-1972) Add Gradle Support for Groovy Projects

2020-11-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-1972:
-
Labels: pull-request-available  (was: )

> Add Gradle Support for Groovy Projects
> --
>
> Key: NETBEANS-1972
> URL: https://issues.apache.org/jira/browse/NETBEANS-1972
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Well Groovy projects with Gradle are actually supported now out-of-the box, 
> It would be nice to add some recommended templates and a Gradle groovy 
> project template.



--
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-4752) Illegal reflective access operation has occurred.

2020-11-03 Thread John RD (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225413#comment-17225413
 ] 

John RD commented on NETBEANS-4752:
---

I am seeing a similar Warning message when starting Netbeans 10 from an Ubuntu 
WSL2 instance on Windows 10:

 
{code:java}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.netbeans.core.windows.view.ui.MainWindow 
(jar:file:/usr/share/netbeans/10.0/platform/modules/org-netbeans-core-windows.jar!/)
 to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of 
org.netbeans.core.windows.view.ui.MainWindow
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
{code}
 

> Illegal reflective access operation has occurred.
> -
>
> Key: NETBEANS-4752
> URL: https://issues.apache.org/jira/browse/NETBEANS-4752
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project
>Affects Versions: 10.0
> Environment: Netbeans 
>Reporter: Rohana
>Priority: Major
>
> An illegal reflective access o-elation has occured
> Illegal reflective access by org.netbeans.core.view.ui.MainWindow 
> (jar:file:/user/share/netbeans/10.0/platform/modules/org-netbeans-core-windows.jar!)
> to field sun.awt.X11.XToolkit.awtAppClassName
>  



--
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-4981) NPE when launching VSCode extension on JDK8

2020-11-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-4981:
-
Labels: pull-request-available  (was: )

> NPE when launching VSCode extension on JDK8
> ---
>
> Key: NETBEANS-4981
> URL: https://issues.apache.org/jira/browse/NETBEANS-4981
> Project: NetBeans
>  Issue Type: Bug
>  Components: vscode
>Affects Versions: 12.2
>Reporter: Jaroslav Tulach
>Assignee: Jan Lahoda
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When launching 12.2beta3 [VSCode 
> extension|https://ci-builds.apache.org/job/Netbeans/job/netbeans-vscode/164/] 
>  with JDK8 following error is raised:
> {code:java}
> Exit code 0[Error - 8:23:34] Server initialization failed.  Message: Internal 
> error.  Code: -32603 java.util.concurrent.CompletionException: 
> java.lang.NullPointerExceptionat 
> java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at 
> java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at 
> java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:708)
> at 
> java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687)
> at 
> java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at 
> java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)  
>   at 
> org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.asyncOpenSelectedProjects(Server.java:210)
> at 
> org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.lambda$initialize$1(Server.java:276)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) 
>at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)  
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)Caused
>  by: java.lang.NullPointerExceptionat 
> org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.showIndexingCompleted(Server.java:219)
> at 
> java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) 
> {code}
> This is very likely due to missing {{nbjavac}}. Try:
> {code:java}
> netbeans/java/java.lsp.server/vscode$ npm run nbcode -- --jdkhome /jdk1.8.0/ 
> -J-Dnetbeans.logger.console=true
> {code}
> followed by
> {code:java}
> netbeans/java/java.lsp.server/vscode$ code --extensionDevelopmentPath=`pwd` 
> ~/tmp/withcontrol/
> {code}



--
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-819) shifted cursor in terminal with GDK_SCALE=2

2020-11-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-819:

Labels: HiDPI font pull-request-available  (was: HiDPI font)

> shifted cursor in terminal with GDK_SCALE=2
> ---
>
> Key: NETBEANS-819
> URL: https://issues.apache.org/jira/browse/NETBEANS-819
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Terminalemulator, platform - Output Window
>Affects Versions: 9.0
>Reporter: Michal Hlavac
>Assignee: Michal Hlavac
>Priority: Major
>  Labels: HiDPI, font, pull-request-available
> Attachments: resize-fonts.mkv, shifted-cursor.mkv
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Using GDK_SCALE=2 env variable and Oracle JDK 10.0.1 or 9.0.4 cursor in 
> terminal is shifted. Without GDK_SCALE=2 everythink is OK.
>  Added attachment [^shifted-cursor.mkv] with short video. It says more than 
> words.



--
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-4469) Exception thrown while refactoring classes and methods

2020-11-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-4469:
-
Labels: pull-request-available  (was: )

> Exception thrown while refactoring classes and methods
> --
>
> Key: NETBEANS-4469
> URL: https://issues.apache.org/jira/browse/NETBEANS-4469
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 12.0
> Environment: Oracle Linux 6
>Reporter: Winston Prakash
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Occasionally, following exception is thrown while renaming a class or method.
> INFO [null]: Last record repeated again.
> SEVERE [org.openide.util.Exceptions]
> java.lang.NoSuchFieldError: pat
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.matchCase(CasualDiff.java:5755)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3125)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3083)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.listsMatch(CasualDiff.java:5715)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.matchSwitch(CasualDiff.java:5751)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3123)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3083)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.listsMatch(CasualDiff.java:5715)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.matchBlock(CasualDiff.java:5725)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3111)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3083)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.matchLambda(CasualDiff.java:5889)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3237)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3083)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.listsMatch(CasualDiff.java:5715)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.matchApply(CasualDiff.java:5798)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3149)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3083)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3137)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3083)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.listsMatch(CasualDiff.java:5715)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.matchBlock(CasualDiff.java:5725)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3111)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3083)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.matchLambda(CasualDiff.java:5889)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3237)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.treesMatch(CasualDiff.java:3083)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.listsMatch(CasualDiff.java:5715)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffApply(CasualDiff.java:2285)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5508)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5332)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5259)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5230)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffExec(CasualDiff.java:2186)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5490)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5332)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5259)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5230)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:4066)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffBlock(CasualDiff.java:1644)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5451)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5332)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5259)
>  at 
> org.netbeans.modules.java.source.save.CasualDiff.diffTree(Casua

[jira] [Updated] (NETBEANS-4976) Doubled breadcrumb

2020-11-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-4976:
-
Labels: pull-request-available  (was: )

> Doubled breadcrumb
> --
>
> Key: NETBEANS-4976
> URL: https://issues.apache.org/jira/browse/NETBEANS-4976
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 12.2
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-3a2cad159a2a60665653ce83a67547f679ec)
> Java: 11.0.8; OpenJDK 64-Bit Server VM 11.0.8+10-post-Debian-1deb10u1
> Runtime: OpenJDK Runtime Environment 11.0.8+10-post-Debian-1deb10u1
> System: Linux version 5.8.0-0.bpo.2-amd64 running on amd64; UTF-8; cs_CZ (nb)
>Reporter: Vítězslav Dvořák
>Priority: Trivial
>  Labels: pull-request-available
> Attachments: image-2020-11-01-02-06-47-938.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Sometimes is breadcrumb doubled. Closing one close both. After tab reopenig 
> is only one.
>  
> !image-2020-11-01-02-06-47-938.png!



--
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-4987) Disable "Request verification" if plugin's manifest is incomplete

2020-11-03 Thread Jira


[ 
https://issues.apache.org/jira/browse/NETBEANS-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225353#comment-17225353
 ] 

Jiří Kovalský commented on NETBEANS-4987:
-

[~matthiasblaesing], would you have an idea how to implement this enhancement?

> Disable "Request verification" if plugin's manifest is incomplete
> -
>
> Key: NETBEANS-4987
> URL: https://issues.apache.org/jira/browse/NETBEANS-4987
> Project: NetBeans
>  Issue Type: Improvement
>  Components: updatecenters - Pluginportal
>Affects Versions: 12.0
>Reporter: Jiří Kovalský
>Priority: Major
>
> Right now it is possible to publish plugins on Maven Central which do not 
> have all the required attributes in their manifests like 
> {color:#ff8b00}OpenIDE-Module-Name{color} which then breaks generation of 
> module catalog for the whole update center. In order to prevent showstoppers 
> like https://issues.apache.org/jira/browse/NETBEANS-4948 it would be good if 
> [Plugin Portal|https://plugins.netbeans.apache.org/] checks 
> {color:#ff8b00}Info/info.xml{color} file and verifies if that attribute is 
> available. If not, corresponding plugin version would not have *Request 
> verification* button enabled with a link to a Confluence page explaining why 
> and how to fix it.
> In addition to that it would be great if Plugin Portal would open a popup 
> window with standard output of the module catalog generation Ant task. This 
> will streamline finding the root cause of the UC generation problems via the 
> browser in the future.



--
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-4987) Disable "Request verification" if plugin's manifest is incomplete

2020-11-03 Thread Jira
Jiří Kovalský created NETBEANS-4987:
---

 Summary: Disable "Request verification" if plugin's manifest is 
incomplete
 Key: NETBEANS-4987
 URL: https://issues.apache.org/jira/browse/NETBEANS-4987
 Project: NetBeans
  Issue Type: Improvement
  Components: updatecenters - Pluginportal
Affects Versions: 12.0
Reporter: Jiří Kovalský


Right now it is possible to publish plugins on Maven Central which do not have 
all the required attributes in their manifests like 
{color:#ff8b00}OpenIDE-Module-Name{color} which then breaks generation of 
module catalog for the whole update center. In order to prevent showstoppers 
like https://issues.apache.org/jira/browse/NETBEANS-4948 it would be good if 
[Plugin Portal|https://plugins.netbeans.apache.org/] checks 
{color:#ff8b00}Info/info.xml{color} file and verifies if that attribute is 
available. If not, corresponding plugin version would not have *Request 
verification* button enabled with a link to a Confluence page explaining why 
and how to fix it.

In addition to that it would be great if Plugin Portal would open a popup 
window with standard output of the module catalog generation Ant task. This 
will streamline finding the root cause of the UC generation problems via the 
browser in the future.



--
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-3379) Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1

2020-11-03 Thread Frederik Mortensen (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225342#comment-17225342
 ] 

Frederik Mortensen commented on NETBEANS-3379:
--

Still a bug in NetBeans 12 a year later.

> Unable to add module to the current project as it is not of packaging type 
> 'pom' -> [Help 1
> ---
>
> Key: NETBEANS-3379
> URL: https://issues.apache.org/jira/browse/NETBEANS-3379
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10, Netbeans 11.2, JDK 1.8.0_202
>Reporter: Jay
>Priority: Major
>
> When I try to create new Maven Ear Project in Netbeasn 11.2 like that:
>  
> Menu File -> New Project -> Java with Maven -> Enterprise Application -> NEXT 
> (with defaults) -> Uncheck EJB and Web App Modules -> FINISH
>  
> I got following ERROR:
>   
> cd C:\Tmp\test; JAVA_HOME=c:\\Bin\\Java\\CURRENT_JDK 
> M2_HOME=c:\\Bin\\Other\\maven cmd /c 
> "\"\"c:\\Bin\\Other\\maven\\bin\\mvn.cmd\" 
> -DarchetypeGroupId=io.github.juneau001 -DarchetypeArtifactId=webapp-javaee8 
> -DarchetypeVersion=1.3 
> -DarchetypeRepository=[https://repo.maven.apache.org/maven2]-DgroupId=test 
> -DartifactId=test-ear -Dversion=0.0.1 -Dbasedir=C:\\Tmp\\test 
> -Darchetype.interactive=false 
> -Dmaven.ext.class.path=c:\\Bin\\Other\\Netbeans_11\\java\\maven-nblib\\netbeans-eventspy.jar
>  --batch-mode org.apache.maven.plugins:maven-archetype-plugin:2.4:generate\""
> Scanning for projects...
>  
> -< test:test >--
> Building test-0.0.1 0.0.1
> [ war ]-
>  
> >>> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ 
> >>> test >>>
>  
> --- maven-dependency-plugin:2.6:copy (default) @ test ---
>  
> <<< maven-archetype-plugin:2.4:generate (default-cli) < generate-sources @ 
> test <<<
>  
>  
> --- maven-archetype-plugin:2.4:generate (default-cli) @ test ---
> Generating project in Batch mode
> Archetype defined by properties
> 
> Using following parameters for creating project from Archetype: 
> webapp-javaee8:1.3
> 
> Parameter: groupId, Value: test
> Parameter: artifactId, Value: test-ear
> Parameter: version, Value: 0.0.1
> Parameter: package, Value: ${groupId}.${artifactId}
> Parameter: packageInPathFormat, Value: ${groupId}/${artifactId}
> lis 13, 2019 7:22:14 AM org.apache.velocity.runtime.log.JdkLogChute log
> INFO: FileResourceLoader : adding path '.'
> Parameter: package, Value: test.test-ear
> Parameter: version, Value: 0.0.1
> Parameter: groupId, Value: test
> Parameter: artifactId, Value: test-ear
> 
> BUILD FAILURE
> 
> Total time:  3.244 s
> Finished at: 2019-11-13T07:22:14+01:00
> 
> Failed to execute goal 
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on 
> project test: org.apache.maven.archetype.exception.InvalidPackaging: Unable 
> to add module to the current project as it is not of packaging type 'pom' -> 
> [Help 1]
>  
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
>  
> For more information about the errors and possible solutions, please read the 
> following articles:
> [Help 1] 
> [http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException]
>  
>  
> That problem does not occure in NetBeans 8.2:
>  
>  
> cd C:\Tmp\test2; JAVA_HOME=c:\\Bin\\Java\\CURRENT_JDK 
> M2_HOME=c:\\Bin\\Other\\maven cmd /c 
> "\"\"c:\\Bin\\Other\\maven\\bin\\mvn.cmd\" 
> -DarchetypeGroupId=org.codehaus.mojo.archetypes 
> -DarchetypeArtifactId=ear-javaee7 -DarchetypeVersion=1.0 
> -DarchetypeRepository=[http://repo.maven.apache.org/maven2]-DgroupId=test2 
> -DartifactId=test2-ear -Dversion=0.0.1 -Dbasedir=C:\\Tmp\\test2 
> -Darchetype.interactive=false 
> -Dmaven.ext.class.path=c:\\Bin\\Other\\Netbeans_8\\java\\maven-nblib\\netbeans-eventspy.jar
>  --batch-mode archetype:generate\""
> Scanning for projects...
>  
> < test2:test2 >-
> Building test2 0.0.1
> [ pom ]-
>  
> >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ 
> >>> test2 >>>
>  
> <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ 
> test2 <<<
>  
>  
> -

[jira] [Commented] (NETBEANS-3823) At update center "Latest updates" has suspicious dates.

2020-11-03 Thread Jira


[ 
https://issues.apache.org/jira/browse/NETBEANS-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225340#comment-17225340
 ] 

Jiří Kovalský commented on NETBEANS-3823:
-

Finally fixed by [https://github.com/apache/netbeans-tools/pull/35 
|https://github.com/apache/netbeans-tools/pull/35] Thanks Matthias! (y)

> At update center "Latest updates" has suspicious dates.
> ---
>
> Key: NETBEANS-3823
> URL: https://issues.apache.org/jira/browse/NETBEANS-3823
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Minor
> Fix For: 12.1
>
>
> I'm not entirely certain, but pretty sure that in the "Latest updates" list 
> the dates associated with specific plugins are not accurate.



--
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-3823) At update center "Latest updates" has suspicious dates.

2020-11-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-3823:

Affects Version/s: 12.0

> At update center "Latest updates" has suspicious dates.
> ---
>
> Key: NETBEANS-3823
> URL: https://issues.apache.org/jira/browse/NETBEANS-3823
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Minor
> Fix For: 12.1
>
>
> I'm not entirely certain, but pretty sure that in the "Latest updates" list 
> the dates associated with specific plugins are not accurate.



--
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] [Closed] (NETBEANS-3823) At update center "Latest updates" has suspicious dates.

2020-11-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský closed NETBEANS-3823.
---

> At update center "Latest updates" has suspicious dates.
> ---
>
> Key: NETBEANS-3823
> URL: https://issues.apache.org/jira/browse/NETBEANS-3823
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Minor
> Fix For: 12.1
>
>
> I'm not entirely certain, but pretty sure that in the "Latest updates" list 
> the dates associated with specific plugins are not accurate.



--
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-4868) Gradle Support missing from NB 12.1

2020-11-03 Thread Ulrich Mayring (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225332#comment-17225332
 ] 

Ulrich Mayring commented on NETBEANS-4868:
--

I have just downloaded the binary distribution as opposed to the installer, to 
make sure I have everything that's needed. But the result is the same as going 
via the installer: no Gradle support installed and no Gradle plugin available 
to install.

I am really wondering why this issue gets no attention, as it seems to be a 
pretty major bug. Gradle is certainly one of the most popular build tools and 
millions are working with it. The only sensible conclusion is that I am doing 
something wrong - but what? I downloaded the distribution, unpacked it, put my 
Java 11 SDK in netbeans.conf and started the IDE.

> Gradle Support missing from NB 12.1
> ---
>
> Key: NETBEANS-4868
> URL: https://issues.apache.org/jira/browse/NETBEANS-4868
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
> Environment: Fedora 29
>Reporter: Ulrich Mayring
>Priority: Major
>
> After installing NB 12.1 from scratch and disabling PHP and Java EE in the 
> installer, there is no support for Gradle projects available. Gradle projects 
> cannot be opened and when trying to create a new one, the message "this 
> feature is not activated yet" appears and upon clicking "next" nothing 
> happens.
> In a parallel installation of NB 12.0 I find that there is a Groovy plugin 
> installed and it includes the modules "Groovy and Gradle". This plugin has 
> version 1.4 and Gradle projects work fine there.
> Whereas in NB 12.1 the same plugin has version 1.41 and it has only the 
> "Groovy" module. There is no seperate Gradle plugin that can be installed 
> except a "Gradle Java EE" plugin, but that is specifically for JavaEE 
> support, which I have not installed.



--
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-4986) error when starting NB

2020-11-03 Thread Peter Toye (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225327#comment-17225327
 ] 

Peter Toye commented on NETBEANS-4986:
--

Thanks Geertjan. And I'm going to download it when I have time.

But your comment doesn't address the second issue: why couldn't I attach the 
log file? That sort of thing is a real pain when all I'm trying to do is to 
help.

> error when starting NB
> --
>
> Key: NETBEANS-4986
> URL: https://issues.apache.org/jira/browse/NETBEANS-4986
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Peter Toye
>Priority: Major
>
> Tried to load NB - got an 'unexpected exception' error message.
> Then tried to attach messages.log to the rport and Jira said there was a 
> 'missing token' whatever that means.



--
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-4986) error when starting NB

2020-11-03 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225317#comment-17225317
 ] 

Geertjan Wielenga commented on NETBEANS-4986:
-

Best to use latest LTS, which is 12.0, or latest feature release, 12.1.

> error when starting NB
> --
>
> Key: NETBEANS-4986
> URL: https://issues.apache.org/jira/browse/NETBEANS-4986
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Peter Toye
>Priority: Major
>
> Tried to load NB - got an 'unexpected exception' error message.
> Then tried to attach messages.log to the rport and Jira said there was a 
> 'missing token' whatever that means.



--
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-4986) error when starting NB

2020-11-03 Thread Peter Toye (Jira)
Peter Toye created NETBEANS-4986:


 Summary: error when starting NB
 Key: NETBEANS-4986
 URL: https://issues.apache.org/jira/browse/NETBEANS-4986
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1
Reporter: Peter Toye


Tried to load NB - got an 'unexpected exception' error message.

Then tried to attach messages.log to the rport and Jira said there was a 
'missing token' whatever that means.



--
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-4985) Gradle EAR and EJB support

2020-11-03 Thread Carlos Matos (Jira)
Carlos Matos created NETBEANS-4985:
--

 Summary: Gradle EAR and EJB support
 Key: NETBEANS-4985
 URL: https://issues.apache.org/jira/browse/NETBEANS-4985
 Project: NetBeans
  Issue Type: Improvement
  Components: projects - Gradle Java EE
Reporter: Carlos Matos
Assignee: Laszlo Kishalmi


The same way netbeans provides support for enterprise applications (.ear)  and 
standalone EJB modules for maven and ant projects, would it be possible to 
support it for gradle aswell?



--
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-4983) Input textfield injection in documentation overlay?

2020-11-03 Thread Jayce (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225289#comment-17225289
 ] 

Jayce commented on NETBEANS-4983:
-

Ok.
PHPStan propose such syntax when reporting errors

> Input textfield injection in documentation overlay?
> ---
>
> Key: NETBEANS-4983
> URL: https://issues.apache.org/jira/browse/NETBEANS-4983
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: 01code.png, 02Phpdoc.png
>
>
> I'm not sure it's intended.
> In phpdoc block, when you create something like:
>/**
>  * Strange phpdoc behavior
>  * @param array $params
>  * @return array
>  */
> public function __construct(array $params)
> {
> }
> The documentation bubble contains an editable textfield (see screenshot 
> attached)



--
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] [Assigned] (NETBEANS-4983) Input textfield injection in documentation overlay?

2020-11-03 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto reassigned NETBEANS-4983:
--

Assignee: Junichi Yamamoto

> Input textfield injection in documentation overlay?
> ---
>
> Key: NETBEANS-4983
> URL: https://issues.apache.org/jira/browse/NETBEANS-4983
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: 01code.png, 02Phpdoc.png
>
>
> I'm not sure it's intended.
> In phpdoc block, when you create something like:
>/**
>  * Strange phpdoc behavior
>  * @param array $params
>  * @return array
>  */
> public function __construct(array $params)
> {
> }
> The documentation bubble contains an editable textfield (see screenshot 
> attached)



--
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-4983) Input textfield injection in documentation overlay?

2020-11-03 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-4983:
---
Issue Type: Improvement  (was: Bug)

> Input textfield injection in documentation overlay?
> ---
>
> Key: NETBEANS-4983
> URL: https://issues.apache.org/jira/browse/NETBEANS-4983
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01code.png, 02Phpdoc.png
>
>
> I'm not sure it's intended.
> In phpdoc block, when you create something like:
>/**
>  * Strange phpdoc behavior
>  * @param array $params
>  * @return array
>  */
> public function __construct(array $params)
> {
> }
> The documentation bubble contains an editable textfield (see screenshot 
> attached)



--
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-4983) Input textfield injection in documentation overlay?

2020-11-03 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225288#comment-17225288
 ] 

Junichi Yamamoto commented on NETBEANS-4983:


Those patterns of types are not supported at the moment. They are recognized as 
HTML tags.

> Input textfield injection in documentation overlay?
> ---
>
> Key: NETBEANS-4983
> URL: https://issues.apache.org/jira/browse/NETBEANS-4983
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01code.png, 02Phpdoc.png
>
>
> I'm not sure it's intended.
> In phpdoc block, when you create something like:
>/**
>  * Strange phpdoc behavior
>  * @param array $params
>  * @return array
>  */
> public function __construct(array $params)
> {
> }
> The documentation bubble contains an editable textfield (see screenshot 
> attached)



--
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] [Comment Edited] (NETBEANS-4396) Can not run or debug netbeans ant modular project with J14 if nb-javac is NOT installed/active

2020-11-03 Thread Martin Meeser (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225280#comment-17225280
 ] 

Martin Meeser edited comment on NETBEANS-4396 at 11/3/20, 10:12 AM:


Am I supposed to close this one?


was (Author: martin.meeser):
Am i supposed to close this one?

> Can not run or debug netbeans ant modular project with J14 if nb-javac is NOT 
> installed/active
> --
>
> Key: NETBEANS-4396
> URL: https://issues.apache.org/jira/browse/NETBEANS-4396
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
>Reporter: Martin Meeser
>Priority: Critical
> Fix For: 12.1
>
> Attachments: messages.log
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> As soon as I hit "Run" or "Debug". (I am right clicking the project in 
> projects view)
> Update:
> I have the same issue on my other machine. It is only related to NOT having 
> nb-javac active.
> -I can only assume that it is related to using --enable-preview and the new 
> switch expressions.-
> nb-javac is deactivated in order to be able to use switch expressions.
> Exception is:
> java.lang.UnsupportedOperationException: command: debug, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@c8cf27e]
>   at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport.bypassAntBuildScript(ActionProviderSupport.java:583)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$9.performCompileOnSave(JavaActionProvider.java:1591)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1310)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
>   at 
> org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
>   at java.base/java.util.Optional.ifPresent(Optional.java:176)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
>   at 
> org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
>   at org.openide.util.Mutex.writeAccess(Mutex.java:285)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction$1$1.run(ProjectAction.java:115)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.

[jira] [Commented] (NETBEANS-4396) Can not run or debug netbeans ant modular project with J14 if nb-javac is NOT installed/active

2020-11-03 Thread Martin Meeser (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225280#comment-17225280
 ] 

Martin Meeser commented on NETBEANS-4396:
-

Am i supposed to close this one?

> Can not run or debug netbeans ant modular project with J14 if nb-javac is NOT 
> installed/active
> --
>
> Key: NETBEANS-4396
> URL: https://issues.apache.org/jira/browse/NETBEANS-4396
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
>Reporter: Martin Meeser
>Priority: Critical
> Fix For: 12.1
>
> Attachments: messages.log
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> As soon as I hit "Run" or "Debug". (I am right clicking the project in 
> projects view)
> Update:
> I have the same issue on my other machine. It is only related to NOT having 
> nb-javac active.
> -I can only assume that it is related to using --enable-preview and the new 
> switch expressions.-
> nb-javac is deactivated in order to be able to use switch expressions.
> Exception is:
> java.lang.UnsupportedOperationException: command: debug, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@c8cf27e]
>   at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport.bypassAntBuildScript(ActionProviderSupport.java:583)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$9.performCompileOnSave(JavaActionProvider.java:1591)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1310)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
>   at 
> org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
>   at 
> org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
>   at java.base/java.util.Optional.ifPresent(Optional.java:176)
>   at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
>   at 
> org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
>   at org.openide.util.Mutex.writeAccess(Mutex.java:285)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
>   at 
> org.netbeans.modules.project.ui.actions.ProjectAction$1$1.run(ProjectAction.java:115)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-

[jira] [Closed] (NETBEANS-1051) Exception while typing, hot debbugging

2020-11-03 Thread Martin Meeser (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Meeser closed NETBEANS-1051.
---
Resolution: Duplicate

> Exception while typing, hot debbugging
> --
>
> Key: NETBEANS-1051
> URL: https://issues.apache.org/jira/browse/NETBEANS-1051
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next
>Reporter: Martin Meeser
>Priority: Minor
>
> Program asked me to report bug.
> ---
> >Log Session: Monday, July 16, 2018 at 8:13:25 PM Central European Summer Time
> >System Info: 
>  Product Version = Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-302-on-20180517)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 10.0.1+10
>  Java Home = C:\Program Files\Java\jdk-10.0.1
>  System Locale; Encoding = en_US (nb); Cp1252
>  Home Directory = C:\Users\Martin
>  Current Directory = D:\Program Files (x86)\netbeans\bin
>  User Directory = C:\Users\Martin\AppData\Roaming\NetBeans\dev
>  Cache Directory = C:\Users\Martin\AppData\Local\NetBeans\Cache\dev
>  Installation = D:\Program Files (x86)\netbeans\nb
>  D:\Program Files (x86)\netbeans\ide
>  D:\Program Files (x86)\netbeans\extide
>  D:\Program Files (x86)\netbeans\java
>  D:\Program Files (x86)\netbeans\apisupport
>  D:\Program Files (x86)\netbeans\websvccommon
>  D:\Program Files (x86)\netbeans\profiler
>  D:\Program Files (x86)\netbeans\harness
>  D:\Program Files (x86)\netbeans\javafx
>  D:\Program Files (x86)\netbeans\platform
>  Boot & Ext. Classpath = 
>  Application Classpath = D:\Program Files 
> (x86)\netbeans\platform\lib\boot.jar;D:\Program Files 
> (x86)\netbeans\platform\lib\org-openide-modules.jar;D:\Program Files 
> (x86)\netbeans\platform\lib\org-openide-util-lookup.jar;D:\Program Files 
> (x86)\netbeans\platform\lib\org-openide-util-ui.jar;D:\Program Files 
> (x86)\netbeans\platform\lib\org-openide-util.jar
>  Startup Classpath = D:\Program Files 
> (x86)\netbeans\platform\core\asm-all-5.0.1.jar;D:\Program Files 
> (x86)\netbeans\platform\core\core-base.jar;D:\Program Files 
> (x86)\netbeans\platform\core\core.jar;D:\Program Files 
> (x86)\netbeans\platform\core\org-netbeans-libs-asm.jar;D:\Program Files 
> (x86)\netbeans\platform\core\org-openide-filesystems-compat8.jar;D:\Program 
> Files (x86)\netbeans\platform\core\org-openide-filesystems.jar;D:\Program 
> Files (x86)\netbeans\nb\core\org-netbeans-upgrader.jar;D:\Program Files 
> (x86)\netbeans\nb\core\locale\core_nb.jar
> ---
> INFO [org.netbeans.modules.netbinox]: Install area set to file:/D:/Program 
> Files (x86)/netbeans/
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.java.editor.lib, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.apisupport.ant, org.netbeans.modules.java.hints, 
> org.netbeans.modules.jshell.support, org.netbeans.modules.maven.hints] use 
> org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java 
> Hints SPI (org.netbeans.spi.java.hints) instead.
> INFO [com.revivius.nb.darcula.DarculaLFCustoms]: Can not find class, will not 
> be able to replace its field...
> java.lang.ClassNotFoundException: 
> org.netbeans.modules.web.core.syntax.completion.api.JspCompletionItem
>  at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
>  at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
>  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
>  at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
> Caused: java.lang.ClassNotFoundException: 
> org.netbeans.modules.web.core.syntax.completion.api.JspCompletionItem 
> starting from SystemClassLoader[529 modules] with possible defining loaders 
> null and declared parents [org.netbeans.MainImpl$BootClassLoader@4ad7a76, 
> ModuleCL@71fc2957[org.netbeans.api.annotations.common], 
> ModuleCL@51661849[org.openide.awt], 
> ModuleCL@5139ceef[org.netbeans.api.progress], 
> ModuleCL@1a3710b0[org.netbeans.api.progress.nb], 
> ModuleCL@a912430[org.openide.dialogs], ModuleCL@6b54c17b[org.openide.nodes], 
> ModuleCL@74052448[org.openide.windows], 
> ModuleCL@569518e8[org.netbeans.modules.editor.mimelookup], 
> ModuleCL@55261

[jira] [Commented] (NETBEANS-1051) Exception while typing, hot debbugging

2020-11-03 Thread Martin Meeser (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225279#comment-17225279
 ] 

Martin Meeser commented on NETBEANS-1051:
-

I am closing this one. Reasons:

1. duplicate as mentioned
2. does not seem to be a problem in current (NB 12.1) version.

> Exception while typing, hot debbugging
> --
>
> Key: NETBEANS-1051
> URL: https://issues.apache.org/jira/browse/NETBEANS-1051
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next
>Reporter: Martin Meeser
>Priority: Minor
>
> Program asked me to report bug.
> ---
> >Log Session: Monday, July 16, 2018 at 8:13:25 PM Central European Summer Time
> >System Info: 
>  Product Version = Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-302-on-20180517)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 10.0.1+10
>  Java Home = C:\Program Files\Java\jdk-10.0.1
>  System Locale; Encoding = en_US (nb); Cp1252
>  Home Directory = C:\Users\Martin
>  Current Directory = D:\Program Files (x86)\netbeans\bin
>  User Directory = C:\Users\Martin\AppData\Roaming\NetBeans\dev
>  Cache Directory = C:\Users\Martin\AppData\Local\NetBeans\Cache\dev
>  Installation = D:\Program Files (x86)\netbeans\nb
>  D:\Program Files (x86)\netbeans\ide
>  D:\Program Files (x86)\netbeans\extide
>  D:\Program Files (x86)\netbeans\java
>  D:\Program Files (x86)\netbeans\apisupport
>  D:\Program Files (x86)\netbeans\websvccommon
>  D:\Program Files (x86)\netbeans\profiler
>  D:\Program Files (x86)\netbeans\harness
>  D:\Program Files (x86)\netbeans\javafx
>  D:\Program Files (x86)\netbeans\platform
>  Boot & Ext. Classpath = 
>  Application Classpath = D:\Program Files 
> (x86)\netbeans\platform\lib\boot.jar;D:\Program Files 
> (x86)\netbeans\platform\lib\org-openide-modules.jar;D:\Program Files 
> (x86)\netbeans\platform\lib\org-openide-util-lookup.jar;D:\Program Files 
> (x86)\netbeans\platform\lib\org-openide-util-ui.jar;D:\Program Files 
> (x86)\netbeans\platform\lib\org-openide-util.jar
>  Startup Classpath = D:\Program Files 
> (x86)\netbeans\platform\core\asm-all-5.0.1.jar;D:\Program Files 
> (x86)\netbeans\platform\core\core-base.jar;D:\Program Files 
> (x86)\netbeans\platform\core\core.jar;D:\Program Files 
> (x86)\netbeans\platform\core\org-netbeans-libs-asm.jar;D:\Program Files 
> (x86)\netbeans\platform\core\org-openide-filesystems-compat8.jar;D:\Program 
> Files (x86)\netbeans\platform\core\org-openide-filesystems.jar;D:\Program 
> Files (x86)\netbeans\nb\core\org-netbeans-upgrader.jar;D:\Program Files 
> (x86)\netbeans\nb\core\locale\core_nb.jar
> ---
> INFO [org.netbeans.modules.netbinox]: Install area set to file:/D:/Program 
> Files (x86)/netbeans/
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.java.editor.lib, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.apisupport.ant, org.netbeans.modules.java.hints, 
> org.netbeans.modules.jshell.support, org.netbeans.modules.maven.hints] use 
> org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java 
> Hints SPI (org.netbeans.spi.java.hints) instead.
> INFO [com.revivius.nb.darcula.DarculaLFCustoms]: Can not find class, will not 
> be able to replace its field...
> java.lang.ClassNotFoundException: 
> org.netbeans.modules.web.core.syntax.completion.api.JspCompletionItem
>  at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
>  at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
>  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
>  at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
> Caused: java.lang.ClassNotFoundException: 
> org.netbeans.modules.web.core.syntax.completion.api.JspCompletionItem 
> starting from SystemClassLoader[529 modules] with possible defining loaders 
> null and declared parents [org.netbeans.MainImpl$BootClassLoader@4ad7a76, 
> ModuleCL@71fc2957[org.netbeans.api.annotations.common], 
> ModuleCL@51661849[org.openide.awt], 
> ModuleCL@5139ceef[org.netbeans.api.progress], 
> ModuleCL@1a3710b0[org.netbeans.api.progress.nb], 
> ModuleCL@a912430[org.openide.dialogs], Modu

[jira] [Created] (NETBEANS-4984) Nullpointer exception: org.netbeans.modules.java.navigation.base.SelectJavadocTask.run

2020-11-03 Thread Martin Meeser (Jira)
Martin Meeser created NETBEANS-4984:
---

 Summary: Nullpointer exception: 
org.netbeans.modules.java.navigation.base.SelectJavadocTask.run
 Key: NETBEANS-4984
 URL: https://issues.apache.org/jira/browse/NETBEANS-4984
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.1
 Environment: NB 12.1, Ubuntu 12, openJDK 14
Reporter: Martin Meeser
 Attachments: nb_ex

This gets reported by the notification system. There does not seem to be any 
other effects on the IDE.

Details in attachment.





--
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-4983) Input textfield injection in documentation overlay?

2020-11-03 Thread Jayce (Jira)
Jayce created NETBEANS-4983:
---

 Summary: Input textfield injection in documentation overlay?
 Key: NETBEANS-4983
 URL: https://issues.apache.org/jira/browse/NETBEANS-4983
 Project: NetBeans
  Issue Type: Bug
  Components: php - Editor
Reporter: Jayce
 Attachments: 01code.png, 02Phpdoc.png

I'm not sure it's intended.
In phpdoc block, when you create something like:

   /**
 * Strange phpdoc behavior
 * @param array $params
 * @return array
 */
public function __construct(array $params)
{

}

The documentation bubble contains an editable textfield (see screenshot 
attached)



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Jayce (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225271#comment-17225271
 ] 

Jayce commented on NETBEANS-4978:
-

Ah, good catch !
You're welcome

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.0
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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] [Assigned] (NETBEANS-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto reassigned NETBEANS-4978:
--

Assignee: Junichi Yamamoto

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-4978:
---
Affects Version/s: 12.0

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.0
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225270#comment-17225270
 ] 

Junichi Yamamoto commented on NETBEANS-4978:


Ah, I see now.  Maybe, the cause is the caret position.

I can reproduce it if the caret position is before "namespace".

Thanks.


> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Jayce (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225268#comment-17225268
 ] 

Jayce commented on NETBEANS-4978:
-

It's a bit random, depending if you modify/save/format the file. I uploaded a 
video to show you.
I had to edit the file and add multiple lines on top to reproduce it.

Not linked to a project i have it for months, on linux and Mac OS.
Currently using dev build (netbeans-linux-143-on-20201030) 

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Jayce (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayce updated NETBEANS-4978:

Attachment: BugScreencast.mov

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225267#comment-17225267
 ] 

Junichi Yamamoto commented on NETBEANS-4978:


Thanks. 

Unfortunately, I can't reproduce it. Could you attach a simple reproducible 
project as a zip file?
What is your NetBeans version?

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Jayce (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225265#comment-17225265
 ] 

Jayce commented on NETBEANS-4978:
-

Sure.
See attached files and screenshot.

It seems (but i'm not sure) that if you run format code and/or save file before 
fixing, the use line is at the correct place.


> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Jayce (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayce updated NETBEANS-4978:

Attachment: BugClass.php

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Jayce (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayce updated NETBEANS-4978:

Attachment: 01BeforeFixUses.png
02AfterFixUses.png

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png
>
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225256#comment-17225256
 ] 

Junichi Yamamoto commented on NETBEANS-4978:


Could you write an example code and exact steps to reproduce it?

> PHP Menu Source->Fix uses break code
> 
>
> Key: NETBEANS-4978
> URL: https://issues.apache.org/jira/browse/NETBEANS-4978
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Priority: Minor
>
> Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" 
> before "declare(strict_types=1);"
> It does not happen if a use line is already present in the source code (at 
> the correct position).
> declare(strict_types=1); must always be the first line.



--
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