[jira] [Commented] (NETBEANS-6504) java code completion slow - poor algorithm choice

2022-05-22 Thread Michael Bien (Jira)


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

Michael Bien commented on NETBEANS-6504:


hi [~notzed] , would you like to open a PR on github?

This issue tracker is also no longer used since it moved to github too. Make 
sure you link this issue in your PR.

PRs will trigger the tests and make review easier.

> java code completion slow - poor algorithm choice
> -
>
> Key: NETBEANS-6504
> URL: https://issues.apache.org/jira/browse/NETBEANS-6504
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 13
> Environment: gentoo linux, slackware64-current.  btrfs and jfs.  
> openjdk18, 32GB RAM, 1TB NVME SSD PCI3x4.
> i do not believe this is related to the other bug reports of slow completion 
> which seem to be platform specific (ntfs).
>  
>Reporter: notzed
>Priority: Major
> Attachments: slow-complete-full.patch, slow-complete-simple.patch
>
>
> I have a class with a mere 3000 constants and it takes a few hundred 
> milliseconds to show and (it seems to run twice?) delete the completion popup 
> when these constants are imported using a wildcard static import.  This makes 
> editing extremely tedious and heavily drains a laptop battery.
> I tracked it down to ElementUtilities.isHidden() invoked from 
> getLocalMembersAndVars() using an inefficient algorithm to filter results. 
> Most of the time time is spent in in toString() via Name::compareContents().
> Perhaps there's a reason it isn't used in this case but addIfNotHidden() 
> seems to have been written to address this performance issue but is only used 
> in one of the methods which callls isHidden().
> I've attached a couple of patches.  One just changes getLocalMembersAndVars() 
> to use addIfNotHidden(), the second is more complete and changes all uses of 
> isHidden() to use addIfNotHidden() in a consistent way and also removes the 
> redundant name comparison in the inner loop.
> I'm sorry, i'm not sure how to trigger all code paths to test the patches.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6504) java code completion slow - poor algorithm choice

2022-05-22 Thread notzed (Jira)
notzed created NETBEANS-6504:


 Summary: java code completion slow - poor algorithm choice
 Key: NETBEANS-6504
 URL: https://issues.apache.org/jira/browse/NETBEANS-6504
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Code Completion
Affects Versions: 13
 Environment: gentoo linux, slackware64-current.  btrfs and jfs.  
openjdk18, 32GB RAM, 1TB NVME SSD PCI3x4.

i do not believe this is related to the other bug reports of slow completion 
which seem to be platform specific (ntfs).

 
Reporter: notzed
 Attachments: slow-complete-full.patch, slow-complete-simple.patch

I have a class with a mere 3000 constants and it takes a few hundred 
milliseconds to show and (it seems to run twice?) delete the completion popup 
when these constants are imported using a wildcard static import.  This makes 
editing extremely tedious and heavily drains a laptop battery.

I tracked it down to ElementUtilities.isHidden() invoked from 
getLocalMembersAndVars() using an inefficient algorithm to filter results. Most 
of the time time is spent in in toString() via Name::compareContents().

Perhaps there's a reason it isn't used in this case but addIfNotHidden() seems 
to have been written to address this performance issue but is only used in one 
of the methods which callls isHidden().

I've attached a couple of patches.  One just changes getLocalMembersAndVars() 
to use addIfNotHidden(), the second is more complete and changes all uses of 
isHidden() to use addIfNotHidden() in a consistent way and also removes the 
redundant name comparison in the inner loop.

I'm sorry, i'm not sure how to trigger all code paths to test the patches.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Reopened] (NETBEANS-5402) Don't create .LCKFoo.java~ files

2022-05-21 Thread Anthony Vanelverdinghe (Jira)


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

Anthony Vanelverdinghe reopened NETBEANS-5402:
--

> Don't create .LCKFoo.java~ files
> 
>
> Key: NETBEANS-5402
> URL: https://issues.apache.org/jira/browse/NETBEANS-5402
> Project: NetBeans
>  Issue Type: Bug
>  Components: vscode
> Environment: Windows 10
>Reporter: Anthony Vanelverdinghe
>Priority: Major
> Attachments: image-2021-03-03-18-04-03-520.png
>
>
> To reproduce, simply open a Java source file.
> I don't know what the purpose of these is (some kind of locking, I assume), 
> but on Windows, files aren't hidden just because they start with a dot, so 
> this looks messy.
> Even if they'd be hidden properly, I'd still consider it problematic that my 
> IDE creates non-Java "helper" files under src/main/java.
> !image-2021-03-03-18-04-03-520.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5550) IDE UI-freeze By Ctrl+F

2022-05-19 Thread AO Industries, Inc. (Jira)


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

AO Industries, Inc. closed NETBEANS-5550.
-
Fix Version/s: 13
   Resolution: Fixed

This is no longer a problem for us in NetBeans 13.

> IDE UI-freeze By Ctrl+F
> ---
>
> Key: NETBEANS-5550
> URL: https://issues.apache.org/jira/browse/NETBEANS-5550
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.0
> Environment: Win 7 x86_64, JDK 1.8_261, 14, and 15.0.2
>Reporter: dev
>Assignee: AO Industries, Inc.
>Priority: Critical
> Fix For: 13
>
> Attachments: NETBEANS-5550.txt
>
>
> Randomly(not sure yet), but sometimes when I press `Ctrl+F` to start find for 
> something(mostly javascript files), UI goes down(UI-Freeze). After a short 
> time, whole black screen.
>  
> The IDE does not goes into heavy process mode, so I guess the uI thread gets 
> blocked by some interminable process by the backend.
>  
> The only way is about end-task by the task manager, hopefully peaceful 
> shutdown works, but needs time.
>  
> Error happens more often when I mistakenly press `Ctrl+V`, before `Ctrl+F`.
>  
> I'm on Windows 7 X86_64, java 8, 14, and 15. Error seems has no explicitly 
> associated to a specific JDK. Error exist with all jdks I've tried have the 
> same issue.
>  
> I have been working with NetBeans since V6, till now. Only this 12.0 LTS 
> version I can have this issue.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5550) IDE UI-freeze By Ctrl+F

2022-05-19 Thread AO Industries, Inc. (Jira)


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

AO Industries, Inc. commented on NETBEANS-5550:
---

This is no longer a problem for us in NetBeans 13.

> IDE UI-freeze By Ctrl+F
> ---
>
> Key: NETBEANS-5550
> URL: https://issues.apache.org/jira/browse/NETBEANS-5550
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.0
> Environment: Win 7 x86_64, JDK 1.8_261, 14, and 15.0.2
>Reporter: dev
>Assignee: AO Industries, Inc.
>Priority: Critical
> Attachments: NETBEANS-5550.txt
>
>
> Randomly(not sure yet), but sometimes when I press `Ctrl+F` to start find for 
> something(mostly javascript files), UI goes down(UI-Freeze). After a short 
> time, whole black screen.
>  
> The IDE does not goes into heavy process mode, so I guess the uI thread gets 
> blocked by some interminable process by the backend.
>  
> The only way is about end-task by the task manager, hopefully peaceful 
> shutdown works, but needs time.
>  
> Error happens more often when I mistakenly press `Ctrl+V`, before `Ctrl+F`.
>  
> I'm on Windows 7 X86_64, java 8, 14, and 15. Error seems has no explicitly 
> associated to a specific JDK. Error exist with all jdks I've tried have the 
> same issue.
>  
> I have been working with NetBeans since V6, till now. Only this 12.0 LTS 
> version I can have this issue.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5550) IDE UI-freeze By Ctrl+F

2022-05-19 Thread AO Industries, Inc. (Jira)


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

AO Industries, Inc. reassigned NETBEANS-5550:
-

Assignee: AO Industries, Inc.

> IDE UI-freeze By Ctrl+F
> ---
>
> Key: NETBEANS-5550
> URL: https://issues.apache.org/jira/browse/NETBEANS-5550
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.0
> Environment: Win 7 x86_64, JDK 1.8_261, 14, and 15.0.2
>Reporter: dev
>Assignee: AO Industries, Inc.
>Priority: Critical
> Attachments: NETBEANS-5550.txt
>
>
> Randomly(not sure yet), but sometimes when I press `Ctrl+F` to start find for 
> something(mostly javascript files), UI goes down(UI-Freeze). After a short 
> time, whole black screen.
>  
> The IDE does not goes into heavy process mode, so I guess the uI thread gets 
> blocked by some interminable process by the backend.
>  
> The only way is about end-task by the task manager, hopefully peaceful 
> shutdown works, but needs time.
>  
> Error happens more often when I mistakenly press `Ctrl+V`, before `Ctrl+F`.
>  
> I'm on Windows 7 X86_64, java 8, 14, and 15. Error seems has no explicitly 
> associated to a specific JDK. Error exist with all jdks I've tried have the 
> same issue.
>  
> I have been working with NetBeans since V6, till now. Only this 12.0 LTS 
> version I can have this issue.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-5943) I was trying to open a previous project and netbeans hanged

2022-05-19 Thread Jira


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

Matthias Bläsing resolved NETBEANS-5943.

Resolution: Duplicate

> I was trying to open a previous project and netbeans hanged 
> 
>
> Key: NETBEANS-5943
> URL: https://issues.apache.org/jira/browse/NETBEANS-5943
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
>Reporter: Rivi Vig
>Priority: Major
>
> I was trying to open a previous project and NetBeans froze. It said that 
> there is a bug.
> 
>   2021-08-23T12:08:30
>   1629700710910
>   104
>   org.openide.util.RequestProcessor
>   1000
>   124
>   
> C:\Users\DEll\AppData\Roaming\NetBeans\12.4\var\log\heapdump.hprof
>   
>     java.lang.OutOfMemoryError: Java heap space
>   
> 
> 
>   2021-08-23T14:23:15
>   1629708795385
>   39
>   org.netbeans.ui
>   700
>   31
>   UI_ENABLED_MODULES
>   UI_ENABLED_MODULES
>   org.netbeans.modules.uihandler.Bundle
>   org.netbeans.modules.maven.profiler/1 [1.44]
>   org.netbeans.modules.xml.catalog.ui [2.15.0.4]
>   org.eclipse.mylyn.commons.xmlrpc [3.17.0]
>   org.netbeans.modules.autoupdate.ui [1.58]
>   org.netbeans.modules.java.j2seproject/1 [1.99.0.48]
>   org.netbeans.modules.refactoring.java/1 [1.73.0.1.25]
>   org.netbeans.modules.sampler [1.26]
>   org.apache.tools.ant.module/3 [3.96.0.2]
>   org.netbeans.swing.outline [1.46]
>   org.netbeans.modules.db.core [1.49]
>   org.netbeans.modules.xml.schema.model/1 [1.44.0.1]
>   org.netbeans.libs.osgi [1.34]
>   org.netbeans.api.visual [2.60]
>   org.netbeans.modules.options.api/1 [1.57]
>   org.netbeans.modules.java.kit [1.47]
>   org.netbeans.libs.javacapi [8.33.0.3]
>   org.netbeans.modules.tasklist.todo/1 [1.43.0.1]
>   org.eclipse.equinox.common [3.6.0]
>   org.netbeans.modules.editor.mimelookup/1 [1.52]
>   org.netbeans.lib.nbjavac [1.28.0.3.25]
>   org.netbeans.api.xml.ui/1 [1.56]
>   org.eclipse.core.net [1.2.100]
>   org.netbeans.modules.ant.kit [1.41]
>   org.netbeans.core.io.ui/1 [1.42]
>   org.netbeans.modules.java.j2sedeploy [1.24]
>   org.openide.actions [6.51]
>   org.netbeans.modules.javaee.injection [1.18]
>   org.netbeans.modules.maven.graph/1 [1.44]
>   org.netbeans.modules.java.hints.ui [1.30.0.1.13]
>   org.netbeans.modules.properties/1 [1.67]
>   com.google.gson [2.8.5]
>   org.netbeans.modules.terminal [1.39]
>   org.netbeans.modules.masterfs.ui [2.15.0.2]
>   org.apache.commons.logging [1.2]
>   org.netbeans.modules.javascript.v8debug.ui/1 [1.11.0.1]
>   org.netbeans.modules.masterfs.nio2 [1.27]
>   org.netbeans.modules.docker.api/0 [1.32]
>   org.netbeans.modules.defaults/1 [1.43]
>   org.netbeans.swing.plaf [1.54]
>   org.netbeans.modules.mylyn.util [1.48]
>   org.eclipse.mylyn.commons.repositories.core [1.9.0]
>   org.netbeans.modules.html.validation/1 [1.43]
>   org.netbeans.modules.spring.beans/0 [1.52.0.1]
>   org.netbeans.modules.editor.macros/0 [1.43.0.1.23]
>   org.netbeans.modules.terminal.nb [1.12]
>   org.netbeans.modules.profiler.options [1.31]
>   org.netbeans.libs.jaxb/1 [1.43]
>   org.eclipse.core.contenttype [3.4.100]
>   org.netbeans.libs.testng/1 [1.26]
>   org.netbeans.modules.spellchecker [1.47.0.1.7]
>   org.netbeans.modules.xml.multiview/1 [1.50.0.2]
>   org.netbeans.modules.gradle.spring [1.8]
>   org.netbeans.modules.maven.checkstyle [1.29]
>   org.netbeans.modules.team.commons [1.62]
>   org.netbeans.modules.gradle/2 [2.10]
>   org.netbeans.modules.javascript2.debug/1 [1.30]
>   org.netbeans.modules.extexecution.impl [1.37]
>   org.netbeans.modules.autoupdate.cli [1.25]
>   org.netbeans.modules.ant.browsetask [1.52]
>   org.netbeans.modules.java.hints.declarative/1 
> [1.32.0.1.17.1.13]
>   org.netbeans.modules.git [1.34.0.1]
>   org.netbeans.modules.bugzilla.exceptionreporter [1.36]
>   org.netbeans.modules.form/2 [1.69.0.4]
>   org.openide.filesystems.compat8 [9.21]
>   org.netbeans.lib.profiler.common/1 [1.59]
>   org.netbeans.modules.html.parser/1 [1.46.0.1]
>   org.netbeans.modules.j2ee.dd/1 [1.52.0.2]
>   org.netbeans.modules.hudson.git [1.30]
>   org.apache.xml.resolver [1.43.0.12]
>   org.netbeans.core.windows/2 [2.97]
>   org.eclipse.core.runtime [3.7.0]
>   org.netbeans.modules.css.visual/3 [3.44]
>   org.netbeans.libs.commons_net/2 [2.34.0.36]
>   org.netbeans.modules.css.lib/1 [1.95]
>   org.netbeans.modules.java.source.queries [1.30]
>   org.netbeans.modules.j2ee.eclipselinkmodelgen/1 [1.44]
>   com.googlecode.javaewah.JavaEWAH [1.1.6]
&g

[jira] [Closed] (NETBEANS-5944) I was trying to open a previous project and netbeans hanged

2022-05-19 Thread Jira


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

Matthias Bläsing closed NETBEANS-5944.
--
Resolution: Incomplete

> I was trying to open a previous project and netbeans hanged 
> 
>
> Key: NETBEANS-5944
> URL: https://issues.apache.org/jira/browse/NETBEANS-5944
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
>Reporter: Rivi Vig
>Priority: Major
>
> I was trying to open a previous project and NetBeans froze. It said that 
> there is a bug.
> 
>   2021-08-23T12:08:30
>   1629700710910
>   104
>   org.openide.util.RequestProcessor
>   1000
>   124
>   
> C:\Users\DEll\AppData\Roaming\NetBeans\12.4\var\log\heapdump.hprof
>   
>     java.lang.OutOfMemoryError: Java heap space
>   
> 
> 
>   2021-08-23T14:23:15
>   1629708795385
>   39
>   org.netbeans.ui
>   700
>   31
>   UI_ENABLED_MODULES
>   UI_ENABLED_MODULES
>   org.netbeans.modules.uihandler.Bundle
>   org.netbeans.modules.maven.profiler/1 [1.44]
>   org.netbeans.modules.xml.catalog.ui [2.15.0.4]
>   org.eclipse.mylyn.commons.xmlrpc [3.17.0]
>   org.netbeans.modules.autoupdate.ui [1.58]
>   org.netbeans.modules.java.j2seproject/1 [1.99.0.48]
>   org.netbeans.modules.refactoring.java/1 [1.73.0.1.25]
>   org.netbeans.modules.sampler [1.26]
>   org.apache.tools.ant.module/3 [3.96.0.2]
>   org.netbeans.swing.outline [1.46]
>   org.netbeans.modules.db.core [1.49]
>   org.netbeans.modules.xml.schema.model/1 [1.44.0.1]
>   org.netbeans.libs.osgi [1.34]
>   org.netbeans.api.visual [2.60]
>   org.netbeans.modules.options.api/1 [1.57]
>   org.netbeans.modules.java.kit [1.47]
>   org.netbeans.libs.javacapi [8.33.0.3]
>   org.netbeans.modules.tasklist.todo/1 [1.43.0.1]
>   org.eclipse.equinox.common [3.6.0]
>   org.netbeans.modules.editor.mimelookup/1 [1.52]
>   org.netbeans.lib.nbjavac [1.28.0.3.25]
>   org.netbeans.api.xml.ui/1 [1.56]
>   org.eclipse.core.net [1.2.100]
>   org.netbeans.modules.ant.kit [1.41]
>   org.netbeans.core.io.ui/1 [1.42]
>   org.netbeans.modules.java.j2sedeploy [1.24]
>   org.openide.actions [6.51]
>   org.netbeans.modules.javaee.injection [1.18]
>   org.netbeans.modules.maven.graph/1 [1.44]
>   org.netbeans.modules.java.hints.ui [1.30.0.1.13]
>   org.netbeans.modules.properties/1 [1.67]
>   com.google.gson [2.8.5]
>   org.netbeans.modules.terminal [1.39]
>   org.netbeans.modules.masterfs.ui [2.15.0.2]
>   org.apache.commons.logging [1.2]
>   org.netbeans.modules.javascript.v8debug.ui/1 [1.11.0.1]
>   org.netbeans.modules.masterfs.nio2 [1.27]
>   org.netbeans.modules.docker.api/0 [1.32]
>   org.netbeans.modules.defaults/1 [1.43]
>   org.netbeans.swing.plaf [1.54]
>   org.netbeans.modules.mylyn.util [1.48]
>   org.eclipse.mylyn.commons.repositories.core [1.9.0]
>   org.netbeans.modules.html.validation/1 [1.43]
>   org.netbeans.modules.spring.beans/0 [1.52.0.1]
>   org.netbeans.modules.editor.macros/0 [1.43.0.1.23]
>   org.netbeans.modules.terminal.nb [1.12]
>   org.netbeans.modules.profiler.options [1.31]
>   org.netbeans.libs.jaxb/1 [1.43]
>   org.eclipse.core.contenttype [3.4.100]
>   org.netbeans.libs.testng/1 [1.26]
>   org.netbeans.modules.spellchecker [1.47.0.1.7]
>   org.netbeans.modules.xml.multiview/1 [1.50.0.2]
>   org.netbeans.modules.gradle.spring [1.8]
>   org.netbeans.modules.maven.checkstyle [1.29]
>   org.netbeans.modules.team.commons [1.62]
>   org.netbeans.modules.gradle/2 [2.10]
>   org.netbeans.modules.javascript2.debug/1 [1.30]
>   org.netbeans.modules.extexecution.impl [1.37]
>   org.netbeans.modules.autoupdate.cli [1.25]
>   org.netbeans.modules.ant.browsetask [1.52]
>   org.netbeans.modules.java.hints.declarative/1 
> [1.32.0.1.17.1.13]
>   org.netbeans.modules.git [1.34.0.1]
>   org.netbeans.modules.bugzilla.exceptionreporter [1.36]
>   org.netbeans.modules.form/2 [1.69.0.4]
>   org.openide.filesystems.compat8 [9.21]
>   org.netbeans.lib.profiler.common/1 [1.59]
>   org.netbeans.modules.html.parser/1 [1.46.0.1]
>   org.netbeans.modules.j2ee.dd/1 [1.52.0.2]
>   org.netbeans.modules.hudson.git [1.30]
>   org.apache.xml.resolver [1.43.0.12]
>   org.netbeans.core.windows/2 [2.97]
>   org.eclipse.core.runtime [3.7.0]
>   org.netbeans.modules.css.visual/3 [3.44]
>   org.netbeans.libs.commons_net/2 [2.34.0.36]
>   org.netbeans.modules.css.lib/1 [1.95]
>   org.netbeans.modules.java.source.queries [1.30]
>   org.netbeans.modules.j2ee.eclipselinkmodelgen/1 [1.44]
>   com.googlecode.javaewah.JavaEWAH [1.1.6]
>   o

[jira] [Resolved] (NETBEANS-6319) Editor flags javascript error on "return import(varname);"

2022-05-19 Thread Jira


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

Matthias Bläsing resolved NETBEANS-6319.

Resolution: Duplicate

> Editor flags javascript error on "return import(varname);"
> --
>
> Key: NETBEANS-6319
> URL: https://issues.apache.org/jira/browse/NETBEANS-6319
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.6
> Environment: Ubuntu 20.04.3
> NetBeans 12.6
>Reporter: Jack J. Woehr
>Priority: Major
>
> Editor flags 
> {noformat}
>  return import(filepath);{noformat}
> as an error in babel/core/lib/config/files/import .js
> "Expected an operand but found import"
>  
> {code:javascript}
> "use strict";
> Object.defineProperty(exports, "__esModule", {
>   value: true
> });
> exports.default = import_;
> function import_(filepath) {
>   return import(filepath);
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-4614) Javascript dynamic import shows as error in editor but executes fine in browser

2022-05-19 Thread Jira


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

Matthias Bläsing resolved NETBEANS-4614.

Resolution: Duplicate

> Javascript dynamic import shows as error in editor but executes fine in 
> browser
> ---
>
> Key: NETBEANS-4614
> URL: https://issues.apache.org/jira/browse/NETBEANS-4614
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.0, 12.4, 12.5
> Environment: Windows 10
> Java 13
> Chrome Version 84.0.4147.89 (Official Build) (64-bit)
>Reporter: Graham Smith
>Priority: Critical
>  Labels: javascript, netbeans, netbeans-12
>
> Javascript dynamic import  shows error on "_*import*_" statement yet runs 
> fine in Chrome browser
> Possible duplication of NETBEANS-4597 - not sure
> Documentation reference to MDN is 
> [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import]
> Netbeans Project properties - JavaScript - ECMAScript set to 7 and then to 6 
> - no effect.
>  Script source code:
>  async function importTest()
> { const \\{ WebSockets }
> = await {color:#de350b}import{color}('./app/WebSockets.js');
> }



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-4597) JavaScript import() command shows up as an error in the IDE.

2022-05-19 Thread Jira


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

Matthias Bläsing closed NETBEANS-4597.
--
Resolution: Resolved

Syntax for dynamic import was implemented in the parser and will be released 
with NB14.

https://github.com/apache/netbeans/pull/3599

> JavaScript import() command shows up as an error in the IDE.
> 
>
> Key: NETBEANS-4597
> URL: https://issues.apache.org/jira/browse/NETBEANS-4597
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.0
> Environment: Windows
>Reporter: Nghia Nguyen
>Priority: Minor
>  Labels: errorTip
> Attachments: image-2020-07-17-13-49-47-750.png
>
>
> The following command in JavaScript shows up as an error in the IDE even 
> though it is valid:
>  
> !image-2020-07-17-13-49-47-750.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5418) Extension fails to launch with netbeans.jdkhome set to JDK 16

2022-05-19 Thread Anthony Vanelverdinghe (Jira)


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

Anthony Vanelverdinghe closed NETBEANS-5418.

Resolution: Fixed

> Extension fails to launch with netbeans.jdkhome set to JDK 16
> -
>
> Key: NETBEANS-5418
> URL: https://issues.apache.org/jira/browse/NETBEANS-5418
> Project: NetBeans
>  Issue Type: Bug
>  Components: vscode
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>
> The stack trace is as below:
> {noformat}
> java.lang.NullPointerException: Cannot invoke "java.net.URL.toURI()" because 
> the return value of 
> "org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateCenterURL()"
>  is null
>   at 
> org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:165)
>   at 
> org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:120)
>   at 
> org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:150)
>   at 
> org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:118)
>   at 
> org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.(UpdateManagerImpl.java:267)
>   at 
> org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:227)
>   at 
> org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:186)
>   at 
> org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:67)
>   at 
> org.netbeans.modules.autoupdate.cli.ModuleOptions.listAllModules(ModuleOptions.java:138)
>   at 
> org.netbeans.modules.autoupdate.cli.ModuleOptions.process(ModuleOptions.java:167)
>   at org.netbeans.spi.sendopts.Option$1.process(Option.java:362)
>   at org.netbeans.api.sendopts.CommandLine.process(CommandLine.java:336)
>   at 
> org.netbeans.modules.sendopts.HandlerImpl.execute(HandlerImpl.java:37)
>   at org.netbeans.modules.sendopts.Handler.cli(Handler.java:44)
>   at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:209)
>   at org.netbeans.core.startup.CLICoreBridge.cli(CLICoreBridge.java:57)
>   at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:209)
>   at org.netbeans.CLIHandler$1.exec(CLIHandler.java:243)
>   at org.netbeans.CLIHandler.finishInitialization(CLIHandler.java:423)
>   at org.netbeans.MainImpl.finishInitialization(MainImpl.java:231)
>   at org.netbeans.Main.finishInitialization(Main.java:67)
>   at org.netbeans.core.startup.Main.start(Main.java:291)
>   at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
>   at java.base/java.lang.Thread.run(Thread.java:831)
> {noformat}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5402) Don't create .LCKFoo.java~ files

2022-05-19 Thread Anthony Vanelverdinghe (Jira)


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

Anthony Vanelverdinghe closed NETBEANS-5402.

Resolution: Fixed

> Don't create .LCKFoo.java~ files
> 
>
> Key: NETBEANS-5402
> URL: https://issues.apache.org/jira/browse/NETBEANS-5402
> Project: NetBeans
>  Issue Type: Bug
>  Components: vscode
> Environment: Windows 10
>Reporter: Anthony Vanelverdinghe
>Priority: Major
> Attachments: image-2021-03-03-18-04-03-520.png
>
>
> To reproduce, simply open a Java source file.
> I don't know what the purpose of these is (some kind of locking, I assume), 
> but on Windows, files aren't hidden just because they start with a dot, so 
> this looks messy.
> Even if they'd be hidden properly, I'd still consider it problematic that my 
> IDE creates non-Java "helper" files under src/main/java.
> !image-2021-03-03-18-04-03-520.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6115) UTF-8 input is broken in Maven project

2022-05-17 Thread Michael Bien (Jira)


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

Michael Bien closed NETBEANS-6115.
--
Fix Version/s: 12.6
   Resolution: Fixed

i believe this was fixed in 12.6 via the linked PR as far as i remember.

> UTF-8 input is broken in Maven project
> --
>
> Key: NETBEANS-6115
> URL: https://issues.apache.org/jira/browse/NETBEANS-6115
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 12.3, 12.4, 12.5
> Environment: Linux Manjaro
> Netbeans 12.5 (but the same problem is in earlier versions too)
> Maven 3.8.2
> Java - tried with 8,14,17 
>  
>Reporter: Vladimir Machat
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.6
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Trying to get user input containing 'special characters' like ščřžýáíé 
> doesn't work in Maven project:
>  
> {code:java}
> Scanner sc = new Scanner(System.in, "UTF-8");
> System.out.println("Enter text: ");
> String text = sc.nextLine();
> System.out.println("You have entered: " + text);
>  
> {code}
>  
>  
> In Netbeans this code will fail printing what you entered if you enter 
> something like 'český, řeka etc...' but works ok with any input not 
> containing these characters
> Same code works in an Ant project without any problems.
> It also works on command line by copying and pasting the command from 
> Netbeans output window (and replacing the double quotes with single quotes). 
> Example:
> {code:java}
> cd /home/atrament/Nextcloud/Projects/java/InputTestMaven; 
> JAVA_HOME=/opt/java/jdk-14.0.1+7-hotspot M2_HOME=/opt/maven 
> /opt/maven/bin/mvn -Dexec.vmArgs= "-Dexec.args=${exec.vmArgs} -classpath 
> %classpath ${exec.mainClass} ${exec.appArgs}" -Dexec.appArgs= 
> -Dexec.mainClass=net.atramentovo.inputtestmaven.Main 
> -Dexec.executable=/opt/java/jdk-14.0.1+7-hotspot/bin/java 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:3.0.0:exec
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> Scanning for projects...---< net.atramentovo:InputTestMaven 
> >---
> Building InputTestMaven 0.1
> [ jar ] 
> exec-maven-plugin:3.0.0:exec (default-cli) @ InputTestMaven ---
> Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> Enter text: 
> Řeka šuměla skalnatým údolím
> You have entered: Xeka aumla skalnat�m �dol�m
> 
> BUILD SUCCESS
> ----
> Total time:  2.682 s
> Finished at: 2021-10-10T19:55:24+01:00
> 
> {code}
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6502) How Do We Check Our RTA Card Balance Online?

2022-05-17 Thread Kamran Habib (Jira)
Kamran Habib created NETBEANS-6502:
--

 Summary: How Do We Check Our RTA Card Balance Online?
 Key: NETBEANS-6502
 URL: https://issues.apache.org/jira/browse/NETBEANS-6502
 Project: NetBeans
  Issue Type: Bug
Reporter: Kamran Habib


 

How do we check our RTA card balance online? In this article, we'll discuss the 
NFC technology, how to check a balance, how to add cash to your RTA nol card, 
and how to dispute a fine on your card. Then, we'll take a look at a few other 
features of this popular prepaid card. The [RTA card balance check 
online|https://wasila.ae/check-nol-card-balance-online/] is the perfect way to 
make purchases anywhere cash is not readily available.
h2.  
h2. *NFC technology*

A new update for the RTA card will use Near Field Connectivity (NFC) 
technology. This technology is designed to allow RTA cardholders to update 
their NOL cards from their smart phones. NFC is a new form of wireless 
technology, and is a great way to get your card balance online, in real time. 
The NFC technology is available on Android devices and will allow you to tap 
your NOL card to your smart phone.

Once you've downloaded the app and logged in to your RTA account, you can use 
it to check the balance of your Nol Card. All you need to do is enter your NOL 
card number, tag ID, and captcha to verify your identity. The application will 
then display the amount of your balance and your Nol card history. You can also 
use this application to find out your Nol card balance history and make any 
necessary changes.

 
h2. *Top-up options*

RTA provides a number of different top-up options for its card, and the 
official website of the government-owned bus and train operator features a 
check-nol option for RTA card balance. You can also check your card balance 
through mobile by using the RTA mobile application. To check the balance of 
your RTA card on your mobile device, all you need to do is open the app and 
sign in with your account number and security code. After entering the 
necessary details, the balance of your nol card will be displayed.

You can also top up your RTA card via the nearest Near Field connectivity 
option. This service is available on IOS and Android smartphones. It allows you 
to use your phone as a nol card and perform functions such as checking your nol 
balance, checking your last transaction, and more. Top-ups to your RTA card can 
be made online through the RTA website or through a credit or debit card. For 
unregistered users, the top-up limit is 1000 AED. For registered users, it is 
5,000 AED.

 
h2. *Cashback on purchases*

The Nol app is available for Android and iOS devices and is free to download. 
Once downloaded, the user must sign in using a username and password to access 
the Cashback on purchases feature. The app's menu is located at the top left 
corner and includes three horizontal lines. Once logged in, the user can view 
their account balance. Alternatively, they can go directly to their account to 
check their balance.

To earn cashback points, the cardholder must spend a certain amount in a 
certain period of time. The minimum spend will vary with each card, and it is 
crucial to meet these requirements to receive the cashback. There are also 
upper limits that apply to cashback, which must be understood before you can 
redeem it. Some cashbacks have expiration dates, so it's important to keep 
track of these so that you're not left out in the cold.

 
h2. *Dispute a fine on the RTA nol card*

If you received a fine from the RTA, there are several ways to dispute the 
amount. First, you need to show proof that the fine is not yours. This means 
that the offending driver must be present. Next, you should make sure that you 
have enough money to pay the fine. Dispute the fine online within 30 days of 
receiving it. If you received the fine because of a citation, you can request a 
hearing before the RTA to have the fine thrown out.

The contest structure works similarly for other types of fines, including those 
on RTA public transports. To file a dispute, you will need to provide the fine 
number, your NOL card number, and the documents that you've attached to it. You 
should remember that a fine on an open vehicle in Dubai must be paid within 30 
days. If you're unable to pay the fine, you must request a hearing.

Visit the site [WASILA|https://wasila.ae/] to see more information.

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6501) Netbeans 12.6 -> 13.0 hangs on C/C++ parsing (Seen on Linux version)

2022-05-16 Thread Nathan Hilderman (Jira)
Nathan Hilderman created NETBEANS-6501:
--

 Summary: Netbeans 12.6 -> 13.0 hangs on C/C++ parsing (Seen on 
Linux version)
 Key: NETBEANS-6501
 URL: https://issues.apache.org/jira/browse/NETBEANS-6501
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Parsing  Indexing
Affects Versions: 12.6, 13
 Environment: Updates: NetBeans IDE is updated to version NetBeans 8.2 
Patch 2
Java: 1.8.0_322; OpenJDK 64-Bit Server VM 25.322-b06
Runtime: OpenJDK Runtime Environment 1.8.0_322-b06
System: Linux version 5.4.17-2136.305.5.5.el7uek.x86_64 running on amd64; 
UTF-8; en_US (nb)
Reporter: Nathan Hilderman


Note that 12.5 is solid. Starting from 12.6 using Netbeans 8.2 plugin for C/C++ 
development, parsing large projects hangs Netbeans IDE

 

Please reply with what to attach to this Jira.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6382) String Variables longer 100000 Characters are shown as in Debug

2022-05-16 Thread Jira


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

Hrotkó Gábor commented on NETBEANS-6382:


Created as a bugreport on github:

https://github.com/apache/netbeans/issues/4123

> String Variables longer 10 Characters are shown as  in Debug
> 
>
> Key: NETBEANS-6382
> URL: https://issues.apache.org/jira/browse/NETBEANS-6382
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Reporter: Wolfgang Kockwelp
>Priority: Major
>
> String Variables longer 10 Characters are shown in Debugger as 
> 
> instead of its content.
> Tested with Netbeans 12.0 and 12.6 with Amazon Corretto open-jdk11.0.12_7 64 
> Bit and
> Amazon Corretto open-jdk15.0.2_7 64 Bit and Oracle JDK 11.0.2
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6500) Can we renew the old ESA letter? - 2022 Guide

2022-05-15 Thread David Andrew (Jira)
David Andrew created NETBEANS-6500:
--

 Summary: Can we renew the old ESA letter? - 2022 Guide
 Key: NETBEANS-6500
 URL: https://issues.apache.org/jira/browse/NETBEANS-6500
 Project: NetBeans
  Issue Type: Task
Reporter: David Andrew


A pet is a source of immense support and care for the owner. It also brings 
endless joy to the life of those who own them. They can melt the heart of 
anyone and provide unimaginable unconditional love. Owing to their highly 
lovable nature, healthcare professionals recommend them to their patients for 
emotional support. This requires the issuance of an emotional support animal 
letter from a certified professional. The benefits of these ESA animals, be it 
an [emotional support animal letter|https://myesaletter.net/]{*},{*} cat, 
rabbit, rat, horse, peacock, or any other animal, have been backed by numerous 
research studies.

 

!https://usserviceanimals.org/blog/wp-content/uploads/2019/08/Service-Dog-Laws-Virginia.png|width=600,height=337!

 

The ESA animal is not just a pet but a companion that is there to help the 
owner with certain mental disabilities. The animals, when used as ESAs, are not 
the only source of mental and emotional support but also serve as best guards 
and companions, protecting and guarding their owners all the time.

 

The animals who serve as ESA animals after being issued the letter, have been 
proven to help the owners boost their mental health. Some of the advantages of 
the pets, related to the mental health of the owner, are given below:

 
 #     They help remove stress and anxiety.
 #     They provide help and support in mental trauma.
 #     They help reduce symptoms related to depression.
 #     They help develop a sense of purpose.
 #     They provide relaxation through touch. 

 

ESAs are different from pets because they are given special rights under 
federal laws. The two acts that protect the rights of ESAs are the Fair Housing 
Act and the Air Carrier Access Act. The first act allows the ESAs to live with 
their owners in their houses. They are even allowed to reside in places where 
the landlord or the housing society rules do not permit a pet. In such cases, 
an [esa letter for housing|https://www.realesaletter.com/sample-esa-letter] 
proves beneficial. It allows people with mental health disorders to keep ESAs 
at their residences.

 

Moreover, the second act named above makes it permissible for the ESAs to 
accompany their owners when they are traveling through the airplanes. 
Airplanes, airlines, and airports do not allow passengers to bring their pets. 
But all hail to the ESA letters, that ESAs are even given special entry there 
too.

 

An ESA owner enjoys all these privileges and rights if he or she has a legit 
emotional support animal letter. The [ESA Letter|https://myesaletter.net/] is 
written by a licensed psychologist, therapist, or mental health specialist who 
examines the mental health status of the person applying for the ESA. 

 

If the therapist finds the person qualified for the ESA, then he or she writes 
this recommendation letter, and then this letter is the key to enjoy all the 
legal benefits of the ESAs.

 

Many ESA owners often get confused regarding the laws and regulations of the 
ESAs and the exceptions to these laws. One of the most commonly confusing 
things about ESAs is the expiry of the ESA letters and the method that needs to 
be followed to renew these letters.

 

The answer to the question of whether an ESA recommendation letter expires or 
not is technically both yes and no. For housing, generally, the letter does not 
need to be renewed; however, for travel laws, the letter needs to be renewed 
after one year. Hence, as a rule of thumb, it is recommended that one must 
renew his or her letter after one year. This rule shall be followed in order to 
avoid any embarrassment and inconvenience in the future.

 

First, you must ensure that the basics of the ESAs are met and get a valid ESA 
letter. A legit letter is one written by a certified mental health professional 
on his or her letterhead. This letter must contain the date of issuance, 
license number, contact information and signatures of a healthcare 
professional, and the identification number of ESA.

 

Some of the laws require the letters to be renewed and some of them do not. 
However, it is better to get them renewed for the following reasons:

 
 * A landlord may deny entry to ESA if the letter is too old or outdated.
 * The landlord may ask for additional charges if the letter is not a recent 
one.
 * Airlines have the right to deny ESAs entry if the letter is more than one 
year old.
 * The mental health expert also will not re-verify an outdated ESA letter.

 

Hence, because of these scenarios, it is suggested that you must renew your ESA 
recommendation letter annually.

 

If you are now looking for how

[jira] [Created] (NETBEANS-6499) Can we renew the old ESA letter? -

2022-05-15 Thread David Andrew (Jira)
David Andrew created NETBEANS-6499:
--

 Summary: Can we renew the old ESA letter? - 
 Key: NETBEANS-6499
 URL: https://issues.apache.org/jira/browse/NETBEANS-6499
 Project: NetBeans
  Issue Type: Task
Reporter: David Andrew






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6498) Can we keep our ESA after healing from mental illness?

2022-05-15 Thread David Andrew (Jira)
David Andrew created NETBEANS-6498:
--

 Summary: Can we keep our ESA after healing from mental illness?
 Key: NETBEANS-6498
 URL: https://issues.apache.org/jira/browse/NETBEANS-6498
 Project: NetBeans
  Issue Type: Task
Reporter: David Andrew


A person who is qualified for an ESA needs to have an [ESA 
letter|https://www.realesaletter.com/sample-esa-letter]. This letter needs to 
be renewed and one cannot own an ESA pet without this letter. This letter is 
required during traveling and other instances where the owner of the ESA pet 
takes it along with him. The letter ensures that the person who has the ESA is 
the authentic and genuine owner of the pet. Without an official legitimate ESA 
letter, one cannot own an ESA pet. The approved letter for an ESA is only 
provided after getting checked by an ESA doctor and verified legally. 

 

!https://octanecdn.com/forevervetscom/ForeverVets.com-Blog-Image-Can-Your-Dog-Be-An-Emotional-Support-Animal-June-2020.jpg|width=600,height=408!

 

An ESA pet is trained for people who are suffering from any mental illness. 
These pets are given to such people who want to overcome a certain mental 
illness. This is because these pets are given training and practices which make 
them provide emotional support to their owners. There are numerous people who 
have got rid of different mental illnesses after keeping an ESA. There is 
tremendous positive feedback regarding the benefits of ESA pets. 

 

To attain the custody of an ESA pet, there are few steps a person needs to 
fulfill. To have an ESA as a pet, it is important to show a report regarding 
the mental illness a person is having. This is because ESA pets are specially 
trained for people who have any mental illness; they are not provided to other 
healthy people. A person who is not suffering from any mental illness cannot 
apply for an ESA pet. This is because approval from a licensed healthcare 
professional is important. Without their approval, one cannot apply for an ESA. 

 

To keep the ESA at home, a person should also have formal approval from senior 
authorities and the landlord. An [esa letter for 
housing|https://myesaletter.net/] is a document that entails an agreement 
between the landlord and the owner of the pet regarding the accommodation of an 
ESA. It is important to have this document before keeping the pet because 
without this, the owner of the pet has no right to keep the pet in the house. 

 

The emotional support animal letter needs to be renewed when it expires. If the 
person is suffering from a mental illness, then the doctor immediately 
recommends him for an ESA. However, if he is getting better, then he is 
examined, and based on the results, his status regarding the demand of the ESA 
is specified. An ESA has remained beneficial for numerous people, due to which 
people have widely recovered after having an ESA as a pet. 

 

There are a few people who have this question regarding whether they can keep 
their ESA after completely recovering from any mental illness or not. An ESA is 
only given to a person who has a legitimate letter given by a physician. This 
letter is only verified when a licensed healthcare professional specifies their 
mental health illness and recommends them to have an ESA.  This is because 
these pets are only trained to provide service and assistance to people who 
need them. Moreover, due to the training cost and other expenses, it is not 
easy to train many ESAs at once. Therefore, a person who has completely healed 
from any mental illness cannot keep an ESA. 

 

If a person has healed from any mental illness but still feels incomplete 
without the support of the ESA, they can file a request. They can talk to their 
therapist regarding his issue and ask them to recommend an ESA. The therapist 
has to then examine them and based on their examination, they can demonstrate 
how strongly they need an ESA. The doctor can also request an ESA by predicting 
the patient’s health. For this, the client has to specify the reason due to 
which they require an ESA. The doctor then needs to note and illustrate all 
these reasons. This is important because through this, the doctor might observe 
the patient’s concerns. 

 

Once a person has been cured but he still wants an ESA due to a valid reason, 
it is then the choice of the physician whether to accept his request or not. If 
they do not have an ESA available, they can reject the status. The physician 
normally does not accept the request of people who have no mental illness. 
However, they would consider the application of the person who has previously 
recovered from mental illness due to an ESA. 

 

An [emotional support animal 
letter|https://www.realesaletter.com/sample-esa-letter] can only be attained 
after being evaluated by a licensed healthcare professional. However, to keep 
an ESA at home

[jira] [Assigned] (NETBEANS-4260) Add a description for "The nb-javac Java editing support library"

2022-05-12 Thread elmer epogon (Jira)


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

elmer epogon reassigned NETBEANS-4260:
--

Assignee: elmer epogon

> Add a description for "The nb-javac Java editing support library"
> -
>
> Key: NETBEANS-4260
> URL: https://issues.apache.org/jira/browse/NETBEANS-4260
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Compiler
>Affects Versions: 12.0
>Reporter: Anthony Vanelverdinghe
>Assignee: elmer epogon
>Priority: Major
> Attachments: image-2020-04-27-18-11-19-724.png
>
>
> Explain what it is, if it's recommended to install it and why, ... new users 
> have absolutely no idea about what to do with it.
> !image-2020-04-27-18-11-19-724.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-4260) Add a description for "The nb-javac Java editing support library"

2022-05-12 Thread Anonymous (Jira)


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

Anonymous reassigned NETBEANS-4260:
---

Assignee: (was: Natalie Bourgeois)

> Add a description for "The nb-javac Java editing support library"
> -
>
> Key: NETBEANS-4260
> URL: https://issues.apache.org/jira/browse/NETBEANS-4260
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Compiler
>Affects Versions: 12.0
>Reporter: Anthony Vanelverdinghe
>Priority: Major
> Attachments: image-2020-04-27-18-11-19-724.png
>
>
> Explain what it is, if it's recommended to install it and why, ... new users 
> have absolutely no idea about what to do with it.
> !image-2020-04-27-18-11-19-724.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-4260) Add a description for "The nb-javac Java editing support library"

2022-05-12 Thread Anonymous (Jira)


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

Anonymous reassigned NETBEANS-4260:
---

Assignee: Natalie Bourgeois

> Add a description for "The nb-javac Java editing support library"
> -
>
> Key: NETBEANS-4260
> URL: https://issues.apache.org/jira/browse/NETBEANS-4260
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Compiler
>Affects Versions: 12.0
>Reporter: Anthony Vanelverdinghe
>Assignee: Natalie Bourgeois
>Priority: Major
> Attachments: image-2020-04-27-18-11-19-724.png
>
>
> Explain what it is, if it's recommended to install it and why, ... new users 
> have absolutely no idea about what to do with it.
> !image-2020-04-27-18-11-19-724.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6470) How to Check Your RTA Card Balance Online.

2022-05-11 Thread Omar Habib (Jira)


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

Omar Habib updated NETBEANS-6470:
-
Description: 
h1.  

To check your RTA card balance online, you must visit the official website of 
[RTA card balance check 
online|https://wasila.ae/check-nol-card-balance-online/]. Click on the Check 
Nol Balance button. Next, you must enter the numbers on the back of your Nol 
card in the space provided on the site. Once you have entered the numbers 
correctly, the balance of your Nol card will appear on the search screen. 
Alternatively, if you have the Main RTA app installed on your smartphone, you 
can sign in as a guest.

 
h2. NOL card

If you have an RTA card, you can check the balance online via the official 
website. To do this, you can click on the 'Check Nol Balance' link on the RTA 
website. Then, simply enter the number or security code on the back of the card 
into the space provided. Once you have done this, your nol card balance will be 
displayed on the screen. You can also sign in to the main RTA app, if you 
haven't already done so.

The NOL card is the most common way to pay for public transportation in Dubai. 
It is a convenient way to pay for transit and it is also free. Remember, 
however, that the NOL card must be tapped into the machine to use it. If you do 
not, you will be fined 200 AED. To avoid this, make sure to keep the card in a 
safe place and never forget to check the balance before you enter a train 
station.

 
h2. Tapp Pay card

In order to use your Tapp Pay card to pay for your transit rides, you must 
first load funds onto it. You can do this at a Tapp Pay Hub, the payment kiosks 
found at RTA transit centers, and at partner sales outlets. Then, when you 
ride, simply tap your mobile phone on the payment reader or scan the barcode 
with a scanner. Once the payment reader detects your Tapp Pay card, the cost of 
your ride will be deducted from your account. For eligible reduced fare 
customers, you can load your card with unlimited free rides.

If you are a student, senior, or disabled rider, you are automatically enrolled 
in TAP's Balance Protection Program. Whenever you lose or misplace your TAP 
card, you can report it to TAP Regional Services and they will restore the 
value of your card. However, this program does have a three-day waiting period 
before you can claim your money. To make sure your money is safe and secure, 
use the online method of Tapp Pay card balance check to see if you have any 
remaining funds.

 
h2. Silver card

There are three ways that RTA card holders can check their card balance online. 
You can use the RTA website or their mobile application. First, locate your NOL 
card number. This number is located on the back of your card. Next, find the 
card's security code. Once you know your security code, all you need to do is 
enter it into the check form and click submit. Your card's balance will appear 
at the bottom of the page.

If you don't have your card, you can still use it. Often, parking machines will 
display a message to apply for a new card. Most people, though, will continue 
to use their cards until they run out of credit. However, they will no longer 
top up their cards after they have expired. This will cause you to pay a higher 
fee than usual. Therefore, you should check your balance online to avoid 
running out of credits.

 
h2. Website

If you want to know your Nol card balance online, there are two main ways to do 
it. The first is to visit RTA's official website. After signing up, click on 
the "Check Nol Balance" button. Then, enter the numbers on the back of your Nol 
card into the designated space on the website. Once you enter those numbers, 
the balance will show up on the search screen. You can also log in to the main 
RTA app if you haven't already done so. Lastly, you can also choose to use a 
guest sign-in option.

In addition to the traditional methods, you can also use the Internet to check 
your Nol card balance. The RTA website has a special page that allows you to 
check the balance on your card, so you can use it anytime and anywhere. You can 
even top up your card online to take advantage of special offers and deals. 
Just be sure to remember to enter the right nol card ID to ensure you're using 
the correct account number.

 
h2. App

To check your RTA card balance, you can go to the official website of the 
railways and tap the Check NOL balance button. If you have a Nol card, you can 
input the numbers on its back into the corresponding fields on the website. You 
can also sign up for the main RTA app and login using the Guest sign-in option. 
After signing up, you will be presented with a list of your available tickets.

You can also download the RTA app on your smartphone. To get started, open the 
app and choose the option to check your NOL card balance. Select the guest 
option 

[jira] [Assigned] (NETBEANS-5891) C/C++ plugin installation

2022-05-08 Thread Anonymous (Jira)


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

Anonymous reassigned NETBEANS-5891:
---

Assignee: (was: a)

> C/C++ plugin installation
> -
>
> Key: NETBEANS-5891
> URL: https://issues.apache.org/jira/browse/NETBEANS-5891
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 12.4
>Reporter: Harshavardhan
>Priority: Blocker
>  Labels: beginner
> Attachments: Screenshot 2021-07-31 080401.png
>
>
> When i try to install plugin C \ C++ after downloading the 19mb it shows an 
> error message like
> Cannot complete the validation of downloaded plugins
> The validation of downloaded plugins cannot be completed, cause: NBM 
> C:\Users\harsh\AppData\Roaming\NetBeans\12.4\update\download\org-netbeans-modules-cnd-kit.nbm
>  needs unpack200 to process following entries: 
> netbeans/modules/locale/org-netbeans-modules-cnd-kit_ja.jar.pack.gz
> netbeans/modules/locale/org-netbeans-modules-cnd-kit_pt_BR.jar.pack.gz
> netbeans/modules/locale/org-netbeans-modules-cnd-kit_ru.jar.pack.gz
> netbeans/modules/locale/org-netbeans-modules-cnd-kit_zh_CN.jar.pack.gz
> netbeans/modules/org-netbeans-modules-cnd-kit.jar.pack.gz



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-1538) NetBeans installer Not locating Java properly

2022-05-06 Thread Joey Barnes (Jira)


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

Joey Barnes commented on NETBEANS-1538:
---

Can you put the NetBeans in a coffee grinder?

*[Free V Bucks|https://freevbucks.z19.web.core.windows.net/]*

> NetBeans installer Not locating Java properly
> -
>
> Key: NETBEANS-1538
> URL: https://issues.apache.org/jira/browse/NETBEANS-1538
> Project: NetBeans
>  Issue Type: Bug
>Reporter: martha
>Priority: Trivial
> Fix For: 10.0
>
>
> I'm trying to install the NetBeans "all" package, and, I'm pretty sure I 
> already have Java SE Development Kit installed, however, it's not locating it 
> properly, it comes with an error.
>  {{Java SE Development Kit (JDK) was not found on this 
> computer[!https://issues.apache.org/jira/images/icons/emoticons/sad.png!|https://www.essayhave.com/essay-writing-service.html]}}
>  So I ran the CMD and typed:
>  {{netbeans-7.1.3-windows.exe --javahome "C:\Program Files\Java\jdk1.7.0_25"}}
>  As I checked, I was in the right directory (E:\Mark\Downloads) where the 
> setup file of netbeans is supposed to be. After pressing ENTER, it did locate 
> JDK, however it would not locate JRE and came up with this error.
>  {{Java Runtime Environment (JRE) was not found There is no JRE at the 
> specified location C:\Program Files\Java\jdk1.7.0_25}}
>  So I tried installing the JDK+NetBeans Bundle by Oracle [x86 (32-bit) for 
> Windows (I'm running a 32-bit Windows XP SP3 so it should have worked)] but 
> it says that it's not compatible with my current platform. I also tried 
> --jdkhome but it didn't seem to work at all. Please, this has been going on 
> for two days.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6411) Add javadoc for JDK 19 early access

2022-05-05 Thread Jira


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

José Contreras closed NETBEANS-6411.

Resolution: Implemented

> Add javadoc for JDK 19 early access
> ---
>
> Key: NETBEANS-6411
> URL: https://issues.apache.org/jira/browse/NETBEANS-6411
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Javadoc
>Affects Versions: 12.6, 13
>Reporter: José Contreras
>Assignee: José Contreras
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Add javadoc for JDK 19 early access:
> [https://download.java.net/java/early_access/jdk19/docs/api/|https://download.java.net/java/early_access/jdk18/docs/api/]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-4665) Upgrade Bouncy Castle from 1.68 to 1.70

2022-05-05 Thread Jira


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

José Contreras closed NETBEANS-4665.

Resolution: Implemented

> Upgrade Bouncy Castle from 1.68 to 1.70
> ---
>
> Key: NETBEANS-4665
> URL: https://issues.apache.org/jira/browse/NETBEANS-4665
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Libraries
>Affects Versions: 13
>Reporter: José Contreras
>Assignee: José Contreras
>Priority: Minor
>  Labels: bcpg, bcprov, pull-request-available
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Library Notes:
> * Many bug fixes and improvements
> NetBeans Notes:
> * Upgrade bcprov, bcpg and bcpkix
> * Add a new module ide/bcutil due to a refactoring in version 1.69
> * Remove entry in ignored-overlaps file
> [Web Page|https://bouncycastle.org/latest_releases.html]
> [Releases Notes|https://bouncycastle.org/releasenotes.html]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-2768) Graph visualization of git history (git log)

2022-05-04 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2768:
--

Hey [~ondro] thx for your interest and your PR. I merged it couple of minutes 
ago :). I know it is just laggy, I just added that, what already was available. 
So it seems that there needs to be more work to make it stable and fun to use. 
It is also not that performant at first use. So if you know some more, feel 
free to help me make it better :).

 

I just look for git repo from the project root so yes this needs to be fixed 
and I think this is already possible.

 

As I wrote about this plugin, a friend of mine said: You can already 
overrite/add stuff to swing, even if you don't have the full code. My knowledge 
of swing is limited so I dunno whether this is correct or not. So that means I 
can call somehow the table and extends it with a new column or remove one if I 
don't need it, right?

> Graph visualization of git history (git log)
> 
>
> Key: NETBEANS-2768
> URL: https://issues.apache.org/jira/browse/NETBEANS-2768
> Project: NetBeans
>  Issue Type: New Feature
>  Components: versioncontrol - Git
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: git, plugin
>
> As already written in the original ticket (see the linked ticket), this is 
> one of a feature which is long wanted to have it inside NetBeans. NetBeans 
> needs to visualize git log as Eclipse is doing and IntelliJ. The discussion 
> was about to implement the simple solution of nbgit, don't know whether we 
> have license problems or whatever, why this wasn't implemented ever, because 
> a patch draft is already there.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-03 Thread Jira


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

Ádám Turcsán edited comment on NETBEANS-5599 at 5/3/22 8:18 AM:


[~junichi11] An issue is created here: 
[https://github.com/apache/netbeans/issues/4066|https://github.com/apache/netbeans/issues/4066]


was (Author: lwjunior):
[~junichi11] An issue is created here: 
[https://github.com/apache/netbeans/issues/4066|http://example.com/]

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5599:


[~LWjuniOr] Great. Thank you!

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-2768) Graph visualization of git history (git log)

2022-05-03 Thread Jira


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

Ondrej Mihályi commented on NETBEANS-2768:
--

Thanks, [~chrizzly] . I've tried to use it, it's nice although it doesn't work 
for all my projects, it looks like it only works on projects that are in a git 
repository root. If a project is in a directory in a git repository, the Git 
log view is blank, it can't find the repository in parent directories .

I've raised a PR to clean up the dependencies to fix the build on Java 11 and 
shrink the built npm: [https://github.com/Chris2011/gitlogbeans/pull/1.]

> Graph visualization of git history (git log)
> 
>
> Key: NETBEANS-2768
> URL: https://issues.apache.org/jira/browse/NETBEANS-2768
> Project: NetBeans
>  Issue Type: New Feature
>  Components: versioncontrol - Git
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: git, plugin
>
> As already written in the original ticket (see the linked ticket), this is 
> one of a feature which is long wanted to have it inside NetBeans. NetBeans 
> needs to visualize git log as Eclipse is doing and IntelliJ. The discussion 
> was about to implement the simple solution of nbgit, don't know whether we 
> have license problems or whatever, why this wasn't implemented ever, because 
> a patch draft is already there.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-03 Thread Jira


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

Ádám Turcsán commented on NETBEANS-5599:


[~junichi11] An issue is created here: 
[https://github.com/apache/netbeans/issues/4066|http://example.com/]

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-03 Thread Jira


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

Ádám Turcsán edited comment on NETBEANS-5599 at 5/3/22 6:03 AM:


[~junichi11] I'm testing 14-rc2 and enumerations have a missing implementation. 
Enumerations cannot have porperties, but there's a special case, called backed 
enumeration, where they have one, and only one readonly property, called 
{_}value{_}:
[https://www.php.net/manual/en/language.enumerations.backed.php]

It is not handled yet. An example, where line 21. shows an error:
Syntax error:
    unexpected: ,
    expected: (
{code:php}
 $date->format('D') === self::MONDAY->value,
self::TUESDAY => $date->format('D') === self::TUESDAY->value,
self::WEDNESDAY => $date->format('D') === self::WEDNESDAY->value,
self::THURSDAY => $date->format('D') === self::THURSDAY->value,
self::FRIDAY => $date->format('D') === self::FRIDAY->value,
self::SATURDAY => $date->format('D') === self::SATURDAY->value,
self::SUNDAY => $date->format('D') === self::SUNDAY->value,
self::WEEKDAYS => $date->format('D') !== self::SATURDAY->value && 
$date->format('D') !== self::SUNDAY->value,
self::WEEKEND => $date->format('D') === self::SATURDAY->value || 
$date->format('D') === self::SUNDAY->value
};
}
}
{code}
Everything is A Okay, thank you for your work!


was (Author: lwjunior):
[~junichi11] I'm testing 14-rc2 and enumerations have a missing implementation. 
Enumerations cannot have porperties, but there's a special case, called backed 
enumeration, where they have one, and only one readonly property, called 
{_}value{_}:
[https://www.php.net/manual/en/language.enumerations.backed.php]

It is not handled yet. An example, where line 21. shows an error:
Syntax error:
    unexpected: ,
    expected: (
{code:php}
 $date->format('D') === self::MONDAY->value,
self::TUESDAY => $date->format('D') === self::TUESDAY->value,
self::WEDNESDAY => $date->format('D') === self::WEDNESDAY->value,
self::THURSDAY => $date->format('D') === self::THURSDAY->value,
self::FRIDAY => $date->format('D') === self::FRIDAY->value,
self::SATURDAY => $date->format('D') === self::SATURDAY->value,
self::SUNDAY => $date->format('D') === self::SUNDAY->value,
self::WEEKDAYS => $date->format('D') !== self::SATURDAY->value || 
$date->format('D') !== self::SUNDAY->value,
self::WEEKEND => $date->format('D') === self::SATURDAY->value || 
$date->format('D') === self::SUNDAY->value
};
    }
}
{code}
Everything is A Okay, thank you for your work!

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5599:


[~LWjuniOr] Yes, please submit it to the GitHub issues 
([https://github.com/apache/netbeans/issues)] with your example code.

Please let me know after you create a new issue. Thanks! 

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-02 Thread Jira


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

Ádám Turcsán commented on NETBEANS-5599:


Understandable. Should I open a separate issue for this?

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-5599 at 5/2/22 11:33 PM:
-

[~LWjuniOr] Thank you for catching it. 

Unfortunately, we can't fix it in NB 14 because maybe, NB 14 will be released 
soon (It was too late...), sorry. 


was (Author: junichi11):
@Ádám Turcsán Thank you for catching it. 

Unfortunately, we can't fix it in NB 14 because maybe, NB 14 will be released 
soon (It was too late...), sorry. 

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5599:


@Ádám Turcsán Thank you for catching it. 

Unfortunately, we can't fix it in NB 14 because maybe, NB 14 will be released 
soon (It was too late...), sorry. 

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-02 Thread Jira


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

Ádám Turcsán commented on NETBEANS-5599:


[~junichi11] I'm testing 14-rc2 and enumerations have a missing implementation. 
Enumerations cannot have porperties, but there's a special case, called backed 
enumeration, where they have one, and only one readonly property, called 
{_}value{_}:
[https://www.php.net/manual/en/language.enumerations.backed.php]

It is not handled yet. An example, where line 21. show error:
Syntax error:
    unexpected: ,
    expected: (
{code:php}
 $date->format('D') === self::MONDAY->value,
self::TUESDAY => $date->format('D') === self::TUESDAY->value,
self::WEDNESDAY => $date->format('D') === self::WEDNESDAY->value,
self::THURSDAY => $date->format('D') === self::THURSDAY->value,
self::FRIDAY => $date->format('D') === self::FRIDAY->value,
self::SATURDAY => $date->format('D') === self::SATURDAY->value,
self::SUNDAY => $date->format('D') === self::SUNDAY->value,
self::WEEKDAYS => $date->format('D') !== self::SATURDAY->value || 
$date->format('D') !== self::SUNDAY->value,
self::WEEKEND => $date->format('D') === self::SATURDAY->value || 
$date->format('D') === self::SUNDAY->value
};
}
}
{code}
Everything is A Okay, thank you for your work!

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-05-02 Thread Jira


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

Ádám Turcsán edited comment on NETBEANS-5599 at 5/2/22 3:30 PM:


[~junichi11] I'm testing 14-rc2 and enumerations have a missing implementation. 
Enumerations cannot have porperties, but there's a special case, called backed 
enumeration, where they have one, and only one readonly property, called 
{_}value{_}:
[https://www.php.net/manual/en/language.enumerations.backed.php]

It is not handled yet. An example, where line 21. shows an error:
Syntax error:
    unexpected: ,
    expected: (
{code:php}
 $date->format('D') === self::MONDAY->value,
self::TUESDAY => $date->format('D') === self::TUESDAY->value,
self::WEDNESDAY => $date->format('D') === self::WEDNESDAY->value,
self::THURSDAY => $date->format('D') === self::THURSDAY->value,
self::FRIDAY => $date->format('D') === self::FRIDAY->value,
self::SATURDAY => $date->format('D') === self::SATURDAY->value,
self::SUNDAY => $date->format('D') === self::SUNDAY->value,
self::WEEKDAYS => $date->format('D') !== self::SATURDAY->value || 
$date->format('D') !== self::SUNDAY->value,
self::WEEKEND => $date->format('D') === self::SATURDAY->value || 
$date->format('D') === self::SUNDAY->value
};
}
}
{code}
Everything is A Okay, thank you for your work!


was (Author: lwjunior):
[~junichi11] I'm testing 14-rc2 and enumerations have a missing implementation. 
Enumerations cannot have porperties, but there's a special case, called backed 
enumeration, where they have one, and only one readonly property, called 
{_}value{_}:
[https://www.php.net/manual/en/language.enumerations.backed.php]

It is not handled yet. An example, where line 21. show error:
Syntax error:
    unexpected: ,
    expected: (
{code:php}
 $date->format('D') === self::MONDAY->value,
self::TUESDAY => $date->format('D') === self::TUESDAY->value,
self::WEDNESDAY => $date->format('D') === self::WEDNESDAY->value,
self::THURSDAY => $date->format('D') === self::THURSDAY->value,
self::FRIDAY => $date->format('D') === self::FRIDAY->value,
self::SATURDAY => $date->format('D') === self::SATURDAY->value,
self::SUNDAY => $date->format('D') === self::SUNDAY->value,
self::WEEKDAYS => $date->format('D') !== self::SATURDAY->value || 
$date->format('D') !== self::SUNDAY->value,
self::WEEKEND => $date->format('D') === self::SATURDAY->value || 
$date->format('D') === self::SUNDAY->value
};
}
}
{code}
Everything is A Okay, thank you for your work!

> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-5201) Valid JS treated as invalid by editor

2022-04-30 Thread Jira


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

Matthias Bläsing resolved NETBEANS-5201.

Resolution: Fixed

Support for the syntax of import function was added to NetBeans.

> Valid JS treated as invalid by editor
> -
>
> Key: NETBEANS-5201
> URL: https://issues.apache.org/jira/browse/NETBEANS-5201
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.1, 12.2
>Reporter: Marek Gremblewski
>Priority: Major
> Attachments: Screenshot 2021-08-20 at 18.23.22.png, 
> image-2020-12-31-17-20-30-117.png
>
>
> !image-2020-12-31-17-20-30-117.png!
> Below is code snipped:
> {code:java}
> var fn = function () {
> var actions = new DSsysLibActionIndex.lib.ActionIndex();
> actions.registerAction('asyncModalUpdateModelList', function (modal, 
> params) {
> import('./actions/asyncModalUpdateModelList.js').then(function 
> (Module) {
> var action = new Module.AsyncModalUpdateModelListAction(modal, 
> params);
> action.run();
> });
> });
> actions.registerAction('asyncModalUpdateAuthorityList', function (modal, 
> params) {
> import('./actions/asyncModalUpdateAuthorityList.js').then(function 
> (Module) {
> var action = new 
> Module.AsyncModalUpdateAuthorityListAction(modal, params);
> action.run();
> });
> });
> };
> {code}
> What is more interesting error appears only on the very first occurrence.
> Next occurrence is treated as valid.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-6061) Javascript Class Private Method show up as error

2022-04-30 Thread Jira


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

Matthias Bläsing resolved NETBEANS-6061.

Resolution: Fixed

Syntax part of this feature is currently supported in NetBeans.

> Javascript Class Private Method show up as error
> 
>
> Key: NETBEANS-6061
> URL: https://issues.apache.org/jira/browse/NETBEANS-6061
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.5
>Reporter: Massimiliano Cuttini
>Priority: Major
>
> Netbeans is not able to understand Private Class Method and Field.
> Private Class & Attributes start with hash char "#".
> Youn can check all the info here:
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-6128) JavaScript: Nullish coalescing operator

2022-04-30 Thread Jira


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

Matthias Bläsing resolved NETBEANS-6128.

Resolution: Fixed

Support for JS syntax was brought to Ecmascript Level 2022.

> JavaScript: Nullish coalescing operator
> ---
>
> Key: NETBEANS-6128
> URL: https://issues.apache.org/jira/browse/NETBEANS-6128
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, php - Editor
>Affects Versions: 12.5
>Reporter: Jayce
>Priority: Major
> Attachments: Nullish coalescing operator.png
>
>
> Nullish coalescing operator (??) is reported as syntax error.
> {code:java}
> const foo = null ?? 'default string';
> console.log(foo);{code}
> Some ref if needed:
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-2) Replace libs.nashorn with libs.graaljs for parsing JavaScript files

2022-04-30 Thread Jira


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

Matthias Bläsing resolved NETBEANS-2.
-
  Assignee: Jaroslav Tulach  (was: Svatopluk Dedic)
Resolution: Fixed

This was fixed a long time ago by [~jtulach] - he ported back the changes 
between the evolved graal.js parser and the one included with netbeans. He 
released an UPL licensed version of the parser, that is compatible with the old 
NetBeans one and NetBeans was switched to that. In the mean time updates to the 
old code base were done. graal.js and NetBeans effectively diverged.

> Replace libs.nashorn with libs.graaljs for parsing JavaScript files
> ---
>
> Key: NETBEANS-2
> URL: https://issues.apache.org/jira/browse/NETBEANS-2
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Libraries
>Reporter: Emilian Bold
>Assignee: Jaroslav Tulach
>Priority: Major
>  Labels: cleanup
>
> The new Javascript editor has a dependency on the Graal.js parser which is 
> under GPL w/ CPE and cannot be used as is in an Apache project.
> This issue should follow the overall cleanup task.
> As a last resort we could retrofit the previous Javascript editor which uses 
> the Mozilla Rhino parser under the MPL.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5037) NetBeans dialog windows in Big Sur

2022-04-29 Thread Anonymous (Jira)


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

Anonymous reassigned NETBEANS-5037:
---

Assignee: (was: AWS MAGYRA)

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6497) class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D

2022-04-28 Thread Austin Stephens (Jira)


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

Austin Stephens commented on NETBEANS-6497:
---

Of note, NETBEANS-4549 is technically related, but that user reported that is 
was fixed when it wasn't.

> class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D 
> 
>
> Key: NETBEANS-6497
> URL: https://issues.apache.org/jira/browse/NETBEANS-6497
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 12.4, 12.5, 12.6
>Reporter: Austin Stephens
>Priority: Major
>
> A various number of Windowing components (such as ColorUtil) expect the input 
> graphics to be a `Graphics2D`, which is not the case when 
> `JComponent.setDebugGraphicsOptions​` was set with a non-zero value. This 
> makes it difficult to debug graphical issues.
> This, of course, wouldn't be an issue if 
> [https://bugs.openjdk.java.net/browse/JDK-4262543] was resolved instead of 
> left hanging, but we are not expecting them to fix that any time soon. The 
> code location given is not the only place where it is assumed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6497) class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D

2022-04-28 Thread Austin Stephens (Jira)
Austin Stephens created NETBEANS-6497:
-

 Summary: class javax.swing.DebugGraphics cannot be cast to class 
java.awt.Graphics2D 
 Key: NETBEANS-6497
 URL: https://issues.apache.org/jira/browse/NETBEANS-6497
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Window System
Affects Versions: 12.6, 12.5, 12.4
Reporter: Austin Stephens


A various number of Windowing components (such as ColorUtil) expect the input 
graphics to be a `Graphics2D`, which is not the case when 
`JComponent.setDebugGraphicsOptions​` was set with a non-zero value. This makes 
it difficult to debug graphical issues.
This, of course, wouldn't be an issue if 
[https://bugs.openjdk.java.net/browse/JDK-4262543] was resolved instead of left 
hanging, but we are not expecting them to fix that any time soon. The code 
location given is not the only place where it is assumed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-1287) First class EditorConfig support

2022-04-27 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1287:
--

Sooner or later I will create a plugin to use prettier with NetBeans. prettier 
can handle a couple of languages and has also formatting support for 
.editorconfig files. I don't want to write an custom formatter, maybe it is 
easy but for me this is easier: Call formatting action on a file 
(folder/multiple files if possible), call prettier CLI with arguments, format 
file(s) via editorconfig for example.

> First class EditorConfig support
> 
>
> Key: NETBEANS-1287
> URL: https://issues.apache.org/jira/browse/NETBEANS-1287
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Reporter: Paul Galbraith
>Priority: Major
>  Labels: formatter
>
> I know there is an unofficial plugin for EditorConfig, but (a) I don't think 
> it works very well atm, and (b) I think it's important enough that there 
> should be first-class support for EditorConfig built right into NetBeans, so 
> that it can be a fully co-operative member of the development tools ecosystem 
> :).



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5523) False positive on using "Require" in namespace

2022-04-27 Thread ASF GitHub Bot (Jira)


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

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

> False positive on using "Require" in namespace
> --
>
> Key: NETBEANS-5523
> URL: https://issues.apache.org/jira/browse/NETBEANS-5523
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Affects Versions: Next
> Environment: Apache NetBeans IDE DEV (Build 
> dev-decaf3341a9ce6147e26557e8a09fbf8a4cfc2f8)
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Attachments: NetbeansWrong.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hi,
> This line is correct:
> {code:java}
> namespace \Foo\Bar\Require;
> {code}
> Netbeans report it as a syntax error.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6475) Php namespace input not filled up

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6475:


Note: Please don't misunderstand. I say the same thing for not only you but 
also everyone. "Write/Attach an example code/project". I'm not the reporter. 
It's the reporter to know the details.
It's hard for a developer to create an example code/project from scratch for 
each issue because the developer doesn't know the details and there are also 
issues other than this. (Do you want to do it if you were me?)
If we can't reproduce it, we have to repeat questions. It means that we(of 
course, also including the reporter) have to spend more time. I don't think 
that it is happy with each other. At least, I would like to avoid that. (Maybe, 
you, too?) As you say (have no time), our time is limited. It's the better way 
to attach that.

As I wrote above, no need to hurry, of course.

Thanks.

> Php namespace input not filled up
> -
>
> Key: NETBEANS-6475
> URL: https://issues.apache.org/jira/browse/NETBEANS-6475
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Project
>Affects Versions: 13
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> In a project, in Netbeans 12.X, RightClick->New php class: The Namespace 
> input was filled with the correct namespace if an other class is present with 
> a namespace in the folder.
> +*Bug:*+ With Netbeans 13, the Namespace input is {*}always empty{*}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6475) Php namespace input not filled up

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6475:


Well, I meant not an _actual_ project but an _example_ project.

It's good to report issues. However, we can't do anything if we can't reproduce 
it exactly. So, I say "attach an example code/project".

Thanks for understanding.

> 1) i have no time for that

Need not hurry, Please do it when you have time.

> Php namespace input not filled up
> -
>
> Key: NETBEANS-6475
> URL: https://issues.apache.org/jira/browse/NETBEANS-6475
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Project
>Affects Versions: 13
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> In a project, in Netbeans 12.X, RightClick->New php class: The Namespace 
> input was filled with the correct namespace if an other class is present with 
> a namespace in the folder.
> +*Bug:*+ With Netbeans 13, the Namespace input is {*}always empty{*}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6475) Php namespace input not filled up

2022-04-26 Thread Jayce (Jira)


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

Jayce commented on NETBEANS-6475:
-

1) i have no time for that

2) it occurs on private composer from the company, i can't disclose any 
name/code on. I guess you can have it on others.

As we understand and respect the time you spend on netbeans, you may also 
respect that on the ones spending time on reporting bugs instead of just throw 
some "attach something...".

I'm one of the last one trying to use Netbeans professionally in php dev 
because it still have advantages on competitors. But it's less and less true. I 
just try to improve Netbeans usability.

It's a regression i see daily since V12 (using V13 now)

Close the report if you don't want to handle it or can't reproduce it. I 
already spent too much time on that.

thanks.

 

> Php namespace input not filled up
> -
>
> Key: NETBEANS-6475
> URL: https://issues.apache.org/jira/browse/NETBEANS-6475
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Project
>Affects Versions: 13
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> In a project, in Netbeans 12.X, RightClick->New php class: The Namespace 
> input was filled with the correct namespace if an other class is present with 
> a namespace in the folder.
> +*Bug:*+ With Netbeans 13, the Namespace input is {*}always empty{*}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6475) Php namespace input not filled up

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6475:


As I wrote above, please attach an example project as a zip file.

> Php namespace input not filled up
> -
>
> Key: NETBEANS-6475
> URL: https://issues.apache.org/jira/browse/NETBEANS-6475
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Project
>Affects Versions: 13
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> In a project, in Netbeans 12.X, RightClick->New php class: The Namespace 
> input was filled with the correct namespace if an other class is present with 
> a namespace in the folder.
> +*Bug:*+ With Netbeans 13, the Namespace input is {*}always empty{*}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6475) Php namespace input not filled up

2022-04-26 Thread Jayce (Jira)


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

Jayce commented on NETBEANS-6475:
-

* Create a new project
 * Add some composer package to it
 * Inside the package, go to something like, let say, MyStuff/View/WhatEver.
 * Create a Class "Test1", with namespace MyStuff/View/WhatEver.
 * In the same folder, Use RightClick->New php class

The *Namespace dropdown* in the interface should show "MyStuff/View/WhatEver" 
because it already contains a file (Test1) with the correct namespace.

Again {*}it used to work before V12{*}. Something changed after that. You may 
start to see how the Input was filled back then compared to now.

> Php namespace input not filled up
> -
>
> Key: NETBEANS-6475
>     URL: https://issues.apache.org/jira/browse/NETBEANS-6475
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Project
>Affects Versions: 13
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> In a project, in Netbeans 12.X, RightClick->New php class: The Namespace 
> input was filled with the correct namespace if an other class is present with 
> a namespace in the folder.
> +*Bug:*+ With Netbeans 13, the Namespace input is {*}always empty{*}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5599) PHP 8.1 Support

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5599:
---
Description: 
[https://wiki.php.net/rfc#php_81]
 * [https://wiki.php.net/rfc/final_class_const]
 * [https://wiki.php.net/rfc/noreturn_type]
 * [https://wiki.php.net/rfc/readonly_properties_v2]
 * [https://wiki.php.net/rfc/new_in_initializers]
 * [https://wiki.php.net/rfc/pure-intersection-types]
 * [https://wiki.php.net/rfc/enumerations]
 * [https://wiki.php.net/rfc/first_class_callable_syntax]

 

  was:
[https://wiki.php.net/rfc#php_81]
 * [https://wiki.php.net/rfc/final_class_const]
 * [https://wiki.php.net/rfc/noreturn_type]
 * [https://wiki.php.net/rfc/readonly_properties_v2]
 * [https://wiki.php.net/rfc/new_in_initializers]
 * [https://wiki.php.net/rfc/pure-intersection-types]
 * [https://wiki.php.net/rfc/enumerations]


> PHP 8.1 Support
> ---
>
> Key: NETBEANS-5599
> URL: https://issues.apache.org/jira/browse/NETBEANS-5599
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 11h
>  Remaining Estimate: 0h
>
> [https://wiki.php.net/rfc#php_81]
>  * [https://wiki.php.net/rfc/final_class_const]
>  * [https://wiki.php.net/rfc/noreturn_type]
>  * [https://wiki.php.net/rfc/readonly_properties_v2]
>  * [https://wiki.php.net/rfc/new_in_initializers]
>  * [https://wiki.php.net/rfc/pure-intersection-types]
>  * [https://wiki.php.net/rfc/enumerations]
>  * [https://wiki.php.net/rfc/first_class_callable_syntax]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6475) Php namespace input not filled up

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6475:


Please attach an example project.

Then, please write your exact steps to reproduce it.

> Php namespace input not filled up
> -
>
> Key: NETBEANS-6475
> URL: https://issues.apache.org/jira/browse/NETBEANS-6475
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Project
>Affects Versions: 13
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> In a project, in Netbeans 12.X, RightClick->New php class: The Namespace 
> input was filled with the correct namespace if an other class is present with 
> a namespace in the folder.
> +*Bug:*+ With Netbeans 13, the Namespace input is {*}always empty{*}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5523) False positive on using "Require" in namespace

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5523:
---
Issue Type: New Feature  (was: Wish)

> False positive on using "Require" in namespace
> --
>
> Key: NETBEANS-5523
> URL: https://issues.apache.org/jira/browse/NETBEANS-5523
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Affects Versions: Next
> Environment: Apache NetBeans IDE DEV (Build 
> dev-decaf3341a9ce6147e26557e8a09fbf8a4cfc2f8)
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
> Attachments: NetbeansWrong.png
>
>
> Hi,
> This line is correct:
> {code:java}
> namespace \Foo\Bar\Require;
> {code}
> Netbeans report it as a syntax error.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5523) False positive on using "Require" in namespace

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5523:
---
Priority: Major  (was: Trivial)

> False positive on using "Require" in namespace
> --
>
> Key: NETBEANS-5523
> URL: https://issues.apache.org/jira/browse/NETBEANS-5523
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Affects Versions: Next
> Environment: Apache NetBeans IDE DEV (Build 
> dev-decaf3341a9ce6147e26557e8a09fbf8a4cfc2f8)
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: NetbeansWrong.png
>
>
> Hi,
> This line is correct:
> {code:java}
> namespace \Foo\Bar\Require;
> {code}
> Netbeans report it as a syntax error.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6496) Delete this issue, please.

2022-04-25 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-6496.

Resolution: Duplicate

> Delete this issue, please.
> --
>
> Key: NETBEANS-6496
> URL: https://issues.apache.org/jira/browse/NETBEANS-6496
> Project: NetBeans
>  Issue Type: Bug
>Reporter: negora
>Assignee: negora
>Priority: Major
>
> Please, delete this issue. I created it by mistake. Apologizes.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6496) typescript

2022-04-25 Thread negora (Jira)


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

negora updated NETBEANS-6496:
-
Description: Please, delete this issue. I created it by mistake. Apologizes.

> typescript
> --
>
> Key: NETBEANS-6496
> URL: https://issues.apache.org/jira/browse/NETBEANS-6496
> Project: NetBeans
>  Issue Type: Bug
>Reporter: negora
>Assignee: negora
>Priority: Major
>
> Please, delete this issue. I created it by mistake. Apologizes.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6496) Delete this issue, please.

2022-04-25 Thread negora (Jira)


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

negora updated NETBEANS-6496:
-
Summary: Delete this issue, please.  (was: typescript)

> Delete this issue, please.
> --
>
> Key: NETBEANS-6496
> URL: https://issues.apache.org/jira/browse/NETBEANS-6496
> Project: NetBeans
>  Issue Type: Bug
>Reporter: negora
>Assignee: negora
>Priority: Major
>
> Please, delete this issue. I created it by mistake. Apologizes.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6496) typescript

2022-04-25 Thread negora (Jira)
negora created NETBEANS-6496:


 Summary: typescript
 Key: NETBEANS-6496
 URL: https://issues.apache.org/jira/browse/NETBEANS-6496
 Project: NetBeans
  Issue Type: Bug
Reporter: negora
Assignee: negora






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-4210) Education

2022-04-22 Thread Gaven Rank (Jira)


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

Gaven Rank commented on NETBEANS-4210:
--

thanks for info

> Education
> -
>
> Key: NETBEANS-4210
> URL: https://issues.apache.org/jira/browse/NETBEANS-4210
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Accessibility
>Affects Versions: 11.0
> Environment: https://www.advancedwriters.com/
>Reporter: joseph moore
>Priority: Major
> Fix For: 11.3
>
>
> Order the Essay Online to Become Straight-A Student
> Writing academic papers requires special skills, and students, though learn 
> it in all stages of their education, often lack these skills. It would be a 
> pity to get the one single low grade for an ordinary essay. If earlier, all 
> you could count on was finding a friend with a little better writing skills 
> and trying to write this dull paper by themselves with little hope of good 
> results. Modern students can easily avoid this 
> nuisance.https://www.advancedwriters.com/



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5496) Optional chaining (?.) support

2022-04-20 Thread PetitBoeuf (Jira)


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

PetitBoeuf updated NETBEANS-5496:
-
Attachment: error.jpg

> Optional chaining (?.) support
> --
>
> Key: NETBEANS-5496
> URL: https://issues.apache.org/jira/browse/NETBEANS-5496
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Parsing  Indexing
>Affects Versions: 12.3, 13
>Reporter: Maciej Jaros
>Priority: Major
> Attachments: error.jpg, image-2021-03-25-15-33-58-344.png
>
>
> Optional chaining is supported by all major browsers. Please add support for 
> it in Netbeans.
> Currently NB shows "Expected operand" error and other things might brake in 
> the file too.
> Example:
> {code:java}
> class TestClass {
>   getValue() {
>   return null;
>   }
>   getSubmitValue() {
>   return this.getValue()?.join(',');
>   }
> }{code}
> See also:
> [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining]
>  
> In NB 12.3:
> !image-2021-03-25-15-33-58-344.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5496) Optional chaining (?.) support

2022-04-20 Thread PetitBoeuf (Jira)


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

PetitBoeuf updated NETBEANS-5496:
-
Attachment: (was: error.jpg)

> Optional chaining (?.) support
> --
>
> Key: NETBEANS-5496
> URL: https://issues.apache.org/jira/browse/NETBEANS-5496
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Parsing  Indexing
>Affects Versions: 12.3, 13
>Reporter: Maciej Jaros
>Priority: Major
> Attachments: image-2021-03-25-15-33-58-344.png
>
>
> Optional chaining is supported by all major browsers. Please add support for 
> it in Netbeans.
> Currently NB shows "Expected operand" error and other things might brake in 
> the file too.
> Example:
> {code:java}
> class TestClass {
>   getValue() {
>   return null;
>   }
>   getSubmitValue() {
>   return this.getValue()?.join(',');
>   }
> }{code}
> See also:
> [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining]
>  
> In NB 12.3:
> !image-2021-03-25-15-33-58-344.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5496) Optional chaining (?.) support

2022-04-20 Thread PetitBoeuf (Jira)


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

PetitBoeuf updated NETBEANS-5496:
-
Attachment: error.jpg

> Optional chaining (?.) support
> --
>
> Key: NETBEANS-5496
> URL: https://issues.apache.org/jira/browse/NETBEANS-5496
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Parsing  Indexing
>Affects Versions: 12.3, 13
>Reporter: Maciej Jaros
>Priority: Major
> Attachments: error.jpg, image-2021-03-25-15-33-58-344.png
>
>
> Optional chaining is supported by all major browsers. Please add support for 
> it in Netbeans.
> Currently NB shows "Expected operand" error and other things might brake in 
> the file too.
> Example:
> {code:java}
> class TestClass {
>   getValue() {
>   return null;
>   }
>   getSubmitValue() {
>   return this.getValue()?.join(',');
>   }
> }{code}
> See also:
> [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining]
>  
> In NB 12.3:
> !image-2021-03-25-15-33-58-344.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-5496) Optional chaining (?.) support

2022-04-20 Thread PetitBoeuf (Jira)


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

PetitBoeuf updated NETBEANS-5496:
-
Affects Version/s: 13

> Optional chaining (?.) support
> --
>
> Key: NETBEANS-5496
> URL: https://issues.apache.org/jira/browse/NETBEANS-5496
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Parsing  Indexing
>Affects Versions: 12.3, 13
>Reporter: Maciej Jaros
>Priority: Major
> Attachments: image-2021-03-25-15-33-58-344.png
>
>
> Optional chaining is supported by all major browsers. Please add support for 
> it in Netbeans.
> Currently NB shows "Expected operand" error and other things might brake in 
> the file too.
> Example:
> {code:java}
> class TestClass {
>   getValue() {
>   return null;
>   }
>   getSubmitValue() {
>   return this.getValue()?.join(',');
>   }
> }{code}
> See also:
> [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining]
>  
> In NB 12.3:
> !image-2021-03-25-15-33-58-344.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-4641) Code auto formatting for try-with-resources statements

2022-04-19 Thread Andrew (Jira)


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

Andrew edited comment on NETBEANS-4641 at 4/20/22 1:52 AM:
---

I would add that it was fixed & working fine as of v12.6, but got broken again 
in v13.


was (Author: andrewgr):
I would add that it was fixed & working fine in v12.6, but got broken again in 
v13.

> Code auto formatting for try-with-resources statements
> --
>
> Key: NETBEANS-4641
> URL: https://issues.apache.org/jira/browse/NETBEANS-4641
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, java - Editor
>Affects Versions: 12.0, 13
> Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin 
> download
>Reporter: Bernd Michaely
>Priority: Major
>
> Since NB 12.0, auto formatting for try-with-resources statements adds an 
> additional space after the opening parenthesis after the try keyword. To 
> reproduce the problem, choose:
> Menu »Tools« → Options → Editor → Formatting →
> Language »Java« and Category »Spaces« →
> Tree item »Within Parentheses« → Checkbox "try"
> If checked, two spaces are added after the opening parenthesis after try, if 
> unchecked, one space is added, instead of one and zero.
> (Note, that there is also no example available in the preview. There is for 
> try-catch, but not for try-with-resources.)
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-4641) Code auto formatting for try-with-resources statements

2022-04-19 Thread Andrew (Jira)


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

Andrew commented on NETBEANS-4641:
--

I would add that it was fixed & working fine in v12.6, but got broken again in 
v13.

> Code auto formatting for try-with-resources statements
> --
>
> Key: NETBEANS-4641
> URL: https://issues.apache.org/jira/browse/NETBEANS-4641
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, java - Editor
>Affects Versions: 12.0, 13
> Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin 
> download
>Reporter: Bernd Michaely
>Priority: Major
>
> Since NB 12.0, auto formatting for try-with-resources statements adds an 
> additional space after the opening parenthesis after the try keyword. To 
> reproduce the problem, choose:
> Menu »Tools« → Options → Editor → Formatting →
> Language »Java« and Category »Spaces« →
> Tree item »Within Parentheses« → Checkbox "try"
> If checked, two spaces are added after the opening parenthesis after try, if 
> unchecked, one space is added, instead of one and zero.
> (Note, that there is also no example available in the preview. There is for 
> try-catch, but not for try-with-resources.)
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux

2022-04-19 Thread Eirik Bakke (Jira)


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

Eirik Bakke resolved NETBEANS-2360.
---
Resolution: Fixed

PR was merged; closing issue.

> HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
> ---
>
> Key: NETBEANS-2360
> URL: https://issues.apache.org/jira/browse/NETBEANS-2360
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 11.0, 12.2
> Environment: Kubuntu 18.03
> Oracle JDK 11.0.2
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, Linux, pull-request-available
> Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, 
> image-2021-09-12-21-05-06-852.png, kubunt.jpg
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take 
> into account the system's default HiDPI scaling. This was reported in a 
> Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . 
> Note that Window decorations seem to be the correct size.
> Setting the GDK_SCALE environment variable seems to fix the problem, if I 
> understand the originally reporter correctly. This could probably be done 
> easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix 
> the problem in multi-monitor setups. We should investigate what could be done 
> to make scaling work properly in multi-monitor setups involving one HiDPI 
> screen and one non-HiDPI screen.
> Before merging a patch to the launcher script, it should be tested on a 
> couple of different Linux environments, using both HiDPI and non-HiDPI 
> screens. Note that the UNIX launcher script is also used on MacOS.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux

2022-04-19 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-2360:
---

Thanks, [~hlavki]! With the PR merged, I'll close this issue as I think the 
script now does as much auto-detection as is possible on the various platforms.

> HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
> ---
>
> Key: NETBEANS-2360
> URL: https://issues.apache.org/jira/browse/NETBEANS-2360
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 11.0, 12.2
> Environment: Kubuntu 18.03
> Oracle JDK 11.0.2
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, Linux, pull-request-available
> Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, 
> image-2021-09-12-21-05-06-852.png, kubunt.jpg
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take 
> into account the system's default HiDPI scaling. This was reported in a 
> Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . 
> Note that Window decorations seem to be the correct size.
> Setting the GDK_SCALE environment variable seems to fix the problem, if I 
> understand the originally reporter correctly. This could probably be done 
> easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix 
> the problem in multi-monitor setups. We should investigate what could be done 
> to make scaling work properly in multi-monitor setups involving one HiDPI 
> screen and one non-HiDPI screen.
> Before merging a patch to the launcher script, it should be tested on a 
> couple of different Linux environments, using both HiDPI and non-HiDPI 
> screens. Note that the UNIX launcher script is also used on MacOS.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux

2022-04-19 Thread Michal Hlavac (Jira)


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

Michal Hlavac edited comment on NETBEANS-2360 at 4/19/22 7:56 PM:
--

Hi [~ebakke], again, sorry for my late reply. I've tested latest change and can 
confirm that it works. Thank you

Output:
{code:java}
Detected 192 DPI on all screens in xdpyinfo; setting GDK_SCALE=2
Detected KDE; adding awt.useSystemAAFontSettings=on
{code}


was (Author: hlavki):
Hi [~ebakke], again, sorry for my late reply. I've tested latest change and can 
confirm that it works. Thank you

> HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
> ---
>
> Key: NETBEANS-2360
> URL: https://issues.apache.org/jira/browse/NETBEANS-2360
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 11.0, 12.2
> Environment: Kubuntu 18.03
> Oracle JDK 11.0.2
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, Linux, pull-request-available
> Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, 
> image-2021-09-12-21-05-06-852.png, kubunt.jpg
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take 
> into account the system's default HiDPI scaling. This was reported in a 
> Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . 
> Note that Window decorations seem to be the correct size.
> Setting the GDK_SCALE environment variable seems to fix the problem, if I 
> understand the originally reporter correctly. This could probably be done 
> easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix 
> the problem in multi-monitor setups. We should investigate what could be done 
> to make scaling work properly in multi-monitor setups involving one HiDPI 
> screen and one non-HiDPI screen.
> Before merging a patch to the launcher script, it should be tested on a 
> couple of different Linux environments, using both HiDPI and non-HiDPI 
> screens. Note that the UNIX launcher script is also used on MacOS.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux

2022-04-19 Thread Michal Hlavac (Jira)


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

Michal Hlavac commented on NETBEANS-2360:
-

Hi [~ebakke], again, sorry for my late reply. I've tested latest change and can 
confirm that it works. Thank you

> HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
> ---
>
> Key: NETBEANS-2360
> URL: https://issues.apache.org/jira/browse/NETBEANS-2360
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 11.0, 12.2
> Environment: Kubuntu 18.03
> Oracle JDK 11.0.2
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, Linux, pull-request-available
> Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, 
> image-2021-09-12-21-05-06-852.png, kubunt.jpg
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take 
> into account the system's default HiDPI scaling. This was reported in a 
> Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . 
> Note that Window decorations seem to be the correct size.
> Setting the GDK_SCALE environment variable seems to fix the problem, if I 
> understand the originally reporter correctly. This could probably be done 
> easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix 
> the problem in multi-monitor setups. We should investigate what could be done 
> to make scaling work properly in multi-monitor setups involving one HiDPI 
> screen and one non-HiDPI screen.
> Before merging a patch to the launcher script, it should be tested on a 
> couple of different Linux environments, using both HiDPI and non-HiDPI 
> screens. Note that the UNIX launcher script is also used on MacOS.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-4641) Code auto formatting for try-with-resources statements

2022-04-19 Thread Bernd Michaely (Jira)


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

Bernd Michaely updated NETBEANS-4641:
-
Affects Version/s: 13

> Code auto formatting for try-with-resources statements
> --
>
> Key: NETBEANS-4641
> URL: https://issues.apache.org/jira/browse/NETBEANS-4641
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, java - Editor
>Affects Versions: 12.0, 13
> Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin 
> download
>Reporter: Bernd Michaely
>Priority: Major
>
> Since NB 12.0, auto formatting for try-with-resources statements adds an 
> additional space after the opening parenthesis after the try keyword. To 
> reproduce the problem, choose:
> Menu »Tools« → Options → Editor → Formatting →
> Language »Java« and Category »Spaces« →
> Tree item »Within Parentheses« → Checkbox "try"
> If checked, two spaces are added after the opening parenthesis after try, if 
> unchecked, one space is added, instead of one and zero.
> (Note, that there is also no example available in the preview. There is for 
> try-catch, but not for try-with-resources.)
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Reopened] (NETBEANS-4641) Code auto formatting for try-with-resources statements

2022-04-19 Thread Bernd Michaely (Jira)


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

Bernd Michaely reopened NETBEANS-4641:
--

Confirmed, problem is still there in NB 13

> Code auto formatting for try-with-resources statements
> --
>
> Key: NETBEANS-4641
> URL: https://issues.apache.org/jira/browse/NETBEANS-4641
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, java - Editor
>Affects Versions: 12.0
> Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin 
> download
>Reporter: Bernd Michaely
>Priority: Major
>
> Since NB 12.0, auto formatting for try-with-resources statements adds an 
> additional space after the opening parenthesis after the try keyword. To 
> reproduce the problem, choose:
> Menu »Tools« → Options → Editor → Formatting →
> Language »Java« and Category »Spaces« →
> Tree item »Within Parentheses« → Checkbox "try"
> If checked, two spaces are added after the opening parenthesis after try, if 
> unchecked, one space is added, instead of one and zero.
> (Note, that there is also no example available in the preview. There is for 
> try-catch, but not for try-with-resources.)
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
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-6129) Extra space in try with resources without nb-javac

2022-04-17 Thread Andrew (Jira)


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

Andrew commented on NETBEANS-6129:
--

Confirm the same here: Netbeans 13.0, Java Azul 11, Windows 10. It shows that 
installed nb-javac has version 17.0.1

Would be nice to have it fixed.

> Extra space in try with resources without nb-javac
> --
>
> Key: NETBEANS-6129
> URL: https://issues.apache.org/jira/browse/NETBEANS-6129
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Affects Versions: 12.5, 13
>Reporter: Dominik Derwiński
>Priority: Minor
>
> Automatic formatting adds a space for try with resources if nb-javac is not 
> installed:
> {code:java}
> try ( MyType myObject = new MyType()) {
> }
> {code}
> Once nb-javac is installed the space goes away:
> {code:java}
> try (MyType myObject = new MyType()) {
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6129) Extra space in try with resources without nb-javac

2022-04-17 Thread Andrew (Jira)


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

Andrew updated NETBEANS-6129:
-
Affects Version/s: 13

> Extra space in try with resources without nb-javac
> --
>
> Key: NETBEANS-6129
> URL: https://issues.apache.org/jira/browse/NETBEANS-6129
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Affects Versions: 12.5, 13
>Reporter: Dominik Derwiński
>Priority: Minor
>
> Automatic formatting adds a space for try with resources if nb-javac is not 
> installed:
> {code:java}
> try ( MyType myObject = new MyType()) {
> }
> {code}
> Once nb-javac is installed the space goes away:
> {code:java}
> try (MyType myObject = new MyType()) {
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-4676) Bad format to try-with-resources

2022-04-17 Thread Andrew (Jira)


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

Andrew commented on NETBEANS-4676:
--

Confirm the same here: Netbeans 13.0, Java Azul 11, Windows 10. It shows that 
installed nb-javac has version 17.0.1

Would be nice to have it fixed.

> Bad format to try-with-resources
> 
>
> Key: NETBEANS-4676
> URL: https://issues.apache.org/jira/browse/NETBEANS-4676
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 12.0, 11.3, 13
>Reporter: Eduard Catala
>Priority: Major
> Attachments: Captura de pantalla de 2020-08-03 19-14-32.png
>
>
> NB applies incorrect java code formatting in try-with-resources (adding a 
> space), see attached image.
>  
> it sounds silly but if you have the format on save activated, and the code 
> repository has some sort of code style checking (my case) is impossible to 
> commit code written with nb (you can disable format on save, but you have to 
> format your java classes manually).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-4641) Code auto formatting for try-with-resources statements

2022-04-17 Thread Andrew (Jira)


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

Andrew commented on NETBEANS-4641:
--

Confirm the same here: Netbeans 13.0, Java Azul 11, Windows 10. It shows that 
installed nb-javac has version 17.0.1

Would be nice to have it fixed.

> Code auto formatting for try-with-resources statements
> --
>
> Key: NETBEANS-4641
> URL: https://issues.apache.org/jira/browse/NETBEANS-4641
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, java - Editor
>Affects Versions: 12.0
> Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin 
> download
>Reporter: Bernd Michaely
>Priority: Major
>
> Since NB 12.0, auto formatting for try-with-resources statements adds an 
> additional space after the opening parenthesis after the try keyword. To 
> reproduce the problem, choose:
> Menu »Tools« → Options → Editor → Formatting →
> Language »Java« and Category »Spaces« →
> Tree item »Within Parentheses« → Checkbox "try"
> If checked, two spaces are added after the opening parenthesis after try, if 
> unchecked, one space is added, instead of one and zero.
> (Note, that there is also no example available in the preview. There is for 
> try-catch, but not for try-with-resources.)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6421) Netbeans 12.6 freezes AWT from Micronaut Support

2022-04-14 Thread Alberto Rinaudo (Jira)


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

Alberto Rinaudo commented on NETBEANS-6421:
---

I've opened this in github as I still have this issue.

[https://github.com/apache/netbeans/issues/3986]

This can be closed.

Thanks

> Netbeans 12.6 freezes AWT from Micronaut Support
> 
>
> Key: NETBEANS-6421
> URL: https://issues.apache.org/jira/browse/NETBEANS-6421
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 11.0.13; OpenJDK 64-Bit Server VM 11.0.13+8
> *Runtime:* OpenJDK Runtime Environment 11.0.13+8
> *System:* Mac OS X version 12.1 running on x86_64; UTF-8; de_DE (nb)
> nbjavac enabled
> Compile on save enabled
> maven multi module project (> 1000 classes)
>Reporter: Stefan Röper
>Priority: Major
>
> Netbeans GUI freezes occasionally during save of file or during navigation.
> This happens since 12.6 on my system with a frequency of once every two hours.
>  
> Disabling micronaut plugin helps to prevent that freezing GUI but also makes 
> Netbeans more responsive and less memory hungry( 2.3 GB instead of 3.5 GB). 
> After some hours Netbeans again freezes even with micronaut disabled.
> The frozen GUI does not let the user save a file or change a tab nor let him 
> further editing the file. The Window can still be moved and the menu is still 
> responsive. After choosing a menu item (i.e. Quit) the spinning ball shows up 
> and the only possibility is to kill the netbeans process.
>  
> I also get the message:
> Even though the source level of .../src/main/resources is set to: 11, 
> java.util.zip.CRC32C cannot be found on the system module path: 
> Changing source level to 1.8
>  
> This is combined with lots of *.dump files. All start with 
> "Incorrectly reparsed file"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-4179) Assertion error in javac when saving file with missing comma in method parameter list

2022-04-14 Thread Sandeep Mishra (Jira)


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

Sandeep Mishra commented on NETBEANS-4179:
--

Not able to reproduce this issue in NB13 with nb-javac. Environment - Windows 
10, Runtime JDK- JDK 17

> Assertion error in javac when saving file with missing comma in method 
> parameter list
> -
>
> Key: NETBEANS-4179
> URL: https://issues.apache.org/jira/browse/NETBEANS-4179
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.3
> Environment: NetBeans 11.3 with nbjavac plugin installed
>Reporter: Eirik Bakke
>Assignee: Sandeep Mishra
>Priority: Major
>  Labels: nbjavac
>
> If, during editing, a method parameter list occurs with a missing comma (in 
> certain cases), an error dialog shows up showing an assertion error in javac 
> every time the Java source file is saved, interrupting the user. A minimized 
> example exhibiting this behavior is as follows:
> {code:java}
> public class BugErrorUncaught {
>   private Object testMethod(String param1 final String param2) {
> return null;
>   }
> }
> {code}
> This is a variation of the example in NETBEANS-4095, but filed here as a 
> separate bug since the two cause different exceptions at different levels 
> (inside javac here vs. at the semantic highlighting layer in NETBEANS-4095). 
> This example causes the IDE to throw the following exception:
> {noformat}
> java.lang.AssertionError
>   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
>   at 
> com.sun.tools.javac.comp.Flow$FlowAnalyzer.errorUncaught(Flow.java:918)
>   at 
> com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:1008)
>   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:788)
>   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
>   at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:422)
>   at 
> com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1456)
>   at 
> com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1446)
>   at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:219)
>   at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1499)
>   at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1473)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651)
>   at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507)
> [catch] at 
> org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261)
>   at 
> org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
>   at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
>   at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(Repo

[jira] [Commented] (NETBEANS-4641) Code auto formatting for try-with-resources statements

2022-04-12 Thread Adam N Outler (Jira)


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

Adam N Outler commented on NETBEANS-4641:
-

Please add tag Affects Version/s: 13.0

> Code auto formatting for try-with-resources statements
> --
>
> Key: NETBEANS-4641
> URL: https://issues.apache.org/jira/browse/NETBEANS-4641
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, java - Editor
>Affects Versions: 12.0
> Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin 
> download
>Reporter: Bernd Michaely
>Priority: Major
>
> Since NB 12.0, auto formatting for try-with-resources statements adds an 
> additional space after the opening parenthesis after the try keyword. To 
> reproduce the problem, choose:
> Menu »Tools« → Options → Editor → Formatting →
> Language »Java« and Category »Spaces« →
> Tree item »Within Parentheses« → Checkbox "try"
> If checked, two spaces are added after the opening parenthesis after try, if 
> unchecked, one space is added, instead of one and zero.
> (Note, that there is also no example available in the preview. There is for 
> try-catch, but not for try-with-resources.)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-4641) Code auto formatting for try-with-resources statements

2022-04-12 Thread Adam N Outler (Jira)


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

Adam N Outler commented on NETBEANS-4641:
-

Confirmed.  I read this, then I read the [release 
notes|https://netbeans.apache.org/download/nb13/index.html] and saw that the 
first item seemed to address this problem.  However, the nb-javac is still 
broken.  Makes me wonder if anyone at the Apache Netbeans project uses 
try-with-resources or a linting tool. 

> Code auto formatting for try-with-resources statements
> --
>
> Key: NETBEANS-4641
> URL: https://issues.apache.org/jira/browse/NETBEANS-4641
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, java - Editor
>Affects Versions: 12.0
> Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin 
> download
>Reporter: Bernd Michaely
>Priority: Major
>
> Since NB 12.0, auto formatting for try-with-resources statements adds an 
> additional space after the opening parenthesis after the try keyword. To 
> reproduce the problem, choose:
> Menu »Tools« → Options → Editor → Formatting →
> Language »Java« and Category »Spaces« →
> Tree item »Within Parentheses« → Checkbox "try"
> If checked, two spaces are added after the opening parenthesis after try, if 
> unchecked, one space is added, instead of one and zero.
> (Note, that there is also no example available in the preview. There is for 
> try-catch, but not for try-with-resources.)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-5699) Testcases failing with JDK17 in java.editor

2022-04-12 Thread Sandeep Mishra (Jira)


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

Sandeep Mishra closed NETBEANS-5699.

Resolution: Fixed

> Testcases failing with JDK17 in java.editor
> ---
>
> Key: NETBEANS-5699
> URL: https://issues.apache.org/jira/browse/NETBEANS-5699
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor, java - Hints
>Affects Versions: 12.4
>Reporter: Sandeep Mishra
>Assignee: Sandeep Mishra
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Testcase: 
> *testModelToViewAtBoundaries*(org.netbeans.modules.java.editor.view.JavaViewHierarchyRandomTest):
>  Caused an ERROR
>  [junit] null
>  [junit] java.lang.reflect.InvocationTargetException
>  [junit] at 
> java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1368)
>  [junit] at 
> java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1343)
>  [junit] at 
> java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1479)
>  [junit] at 
> org.netbeans.modules.java.editor.view.JavaViewHierarchyRandomTest.testModelToViewAtBoundaries(JavaViewHierarchyRandomTest.java:162)
>  [junit] at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  [junit] at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
>  [junit] at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  [junit] at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
>  [junit] at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
>  [junit] at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
>  [junit] at java.base/java.lang.Thread.run(Thread.java:831)
>  [junit] Caused by: java.lang.IllegalStateException: 
> javax.swing.text.BadLocationException: Invalid position
>  [junit] at 
> org.netbeans.modules.java.editor.view.JavaViewHierarchyRandomTest$1.run(JavaViewHierarchyRandomTest.java:173)
>  [junit] at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
>  [junit] at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  [junit] at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  [junit] at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  [junit] at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  [junit] at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  [junit] at 
> java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  [junit] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  [junit] at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  [junit] at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  [junit] at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  [junit] at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  [junit] at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
>  [junit] Caused by: javax.swing.text.BadLocationException: Invalid position
>  [junit] at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI.getNextVisualPositionFrom(BasicTextUI.java:1202)
>  [junit] at 
> org.netbeans.editor.BaseTextUI.getNextVisualPositionFrom(BaseTextUI.java:339)
>  [junit] at 
> org.netbeans.modules.java.editor.view.JavaViewHierarchyRandomTest$1.getNextVisualPositionFrom(JavaViewHierarchyRandomTest.java:183)
>  [junit] at 
> org.netbeans.modules.java.editor.view.JavaViewHierarchyRandomTest$1.run(JavaViewHierarchyRandomTest.java:171)
>  [junit] 
>  [junit] 
>  [junit] Test 
> org.netbeans.modules.java.editor.view.JavaViewHierarchyRandomTest FAILED
>  
> Testcase: 
> *testException*(org.netbeans.api.java.source.test.support.MemoryValidator): 
> FAILED
>  [junit] 
> expected: ]javax.swing.text.Ele...> but was:
>  [junit] junit.framework.ComparisonFailure: 
> expected: ]javax.swing.text.Ele...> but was:
>  [junit] at 
> org.netbeans.modules.java.editor.imports.ComputeImportsTest.doTest(ComputeImportsTest.java:454)
>  [junit] at 
> org.netbeans.modules.java.editor.imports.ComputeImportsTest.doTest(Comput

[jira] [Closed] (NETBEANS-5098) SessionBean - EJB Container initialization error

2022-04-11 Thread S. M. (Jira)


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

S. M. closed NETBEANS-5098.
---
Fix Version/s: 12.6
   Resolution: Fixed

> SessionBean - EJB Container initialization error
> 
>
> Key: NETBEANS-5098
> URL: https://issues.apache.org/jira/browse/NETBEANS-5098
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - EJB
>Affects Versions: 12.2, 12.3
> Environment: Netbeans 12.3, glassfish-4.1.2, jdk-15.0.1
>Reporter: S. M.
>Priority: Blocker
> Fix For: 12.6
>
>
> Reopened because: It worked with new NB 12.3 for a week or so - now the 
> Exception popped up again and is lasting now. There where no changes made 
> from my side. 
> By the way: NETBEANS-5099 popped up at the same time.
> How described in the messages below the problem resolves when the users 
> directory of NB is deleted. But about some weeks later it pops up again.
> The exactly same code works fine when it is compiled and deployed outside 
> Netbeans or with an older Netbeans version. So I feel it is a Netbeans Issue.
> How to reproduce: Make a new Java Ant/Java Enterprise/EJB Module and add an 
> 'empty' Session-EJB to the project: 
> (The critical point seems to be the LocalBean annotation. When the local 
> interface is realized by a concrete class it works.)
> {code}
> package test;
> import javax.ejb.LocalBean;
> import javax.ejb.Stateless;
> @Stateless
> @LocalBean
>  public class NewSessionBean {
>  }
> {code}
> Deploy the module within Netbeans to Glassfish.
> The exactly same code works fine when it is deployed outside Netbeans or with 
> an older Netbeans version. So I feel it is a Netbeans Issue.
> At deployment on Glassfish 5 the following Exeption occurs:
> {code}
> java.lang.RuntimeException: EJB Container initialization error
>   at 
> org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:234)
>   at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:291)
>   at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:99)
>   at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:206)
>   at 
> org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:313)
>   at 
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:496)
>   at 
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
>   at 
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:360)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:360)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
>   at 
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
>   at 
> com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
>   at 
> org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)
>   at 
> com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
>   at 
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
>   at 
> org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
>   at 
> org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
>   at 
> org.glassfish.

[jira] [Closed] (NETBEANS-5099) PhaseListener - RuntimeException

2022-04-11 Thread S. M. (Jira)


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

S. M. closed NETBEANS-5099.
---
Fix Version/s: 12.6
   Resolution: Fixed

Did not occur for quite a time - so it seems to be OK now.

> PhaseListener - RuntimeException
> 
>
> Key: NETBEANS-5099
> URL: https://issues.apache.org/jira/browse/NETBEANS-5099
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Classpath, java - Compiler, javaee - JSF
>Affects Versions: 12.0, 12.2, 12.3
> Environment: Netbeans 12.3, Glassfish 4 and Glassfish 5, Project: 
> jdk1.8.0_65, Netbeans: jdk-15.0.1
>Reporter: S. M.
>Priority: Blocker
> Fix For: 12.6
>
>
> Reopened because: It worked with new NB 12.3 for a week or so - now the 
> Exception popped up again and is lasting now. There where no changes made 
> from my side. 
> By the way: NETBEANS-5098 popped up at the same time.
> The exactly same code works fine when it is compiled and deployed outside 
> Netbeans or with an older Netbeans version. So I feel it is a Netbeans Issue. 
> The project has to be re-compiled in the old IDE before it works in it ... 
> Here comes the error description for reproducing:
> Make an new WebApplication with Glassfish 4.1.2 or 5.0.1. and add JavaServer 
> Faces Framework.
> Add the following faces-config.xml:
> {code}
> 
>xmlns="http://java.sun.com/xml/ns/javaee;
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
> [http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd];>
> 
> test.SessionTimeoutPhaseListener
> 
>  
> {code}
> Add the following class:
> {code}
> package test;
> import javax.faces.event.PhaseEvent;
>  import javax.faces.event.PhaseId;
>  import javax.faces.event.PhaseListener;
> public class SessionTimeoutPhaseListener implements PhaseListener {
> @Override
>  public void beforePhase(PhaseEvent event) {
>  }
> @Override
>  public void afterPhase(PhaseEvent event) {
>  }
> public void handleSessionTimeout(PhaseEvent event) {
>  }
> @Override
>  public PhaseId getPhaseId()
> { return PhaseId.RESTORE_VIEW; }
> }
> {code}
> At deployment (within NB) on Glassfish 4 or 5 the following Exeption occurs.
> {code}
> Info: Initializing Mojarra 2.2.14 ( 20161114-2152 unable to get svn info) for 
> context '/WebApplication1'
>  Severe: Critical error during deployment: 
>  com.sun.faces.config.ConfigurationException: 
>  Source Document: jndi:/server/WebApplication1/WEB-INF/faces-config.xml
>  Cause: Unable to create a new instance of 
> 'test.SessionTimeoutPhaseListener': java.lang.RuntimeException: 
>  at 
> com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:378)
>  at 
> com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:154)
>  at 
> com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:132)
>  at 
> com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
>  at 
> com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
>  at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:439)
>  at 
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
>  at 
> org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5394)
>  at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743)
>  at org.apache.catalina.core.StandardContext.start(StandardContext.java:5963)
>  at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
>  at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
>  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
>  at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286)
>  at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
>  at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
>  at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
>  at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
>  at 
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
>  at 
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)
>  at 
> com.sun.e

[jira] [Closed] (NETBEANS-5255) Double deployment in maven web application

2022-04-11 Thread S. M. (Jira)


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

S. M. closed NETBEANS-5255.
---
Fix Version/s: 12.6
   Resolution: Fixed

> Double deployment in maven web application
> --
>
> Key: NETBEANS-5255
> URL: https://issues.apache.org/jira/browse/NETBEANS-5255
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Netbeans 12.2, Glassfish 4, Project: jdk1.8.0_65, 
> Netbeans: jdk 14.01
> and
> Netbeans 12.3, Glassfish 5.0.1; jdk-15.0.1
>Reporter: S. M.
>Priority: Major
> Fix For: 12.6
>
> Attachments: screenshot_double_deployment.png
>
>
> Create a maven web application. Clean and build the project. When you run the 
> project, it is deployed two times. (Which is a menace for large projects)
>  
>  
> !screenshot_double_deployment.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6494) Gradle projects reload into memory on project close

2022-04-11 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-6494:
---

What I'm thinking is, that on project close we shall not dump the GradleProject 
internally. It still contains viable information. In Maven the project info is 
retrieved almost as just parsing an xml.

> Gradle projects reload into memory on project close
> ---
>
> Key: NETBEANS-6494
> URL: https://issues.apache.org/jira/browse/NETBEANS-6494
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 13
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Critical
> Fix For: 14
>
>
> When / after a gradle project is closed (I used File | Close All Projects) 
> various UI-based refreshes cause the project(s) to be reloaded back into the 
> memory. 
> I've capture two stacktraces:
>  
> {code:java}
> java.lang.Exception
>     at 
> org.netbeans.modules.project.ui.problems.BrokenProjectAnnotator.propertyChange(BrokenProjectAnnotator.java:183)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.spi.project.ui.support.UILookupMergerSupport$ProjectProblemsProviderImpl.propertyChange(UILookupMergerSupport.java:283)
>     at 
> org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.modules.gradle.java.GradleJavaProjectProblemProvider.lambda$new$0(GradleJavaProjectProblemProvider.java:47)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.doFireReload(NbGradleProject.java:256)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.access$100(NbGradleProject.java:57)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject$AccessorImpl.doFireReload(NbGradleProject.java:166)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.loadOwnProject0(NbGradleProjectImpl.java:481)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.projectWithQuality(NbGradleProjectImpl.java:277)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.getGradleProject(NbGradleProjectImpl.java:193)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.projectLookup(NbGradleProject.java:186)
>     at 
> org.netbeans.modules.gradle.java.api.GradleJavaProject.get(GradleJavaProject.java:125)
>     at 
> org.netbeans.modules.gradle.java.queries.GradleSourceForBinary$Res.getRoots(GradleSourceForBinary.java:146)
>     at 
> org.netbeans.api.java.queries.SourceForBinaryQuery$Result2.getRoots(SourceForBinaryQuery.java:173)
>     at 
> org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.lambda$collectProjectSourceRoots$25(ModuleClassPaths.java:1158)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
>     at 
> java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
>     at 
> java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
>     at 
> java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
>     at 
> java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
>     at 
> java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
>     at 
> java.base/java.util.stream.ReferencePipeline.forEach(Ref

[jira] [Updated] (NETBEANS-4676) Bad format to try-with-resources

2022-04-11 Thread Gabriel Campos (Jira)


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

Gabriel Campos updated NETBEANS-4676:
-
Affects Version/s: 13

> Bad format to try-with-resources
> 
>
> Key: NETBEANS-4676
> URL: https://issues.apache.org/jira/browse/NETBEANS-4676
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 12.0, 11.3, 13
>Reporter: Eduard Catala
>Priority: Major
> Attachments: Captura de pantalla de 2020-08-03 19-14-32.png
>
>
> NB applies incorrect java code formatting in try-with-resources (adding a 
> space), see attached image.
>  
> it sounds silly but if you have the format on save activated, and the code 
> repository has some sort of code style checking (my case) is impossible to 
> commit code written with nb (you can disable format on save, but you have to 
> format your java classes manually).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-4641) Code auto formatting for try-with-resources statements

2022-04-11 Thread Gabriel Campos (Jira)


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

Gabriel Campos commented on NETBEANS-4641:
--

The proposed solution of reinstalling nb-javac doesn't seem to work on NB 13.

> Code auto formatting for try-with-resources statements
> --
>
> Key: NETBEANS-4641
> URL: https://issues.apache.org/jira/browse/NETBEANS-4641
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, java - Editor
>Affects Versions: 12.0
> Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin 
> download
>Reporter: Bernd Michaely
>Priority: Major
>
> Since NB 12.0, auto formatting for try-with-resources statements adds an 
> additional space after the opening parenthesis after the try keyword. To 
> reproduce the problem, choose:
> Menu »Tools« → Options → Editor → Formatting →
> Language »Java« and Category »Spaces« →
> Tree item »Within Parentheses« → Checkbox "try"
> If checked, two spaces are added after the opening parenthesis after try, if 
> unchecked, one space is added, instead of one and zero.
> (Note, that there is also no example available in the preview. There is for 
> try-catch, but not for try-with-resources.)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6494) Gradle projects reload into memory on project close

2022-04-06 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-6494:
---

I have something in my mind, and yes this shall be fixed by 14.

 

> Gradle projects reload into memory on project close
> ---
>
> Key: NETBEANS-6494
> URL: https://issues.apache.org/jira/browse/NETBEANS-6494
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 13
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Critical
> Fix For: 14
>
>
> When / after a gradle project is closed (I used File | Close All Projects) 
> various UI-based refreshes cause the project(s) to be reloaded back into the 
> memory. 
> I've capture two stacktraces:
>  
> {code:java}
> java.lang.Exception
>     at 
> org.netbeans.modules.project.ui.problems.BrokenProjectAnnotator.propertyChange(BrokenProjectAnnotator.java:183)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.spi.project.ui.support.UILookupMergerSupport$ProjectProblemsProviderImpl.propertyChange(UILookupMergerSupport.java:283)
>     at 
> org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.modules.gradle.java.GradleJavaProjectProblemProvider.lambda$new$0(GradleJavaProjectProblemProvider.java:47)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.doFireReload(NbGradleProject.java:256)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.access$100(NbGradleProject.java:57)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject$AccessorImpl.doFireReload(NbGradleProject.java:166)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.loadOwnProject0(NbGradleProjectImpl.java:481)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.projectWithQuality(NbGradleProjectImpl.java:277)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.getGradleProject(NbGradleProjectImpl.java:193)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.projectLookup(NbGradleProject.java:186)
>     at 
> org.netbeans.modules.gradle.java.api.GradleJavaProject.get(GradleJavaProject.java:125)
>     at 
> org.netbeans.modules.gradle.java.queries.GradleSourceForBinary$Res.getRoots(GradleSourceForBinary.java:146)
>     at 
> org.netbeans.api.java.queries.SourceForBinaryQuery$Result2.getRoots(SourceForBinaryQuery.java:173)
>     at 
> org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.lambda$collectProjectSourceRoots$25(ModuleClassPaths.java:1158)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
>     at 
> java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
>     at 
> java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
>     at 
> java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
>     at 
> java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
>     at 
> java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
>     at 
> java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
>     at 
> org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.collectProject

[jira] [Updated] (NETBEANS-6494) Gradle projects reload into memory on project close

2022-04-06 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic updated NETBEANS-6494:
--
  Component/s: projects - Gradle
Fix Version/s: 14
Affects Version/s: 13
 Priority: Critical  (was: Major)

> Gradle projects reload into memory on project close
> ---
>
> Key: NETBEANS-6494
> URL: https://issues.apache.org/jira/browse/NETBEANS-6494
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 13
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Critical
> Fix For: 14
>
>
> When / after a gradle project is closed (I used File | Close All Projects) 
> various UI-based refreshes cause the project(s) to be reloaded back into the 
> memory. 
> I've capture two stacktraces:
>  
> {code:java}
> java.lang.Exception
>     at 
> org.netbeans.modules.project.ui.problems.BrokenProjectAnnotator.propertyChange(BrokenProjectAnnotator.java:183)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.spi.project.ui.support.UILookupMergerSupport$ProjectProblemsProviderImpl.propertyChange(UILookupMergerSupport.java:283)
>     at 
> org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.modules.gradle.java.GradleJavaProjectProblemProvider.lambda$new$0(GradleJavaProjectProblemProvider.java:47)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
>     at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.doFireReload(NbGradleProject.java:256)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.access$100(NbGradleProject.java:57)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject$AccessorImpl.doFireReload(NbGradleProject.java:166)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.loadOwnProject0(NbGradleProjectImpl.java:481)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.projectWithQuality(NbGradleProjectImpl.java:277)
>     at 
> org.netbeans.modules.gradle.NbGradleProjectImpl.getGradleProject(NbGradleProjectImpl.java:193)
>     at 
> org.netbeans.modules.gradle.api.NbGradleProject.projectLookup(NbGradleProject.java:186)
>     at 
> org.netbeans.modules.gradle.java.api.GradleJavaProject.get(GradleJavaProject.java:125)
>     at 
> org.netbeans.modules.gradle.java.queries.GradleSourceForBinary$Res.getRoots(GradleSourceForBinary.java:146)
>     at 
> org.netbeans.api.java.queries.SourceForBinaryQuery$Result2.getRoots(SourceForBinaryQuery.java:173)
>     at 
> org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.lambda$collectProjectSourceRoots$25(ModuleClassPaths.java:1158)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
>     at 
> java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
>     at 
> java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
>     at 
> java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
>     at 
> java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
>     at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
>     at 
> java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
>     at 
> java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
>     at 
> org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathIm

[jira] [Created] (NETBEANS-6494) Gradle projects reload into memory on project close

2022-04-06 Thread Svatopluk Dedic (Jira)
Svatopluk Dedic created NETBEANS-6494:
-

 Summary: Gradle projects reload into memory on project close
 Key: NETBEANS-6494
 URL: https://issues.apache.org/jira/browse/NETBEANS-6494
 Project: NetBeans
  Issue Type: Bug
Reporter: Svatopluk Dedic
Assignee: Svatopluk Dedic


When / after a gradle project is closed (I used File | Close All Projects) 
various UI-based refreshes cause the project(s) to be reloaded back into the 
memory. 

I've capture two stacktraces:

 
{code:java}
java.lang.Exception
    at 
org.netbeans.modules.project.ui.problems.BrokenProjectAnnotator.propertyChange(BrokenProjectAnnotator.java:183)
    at 
java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
    at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
    at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
    at 
org.netbeans.spi.project.ui.support.UILookupMergerSupport$ProjectProblemsProviderImpl.propertyChange(UILookupMergerSupport.java:283)
    at 
org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190)
    at 
java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
    at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
    at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
    at 
org.netbeans.modules.gradle.java.GradleJavaProjectProblemProvider.lambda$new$0(GradleJavaProjectProblemProvider.java:47)
    at 
java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
    at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
    at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
    at 
org.netbeans.modules.gradle.api.NbGradleProject.doFireReload(NbGradleProject.java:256)
    at 
org.netbeans.modules.gradle.api.NbGradleProject.access$100(NbGradleProject.java:57)
    at 
org.netbeans.modules.gradle.api.NbGradleProject$AccessorImpl.doFireReload(NbGradleProject.java:166)
    at 
org.netbeans.modules.gradle.NbGradleProjectImpl.loadOwnProject0(NbGradleProjectImpl.java:481)
    at 
org.netbeans.modules.gradle.NbGradleProjectImpl.projectWithQuality(NbGradleProjectImpl.java:277)
    at 
org.netbeans.modules.gradle.NbGradleProjectImpl.getGradleProject(NbGradleProjectImpl.java:193)
    at 
org.netbeans.modules.gradle.api.NbGradleProject.projectLookup(NbGradleProject.java:186)
    at 
org.netbeans.modules.gradle.java.api.GradleJavaProject.get(GradleJavaProject.java:125)
    at 
org.netbeans.modules.gradle.java.queries.GradleSourceForBinary$Res.getRoots(GradleSourceForBinary.java:146)
    at 
org.netbeans.api.java.queries.SourceForBinaryQuery$Result2.getRoots(SourceForBinaryQuery.java:173)
    at 
org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.lambda$collectProjectSourceRoots$25(ModuleClassPaths.java:1158)
    at 
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
    at 
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    at 
java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
    at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
    at 
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
    at 
java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
    at 
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
    at 
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at 
java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
    at 
org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.collectProjectSourceRoots(ModuleClassPaths.java:1155)
    at 
org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:682)
    at 
org.netbeans.api.java.classpath.ClassPath$SPIListener.propertyChange(ClassPath.java:1343)
    at 
org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190)
    at 
java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
    at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
    at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
    at 
org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$BaseClassPathImplementation.fire(ModuleClassPaths.java:1378

[jira] [Commented] (NETBEANS-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux

2022-04-05 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-2360:
---

Thanks, Javier. I suppose the xdpyinfo DPI probably comes from the screen 
itself rather than the global scale.

> HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
> ---
>
> Key: NETBEANS-2360
> URL: https://issues.apache.org/jira/browse/NETBEANS-2360
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 11.0, 12.2
> Environment: Kubuntu 18.03
> Oracle JDK 11.0.2
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, Linux, pull-request-available
> Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, 
> image-2021-09-12-21-05-06-852.png, kubunt.jpg
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take 
> into account the system's default HiDPI scaling. This was reported in a 
> Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . 
> Note that Window decorations seem to be the correct size.
> Setting the GDK_SCALE environment variable seems to fix the problem, if I 
> understand the originally reporter correctly. This could probably be done 
> easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix 
> the problem in multi-monitor setups. We should investigate what could be done 
> to make scaling work properly in multi-monitor setups involving one HiDPI 
> screen and one non-HiDPI screen.
> Before merging a patch to the launcher script, it should be tested on a 
> couple of different Linux environments, using both HiDPI and non-HiDPI 
> screens. Note that the UNIX launcher script is also used on MacOS.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux

2022-04-04 Thread Javier Llorente (Jira)


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

Javier Llorente commented on NETBEANS-2360:
---

I have tested the launch script with your changes and the original one with 
global scale set to 200% and it made no difference. NetBeans looked good in 
both cases but I prefer having KDE's global scale set to 100%.

> HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
> ---
>
> Key: NETBEANS-2360
> URL: https://issues.apache.org/jira/browse/NETBEANS-2360
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 11.0, 12.2
> Environment: Kubuntu 18.03
> Oracle JDK 11.0.2
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, Linux, pull-request-available
> Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, 
> image-2021-09-12-21-05-06-852.png, kubunt.jpg
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take 
> into account the system's default HiDPI scaling. This was reported in a 
> Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . 
> Note that Window decorations seem to be the correct size.
> Setting the GDK_SCALE environment variable seems to fix the problem, if I 
> understand the originally reporter correctly. This could probably be done 
> easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix 
> the problem in multi-monitor setups. We should investigate what could be done 
> to make scaling work properly in multi-monitor setups involving one HiDPI 
> screen and one non-HiDPI screen.
> Before merging a patch to the launcher script, it should be tested on a 
> couple of different Linux environments, using both HiDPI and non-HiDPI 
> screens. Note that the UNIX launcher script is also used on MacOS.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-5891) C/C++ plugin installation

2022-04-04 Thread Anonymous (Jira)


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

Anonymous reassigned NETBEANS-5891:
---

Assignee: a

> C/C++ plugin installation
> -
>
> Key: NETBEANS-5891
> URL: https://issues.apache.org/jira/browse/NETBEANS-5891
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 12.4
>Reporter: Harshavardhan
>Assignee: a
>Priority: Blocker
>  Labels: beginner
> Attachments: Screenshot 2021-07-31 080401.png
>
>
> When i try to install plugin C \ C++ after downloading the 19mb it shows an 
> error message like
> Cannot complete the validation of downloaded plugins
> The validation of downloaded plugins cannot be completed, cause: NBM 
> C:\Users\harsh\AppData\Roaming\NetBeans\12.4\update\download\org-netbeans-modules-cnd-kit.nbm
>  needs unpack200 to process following entries: 
> netbeans/modules/locale/org-netbeans-modules-cnd-kit_ja.jar.pack.gz
> netbeans/modules/locale/org-netbeans-modules-cnd-kit_pt_BR.jar.pack.gz
> netbeans/modules/locale/org-netbeans-modules-cnd-kit_ru.jar.pack.gz
> netbeans/modules/locale/org-netbeans-modules-cnd-kit_zh_CN.jar.pack.gz
> netbeans/modules/org-netbeans-modules-cnd-kit.jar.pack.gz



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-2360) HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux

2022-04-03 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-2360:
---

Hi, Javier!

As you may have noticed, Java only supports either 1x or 2x HiDPI scaling on 
Linux. So the script I provided only applies the 2x scaling when the desktop's 
scaling is exactly 2x (192 dots per inch). In your case it seems you have 
configured a 162/96=1.6875x scaling factor? Could this be right?

Could you try setting your desktop's HiDPI scaling to exactly 200%, and then 
see if the script picks up on that?

(I suppose I could change the script to scale NetBeans to 2x if the desktop's 
scaling level is more than 1.5x, or perhaps some higher threshold. But I 
figured it was better to let the user increase their font size instead in these 
cases.)

-- Eirik


> HiDPI scaling (and anti-aliasing on KDE) not applied automatically on Linux
> ---
>
> Key: NETBEANS-2360
> URL: https://issues.apache.org/jira/browse/NETBEANS-2360
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 11.0, 12.2
> Environment: Kubuntu 18.03
> Oracle JDK 11.0.2
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, Linux, pull-request-available
> Attachments: CheckHiDpi.java, image-2021-09-12-21-01-33-807.png, 
> image-2021-09-12-21-05-06-852.png, kubunt.jpg
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take 
> into account the system's default HiDPI scaling. This was reported in a 
> Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . 
> Note that Window decorations seem to be the correct size.
> Setting the GDK_SCALE environment variable seems to fix the problem, if I 
> understand the originally reporter correctly. This could probably be done 
> easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix 
> the problem in multi-monitor setups. We should investigate what could be done 
> to make scaling work properly in multi-monitor setups involving one HiDPI 
> screen and one non-HiDPI screen.
> Before merging a patch to the launcher script, it should be tested on a 
> couple of different Linux environments, using both HiDPI and non-HiDPI 
> screens. Note that the UNIX launcher script is also used on MacOS.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6421) Netbeans 12.6 freezes AWT from Micronaut Support

2022-04-03 Thread Alberto Rinaudo (Jira)


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

Alberto Rinaudo commented on NETBEANS-6421:
---

Hi,

I'm having the exact same problem. Application freeze, dump files with the same 
content, and that level error too.

Here's my setup:
{code:java}
Product Version: Apache NetBeans IDE 13
Java: 17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8-Debian-1deb11u1
Runtime: OpenJDK Runtime Environment 17.0.2+8-Debian-1deb11u1
System: Linux version 5.10.0-13-amd64 running on amd64; UTF-8; en_GB (nb){code}
Can this also be related to https://issues.apache.org/jira/browse/NETBEANS-577? 
Do we have a regression here?

If I can provide any other info please let me know.

Thanks

> Netbeans 12.6 freezes AWT from Micronaut Support
> 
>
> Key: NETBEANS-6421
> URL: https://issues.apache.org/jira/browse/NETBEANS-6421
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 11.0.13; OpenJDK 64-Bit Server VM 11.0.13+8
> *Runtime:* OpenJDK Runtime Environment 11.0.13+8
> *System:* Mac OS X version 12.1 running on x86_64; UTF-8; de_DE (nb)
> nbjavac enabled
> Compile on save enabled
> maven multi module project (> 1000 classes)
>Reporter: Stefan Röper
>Priority: Major
>
> Netbeans GUI freezes occasionally during save of file or during navigation.
> This happens since 12.6 on my system with a frequency of once every two hours.
>  
> Disabling micronaut plugin helps to prevent that freezing GUI but also makes 
> Netbeans more responsive and less memory hungry( 2.3 GB instead of 3.5 GB). 
> After some hours Netbeans again freezes even with micronaut disabled.
> The frozen GUI does not let the user save a file or change a tab nor let him 
> further editing the file. The Window can still be moved and the menu is still 
> responsive. After choosing a menu item (i.e. Quit) the spinning ball shows up 
> and the only possibility is to kill the netbeans process.
>  
> I also get the message:
> Even though the source level of .../src/main/resources is set to: 11, 
> java.util.zip.CRC32C cannot be found on the system module path: 
> Changing source level to 1.8
>  
> This is combined with lots of *.dump files. All start with 
> "Incorrectly reparsed file"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6110) Netbeans hangs on save (CTRL+S)

2022-03-31 Thread Meghna Jayan (Jira)


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

Meghna Jayan commented on NETBEANS-6110:


Checked for junit4 in Netbeans 13 version. Issue is resolved.

> Netbeans hangs on save (CTRL+S)
> ---
>
> Key: NETBEANS-6110
> URL: https://issues.apache.org/jira/browse/NETBEANS-6110
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.4
> Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4
>Reporter: Yngve Halmø
>Assignee: Meghna Jayan
>Priority: Major
> Attachments: WorkflowPersistenceServiceTest_104.dump, 
> WorkflowPersistenceServiceTest_70.dump, messages.log.1
>
>
> I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The 
> weird thing is that saving works as I start writing the test, but at some 
> point (seemingly after I add certain text or amount of text), saving stops 
> working and Netbeans hangs as soon as I hit save the next time.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6110) Netbeans hangs on save (CTRL+S)

2022-03-31 Thread Meghna Jayan (Jira)


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

Meghna Jayan reassigned NETBEANS-6110:
--

Assignee: Meghna Jayan  (was: dhaval)

> Netbeans hangs on save (CTRL+S)
> ---
>
> Key: NETBEANS-6110
> URL: https://issues.apache.org/jira/browse/NETBEANS-6110
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.4
> Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4
>Reporter: Yngve Halmø
>Assignee: Meghna Jayan
>Priority: Major
> Attachments: WorkflowPersistenceServiceTest_104.dump, 
> WorkflowPersistenceServiceTest_70.dump, messages.log.1
>
>
> I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The 
> weird thing is that saving works as I start writing the test, but at some 
> point (seemingly after I add certain text or amount of text), saving stops 
> working and Netbeans hangs as soon as I hit save the next time.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



  1   2   3   4   5   6   7   8   9   10   >