[jira] [Updated] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5821:
-
Component/s: lsp

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring, lsp
>Affects Versions: 12.3, 12.4
>Reporter: Pavel_K
>Priority: Major
>  Labels: Look, Nimbus
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png, Screenshot from 2021-07-14 22-46-25.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Assigned] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-5821:


Assignee: Jan Lahoda

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring, lsp
>Affects Versions: 12.3, 12.4
>Reporter: Pavel_K
>Assignee: Jan Lahoda
>Priority: Major
>  Labels: Look, Nimbus
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png, Screenshot from 2021-07-14 22-46-25.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Updated] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5821:
-
Labels: Look Nimbus  (was: )

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 12.3, 12.4
>Reporter: Pavel_K
>Priority: Major
>  Labels: Look, Nimbus
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png, Screenshot from 2021-07-14 22-46-25.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Updated] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5821:
-
Component/s: editor - Refactoring

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Reporter: Pavel_K
>Priority: Major
> Fix For: 12.3
>
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png, Screenshot from 2021-07-14 22-46-25.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Updated] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5821:
-
Fix Version/s: (was: 12.3)

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png, Screenshot from 2021-07-14 22-46-25.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Updated] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5821:
-
Affects Version/s: 12.4
   12.3

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 12.3, 12.4
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png, Screenshot from 2021-07-14 22-46-25.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Commented] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5821:
--

Now I got it, it is due to your LaF change. You use Nimbus and just there is 
the exception. Please, just for the verification, just try another look and 
feel like FlatLaF and see whether it will happens there too or not. Also it is 
written in your exception, that it has smth to do with your Nimbus look and 
feel.

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Fix For: 12.3
>
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png, Screenshot from 2021-07-14 22-46-25.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

For further information about the NetBeans mailing 

[jira] [Commented] (NETBEANS-5857) Empty rename dialog shows error on hitting preview or refactor

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5857:
--

Same happens or this snippet:

{code:typescript}
class Foo {

}
{}

The cursors needs to the at the end of the class name Foo. If you open the 
rename dialog, it is also empty. Here I expect, that it knows the last word, 
where the cursors is on so it should add Foo into the rename dialog.

> Empty rename dialog shows error on hitting preview or refactor
> --
>
> Key: NETBEANS-5857
> URL: https://issues.apache.org/jira/browse/NETBEANS-5857
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring, lsp
>Affects Versions: 12.4
> Environment: Product Version: Apache NetBeans IDE 12.4
> Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
> Runtime: OpenJDK Runtime Environment 14+36-1461
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> When I hit the rename dialog in a typescript file when the file is empty or 
> in a context where I can't open this dialog, the dialog which comes up is 
> empty and I can click on preview or refactor. First it shows me this error
> Module LSP Client threw java.lang.NullPointerException. Please report a bug 
> against LSP Client module and attach your var/log/messages.log.
> and second an Unexpected Exception was thrown:
> {code}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.lsp.client.bindings.refactoring.Refactoring$RenameRefactoringPlugin.prepare(Refactoring.java:222)
> [catch] at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417)
>   at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401)
>   at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212)
>   at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:1063)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {code}
> Steps to reproduce
> * Open a clean instance of NetBeans 12.4
> * Create an HTML5 project and let everything to default
> * Right click and choose New -> Other -> Other -> empty file and name it 
> foo.ts
> * Open the file and hit ctrl + r for rename
> * An empty rename popup opens
> * Click on preview or refactor and see exception.
> Was was expected
> That I can't open the rename dialog due to a missing context and I need to 
> see the info, that I can't rename here due to the missing context as in other 
> parts of the IDE.



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

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

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



[jira] [Comment Edited] (NETBEANS-5857) Empty rename dialog shows error on hitting preview or refactor

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-5857 at 7/14/21, 7:47 PM:


Same happens or this snippet:

{code:javascript}
class Foo {

}
{}

The cursors needs to the at the end of the class name Foo. If you open the 
rename dialog, it is also empty. Here I expect, that it knows the last word, 
where the cursors is on so it should add Foo into the rename dialog.


was (Author: chrizzly):
Same happens or this snippet:

{code:typescript}
class Foo {

}
{}

The cursors needs to the at the end of the class name Foo. If you open the 
rename dialog, it is also empty. Here I expect, that it knows the last word, 
where the cursors is on so it should add Foo into the rename dialog.

> Empty rename dialog shows error on hitting preview or refactor
> --
>
> Key: NETBEANS-5857
> URL: https://issues.apache.org/jira/browse/NETBEANS-5857
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring, lsp
>Affects Versions: 12.4
> Environment: Product Version: Apache NetBeans IDE 12.4
> Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
> Runtime: OpenJDK Runtime Environment 14+36-1461
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> When I hit the rename dialog in a typescript file when the file is empty or 
> in a context where I can't open this dialog, the dialog which comes up is 
> empty and I can click on preview or refactor. First it shows me this error
> Module LSP Client threw java.lang.NullPointerException. Please report a bug 
> against LSP Client module and attach your var/log/messages.log.
> and second an Unexpected Exception was thrown:
> {code}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.lsp.client.bindings.refactoring.Refactoring$RenameRefactoringPlugin.prepare(Refactoring.java:222)
> [catch] at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417)
>   at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401)
>   at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212)
>   at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:1063)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {code}
> Steps to reproduce
> * Open a clean instance of NetBeans 12.4
> * Create an HTML5 project and let everything to default
> * Right click and choose New -> Other -> Other -> empty file and name it 
> foo.ts
> * Open the file and hit ctrl + r for rename
> * An empty rename popup opens
> * Click on preview or refactor and see exception.
> Was was expected
> That I can't open the rename dialog due to a missing context and I need to 
> see the info, that I can't rename here due to the missing context as in other 
> parts of the IDE.



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

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

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



[jira] [Comment Edited] (NETBEANS-5857) Empty rename dialog shows error on hitting preview or refactor

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-5857 at 7/14/21, 7:47 PM:


Same happens or this snippet:

{code:javascript}
class Foo {

}
{code}

The cursors needs to the at the end of the class name Foo. If you open the 
rename dialog, it is also empty. Here I expect, that it knows the last word, 
where the cursors is on so it should add Foo into the rename dialog.


was (Author: chrizzly):
Same happens or this snippet:

{code:javascript}
class Foo {

}
{}

The cursors needs to the at the end of the class name Foo. If you open the 
rename dialog, it is also empty. Here I expect, that it knows the last word, 
where the cursors is on so it should add Foo into the rename dialog.

> Empty rename dialog shows error on hitting preview or refactor
> --
>
> Key: NETBEANS-5857
> URL: https://issues.apache.org/jira/browse/NETBEANS-5857
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring, lsp
>Affects Versions: 12.4
> Environment: Product Version: Apache NetBeans IDE 12.4
> Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
> Runtime: OpenJDK Runtime Environment 14+36-1461
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> When I hit the rename dialog in a typescript file when the file is empty or 
> in a context where I can't open this dialog, the dialog which comes up is 
> empty and I can click on preview or refactor. First it shows me this error
> Module LSP Client threw java.lang.NullPointerException. Please report a bug 
> against LSP Client module and attach your var/log/messages.log.
> and second an Unexpected Exception was thrown:
> {code}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.lsp.client.bindings.refactoring.Refactoring$RenameRefactoringPlugin.prepare(Refactoring.java:222)
> [catch] at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417)
>   at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401)
>   at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212)
>   at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:1063)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {code}
> Steps to reproduce
> * Open a clean instance of NetBeans 12.4
> * Create an HTML5 project and let everything to default
> * Right click and choose New -> Other -> Other -> empty file and name it 
> foo.ts
> * Open the file and hit ctrl + r for rename
> * An empty rename popup opens
> * Click on preview or refactor and see exception.
> Was was expected
> That I can't open the rename dialog due to a missing context and I need to 
> see the info, that I can't rename here due to the missing context as in other 
> parts of the IDE.



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

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

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



[jira] [Updated] (NETBEANS-5857) Empty rename dialog shows error on hitting preview or refactor

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5857:
-
Summary: Empty rename dialog shows error on hitting preview or refactor  
(was: Emptx rename dialog shows error on hitting preview or refactor)

> Empty rename dialog shows error on hitting preview or refactor
> --
>
> Key: NETBEANS-5857
> URL: https://issues.apache.org/jira/browse/NETBEANS-5857
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring, lsp
>Affects Versions: 12.4
> Environment: Product Version: Apache NetBeans IDE 12.4
> Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
> Runtime: OpenJDK Runtime Environment 14+36-1461
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> When I hit the rename dialog in a typescript file when the file is empty or 
> in a context where I can't open this dialog, the dialog which comes up is 
> empty and I can click on preview or refactor. First it shows me this error
> Module LSP Client threw java.lang.NullPointerException. Please report a bug 
> against LSP Client module and attach your var/log/messages.log.
> and second an Unexpected Exception was thrown:
> {code}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.lsp.client.bindings.refactoring.Refactoring$RenameRefactoringPlugin.prepare(Refactoring.java:222)
> [catch] at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417)
>   at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401)
>   at 
> org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212)
>   at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:1063)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {code}
> Steps to reproduce
> * Open a clean instance of NetBeans 12.4
> * Create an HTML5 project and let everything to default
> * Right click and choose New -> Other -> Other -> empty file and name it 
> foo.ts
> * Open the file and hit ctrl + r for rename
> * An empty rename popup opens
> * Click on preview or refactor and see exception.
> Was was expected
> That I can't open the rename dialog due to a missing context and I need to 
> see the info, that I can't rename here due to the missing context as in other 
> parts of the IDE.



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

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

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



[jira] [Created] (NETBEANS-5857) Emptx rename dialog shows error on hitting preview or refactor

2021-07-14 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-5857:


 Summary: Emptx rename dialog shows error on hitting preview or 
refactor
 Key: NETBEANS-5857
 URL: https://issues.apache.org/jira/browse/NETBEANS-5857
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Refactoring, lsp
Affects Versions: 12.4
 Environment: Product Version: Apache NetBeans IDE 12.4
Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
Runtime: OpenJDK Runtime Environment 14+36-1461
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
Reporter: Christian Lenz
Assignee: Jan Lahoda


When I hit the rename dialog in a typescript file when the file is empty or in 
a context where I can't open this dialog, the dialog which comes up is empty 
and I can click on preview or refactor. First it shows me this error

Module LSP Client threw java.lang.NullPointerException. Please report a bug 
against LSP Client module and attach your var/log/messages.log.

and second an Unexpected Exception was thrown:

{code}
java.lang.NullPointerException
at 
org.netbeans.modules.lsp.client.bindings.refactoring.Refactoring$RenameRefactoringPlugin.prepare(Refactoring.java:222)
[catch] at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417)
at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401)
at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212)
at 
org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:1063)
at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
{code}

Steps to reproduce
* Open a clean instance of NetBeans 12.4
* Create an HTML5 project and let everything to default
* Right click and choose New -> Other -> Other -> empty file and name it foo.ts
* Open the file and hit ctrl + r for rename
* An empty rename popup opens
* Click on preview or refactor and see exception.

Was was expected
That I can't open the rename dialog due to a missing context and I need to see 
the info, that I can't rename here due to the missing context as in other parts 
of the IDE.



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

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

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



[jira] [Updated] (NETBEANS-5856) Rename dialog comes up everywhere in a TS file

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5856:
-
Environment: 
Product Version: Apache NetBeans IDE 12.4
Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
Runtime: OpenJDK Runtime Environment 14+36-1461
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4

> Rename dialog comes up everywhere in a TS file
> --
>
> Key: NETBEANS-5856
> URL: https://issues.apache.org/jira/browse/NETBEANS-5856
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 12.4
> Environment: Product Version: Apache NetBeans IDE 12.4
> Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
> Runtime: OpenJDK Runtime Environment 14+36-1461
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
>Reporter: Christian Lenz
>Priority: Major
>
> When I create a typescript file which is empty, I can call the rename dialog 
> while hitting ctrl + r everytime. The file doesn't need to be empty, I can 
> call it on every column and if the context is not correct, the rename dialog 
> is empty.
> Steps to reproduce:
> * Open a clean instance of NetBeans 12.4
> * Create an HTML5 project
> * Right click on the Project -> New -> Other -> Other -> Empty file
> * Call it foo.ts
> * Empty TS File opens
> * Hit ctrl + r
> * Empty rename dialog opens
> What was expected
> In other filetypes when the context is not correct, when I try to hit the 
> rename action for example on a new line which is empty, it says: You can't 
> call this dialog in this context.
> So I expect this for the whole empty TS file too. It should only open the 
> rename dialog, if the context is correct which could be variables, function 
> names, classes, interfaces, etc.



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

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

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



[jira] [Updated] (NETBEANS-5856) Rename dialog comes up everywhere in a TS file

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5856:
-
Summary: Rename dialog comes up everywhere in a TS file  (was: Rename 
dialog popups everywhere in a TS file)

> Rename dialog comes up everywhere in a TS file
> --
>
> Key: NETBEANS-5856
> URL: https://issues.apache.org/jira/browse/NETBEANS-5856
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 12.4
>Reporter: Christian Lenz
>Priority: Major
>
> When I create a typescript file which is empty, I can call the rename dialog 
> while hitting ctrl + r everytime. The file doesn't need to be empty, I can 
> call it on every column and if the context is not correct, the rename dialog 
> is empty.
> Steps to reproduce:
> * Open a clean instance of NetBeans 12.4
> * Create an HTML5 project
> * Right click on the Project -> New -> Other -> Other -> Empty file
> * Call it foo.ts
> * Empty TS File opens
> * Hit ctrl + r
> * Empty rename dialog opens
> What was expected
> In other filetypes when the context is not correct, when I try to hit the 
> rename action for example on a new line which is empty, it says: You can't 
> call this dialog in this context.
> So I expect this for the whole empty TS file too. It should only open the 
> rename dialog, if the context is correct which could be variables, function 
> names, classes, interfaces, etc.



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

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

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



[jira] [Created] (NETBEANS-5856) Rename dialog popups everywhere in a TS file

2021-07-14 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-5856:


 Summary: Rename dialog popups everywhere in a TS file
 Key: NETBEANS-5856
 URL: https://issues.apache.org/jira/browse/NETBEANS-5856
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Refactoring
Affects Versions: 12.4
Reporter: Christian Lenz


When I create a typescript file which is empty, I can call the rename dialog 
while hitting ctrl + r everytime. The file doesn't need to be empty, I can call 
it on every column and if the context is not correct, the rename dialog is 
empty.

Steps to reproduce:
* Open a clean instance of NetBeans 12.4
* Create an HTML5 project
* Right click on the Project -> New -> Other -> Other -> Empty file
* Call it foo.ts
* Empty TS File opens
* Hit ctrl + r
* Empty rename dialog opens

What was expected
In other filetypes when the context is not correct, when I try to hit the 
rename action for example on a new line which is empty, it says: You can't call 
this dialog in this context.

So I expect this for the whole empty TS file too. It should only open the 
rename dialog, if the context is correct which could be variables, function 
names, classes, interfaces, etc.



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

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

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



[jira] [Commented] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5821:
--

I got other exceptions but not that, what you got.

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Fix For: 12.3
>
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Commented] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5821:
--

Did you tried it with NetBeans 12.4? I just added a ts file to my project and 
everything works fine

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Fix For: 12.3
>
> Attachments: Screenshot from 2021-07-14 18-25-00.png, Screenshot from 
> 2021-07-14 18-27-42.png
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Created] (NETBEANS-5851) Renaming a file in an HTML project with git support closes file after rename

2021-07-14 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-5851:


 Summary: Renaming a file in an HTML project with git support 
closes file after rename
 Key: NETBEANS-5851
 URL: https://issues.apache.org/jira/browse/NETBEANS-5851
 Project: NetBeans
  Issue Type: Bug
  Components: versioncontrol - Git, web - HTML Project
Affects Versions: 12.4
 Environment: Product Version: Apache NetBeans IDE 12.4
Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
Runtime: OpenJDK Runtime Environment 14+36-1461
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
Git for Windows version: 2.31.1.windows.1
Reporter: Christian Lenz


When I create a simple HTML5 project and initilize this project as a git 
project and try to rename a file, which is open inside of the editor, it will 
close the file after renaming it.

Steps to reproduce:

* Open NetBeans 12.4 as clean as possible
* Create a new HTML5 project and follow the steps until the end, everything 
default
* Wait for opening the project
* Right click on the project -> Versioning -> Initilize Git Repository...
* Go to options -> keymap -> search for Rename... with category System and set 
it to F2
* Click ok
* Open the index.html file and hit F2
* Rename dialog opens
* Change index to indexs and hit enter
* It will close the rename dialog and also the index.html file.
* If it doesn't work for the first time, stay in the indexs.html file, hit F2 
again and rename it back to index and hit enter.
* Try any other file like XML, JSON, JS etc.

What was expected
That the file still stays open after renaming. This just happens if I initilize 
the project with git. If not, everything works fine and as expected.



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

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

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



[jira] [Comment Edited] (NETBEANS-581) Could not find an option named "cache-location".

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-581 at 7/14/21, 2:26 PM:
---

Hardcoded arguments doesn't make sense at all. It would prefer to let the user 
add such arguments by their own as you can do it for maven or JS on JVM. Also 
my plugin Minifierbeans has those input fields. We don't need to check the help 
section of the CLI to parse them. That would be a cool and helpful feature but 
step by step.

Added screenshot from my plugin:  !minifierbeans-options.png! 

So long story short there is a need for not hardcoded stuff anymore, due to 
fast changes and we should try to add such inputfield with common flags and the 
use can change it if needed.


was (Author: chrizzly):
Hardcoded arguments doesn't make sense at all. It would prefer to let the user 
add such arguments by their own as you can do it for maven or JS on JVM. Also 
my plugin Minifierbeans has those input fields. We don't need to check the help 
section of the CLI to parse them. That would be a cool and helpful feature but 
step by step.

Added screenshot from my plugin:  !minifierbeans-options.png! 

> Could not find an option named "cache-location".
> 
>
> Key: NETBEANS-581
> URL: https://issues.apache.org/jira/browse/NETBEANS-581
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Affects Versions: 12.3
>Reporter: Bo Andersen
>Priority: Major
> Attachments: minifierbeans-options.png
>
>
> When using the internal sass configuration, it calls the sass compiler with 
> the --cache-location command. It seems that this is not part of the current 
> sass compiler anymore.
>  
> Sass error:
> Could not find an option named "cache-location".
>  
> I am using this release of sass compiler: 
> https://github.com/sass/dart-sass/releases/tag/1.1.1



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

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

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



[jira] [Updated] (NETBEANS-581) Could not find an option named "cache-location".

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-581:

Attachment: minifierbeans-options.png

> Could not find an option named "cache-location".
> 
>
> Key: NETBEANS-581
> URL: https://issues.apache.org/jira/browse/NETBEANS-581
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Affects Versions: 12.3
>Reporter: Bo Andersen
>Priority: Major
> Attachments: minifierbeans-options.png
>
>
> When using the internal sass configuration, it calls the sass compiler with 
> the --cache-location command. It seems that this is not part of the current 
> sass compiler anymore.
>  
> Sass error:
> Could not find an option named "cache-location".
>  
> I am using this release of sass compiler: 
> https://github.com/sass/dart-sass/releases/tag/1.1.1



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

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

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



[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-581:
-

Hardcoded arguments doesn't make sense at all. It would prefer to let the user 
add such arguments by their own as you can do it for maven or JS on JVM. Also 
my plugin Minifierbeans has those input fields. We don't need to check the help 
section of the CLI to parse them. That would be a cool and helpful feature but 
step by step.

Added screenshot from my plugin:  !minifierbeans-options.png! 

> Could not find an option named "cache-location".
> 
>
> Key: NETBEANS-581
> URL: https://issues.apache.org/jira/browse/NETBEANS-581
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Affects Versions: 12.3
>Reporter: Bo Andersen
>Priority: Major
> Attachments: minifierbeans-options.png
>
>
> When using the internal sass configuration, it calls the sass compiler with 
> the --cache-location command. It seems that this is not part of the current 
> sass compiler anymore.
>  
> Sass error:
> Could not find an option named "cache-location".
>  
> I am using this release of sass compiler: 
> https://github.com/sass/dart-sass/releases/tag/1.1.1



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

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

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



[jira] [Commented] (NETBEANS-5821) NullPointerException on renaming in TypeScript files

2021-07-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5821:
--

Hey [~Pavel_K] can you please add more information? Like what you did exactly? 
I use 12.4 and it seems to work. I found another bug, but this is not related 
to this ticket here. Please add explicit steps to reproduce like open this 
snippet, click here, use shortcut this etc. and maybe the code snippet that 
makes problems. Thx :)

> NullPointerException on renaming in TypeScript files
> 
>
> Key: NETBEANS-5821
> URL: https://issues.apache.org/jira/browse/NETBEANS-5821
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Fix For: 12.3
>
>
> It is not possible to rename function/class etc in typescript files. These 
> are details:
>  
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.getName(RenamePanel.java:74)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1480)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1472)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1161)
>  at 
> java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel$1.getStyle(NimbusLookAndFeel.java:112)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:240)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:261)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:116)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:62)
>  at 
> java.desktop/javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
>  at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
>  at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
>  at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:86)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:109)
>  at java.desktop/javax.swing.JPanel.(JPanel.java:117)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenamePanel.(RenamePanel.java:30)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RenameRefactoringUIImpl.getPanel(RenameRefactoringUIImpl.java:81)
>  at 
> org.netbeans.modules.refactoring.spi.impl.ParametersPanel.(ParametersPanel.java:131)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:656)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.(RefactoringPanel.java:144)
>  at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:61)
>  at 
> org.netbeans.modules.lsp.client.bindings.refactoring.RefactoringActionsProvider.lambda$doRename$1(RefactoringActionsProvider.java:142)
>  at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90){code}



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

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

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



[jira] [Commented] (NETBEANS-5836) Editor unable to parse Javascript file

2021-07-05 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5836:
--

I don't have any problems with your snippet. So we need more info for that. Is 
this a normal HTML5 project or a Node project? or just a JavaScript project? 
Which JDK do you use?

> Editor unable to parse Javascript file
> --
>
> Key: NETBEANS-5836
> URL: https://issues.apache.org/jira/browse/NETBEANS-5836
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.4
> Environment: Windows 10 (with latest patches)
> NetBeans 12.4
>Reporter: Dave Power
>Priority: Critical
> Attachments: IDE.log, UI.log, scripts.js
>
>
> Attempting to open the javascript file scripts.js causes a parsing error.
> NullPointerException: The content parameter cannot be null
> It is a cut down version of a much larger file, but this file seems to 
> trigger the error everytime I attempt to open it and set it to be the active 
> window.
> The navigator window does appear to show the correct results, but in the 
> complete version of the file, the navigator window stops working and NetBeans 
> just goes into an endless loop.



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

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

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



[jira] [Closed] (NETBEANS-5817) What patent stories do you know? / Olympic Curling Stones 2002 and 2006

2021-06-28 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-5817.

  Assignee: Jiří Kovalský
Resolution: Invalid

Spam.

> What patent stories do you know? / Olympic Curling Stones 2002 and 2006
> ---
>
> Key: NETBEANS-5817
> URL: https://issues.apache.org/jira/browse/NETBEANS-5817
> Project: NetBeans
>  Issue Type: Bug
>Reporter: ward
>Assignee: Jiří Kovalský
>Priority: Minor
>
> Olympic Curling Stones 2002 and 2006
> Olympic Curling Stones 2002 (top) and 2006 (bottom)
> While I don’t remember seeing the lights or hearing about the system during 
> the last Olympics, it turns out that the technology is not all the new.  A 
> review of some photographs from the last few Winter Games suggests that this 
> technology was actually adopted for the 2006 Winter Olympics.  In the 
> adjacent photo from the 2002 Winter Olympics in Salt Lake City, the stone has 
> a solid yellow handle indicating the absence of a human-touch sensor in the 
> handle.  In the photo from the 2006 Winter Olympics in Torino, Italy, the 
> stone includes a metallic colored handle on a yellow cover indicating the 
> presence of a human-sensor.
>  
> According to Eye On The Hog (website), the system was first conceived in1994 
> by a Professor Eric Salt from the University of Saskatchewan as a fourth year 
> design project for some of his electrical engineering students.  Eventually, 
> a Canadian patent application was filed for the system that lists Professor 
> Salt as well as several of his students as inventors. By the way, the success 
> of a patent permit depends on the application. Before obtaining a patent 
> permit, you need to submit a written application, which can be helped by the 
> service [https://buypapercheap.net/] that mainly provides written homework, 
> programming homework and homework for certain disciplines.
>  
> The Canadian patent application was filed in the name of the University of 
> Saskatchewan on November 27, 2001 and assigned Application No. CA 2 363 877.  
> The application was published on May 27, 2003, and a copy of the application, 
> as published, can be downloaded here:  Canadian Patent Application No. 2 363 
> 877 A1.



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

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

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



[jira] [Updated] (NETBEANS-5087) Add functionality to change mimetype of an open file temporarily

2021-04-23 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5087:
-
Summary: Add functionality to change mimetype of an open file temporarily  
(was: Add functionality to change mimetype of an open file)

> Add functionality to change mimetype of an open file temporarily
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Updated] (NETBEANS-5608) Comments in mixed json mimetype files are not possible anymore.

2021-04-22 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5608:
-
Summary: Comments in mixed json mimetype files are not possible anymore.  
(was: Comments in JSON)

> Comments in mixed json mimetype files are not possible anymore.
> ---
>
> Key: NETBEANS-5608
> URL: https://issues.apache.org/jira/browse/NETBEANS-5608
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Ghader Arkani
>Assignee: Christian Lenz
>Priority: Minor
>
> Since JSON files may be used for configuration. It's a good idea that we 
> could add comments in those files.



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

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

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



[jira] [Reopened] (NETBEANS-5608) Comments in JSON

2021-04-22 Thread Christian Lenz (Jira)


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

Christian Lenz reopened NETBEANS-5608:
--
  Assignee: Christian Lenz

> Comments in JSON
> 
>
> Key: NETBEANS-5608
> URL: https://issues.apache.org/jira/browse/NETBEANS-5608
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Ghader Arkani
>Assignee: Christian Lenz
>Priority: Minor
>
> Since JSON files may be used for configuration. It's a good idea that we 
> could add comments in those files.



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

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

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



[jira] [Commented] (NETBEANS-5608) Comments in JSON

2021-04-22 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5608:
--

Yes, they are treated differently. Maybe the comments is only allowed for plain 
text/x-json but the package.json file and also package-lock have a mixed 
mimeType which is text/package+x-json. It is first for the different icon, yes 
and second for later maybe code completion for package.json specific stuff. So 
I can check whether the comments are just allowed for text/x-json. Will have a 
look later.

> Comments in JSON
> 
>
> Key: NETBEANS-5608
> URL: https://issues.apache.org/jira/browse/NETBEANS-5608
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Ghader Arkani
>Priority: Minor
>
> Since JSON files may be used for configuration. It's a good idea that we 
> could add comments in those files.



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

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

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



[jira] [Updated] (NETBEANS-5608) Comments in JSON

2021-04-22 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5608:
-
Issue Type: Bug  (was: Improvement)

> Comments in JSON
> 
>
> Key: NETBEANS-5608
> URL: https://issues.apache.org/jira/browse/NETBEANS-5608
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Ghader Arkani
>Assignee: Christian Lenz
>Priority: Minor
>
> Since JSON files may be used for configuration. It's a good idea that we 
> could add comments in those files.



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

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

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



[jira] [Updated] (NETBEANS-5603) el programa se bloquea al ejecutar un dowhile

2021-04-21 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5603:
-
Description: 
I am starting with Java programming but when using NetBeans to develop a test 
program exposed in a book the program does not come out as it should.

I have used the same code in BlueJ and it works perfectly as it should.

 

In NetBeans when it gets to Loop do while it doesn't seem to make any progress 
and executes a simple System.out.print("..") followed by another 
System.out.print("..") . When you hit enter 3 times the program repeats the 
System.out.print("..") twice or three times. 

Translated with www.DeepL.com/Translator (free version)

  was:
Estoy empezando con la programación Java pero al usar NetBeans por desarollar 
un programa de prueba expuesto en un libro e programa no sale como debería.

He utilizado el mismo código en BlueJ y funciona perfectamente como debería.

 

En NetBeans cuando llega a Bucle do while parece que no consigue avanzar y 
ejecutar un simple System.out.print("..") seguido de otro 
System.out.print("..") . Al darle intro 3 veces el programa repite dos 
veces o tres el System.out.print("..") 


> el programa se bloquea al ejecutar un dowhile 
> --
>
> Key: NETBEANS-5603
> URL: https://issues.apache.org/jira/browse/NETBEANS-5603
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Lorenzo 
>Priority: Minor
> Attachments: Incidencia Netbeans_190421.docx, code.txt, maven under 
> debug output.png
>
>
> I am starting with Java programming but when using NetBeans to develop a test 
> program exposed in a book the program does not come out as it should.
> I have used the same code in BlueJ and it works perfectly as it should.
>  
> In NetBeans when it gets to Loop do while it doesn't seem to make any 
> progress and executes a simple System.out.print("..") followed by another 
> System.out.print("..") . When you hit enter 3 times the program repeats 
> the System.out.print("..") twice or three times. 
> Translated with www.DeepL.com/Translator (free version)



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

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

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



[jira] [Comment Edited] (NETBEANS-5603) el programa se bloquea al ejecutar un dowhile

2021-04-21 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-5603 at 4/21/21, 4:04 PM:


It works for me for ant and for maven but the maven behaviour is a bit strange, 
it doesn't show all of that, what I need to input.

NetBeans 12.3 and JDK 11.0.2. Windows 10 64bit latest version


was (Author: chrizzly):
It works for me for ant and for maven but the maven behaviour is a bit strange, 
it doesn't show all of that, what I need to input. NetBeans 12.3 and JDK 11.0.2.

> el programa se bloquea al ejecutar un dowhile 
> --
>
> Key: NETBEANS-5603
> URL: https://issues.apache.org/jira/browse/NETBEANS-5603
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Lorenzo 
>Priority: Minor
> Attachments: Incidencia Netbeans_190421.docx, code.txt, maven under 
> debug output.png
>
>
> Estoy empezando con la programación Java pero al usar NetBeans por desarollar 
> un programa de prueba expuesto en un libro e programa no sale como debería.
> He utilizado el mismo código en BlueJ y funciona perfectamente como debería.
>  
> En NetBeans cuando llega a Bucle do while parece que no consigue avanzar y 
> ejecutar un simple System.out.print("..") seguido de otro 
> System.out.print("..") . Al darle intro 3 veces el programa repite dos 
> veces o tres el System.out.print("..") 



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

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

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



[jira] [Comment Edited] (NETBEANS-5603) el programa se bloquea al ejecutar un dowhile

2021-04-21 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-5603 at 4/21/21, 4:04 PM:


It works for me for ant and for maven but the maven behaviour is a bit strange, 
it doesn't show all of that, what I need to input. NetBeans 12.3 and JDK 11.0.2.


was (Author: chrizzly):
It works for me for ant and for maven but the maven behaviour is a bit strange, 
it doesn't show all of that, what I need to input.

> el programa se bloquea al ejecutar un dowhile 
> --
>
> Key: NETBEANS-5603
> URL: https://issues.apache.org/jira/browse/NETBEANS-5603
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Lorenzo 
>Priority: Minor
> Attachments: Incidencia Netbeans_190421.docx, code.txt, maven under 
> debug output.png
>
>
> Estoy empezando con la programación Java pero al usar NetBeans por desarollar 
> un programa de prueba expuesto en un libro e programa no sale como debería.
> He utilizado el mismo código en BlueJ y funciona perfectamente como debería.
>  
> En NetBeans cuando llega a Bucle do while parece que no consigue avanzar y 
> ejecutar un simple System.out.print("..") seguido de otro 
> System.out.print("..") . Al darle intro 3 veces el programa repite dos 
> veces o tres el System.out.print("..") 



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

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

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



[jira] [Commented] (NETBEANS-5608) Comments in JSON

2021-04-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5608:
--

In which file did you try this? It is not working in my package.json file but 
in a tsconfig.json file.

> Comments in JSON
> 
>
> Key: NETBEANS-5608
> URL: https://issues.apache.org/jira/browse/NETBEANS-5608
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Ghader Arkani
>Priority: Minor
>
> Since JSON files may be used for configuration. It's a good idea that we 
> could add comments in those files.



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

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

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



[jira] [Commented] (NETBEANS-5603) el programa se bloquea al ejecutar un dowhile

2021-04-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5603:
--

It works for me for ant and for maven but the maven behaviour is a bit strange, 
it doesn't show all of that, what I need to input.

> el programa se bloquea al ejecutar un dowhile 
> --
>
> Key: NETBEANS-5603
> URL: https://issues.apache.org/jira/browse/NETBEANS-5603
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Lorenzo 
>Priority: Minor
> Attachments: Incidencia Netbeans_190421.docx, code.txt, maven under 
> debug output.png
>
>
> Estoy empezando con la programación Java pero al usar NetBeans por desarollar 
> un programa de prueba expuesto en un libro e programa no sale como debería.
> He utilizado el mismo código en BlueJ y funciona perfectamente como debería.
>  
> En NetBeans cuando llega a Bucle do while parece que no consigue avanzar y 
> ejecutar un simple System.out.print("..") seguido de otro 
> System.out.print("..") . Al darle intro 3 veces el programa repite dos 
> veces o tres el System.out.print("..") 



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

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

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



[jira] [Commented] (NETBEANS-5603) el programa se bloquea al ejecutar un dowhile

2021-04-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5603:
--

Please change the description also in english. And also we need your sample 
program to test it. We can't guess what the problem is. For me it sounds smth 
wrong with your program, but you already said, that this is working in another 
IDE. So we need the program to test it. Thx. And if possible maybe the book 
page where you tried the example to help you.

> el programa se bloquea al ejecutar un dowhile 
> --
>
> Key: NETBEANS-5603
> URL: https://issues.apache.org/jira/browse/NETBEANS-5603
> Project: NetBeans
>  Issue Type: Bug
> Environment: import java.util.*;
> public class CalculadoraElemental {
> public static void main(String args[]) {
> char opcion;
> Scanner sc = new Scanner(System.in);
> System.out.println("PROGRAMA CALCULADORA");
>do{
>System.out.println("pulse Intro para empezar:");
>do{
> System.out.print("Selecciona un operacion ");
> System.out.print("+,-,*,/ (0) para terminar");
> String texto= sc.nextLine();
> opcion= (texto.length()>0)?texto.charAt(0): '0';
>   }while("+-*/0".indexOf(opcion)<0);
> if(opcion!='0'){
> System.out.println("\nIntroduce un numero");
> double n1 = Double.parseDouble(sc.nextLine());
> System.out.println("\nIntroduce otro numero");
> double n2 = Double.parseDouble(sc.nextLine());
> switch (opcion) {
> case '+':
> System.out.printf("%5.2f+%5.2f=%5.2f\n", n1,n2,n1+n2);
> break;
> case'-':
> System.out.printf("%5.2f-%5.2f=%5.2f\n", n1,n2,n1-n2);
> break;
> case'*':
> System.out.printf("%5.2f*%5.2f=%5.2f\n", n1,n2,n1*n2);
> break;
> case '/':
> if (n2>0)
> System.out.printf("%5.2f/%5.2f=%5.2f\n", n1,n2,n1/n2);
> break;
> } 
> }
> }while(opcion!='0');
> System.out.println("\n Fin del Programa");
> }
> }
>Reporter: Lorenzo 
>Priority: Minor
> Attachments: Incidencia Netbeans_190421.docx
>
>
> Estoy empezando con la programación Java pero al usar NetBeans por desarollar 
> un programa de prueba expuesto en un libro e programa no sale como debería.
> He utilizado el mismo código en BlueJ y funciona perfectamente como debería.
>  
> En NetBeans cuando llega a Bucle do while parece que no consigue avanzar y 
> ejecutar un simple System.out.print("..") seguido de otro 
> System.out.print("..") . Al darle intro 3 veces el programa repite dos 
> veces o tres el System.out.print("..") 



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

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

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



[jira] [Commented] (NETBEANS-5608) Comments in JSON

2021-04-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5608:
--

What exactly doesn't work? DO you see errors, what is not working?

> Comments in JSON
> 
>
> Key: NETBEANS-5608
> URL: https://issues.apache.org/jira/browse/NETBEANS-5608
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Ghader Arkani
>Priority: Minor
>
> Since JSON files may be used for configuration. It's a good idea that we 
> could add comments in those files.



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

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

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



[jira] [Commented] (NETBEANS-5608) Comments in JSON

2021-04-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5608:
--

It is already possible in the project configuration

> Comments in JSON
> 
>
> Key: NETBEANS-5608
> URL: https://issues.apache.org/jira/browse/NETBEANS-5608
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Ghader Arkani
>Priority: Minor
>
> Since JSON files may be used for configuration. It's a good idea that we 
> could add comments in those files.



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

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

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



[jira] [Updated] (NETBEANS-5565) LSP sub processes increases while opening multiple git diff tabs

2021-04-09 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5565:
-
Description: 
While investigating the situation, why the language server for TypeScript opens 
on an core module of NetBeans "webcommon\typescript.editor" I made further 
investigations. I think I understand the stuff better now. the language server 
for typescript runs, because of the typescript template file. So when I open a 
project with TS files or a TS file from a different project, it will map to the 
mimeType and the project. Everything is fine.

But one problem that I encountered is when I change a TS file and make a Git -> 
Show Changes on the tab, the changes window opens and when I double click, it 
will open the changes and it will create a new node sub process of this, which 
never stops/killed and it does it everytime I double click on the changes.

Steps to reproduce:
- Open the NetBeans core module webcommon\typescript.editor
- Have a look into the Taskmanager or process explorer
- NetBeans opens 1 instance with 2 sub node processes and starts the typescript 
language server.
- Make changes in the typescript file
- Right click on the tab of the typescript file
- Go to git -> show changes
- Diff window opens
- Double click on the changed TS file (entry inside of the git diff window)
- Have a look into the task manager and you will see, it will open a new node 
sub process and starts the language server for ts again.
- Repeat this as often as you want.
- We get more and more sub process of this.

I think this here is related to it, somehow: 
https://issues.apache.org/jira/browse/NETBEANS-5142

  was:
While investigating the situation, why the language server for TypeScript opens 
on an core module of NetBeans "webcommon\typescript.editor" I made further 
investigations. I think I understand the stuff better now. the language server 
for typescript runs, because of the typescript template file. So when I open a 
project with TS files or a TS file from a different project, it will map to the 
mimeType and the project. Everything is fine.

But one problem that I encountered is when I change a TS file and make a Git -> 
Show Changes on the tab, the changes window opens and when I double click, it 
will open the changes and it will create a new node sub process of this, which 
never stops/killed and it does it everytime I double click on the changes.

Steps to reproduce:
- Open the NetBeans core module webcommon\typescript.editor
- Have a look into the Taskmanager or process explorer
- NetBeans opens 1 instance with 2 sub node processes and starts the typescript 
language server.
- Make changes in the typescript file
- Right click on the tab of the typescript file
- Go to git -> show changes
- Diff window opens
- Double click on the changed TS file
- Have a look into the task manager and you will see, it will open a new node 
sub process and starts the language server for ts again.
- Repeat this as often as you want.
- We get more and more sub process of this.

I think this here is related to it, somehow: 
https://issues.apache.org/jira/browse/NETBEANS-5142


> LSP sub processes increases while opening multiple git diff tabs
> 
>
> Key: NETBEANS-5565
> URL: https://issues.apache.org/jira/browse/NETBEANS-5565
> Project: NetBeans
>  Issue Type: Bug
>  Components: lsp
>Affects Versions: 12.3
> Environment: Product Version: Apache NetBeans IDE 12.3
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.3
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.3
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: image-2021-04-09-17-07-56-802.png
>
>
> While investigating the situation, why the language server for TypeScript 
> opens on an core module of NetBeans "webcommon\typescript.editor" I made 
> further investigations. I think I understand the stuff better now. the 
> language server for typescript runs, because of the typescript template file. 
> So when I open a project with TS files or a TS file from a different project, 
> it will map to the mimeType and the project. Everything is fine.
> But one problem that I encountered is when I change a TS file and make a Git 
> -> Show Changes on the tab, the changes window opens and when I double click, 
> it will open the changes and it will create a new node sub process of this, 
> which never stops/killed and it does it everytime I double click on the 
> changes.
> Steps to reproduce:
> - Open the NetBeans core module 

[jira] [Commented] (NETBEANS-5565) LSP sub processes increases while opening multiple git diff tabs

2021-04-09 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5565:
--

And also to understand it here, the languae server will not get killed, when I 
close the project. Was this inteded to be? I thought when there is no TS file 
anymore or the project with the specific file was closed, then the server 
should close too. Just want to know the correct behaviour.

> LSP sub processes increases while opening multiple git diff tabs
> 
>
> Key: NETBEANS-5565
> URL: https://issues.apache.org/jira/browse/NETBEANS-5565
> Project: NetBeans
>  Issue Type: Bug
>  Components: lsp
>Affects Versions: 12.3
> Environment: Product Version: Apache NetBeans IDE 12.3
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.3
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.3
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: image-2021-04-09-17-07-56-802.png
>
>
> While investigating the situation, why the language server for TypeScript 
> opens on an core module of NetBeans "webcommon\typescript.editor" I made 
> further investigations. I think I understand the stuff better now. the 
> language server for typescript runs, because of the typescript template file. 
> So when I open a project with TS files or a TS file from a different project, 
> it will map to the mimeType and the project. Everything is fine.
> But one problem that I encountered is when I change a TS file and make a Git 
> -> Show Changes on the tab, the changes window opens and when I double click, 
> it will open the changes and it will create a new node sub process of this, 
> which never stops/killed and it does it everytime I double click on the 
> changes.
> Steps to reproduce:
> - Open the NetBeans core module webcommon\typescript.editor
> - Have a look into the Taskmanager or process explorer
> - NetBeans opens 1 instance with 2 sub node processes and starts the 
> typescript language server.
> - Make changes in the typescript file
> - Right click on the tab of the typescript file
> - Go to git -> show changes
> - Diff window opens
> - Double click on the changed TS file
> - Have a look into the task manager and you will see, it will open a new node 
> sub process and starts the language server for ts again.
> - Repeat this as often as you want.
> - We get more and more sub process of this.
> I think this here is related to it, somehow: 
> https://issues.apache.org/jira/browse/NETBEANS-5142



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

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

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



[jira] [Updated] (NETBEANS-5565) LSP sub processes increases while opening multiple git diff tabs

2021-04-09 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5565:
-
Summary: LSP sub processes increases while opening multiple git diff tabs  
(was: LSP sub processes increases while openeing multiple git diff tabs)

> LSP sub processes increases while opening multiple git diff tabs
> 
>
> Key: NETBEANS-5565
> URL: https://issues.apache.org/jira/browse/NETBEANS-5565
> Project: NetBeans
>  Issue Type: Bug
>  Components: lsp
>Affects Versions: 12.3
> Environment: Product Version: Apache NetBeans IDE 12.3
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.3
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.3
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: image-2021-04-09-17-07-56-802.png
>
>
> While investigating the situation, why the language server for TypeScript 
> opens on an core module of NetBeans "webcommon\typescript.editor" I made 
> further investigations. I think I understand the stuff better now. the 
> language server for typescript runs, because of the typescript template file. 
> So when I open a project with TS files or a TS file from a different project, 
> it will map to the mimeType and the project. Everything is fine.
> But one problem that I encountered is when I change a TS file and make a Git 
> -> Show Changes on the tab, the changes window opens and when I double click, 
> it will open the changes and it will create a new node sub process of this, 
> which never stops/killed and it does it everytime I double click on the 
> changes.
> Steps to reproduce:
> - Open the NetBeans core module webcommon\typescript.editor
> - Have a look into the Taskmanager or process explorer
> - NetBeans opens 1 instance with 2 sub node processes and starts the 
> typescript language server.
> - Make changes in the typescript file
> - Right click on the tab of the typescript file
> - Go to git -> show changes
> - Diff window opens
> - Double click on the changed TS file
> - Have a look into the task manager and you will see, it will open a new node 
> sub process and starts the language server for ts again.
> - Repeat this as often as you want.
> - We get more and more sub process of this.
> I think this here is related to it, somehow: 
> https://issues.apache.org/jira/browse/NETBEANS-5142



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

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

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



[jira] [Created] (NETBEANS-5565) LSP sub processes increases while openeing multiple git diff tabs

2021-04-09 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-5565:


 Summary: LSP sub processes increases while openeing multiple git 
diff tabs
 Key: NETBEANS-5565
 URL: https://issues.apache.org/jira/browse/NETBEANS-5565
 Project: NetBeans
  Issue Type: Bug
  Components: lsp
Affects Versions: 12.3
 Environment: Product Version: Apache NetBeans IDE 12.3
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.3
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.3
Reporter: Christian Lenz
Assignee: Jan Lahoda
 Attachments: image-2021-04-09-17-07-56-802.png

While investigating the situation, why the language server for TypeScript opens 
on an core module of NetBeans "webcommon\typescript.editor" I made further 
investigations. I think I understand the stuff better now. the language server 
for typescript runs, because of the typescript template file. So when I open a 
project with TS files or a TS file from a different project, it will map to the 
mimeType and the project. Everything is fine.

But one problem that I encountered is when I change a TS file and make a Git -> 
Show Changes on the tab, the changes window opens and when I double click, it 
will open the changes and it will create a new node sub process of this, which 
never stops/killed and it does it everytime I double click on the changes.

Steps to reproduce:
- Open the NetBeans core module webcommon\typescript.editor
- Have a look into the Taskmanager or process explorer
- NetBeans opens 1 instance with 2 sub node processes and starts the typescript 
language server.
- Make changes in the typescript file
- Right click on the tab of the typescript file
- Go to git -> show changes
- Diff window opens
- Double click on the changed TS file
- Have a look into the task manager and you will see, it will open a new node 
sub process and starts the language server for ts again.
- Repeat this as often as you want.
- We get more and more sub process of this.

I think this here is related to it, somehow: 
https://issues.apache.org/jira/browse/NETBEANS-5142



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

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

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



[jira] [Commented] (NETBEANS-5451) An irregular exception occurs

2021-03-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5451:
--

I have this problem with 12.3. I also thought that this was a problem with 
missing nb-javac, but afaik when I followed the mailing list, I thought that 
nb-javac is not needed anymore from a specific NetBeans version. But it still 
seems so?

> An irregular exception occurs 
> --
>
> Key: NETBEANS-5451
> URL: https://issues.apache.org/jira/browse/NETBEANS-5451
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Beans, java - Platform
>Affects Versions: 12.0
> Environment: It is Apache Netbeans 12.0  IDE. 
>Reporter: Kumar Kelash
>Assignee: Lokesh Chinnaga
>Priority: Major
>  Labels: newbie
> Attachments: Screenshot (5).png
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> An undesired exception occurred and after that netbeans has stopped 
> suggesting me anything about code when I use to start coding and that is a 
> big problem in my case.



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

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

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



[jira] [Commented] (NETBEANS-4677) Nullish coalescing operator (??) in JavaScript reported as an error in NetBeans.

2021-03-08 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4677:
--

It is just about the missing update of the JavaScript lexer/parser. As you can 
see it was just updated to ES 7 (experimental). So I guess `?.` will aoso throw 
an error.

> Nullish coalescing operator (??) in JavaScript reported as an error in 
> NetBeans.
> 
>
> Key: NETBEANS-4677
> URL: https://issues.apache.org/jira/browse/NETBEANS-4677
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.0.1
>Reporter: Nghia Nguyen
>Priority: Minor
>  Labels: bug, ide, syntax
> Attachments: image-2020-08-04-02-46-28-677.png
>
>
> The following code is showing as an error in the IDE when it has a valid 
> syntax in JavaScript:
>  
> {{let myVariable = null ?? 'hello world';}}
>  
> !image-2020-08-04-02-46-28-677.png!
>  
>  



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

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

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



[jira] [Closed] (NETBEANS-5414) un restaurante de comida mexicana

2021-03-05 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-5414.

Resolution: Invalid

[~jkovalsky] this seems spam, can you please have a look for the user? :)

> un restaurante de comida mexicana
> -
>
> Key: NETBEANS-5414
> URL: https://issues.apache.org/jira/browse/NETBEANS-5414
> Project: NetBeans
>  Issue Type: Task
>  Components: cnd - Code Model
>Affects Versions: 12.2
>Reporter: lucila robles munozs
>Priority: Major
> Fix For: 12.4
>
>




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

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

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



[jira] [Comment Edited] (NETBEANS-5399) JavaScript: rename variable - not all occurrences found

2021-03-03 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-5399 at 3/3/21, 2:29 PM:
---

Reproducible, thx :)


was (Author: chrizzly):
Reproducable, thx :)

> JavaScript: rename variable - not all occurrences found
> ---
>
> Key: NETBEANS-5399
> URL: https://issues.apache.org/jira/browse/NETBEANS-5399
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Refactoring
>Affects Versions: 12.3
> Environment: Product Version: Apache NetBeans IDE 12.3-beta2
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
> Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46
>Reporter: Czukowski
>Priority: Minor
>
> Consider a sample project consisting of a single file, {{main.js}}:
> {code}
> 'use strict';
> const registry = {
> categories: {},
> };
> const f = function (category, event, element = null) {
> const obj = registry.categories[category]; // [1]
> if (!obj.hasOwnProperty(event)) { // [2]
> obj[event] = true; // [3]
> element.addEventListener(event, function () {
> // ...
> });
> }
> };
> {code}
> The variable in question is {{obj}}, referenced at three places. Try renaming 
> it by placing a cursor at its occurrences and pressing Ctrl+R. Now, depending 
> on where a cursor has been placed, there is a different outcome:
> - If the cursor is at [1] or [3], the occurrence at [2] will not be selected 
> and therefore renamed
> - If the cursor is at [2], all three occurrences will be selected
> Commenting out or removing some other code 'fixes' it, in a way that renaming 
> the variable at any of the three occurrences will rename all three:
> - Removing {{'use strict'}} at the 1st line
> - Removing the default {{null}} value for the {{element}} argument at the 
> function {{f}} declaration
> - Removing the whole call to {{element.addEventListener}}
> The desired behavior is that all occurrences are correctly selected without 
> the need to remove any code.



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

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

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



[jira] [Commented] (NETBEANS-5399) JavaScript: rename variable - not all occurrences found

2021-03-03 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5399:
--

Reproducable, thx :)

> JavaScript: rename variable - not all occurrences found
> ---
>
> Key: NETBEANS-5399
> URL: https://issues.apache.org/jira/browse/NETBEANS-5399
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Refactoring
>Affects Versions: 12.3
> Environment: Product Version: Apache NetBeans IDE 12.3-beta2
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
> Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46
>Reporter: Czukowski
>Priority: Minor
>
> Consider a sample project consisting of a single file, {{main.js}}:
> {code}
> 'use strict';
> const registry = {
> categories: {},
> };
> const f = function (category, event, element = null) {
> const obj = registry.categories[category]; // [1]
> if (!obj.hasOwnProperty(event)) { // [2]
> obj[event] = true; // [3]
> element.addEventListener(event, function () {
> // ...
> });
> }
> };
> {code}
> The variable in question is {{obj}}, referenced at three places. Try renaming 
> it by placing a cursor at its occurrences and pressing Ctrl+R. Now, depending 
> on where a cursor has been placed, there is a different outcome:
> - If the cursor is at [1] or [3], the occurrence at [2] will not be selected 
> and therefore renamed
> - If the cursor is at [2], all three occurrences will be selected
> Commenting out or removing some other code 'fixes' it, in a way that renaming 
> the variable at any of the three occurrences will rename all three:
> - Removing {{'use strict'}} at the 1st line
> - Removing the default {{null}} value for the {{element}} argument at the 
> function {{f}} declaration
> - Removing the whole call to {{element.addEventListener}}
> The desired behavior is that all occurrences are correctly selected without 
> the need to remove any code.



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

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

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



[jira] [Comment Edited] (NETBEANS-95) Code templates for HTML/XHTML will not shown in code completion

2021-02-09 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-95 at 2/9/21, 7:21 PM:
-

Tested with NetBeans 12.2. It seems to work now, thx :).


was (Author: chrizzly):
They seems to work now, thx :).

> Code templates for HTML/XHTML will not shown in code completion
> ---
>
> Key: NETBEANS-95
> URL: https://issues.apache.org/jira/browse/NETBEANS-95
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 8.2
>Reporter: Christian Lenz
>Priority: Major
>
> Unfortunately, custom templates, the one that already exists like d -> TAB -> 
> content or custom ones, will not shown in the code completion of 
> HTML. This is really weird and a big problem, because if you have smth like 
> this: a-ngFor-trackBy this is first hard to know and second hard to type it 
> everytime to the full name.
> The problem is, that there is no context set like for JS, Java or PHP. So JS, 
> PHP and Java works fine, if you create a code template and check the checkbox 
> of the context. So please add the functionality, that all code templates will 
> shown in the code completion.
> Regards
> Chris



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

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

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



[jira] [Commented] (NETBEANS-95) Code templates for HTML/XHTML will not shown in code completion

2021-02-09 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-95:


They seems to work now, thx :).

> Code templates for HTML/XHTML will not shown in code completion
> ---
>
> Key: NETBEANS-95
> URL: https://issues.apache.org/jira/browse/NETBEANS-95
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 8.2
>Reporter: Christian Lenz
>Priority: Major
>
> Unfortunately, custom templates, the one that already exists like d -> TAB -> 
> content or custom ones, will not shown in the code completion of 
> HTML. This is really weird and a big problem, because if you have smth like 
> this: a-ngFor-trackBy this is first hard to know and second hard to type it 
> everytime to the full name.
> The problem is, that there is no context set like for JS, Java or PHP. So JS, 
> PHP and Java works fine, if you create a code template and check the checkbox 
> of the context. So please add the functionality, that all code templates will 
> shown in the code completion.
> Regards
> Chris



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

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

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



[jira] [Resolved] (NETBEANS-95) Code templates for HTML/XHTML will not shown in code completion

2021-02-09 Thread Christian Lenz (Jira)


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

Christian Lenz resolved NETBEANS-95.

Resolution: Fixed

> Code templates for HTML/XHTML will not shown in code completion
> ---
>
> Key: NETBEANS-95
> URL: https://issues.apache.org/jira/browse/NETBEANS-95
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 8.2
>Reporter: Christian Lenz
>Priority: Major
>
> Unfortunately, custom templates, the one that already exists like d -> TAB -> 
> content or custom ones, will not shown in the code completion of 
> HTML. This is really weird and a big problem, because if you have smth like 
> this: a-ngFor-trackBy this is first hard to know and second hard to type it 
> everytime to the full name.
> The problem is, that there is no context set like for JS, Java or PHP. So JS, 
> PHP and Java works fine, if you create a code template and check the checkbox 
> of the context. So please add the functionality, that all code templates will 
> shown in the code completion.
> Regards
> Chris



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

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

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



[jira] [Commented] (NETBEANS-95) Code templates for HTML/XHTML will not shown in code completion

2021-02-07 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-95:


Will test it soon, thx :)

> Code templates for HTML/XHTML will not shown in code completion
> ---
>
> Key: NETBEANS-95
> URL: https://issues.apache.org/jira/browse/NETBEANS-95
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 8.2
>Reporter: Christian Lenz
>Priority: Major
>
> Unfortunately, custom templates, the one that already exists like d -> TAB -> 
> content or custom ones, will not shown in the code completion of 
> HTML. This is really weird and a big problem, because if you have smth like 
> this: a-ngFor-trackBy this is first hard to know and second hard to type it 
> everytime to the full name.
> The problem is, that there is no context set like for JS, Java or PHP. So JS, 
> PHP and Java works fine, if you create a code template and check the checkbox 
> of the context. So please add the functionality, that all code templates will 
> shown in the code completion.
> Regards
> Chris



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

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

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



[jira] [Commented] (NETBEANS-5010) Go to File search should accept paths too

2021-02-06 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5010:
--

The performance of that window is in a state where the index should be 
improved. For this to have checkboxes to make it a bit faster is a need. I also 
don't like to change that via checkbox but I prefer to have a good user 
experience instead of poor performance when there are to many projects/files to 
search for. So for the first step it is good to go to have this checkbox. Later 
we need a change of the searching inside of the index and the repainting of the 
results.

> Go to File search should accept paths too
> -
>
> Key: NETBEANS-5010
> URL: https://issues.apache.org/jira/browse/NETBEANS-5010
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Czukowski
>Assignee: Emilian Bold
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Go to File seems to search only by the file name. For example, it takes only 
> a double click to copy a file name including its path from a console (eg from 
> git output), and it's a shame it cannot be pasted into Go to File dialog to 
> open that file just as easily, without removing the path information first.
> Also if there are many files with the same name (eg due to some naming 
> convention), there will be many results requiring some more time to locate 
> the correct one.
> Therefore Go to File dialog should accept parts of file paths as well.
> On Windows, both forward and back slashes should be supported for directory 
> separators.



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

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

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



[jira] [Commented] (NETBEANS-17) Please add more analyse tools for JavaScript

2021-02-06 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-17:


Sooner or later, maybe :). And what you want to try to help here to move this 
forward?

> Please add more analyse tools for JavaScript
> 
>
> Key: NETBEANS-17
> URL: https://issues.apache.org/jira/browse/NETBEANS-17
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As we have it for Java, PHP and I think for C/C++, I would like to see more 
> analyse tools like dependency resolver for require modules, ES6 Modules, 
> angular modules and other module frameworks (Show dependencies is deactivated 
> for JS projects), find dead code, find duplicate code and so on.
> There is a plugin for such things called PMD but last changes was made in 
> 2012 and it doesn't work as expected. For other languages you have to add 
> rulesets which is kinda broken and so on.
> Such code analyse tools would be very great and will increase the quality of 
> big JS applications. It should be a build in functionality to search and fix 
> dead code, duplicates and so on.
> It is really needed that we have such functionality to find dead code / 
> unused variables for example.
> In angular, if you remove functionality inside a controller or a service and 
> you don't remove the arguments, like the dependend module, that you use, they 
> will be resolved at runtime and this is a bad pattern. So if you forgot to 
> remove the argument like myService, netbeans shows you "unused code". A 
> functionality to find ALL unused code in a JS project, is really needed and 
> to fix them too.
> There is a nice thing called spy.js. WebStorm has it integrated and you can 
> profile Websites with JS AND node apps. You can see the call tree where, for 
> example you click on smth and you see what happend. it's more than a 
> debugger, you see CPU usages, time and so on. Here is a link to this: 
> http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/
> Here are some more links:
> http://blog.jetbrains.com/webstorm/2015/05/node-js-profiling-in-webstorm-part-1-cpu-profiling/
> http://blog.jetbrains.com/webstorm/2015/07/node-js-profiling-in-webstorm-part-2-memory-profiling/
> V8 profiling:
> https://www.jetbrains.com/help/webstorm/11.0/v8-cpu-and-memory-profiling.html?origin=old_help
> This is an other technology, which is I think built into the V8 engine.
> So keywors are: dead code detection, resolve/fix missing/unused imports (ES6 
> modles), copy paste detection, etc. We can handle this as sub tickets if you 
> want.
> Regards
> Chris



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

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

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



[jira] [Comment Edited] (NETBEANS-17) Please add more analyse tools for JavaScript

2021-02-06 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-17 at 2/6/21, 6:17 PM:
-

Sooner or later, maybe :). And what is your plan to help here to move this 
forward?


was (Author: chrizzly):
Sooner or later, maybe :). And what you want to try to help here to move this 
forward?

> Please add more analyse tools for JavaScript
> 
>
> Key: NETBEANS-17
> URL: https://issues.apache.org/jira/browse/NETBEANS-17
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As we have it for Java, PHP and I think for C/C++, I would like to see more 
> analyse tools like dependency resolver for require modules, ES6 Modules, 
> angular modules and other module frameworks (Show dependencies is deactivated 
> for JS projects), find dead code, find duplicate code and so on.
> There is a plugin for such things called PMD but last changes was made in 
> 2012 and it doesn't work as expected. For other languages you have to add 
> rulesets which is kinda broken and so on.
> Such code analyse tools would be very great and will increase the quality of 
> big JS applications. It should be a build in functionality to search and fix 
> dead code, duplicates and so on.
> It is really needed that we have such functionality to find dead code / 
> unused variables for example.
> In angular, if you remove functionality inside a controller or a service and 
> you don't remove the arguments, like the dependend module, that you use, they 
> will be resolved at runtime and this is a bad pattern. So if you forgot to 
> remove the argument like myService, netbeans shows you "unused code". A 
> functionality to find ALL unused code in a JS project, is really needed and 
> to fix them too.
> There is a nice thing called spy.js. WebStorm has it integrated and you can 
> profile Websites with JS AND node apps. You can see the call tree where, for 
> example you click on smth and you see what happend. it's more than a 
> debugger, you see CPU usages, time and so on. Here is a link to this: 
> http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/
> Here are some more links:
> http://blog.jetbrains.com/webstorm/2015/05/node-js-profiling-in-webstorm-part-1-cpu-profiling/
> http://blog.jetbrains.com/webstorm/2015/07/node-js-profiling-in-webstorm-part-2-memory-profiling/
> V8 profiling:
> https://www.jetbrains.com/help/webstorm/11.0/v8-cpu-and-memory-profiling.html?origin=old_help
> This is an other technology, which is I think built into the V8 engine.
> So keywors are: dead code detection, resolve/fix missing/unused imports (ES6 
> modles), copy paste detection, etc. We can handle this as sub tickets if you 
> want.
> Regards
> Chris



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

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

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



[jira] [Commented] (NETBEANS-5010) Go to File search should accept paths too

2021-02-03 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5010:
--

For this the checkboxes are for. If we would do it automatically, first it 
could be a performance problem it will found a lot more than a file or have 
unexpected results. So I wouldn't recommend it. Otherwise we wouldn't need the 
checkbox for that.

> Go to File search should accept paths too
> -
>
> Key: NETBEANS-5010
> URL: https://issues.apache.org/jira/browse/NETBEANS-5010
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Czukowski
>Assignee: Emilian Bold
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Go to File seems to search only by the file name. For example, it takes only 
> a double click to copy a file name including its path from a console (eg from 
> git output), and it's a shame it cannot be pasted into Go to File dialog to 
> open that file just as easily, without removing the path information first.
> Also if there are many files with the same name (eg due to some naming 
> convention), there will be many results requiring some more time to locate 
> the correct one.
> Therefore Go to File dialog should accept parts of file paths as well.
> On Windows, both forward and back slashes should be supported for directory 
> separators.



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

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

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



[jira] [Commented] (NETBEANS-2474) Add support for yarn package manager

2021-02-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2474:
--

[~thomas.mc.work] not really. Please see this link: 
https://www.geeksforgeeks.org/difference-between-npm-and-yarn/ and after that, 
you can see the diferences for the commands. Maybe just one or two will work 
for example install, due to yarn will ignore it, but no update, no search, no 
add, no run scripts, etc. So this is not a workaround, it will just not work. 
Except from maybe adding packages to your project which will add those missing 
commands for yarn but this will artifically increase the project size.

> Add support for yarn package manager
> 
>
> Key: NETBEANS-2474
> URL: https://issues.apache.org/jira/browse/NETBEANS-2474
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javascript - Node.js
>Affects Versions: 10.0, 11.0, 12.0
>Reporter: Ivan Borisov
>Priority: Major
>
> Add support for yarn package manager
> [https://yarnpkg.com/lang/en/]
> https://yarnpkg.com/lang/en/docs/migrating-from-npm/



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

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

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



[jira] [Commented] (NETBEANS-5276) FlatLAF Options Bugs

2021-01-22 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5276:
--

For your asides with making flatlaf default, we already had a discussion on the 
mailing list. You can create a new thread and try to convince everyone :).

> FlatLAF Options Bugs
> 
>
> Key: NETBEANS-5276
> URL: https://issues.apache.org/jira/browse/NETBEANS-5276
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Reporter: August Nagro
>Priority: Major
> Attachments: flatLAF-0.png, flatLAF-1.png, flatLAF-2.png, 
> flatLAF-3.png, flatLAF-4.png
>
>
> These screenshots show some places where the UI needs tweaking with the 
> FlatLAF theme.
> The sizing of certain elements is off.
> I'll pay the developer who fixes this issue $40 USD. I know it's not much, 
> but I'd like to do my part to 'chip in' to open source!
> Product Version: Apache NetBeans IDE 12.2
> Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9-18
> Runtime: OpenJDK Runtime Environment 15.0.1+9-18
> System: Linux version 5.9.16-200.fc33.x86_64 running on amd64; UTF-8; en_US 
> (nb)
> User directory: /home/user/.netbeans/12.2
> Cache directory: /home/user/.cache/netbeans/12.2
> Aside:
> FlatLAF theme should be enabled by default. The MacOS theme
> in particular is not very good with its use of dark Grey. FlatLAF also 
> handles high DPI well
> on linux by considering the font size and not just GDK_SCALE. On a standard 
> Fedora 33 install with a
> 4k monitor, both Eclipse and default-theme Netbeans have very tiny 
> buttons/icons, bordering
> on unusable. Despite it being 2021 and thus the year of the linux desktop, 
> GTK still does not
> support fractional display scaling (Intellij works fine, like FlatLAF).
> So the only option is to run eclipse or netbeans like `GDK_SCALE=2.0 
> ./netbeans`, which
> now makes the buttons/icons almost unusably big. Finally, FlatLAF should 
> become the default
> theme because it looks great, is being actively maintained, and will provide 
> uniformity across
> different platforms.



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

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

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



[jira] [Comment Edited] (NETBEANS-581) Could not find an option named "cache-location".

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-581 at 1/20/21, 4:44 PM:
---

I think it would be a good alternative to not hardcode such arguments as others 
also doesn't do that. Problem is always compatibilty, obsolated APIs/Arguments, 
etc. So I would prefer to rewrite the code and make the params optional as a 
field. You can see, how this could look like in my plugin minifierbeans 
(https://github.com/Chris2011/minifierbeans): https://ibb.co/kDb2VcS. Make a 
textfield and if we have some default settings, add them to the field and the 
rest let the user decide.


was (Author: chrizzly):
I think it would be a good alternative to not hardcode such arguments as others 
also doesn't do that. Problem is always compatibilty, obsolated APIs/Arguments, 
etc. So I would prefer to rewrite the code and make the params optional as a 
field. You can see, how this could look like in my plugin minifierbeans: 
https://github.com/Chris2011/minifierbeans https://ibb.co/kDb2VcS. Make a 
textfield and if we have some default settings, add them to the field and the 
rest let the user decide.

> Could not find an option named "cache-location".
> 
>
> Key: NETBEANS-581
> URL: https://issues.apache.org/jira/browse/NETBEANS-581
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Bo Andersen
>Priority: Minor
>
> When using the internal sass configuration, it calls the sass compiler with 
> the --cache-location command. It seems that this is not part of the current 
> sass compiler anymore.
>  
> Sass error:
> Could not find an option named "cache-location".
>  
> I am using this release of sass compiler: 
> https://github.com/sass/dart-sass/releases/tag/1.1.1



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

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

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



[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-581:
-

I think it would be a good alternative to not hardcode such arguments as others 
also doesn't do that. Problem is always compatibilty, obsolated APIs/Arguments, 
etc. So I would prefer to rewrite the code and make the params optional as a 
field. You can see, how this could look like in my plugin minifierbeans: 
https://github.com/Chris2011/minifierbeans https://ibb.co/kDb2VcS. Make a 
textfield and if we have some default settings, add them to the field and the 
rest let the user decide.

> Could not find an option named "cache-location".
> 
>
> Key: NETBEANS-581
> URL: https://issues.apache.org/jira/browse/NETBEANS-581
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Bo Andersen
>Priority: Minor
>
> When using the internal sass configuration, it calls the sass compiler with 
> the --cache-location command. It seems that this is not part of the current 
> sass compiler anymore.
>  
> Sass error:
> Could not find an option named "cache-location".
>  
> I am using this release of sass compiler: 
> https://github.com/sass/dart-sass/releases/tag/1.1.1



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

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

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



[jira] [Comment Edited] (NETBEANS-581) Could not find an option named "cache-location".

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-581 at 1/20/21, 4:44 PM:
---

I think it would be a good alternative to not hardcode such arguments as others 
also doesn't do that. Problem is always compatibilty, obsolated APIs/Arguments, 
etc. So I would prefer to rewrite the code and make the params optional as a 
field. You can see, how this could look like in my plugin minifierbeans 
(https://github.com/Chris2011/minifierbeans): IMAGE https://ibb.co/kDb2VcS. 
Make a textfield and if we have some default settings, add them to the field 
and the rest let the user decide.


was (Author: chrizzly):
I think it would be a good alternative to not hardcode such arguments as others 
also doesn't do that. Problem is always compatibilty, obsolated APIs/Arguments, 
etc. So I would prefer to rewrite the code and make the params optional as a 
field. You can see, how this could look like in my plugin minifierbeans 
(https://github.com/Chris2011/minifierbeans): https://ibb.co/kDb2VcS. Make a 
textfield and if we have some default settings, add them to the field and the 
rest let the user decide.

> Could not find an option named "cache-location".
> 
>
> Key: NETBEANS-581
> URL: https://issues.apache.org/jira/browse/NETBEANS-581
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Bo Andersen
>Priority: Minor
>
> When using the internal sass configuration, it calls the sass compiler with 
> the --cache-location command. It seems that this is not part of the current 
> sass compiler anymore.
>  
> Sass error:
> Could not find an option named "cache-location".
>  
> I am using this release of sass compiler: 
> https://github.com/sass/dart-sass/releases/tag/1.1.1



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

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

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



[jira] [Commented] (NETBEANS-5267) dart-sass

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5267:
--

I think it would be a good alternative to not hardcode such arguments as others 
also doesn't do that. Problem is always compatibilty, obsolated APIs/Arguments, 
etc. So I would prefer to rewrite the code and make the params optional as a 
field. You can see, how this could look like in my plugin minifierbeans: 
https://github.com/Chris2011/minifierbeans https://ibb.co/kDb2VcS. Make a 
textfield and if we have some default settings, add them to the field and the 
rest let the user decide.

> dart-sass
> -
>
> Key: NETBEANS-5267
> URL: https://issues.apache.org/jira/browse/NETBEANS-5267
> Project: NetBeans
>  Issue Type: Wish
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Libor
>Priority: Major
> Attachments: screenshot-1.png
>
>
> Hello,
> thanks for keeping NetBeans still alive. My project has a ton of SCSS files 
> and it takes ages when there's a need to recompile all of them and it happens 
> quite often when I change a file imported into many other files. Seems like 
> NetBeans is still using outdated version of Sass based on Ruby. Is there any 
> plan to switch to current version of Sass: [https://sass-lang.com/dart-sass] ?



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

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

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



[jira] [Closed] (NETBEANS-5267) dart-sass

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-5267.


> dart-sass
> -
>
> Key: NETBEANS-5267
> URL: https://issues.apache.org/jira/browse/NETBEANS-5267
> Project: NetBeans
>  Issue Type: Wish
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Libor
>Priority: Major
> Attachments: screenshot-1.png
>
>
> Hello,
> thanks for keeping NetBeans still alive. My project has a ton of SCSS files 
> and it takes ages when there's a need to recompile all of them and it happens 
> quite often when I change a file imported into many other files. Seems like 
> NetBeans is still using outdated version of Sass based on Ruby. Is there any 
> plan to switch to current version of Sass: [https://sass-lang.com/dart-sass] ?



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

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

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



[jira] [Commented] (NETBEANS-5267) dart-sass

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5267:
--

No problem :). So I guess wie can close it.

> dart-sass
> -
>
> Key: NETBEANS-5267
> URL: https://issues.apache.org/jira/browse/NETBEANS-5267
> Project: NetBeans
>  Issue Type: Wish
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Libor
>Priority: Major
> Attachments: screenshot-1.png
>
>
> Hello,
> thanks for keeping NetBeans still alive. My project has a ton of SCSS files 
> and it takes ages when there's a need to recompile all of them and it happens 
> quite often when I change a file imported into many other files. Seems like 
> NetBeans is still using outdated version of Sass based on Ruby. Is there any 
> plan to switch to current version of Sass: [https://sass-lang.com/dart-sass] ?



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

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

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



[jira] [Resolved] (NETBEANS-5267) dart-sass

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz resolved NETBEANS-5267.
--
Resolution: Works for Me

> dart-sass
> -
>
> Key: NETBEANS-5267
> URL: https://issues.apache.org/jira/browse/NETBEANS-5267
> Project: NetBeans
>  Issue Type: Wish
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Libor
>Priority: Major
> Attachments: screenshot-1.png
>
>
> Hello,
> thanks for keeping NetBeans still alive. My project has a ton of SCSS files 
> and it takes ages when there's a need to recompile all of them and it happens 
> quite often when I change a file imported into many other files. Seems like 
> NetBeans is still using outdated version of Sass based on Ruby. Is there any 
> plan to switch to current version of Sass: [https://sass-lang.com/dart-sass] ?



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

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

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



[jira] [Commented] (NETBEANS-5267) dart-sass

2021-01-19 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5267:
--

Hey Libor, thx for the ticket. There is no sass executable implemented directly 
into NetBeans. You can add SASS by your own via options -> html -> CSS 
Preprocessor:  !screenshot-1.png! 

I hope this helps :). As you can see, I have node-sass installed.

Cheers

> dart-sass
> -
>
> Key: NETBEANS-5267
> URL: https://issues.apache.org/jira/browse/NETBEANS-5267
> Project: NetBeans
>  Issue Type: Wish
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Libor
>Priority: Major
> Attachments: screenshot-1.png
>
>
> Hello,
> thanks for keeping NetBeans still alive. My project has a ton of SCSS files 
> and it takes ages when there's a need to recompile all of them and it happens 
> quite often when I change a file imported into many other files. Seems like 
> NetBeans is still using outdated version of Sass based on Ruby. Is there any 
> plan to switch to current version of Sass: [https://sass-lang.com/dart-sass] ?



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

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

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



[jira] [Updated] (NETBEANS-5267) dart-sass

2021-01-19 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5267:
-
Attachment: screenshot-1.png

> dart-sass
> -
>
> Key: NETBEANS-5267
> URL: https://issues.apache.org/jira/browse/NETBEANS-5267
> Project: NetBeans
>  Issue Type: Wish
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Libor
>Priority: Major
> Attachments: screenshot-1.png
>
>
> Hello,
> thanks for keeping NetBeans still alive. My project has a ton of SCSS files 
> and it takes ages when there's a need to recompile all of them and it happens 
> quite often when I change a file imported into many other files. Seems like 
> NetBeans is still using outdated version of Sass based on Ruby. Is there any 
> plan to switch to current version of Sass: [https://sass-lang.com/dart-sass] ?



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

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

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



[jira] [Commented] (NETBEANS-5195) Change icon for JSON files

2021-01-03 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5195:
--

w/o the pape background, the blue outlined icon is nice and yes it will fits in 
most of the look and feels.

> Change icon for JSON files
> --
>
> Key: NETBEANS-5195
> URL: https://issues.apache.org/jira/browse/NETBEANS-5195
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Generic Projects UI
>Reporter: Martin H.
>Priority: Minor
> Attachments: json-icon-only.png, json-logo.png, outline-braces.png, 
> outline-icon-only.png, regular-braces.png, regular-icon-only.png
>
>
> I would like to suggest an alternate icon for the JSON file type, as it is 
> currently denoted by the same icon as JavaScript files. Below are some 
> variants.
>  #  The graphical logo for JSON.
> (See https://en.wikipedia.org/wiki/JSON#/media/File:JSON_vector_logo.svg)
> !json-logo.png!
>  # Curly braces, as in some other IDEs.
> !regular-braces.png!
>  # Outlined curly braces, matching the style of some other NetBeans file 
> icons.
> !outline-braces.png!
>  



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

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

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



[jira] [Commented] (NETBEANS-5195) Change icon for JSON files

2021-01-01 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5195:
--

Cool suggestions. I like the blue a lot, but I think it is a bit to hard to 
recognize it. So I'm for the regular braces. Also we need to know the exact 
license for the icon.

> Change icon for JSON files
> --
>
> Key: NETBEANS-5195
> URL: https://issues.apache.org/jira/browse/NETBEANS-5195
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Generic Projects UI
>Reporter: Martin H.
>Priority: Minor
> Attachments: json-logo.png, outline-braces.png, regular-braces.png
>
>
> I would like to suggest an alternate icon for the JSON file type, as it is 
> currently denoted by the same icon as JavaScript files. Below are some 
> variants.
>  #  The graphical logo for JSON.
> (See https://en.wikipedia.org/wiki/JSON#/media/File:JSON_vector_logo.svg)
> !json-logo.png!
>  # Curly braces, as in some other IDEs.
> !regular-braces.png!
>  # Outlined curly braces, matching the style of some other NetBeans file 
> icons.
> !outline-braces.png!
>  



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

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

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



[jira] [Commented] (NETBEANS-1232) Import settings from 8.2 to 9.0 tooks too long

2020-12-25 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1232:
--

After more investigating, because I had the problem again from importing 
settings from 12.1 to 12.2, the problem was my filehistory folder in 
Roaming\Netbeans\12.1\var\filehistory. I set the option to never delete my 
filehistory and the folder is ~ 300mb big with 147.864 files and 69.648 
folders. So import settings is fast enough, just copying over the filehistory 
folder took so long. I backuped my filehistory folder and will add it if I 
really need it someday.

So to make it short, a folder with over 100k files and over 60k folders needs 
time to copy in NetBeans.

> Import settings from 8.2 to 9.0 tooks too long
> --
>
> Key: NETBEANS-1232
> URL: https://issues.apache.org/jira/browse/NETBEANS-1232
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OptionsSettings
>Affects Versions: 9.0
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages.log, plugin list part 1.png, plugin list part 
> 2.png, plugin list part 3.png, settings111.zip
>
>
> I opened NetBeans 9.0 for the first time and it asks me whether I want to 
> import my settings from 8.2 or not. I hit yes and I waited 5min (started at 
> 10:33 to import and ended at 10:38). This is way to long. I opened the 
> messages.log but there is no exception or whatever inside.
> I can't cancel that dialog or close it this is why I set it to critical. 
> NetBeans opened after 5min, after the import was finished.
> Cheers
> Chris



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

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

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



[jira] [Commented] (NETBEANS-4092) package.json icon is to big

2020-12-18 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4092:
--

Sure we can change the logo for npm again, but IMHO there is no need, it is 
just to fix the size, I will do that later. And this ticket is just to fix the 
size. If you want to change the icon for general JSON files, sure do it, 
because the json files has the same icon as for js files.

> package.json icon is to big
> ---
>
> Key: NETBEANS-4092
> URL: https://issues.apache.org/jira/browse/NETBEANS-4092
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Projects UI
>Affects Versions: 11.2, 11.3
> Environment: Product Version: Apache NetBeans IDE 11.3
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Projekte\Netbeans Plugins\MinifierBeans\build\testuserdir
> Cache directory: C:\Projekte\Netbeans 
> Plugins\MinifierBeans\build\testuserdir\var\cache
>Reporter: Christian Lenz
>Priority: Major
> Attachments: icon-json.png, image-2020-03-31-14-40-41-931.png, 
> image-2020-03-31-14-41-47-408.png
>
>
> In my current IDE 11.1 there is no problem with the npm icon for the 
> package.json file. You can see it in this my attached file  
> image-2020-03-31-14-43-07-177.png. it is 16x16 px small. When I use 11.3 the 
> icon is bigger see image-2020-03-31-14-40-41-931. I also tested ith with 11.2 
> and there is the same problem. So smth changed from 11.1 to 11.2 with icons 
> or HiDPI maybe?
> Steps to reprocuce:
> * open a project with a package.json file
> * open the tree nodes in the project view to see the package.json file
> * Icon is to big.
> Both IDEs are running on JDK 9.0.4, same PC (Surface Book 1 with HiDPI 
> resolution)



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

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

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



[jira] [Comment Edited] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-5087 at 12/2/20, 10:37 PM:
-

I didn't say where to do that. There is the thing with "Open file as" and this 
is where you open a specific filetype with another mimetype.

You just change the filetype not the mimetype. It is not true to change the 
mimetype of a file which will not affect all filetypes mapped to the mimetype.

What you change inside of the properties window is the extension as it is 
written. If I do a right-click on a foo.java file and change the extension to 
md, it becomes a foo.md file. It changes the filetype and again this is not the 
case. I want to switch the mimetype of a specific file, not the extension. It 
affects for example the VCS if I change the extension.


was (Author: chrizzly):
I didn't say where to do that. There is the thing with "Open file as" and this 
is where you open a specific filetype with another mimetype.

You just change the filetype not the mimetype. It is not true to change the 
mimetype of a file which will not affect all filetypes mapped to the mimetype.

What you change inside of the properties window is the extension as it is 
written. If I do a right-click on a foo.java file and change the extension, it 
is a foo.md file. It changes the filetype and again this is not the case. I 
want to switch the mimetype of a specific file, not the extension. It affects 
for example the VCS if I change the extension.

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Comment Edited] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-5087 at 12/2/20, 10:33 PM:
-

I didn't say where to do that. There is the thing with "Open file as" and this 
is where you open a specific filetype with another mimetype.

You just change the filetype not the mimetype. It is not true to change the 
mimetype of a file which will not affect all filetypes mapped to the mimetype.

What you change inside of the properties window is the extension as it is 
written. If I do a right-click on a foo.java file and change the extension, it 
is a foo.md file. It changes the filetype and again this is not the case. I 
want to switch the mimetype of a specific file, not the extension. It affects 
for example the VCS if I change the extension.


was (Author: chrizzly):
I didn't say where to do that. There is the thing with "Open file as" and this 
is where you open a specific filetype with another mimetype.

You just change the filetype not the mimetype. It is not true to change the 
mimetype of a file which will not affect all filetypes mapped to the mimetype.

What you change inside of the properties window is the extension is it is 
written. If I do a right-click on a foo.java file and change the extension, it 
is a foo.md file. It changes the filetype and again this is not the case. I 
want to switch the mimetype of a specific file, not the extension. It affects 
for example the VCS if I change the extension.

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Commented] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

What you did, is not what I was searching for and not what it should be. So 
please tell me how I can temporary change the mimetype (not filetype) of a 
file, which is open in the editor. This is not implemented.

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Commented] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

I didn't say where to do that. There is the thing with "Open file as" and this 
is where you open a specific filetype with another mimetype.

You just change the filetype not the mimetype. It is not true to change the 
mimetype of a file which will not affect all filetypes mapped to the mimetype.

What you change inside of the properties window is the extension is it is 
written. If I do a right-click on a foo.java file and change the extension, it 
is a foo.md file. It changes the filetype and again this is not the case. I 
want to switch the mimetype of a specific file, not the extension. It affects 
for example the VCS if I change the extension.

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Commented] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

Also a user and me had exactly this conversation via slack where they need this 
feature too.

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Commented] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

MimeType is not the FileType or FileExtension. Please read the description 
carefully. I don't need to change the filetype of my Things.txt file. It is 
still a txt file which will be deleted later and I just want to change the 
mimetype of this file temporarily. You can guess what I do now, I use another 
Editor/IDE where this feature is implemented due to people see the need for 
this. Also I can change the file extenstion there too, but again this is not 
the case.

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Updated] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5087:
-
Attachment: changing-mimetype.gif

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Commented] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

Please have a look into my little screencast for what I mean.

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
> Attachments: changing-mimetype.gif
>
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Commented] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

There is no property to change the mimetype.

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Commented] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

What do you mean exactly? What should I do there? Did you do it? what was the 
result?

> Add functionality to change mimetype of an open file
> 
>
> Key: NETBEANS-5087
> URL: https://issues.apache.org/jira/browse/NETBEANS-5087
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Reporter: Christian Lenz
>Priority: Major
>
> It is quite common to see it in other IDEs to change the MimeType from a file 
> which is open. For example creating a txt file as a temp file to discuss APIs.
> That means you have not only JSON or XML but also comments and stuff which is 
> not supported in that file and make errors.
> But that doesn't matter, the created txt file is just a collection of all 
> information.
> So it must be possible to change the mimetype of a file which is currently 
> open to change the content/text to text/json. This is not possible in 
> NetBeans. It is just possible to change the mimetype for a whole filetype and 
> that means global. But this is not the case here.
> I created a plugin where I can read out the mimetype of a file and shows it 
> in the statusbar. I wanted to change the mimetype, but the mimeType file 
> property is just read only or is only changable when the file was created in 
> memory whie the MemoryFileSystem.
> I had a look into the code, at the end, NetBeans just take the extension and 
> looks into the mapping where it was mapped against. So we need a 
> functionality where we can change the mimetype temporarily.



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

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

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



[jira] [Created] (NETBEANS-5087) Add functionality to change mimetype of an open file

2020-12-02 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-5087:


 Summary: Add functionality to change mimetype of an open file
 Key: NETBEANS-5087
 URL: https://issues.apache.org/jira/browse/NETBEANS-5087
 Project: NetBeans
  Issue Type: Improvement
  Components: ide - Code
Reporter: Christian Lenz


It is quite common to see it in other IDEs to change the MimeType from a file 
which is open. For example creating a txt file as a temp file to discuss APIs.

That means you have not only JSON or XML but also comments and stuff which is 
not supported in that file and make errors.

But that doesn't matter, the created txt file is just a collection of all 
information.

So it must be possible to change the mimetype of a file which is currently open 
to change the content/text to text/json. This is not possible in NetBeans. It 
is just possible to change the mimetype for a whole filetype and that means 
global. But this is not the case here.

I created a plugin where I can read out the mimetype of a file and shows it in 
the statusbar. I wanted to change the mimetype, but the mimeType file property 
is just read only or is only changable when the file was created in memory whie 
the MemoryFileSystem.

I had a look into the code, at the end, NetBeans just take the extension and 
looks into the mapping where it was mapped against. So we need a functionality 
where we can change the mimetype temporarily.



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

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

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



[jira] [Commented] (NETBEANS-5085) O Netbeans não reconhece o Cordova versão 10. Lê como HUM..

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5085:
--

Please change everything to english only. Otherwise we will close the ticket. 
Thx.

> O Netbeans não reconhece o Cordova versão 10. Lê como HUM..
> ---
>
> Key: NETBEANS-5085
> URL: https://issues.apache.org/jira/browse/NETBEANS-5085
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - Cordova
>Affects Versions: 11.3
>Reporter: Gilberto de Oliveira Kuhner
>Priority: Major
>  Labels: CordovaDeploy, build
> Attachments: image-2020-12-02-09-16-00-018.png
>
>
> Ao solicitar uma nova Aplicação Cordova , o Netbeans 11 não reconhece o 
> Cordova baixado na minha máquina, que é versão 10.01. Parece que ao passar 
> pela pesquisa abaixo, ele lê somente o primeiro algarismo da versão do 
> Cordova instalado. Tanto que responde que a versão deve ser maior que 3! 
> Abaixo passagem onde acredito esteja o erro: 
> 
>   
>  
>   unless="cordova.ver.3"/>
>  
>  
>  
> Vejam o resultado do Build inicial, sem alterar em NADA o novo projeto 
> criado: 
> Loading Environment env.Loading Environment 
> env.C:\Users\gilbe\Documents\NetBeansProjects\AppVetNet\nbproject\build.xml:111:
>  Cordova version 3 or greater required. at 
> org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:162) at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at 
> sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498) at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at 
> org.apache.tools.ant.Task.perform(Task.java:350) at 
> org.apache.tools.ant.Target.execute(Target.java:449) at 
> org.apache.tools.ant.Target.performTasks(Target.java:470) at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388) at 
> org.apache.tools.ant.Project.executeTarget(Project.java:1361) at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>  at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at 
> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261) 
> at 
> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574) 
> at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)BUILD 
> FAILED (total time: 0 seconds)
> Vide a imagem do GitBash com a versão do Cordova instalado  
> !image-2020-12-02-09-16-00-018.png!
>   



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

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

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



[jira] [Commented] (NETBEANS-188) Please add support for code completion while typing

2020-11-28 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-188:
-

This is not completelx true. There are options for Java, where I can change the 
code completion for Java (screenshot-1) to have it immediately after I type 
something. Also for JS, HTML, CSS, SCSS, PHP and this is good. I don't want to 
hit ctrl + space or just getting code completion after a dot. This is quite 
normal in all major IDEs and it was implemented years ago within NetBeans.

So just the problem for SQL is asking for the connection everytime also for a 
test SQL file and the missing option to say "Get code completion immediately" 
where the PR exists now..

> Please add support for code completion while typing
> ---
>
> Key: NETBEANS-188
> URL: https://issues.apache.org/jira/browse/NETBEANS-188
> Project: NetBeans
>  Issue Type: Improvement
>  Components: db - SQL Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>  Labels: pull-request-available
> Attachments: screenshot-1.png, sqlCodeCompletion.gif
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Afaik, the SQL Editor, is the only one, where you don't have code completion, 
> while typing. It only appears after you hit ctrl + space, which is weird. It 
> should be there per default. If not, there should be an option that code 
> completion should always be possible, in any cases and you can deactivate it, 
> if you don't want it.
> For each keyword, table, view whatever, I have to type a character and hit 
> ctrl + space. It would be very nice to have the same code completion feature 
> as in java or other languages, that the code completion comes up, while 
> typing. For example:
> Type "S" -> code completion should come immediately and should show you the 
> results. Same for everything like tables, views, databases, aliases and 
> columns.



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

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

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



[jira] [Updated] (NETBEANS-188) Please add support for code completion while typing

2020-11-28 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-188:

Attachment: screenshot-1.png

> Please add support for code completion while typing
> ---
>
> Key: NETBEANS-188
> URL: https://issues.apache.org/jira/browse/NETBEANS-188
> Project: NetBeans
>  Issue Type: Improvement
>  Components: db - SQL Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>  Labels: pull-request-available
> Attachments: screenshot-1.png, sqlCodeCompletion.gif
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Afaik, the SQL Editor, is the only one, where you don't have code completion, 
> while typing. It only appears after you hit ctrl + space, which is weird. It 
> should be there per default. If not, there should be an option that code 
> completion should always be possible, in any cases and you can deactivate it, 
> if you don't want it.
> For each keyword, table, view whatever, I have to type a character and hit 
> ctrl + space. It would be very nice to have the same code completion feature 
> as in java or other languages, that the code completion comes up, while 
> typing. For example:
> Type "S" -> code completion should come immediately and should show you the 
> results. Same for everything like tables, views, databases, aliases and 
> columns.



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

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

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



[jira] [Commented] (NETBEANS-4092) package.json icon is to big

2020-11-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4092:
--

Ahh ok. I should have look into the svg. I thought that was an other problem, 
because it worked before. Thx for the hint :)

> package.json icon is to big
> ---
>
> Key: NETBEANS-4092
> URL: https://issues.apache.org/jira/browse/NETBEANS-4092
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Projects UI
>Affects Versions: 11.2, 11.3
> Environment: Product Version: Apache NetBeans IDE 11.3
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Projekte\Netbeans Plugins\MinifierBeans\build\testuserdir
> Cache directory: C:\Projekte\Netbeans 
> Plugins\MinifierBeans\build\testuserdir\var\cache
>Reporter: Christian Lenz
>Priority: Major
> Attachments: image-2020-03-31-14-40-41-931.png, 
> image-2020-03-31-14-41-47-408.png
>
>
> In my current IDE 11.1 there is no problem with the npm icon for the 
> package.json file. You can see it in this my attached file  
> image-2020-03-31-14-43-07-177.png. it is 16x16 px small. When I use 11.3 the 
> icon is bigger see image-2020-03-31-14-40-41-931. I also tested ith with 11.2 
> and there is the same problem. So smth changed from 11.1 to 11.2 with icons 
> or HiDPI maybe?
> Steps to reprocuce:
> * open a project with a package.json file
> * open the tree nodes in the project view to see the package.json file
> * Icon is to big.
> Both IDEs are running on JDK 9.0.4, same PC (Surface Book 1 with HiDPI 
> resolution)



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

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

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



[jira] [Created] (NETBEANS-5026) Hacky scrolling in notifications window

2020-11-13 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-5026:


 Summary: Hacky scrolling in notifications window
 Key: NETBEANS-5026
 URL: https://issues.apache.org/jira/browse/NETBEANS-5026
 Project: NetBeans
  Issue Type: Bug
  Components: FlatLaf
Affects Versions: 12.1
 Environment: Product Version: Apache NetBeans IDE 12.1
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.1
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.1
Reporter: Christian Lenz
Assignee: Karl Tauber


Another hacky scrolling is the notifications window. You need to make some 
notifications. Open the notifications window and see the area, where the full 
information of the notifications is shown. Either it is still scrollable or you 
need to resize it, until you see the scrollbar. If you see it, please scroll 
and see that it is hacky.

Surface Laptop 3, Windows 10 20H2 and scrolling with the touchpad on it.



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

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

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



[jira] [Updated] (NETBEANS-5025) Hacky scrolling in Options -> Fonts & Colors -> preview area

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-5025:
-
Issue Type: Bug  (was: Improvement)

> Hacky scrolling in Options -> Fonts & Colors -> preview area
> 
>
> Key: NETBEANS-5025
> URL: https://issues.apache.org/jira/browse/NETBEANS-5025
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 12.1
> Environment: Product Version: Apache NetBeans IDE 12.1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.1
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>
> Since the smooth scrolling was implemented by you, thank you very much, there 
> are some areas, where the scrolling is still hacky like in the editor, before 
> you fixed it. One of the areas is the preview area inside of the options.
> Steps to reproduce:
> * Open Options
> * Go to Fonts & Colors
> * Try to scroll inside of the preview area
> You can see, that smooth scrolling is there but hacky.
> Surface Laptop 3, Windows 10 20H2 and scrolling with the touchpad on it.



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

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

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



[jira] [Created] (NETBEANS-5025) Hacky scrolling in Options -> Fonts & Colors -> preview area

2020-11-13 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-5025:


 Summary: Hacky scrolling in Options -> Fonts & Colors -> preview 
area
 Key: NETBEANS-5025
 URL: https://issues.apache.org/jira/browse/NETBEANS-5025
 Project: NetBeans
  Issue Type: Improvement
  Components: FlatLaf
Affects Versions: 12.1
 Environment: Product Version: Apache NetBeans IDE 12.1
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.1
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.1
Reporter: Christian Lenz
Assignee: Karl Tauber


Since the smooth scrolling was implemented by you, thank you very much, there 
are some areas, where the scrolling is still hacky like in the editor, before 
you fixed it. One of the areas is the preview area inside of the options.

Steps to reproduce:
* Open Options
* Go to Fonts & Colors
* Try to scroll inside of the preview area

You can see, that smooth scrolling is there but hacky.

Surface Laptop 3, Windows 10 20H2 and scrolling with the touchpad on it.



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

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

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



[jira] [Created] (NETBEANS-5024) [FlatLaF] Horizontal scrolling of tabs are not smooth

2020-11-13 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-5024:


 Summary: [FlatLaF] Horizontal scrolling of tabs are not smooth
 Key: NETBEANS-5024
 URL: https://issues.apache.org/jira/browse/NETBEANS-5024
 Project: NetBeans
  Issue Type: Improvement
  Components: FlatLaf
Affects Versions: 12.1
Reporter: Christian Lenz
Assignee: Karl Tauber
 Attachments: unsmooth tab scrolling.gif

When I have a lot of tabs open (50+) I just can see some and the rest will be 
scrollable. The scrolling is not smooth as it should be compared to all other 
scrolling experience.

Maybe you can see, what I mean in my little screencast.



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

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

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



[jira] [Updated] (NETBEANS-27) Editor should recognize the filetype via unix comment, from the first line

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-27:
---
Affects Version/s: 12.1

> Editor should recognize the filetype via unix comment, from the first line
> --
>
> Key: NETBEANS-27
> URL: https://issues.apache.org/jira/browse/NETBEANS-27
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation, editor - Parsing 
>  Indexing
>Affects Versions: 8.2, 12.1
>Reporter: Christian Lenz
>Priority: Major
>
> I created a HTML5/JS Application with NodeJS, I activated express to use it. 
> After next, the express.cmd created a project template. Inside the bin 
> folder, there is a file called www. Here is a little example of the code:
> {code}
> #!/usr/bin/env node
> /**
>  * Module dependencies.
>  */
> var app = require('../app');
> var debug = require('debug')('jade:server');
> var http = require('http');
> /**
>  * Get port from environment and store in Express.
>  */
> var port = normalizePort(process.env.PORT || '3000');
> app.set('port', port);
> /**
>  * Create HTTP server.
>  */
> {code}
> NetBeans doesn't know that this is JS code, and it will not treat it as a JS 
> file. So the editor should recognize the type from the comment from the first 
> line, which comes from unix systems(?). I tried the same source in WebStorm 
> and Visual Studio Code and it works very well as expected.
> I don't want to set the mimetype for the www file to js, because it will 
> affect every file, without having an extension, which is not good. I tried it 
> and any file, which has no extension is now a JS file in my IDE.
> So please let the editor set the mimetype from this comment, to the supported 
> mimetype from NetBeans.
> Regards
> Chris



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

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

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



[jira] [Updated] (NETBEANS-27) Editor should recognize the filetype via unix comment, from the first line

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-27:
---
Issue Type: New Feature  (was: Bug)

> Editor should recognize the filetype via unix comment, from the first line
> --
>
> Key: NETBEANS-27
> URL: https://issues.apache.org/jira/browse/NETBEANS-27
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Formatting  Indentation, editor - Parsing 
>  Indexing
>Affects Versions: 8.2, 12.1
>Reporter: Christian Lenz
>Priority: Major
>
> I created a HTML5/JS Application with NodeJS, I activated express to use it. 
> After next, the express.cmd created a project template. Inside the bin 
> folder, there is a file called www. Here is a little example of the code:
> {code}
> #!/usr/bin/env node
> /**
>  * Module dependencies.
>  */
> var app = require('../app');
> var debug = require('debug')('jade:server');
> var http = require('http');
> /**
>  * Get port from environment and store in Express.
>  */
> var port = normalizePort(process.env.PORT || '3000');
> app.set('port', port);
> /**
>  * Create HTTP server.
>  */
> {code}
> NetBeans doesn't know that this is JS code, and it will not treat it as a JS 
> file. So the editor should recognize the type from the comment from the first 
> line, which comes from unix systems(?). I tried the same source in WebStorm 
> and Visual Studio Code and it works very well as expected.
> I don't want to set the mimetype for the www file to js, because it will 
> affect every file, without having an extension, which is not good. I tried it 
> and any file, which has no extension is now a JS file in my IDE.
> So please let the editor set the mimetype from this comment, to the supported 
> mimetype from NetBeans.
> Regards
> Chris



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

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

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



[jira] [Assigned] (NETBEANS-5010) Go to File search should accept paths too

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-5010:


Assignee: Emilian Bold  (was: Christian Lenz)

> Go to File search should accept paths too
> -
>
> Key: NETBEANS-5010
> URL: https://issues.apache.org/jira/browse/NETBEANS-5010
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Czukowski
>Assignee: Emilian Bold
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Go to File seems to search only by the file name. For example, it takes only 
> a double click to copy a file name including its path from a console (eg from 
> git output), and it's a shame it cannot be pasted into Go to File dialog to 
> open that file just as easily, without removing the path information first.
> Also if there are many files with the same name (eg due to some naming 
> convention), there will be many results requiring some more time to locate 
> the correct one.
> Therefore Go to File dialog should accept parts of file paths as well.
> On Windows, both forward and back slashes should be supported for directory 
> separators.



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

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

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



[jira] [Assigned] (NETBEANS-5010) Go to File search should accept paths too

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-5010:


Assignee: Emilian Bold

> Go to File search should accept paths too
> -
>
> Key: NETBEANS-5010
> URL: https://issues.apache.org/jira/browse/NETBEANS-5010
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Czukowski
>Assignee: Emilian Bold
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Go to File seems to search only by the file name. For example, it takes only 
> a double click to copy a file name including its path from a console (eg from 
> git output), and it's a shame it cannot be pasted into Go to File dialog to 
> open that file just as easily, without removing the path information first.
> Also if there are many files with the same name (eg due to some naming 
> convention), there will be many results requiring some more time to locate 
> the correct one.
> Therefore Go to File dialog should accept parts of file paths as well.
> On Windows, both forward and back slashes should be supported for directory 
> separators.



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

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

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



[jira] [Assigned] (NETBEANS-5010) Go to File search should accept paths too

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-5010:


Assignee: Christian Lenz  (was: Emilian Bold)

> Go to File search should accept paths too
> -
>
> Key: NETBEANS-5010
> URL: https://issues.apache.org/jira/browse/NETBEANS-5010
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Czukowski
>Assignee: Christian Lenz
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Go to File seems to search only by the file name. For example, it takes only 
> a double click to copy a file name including its path from a console (eg from 
> git output), and it's a shame it cannot be pasted into Go to File dialog to 
> open that file just as easily, without removing the path information first.
> Also if there are many files with the same name (eg due to some naming 
> convention), there will be many results requiring some more time to locate 
> the correct one.
> Therefore Go to File dialog should accept parts of file paths as well.
> On Windows, both forward and back slashes should be supported for directory 
> separators.



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

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

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



[jira] [Commented] (NETBEANS-3017) Navigate -> Go to File... does not work anymore

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3017:
--

Definitely, this feature is so much needed all day long and it is so annoying 
of the problem as you can see the linked tickets.

> Navigate -> Go to File... does not work anymore
> ---
>
> Key: NETBEANS-3017
> URL: https://issues.apache.org/jira/browse/NETBEANS-3017
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Linux (Debian 9), JDK 1.8.0_202
>Reporter: Burkhard Graves
>Priority: Major
>
> Navigate -> Go to File... does not (always) work as expected. Sometimes it 
> works, but often it does not find files which definitely exist. Same result 
> when removing the cache beforehand.
> It works _much better_ in 8.x (also not always but much better).
> (I ended up installing the plugin "Open File Fast"...)
>  



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

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

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



[jira] [Commented] (NETBEANS-3749) [LSP] Adding option to open code completion while typing

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3749:
--

Do you need more information from my side here?

> [LSP] Adding option to open code completion while typing
> 
>
> Key: NETBEANS-3749
> URL: https://issues.apache.org/jira/browse/NETBEANS-3749
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates, editor - Options, 
> lsp
>Affects Versions: 11.3
> Environment: Product Version: Apache NetBeans IDE 11.3-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.3-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.3-beta1
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Atm the code completion for new languages added with textmate and the LSP for 
> that, will not comes up after typing. It will comes up, when you type ctrl + 
> space as usual. In the standard NetBeans languages (PHP, Java, etc.) there is 
> the option to show code completion while typing w/o hitting ctrl + space. I 
> know that some people don't want that and some people want that so we need an 
> option for that.
> I would suggest to add this option to each language that we can add in the 
> add new language dialog at the Language Server pptions page. Maybe a global 
> option to make this available for each language will be good too to override 
> the specific ones.



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

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

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



[jira] [Commented] (NETBEANS-3869) Change mimetypes from textmate added languages to better known mimetypes

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3869:
--

It is possible to do it by my own, but it is just a workaround. You can see the 
instructions here: https://github.com/Chris2011/netbeans-textmate-files

> Change mimetypes from textmate added languages to better known mimetypes
> 
>
> Key: NETBEANS-3869
> URL: https://issues.apache.org/jira/browse/NETBEANS-3869
> Project: NetBeans
>  Issue Type: Improvement
>  Components: textmate-lexer
>Affects Versions: 11.3
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> When I add a new language, the mimetype is just text/x-ext-a and the next one 
> will be text/x-ext-b. But this is not really usefull, when I use the mimetype 
> for some more specific stuff for example adding code completion items or 
> adding actions to those mimetypes. I can't guess, when I have 10 new 
> languages, which one is one.
> Solution is, and most of the time it is using the extension.
> So adding a new language for kt (Kotlin) files, it will be text/x-kt, for cs 
> (C#) it will be text/x-cs for feature (cucumber feature files) it will be 
> text/x-feature. This is way better IMHO. Using ext-a, ext-b, ext-c says 
> nothing.



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

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

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



[jira] [Commented] (NETBEANS-4092) package.json icon is to big

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4092:
--

[~ebakke] maybe you have an idea here, if I remember correctly, that you are 
the guy of all the HiDPI improvements :)

> package.json icon is to big
> ---
>
> Key: NETBEANS-4092
> URL: https://issues.apache.org/jira/browse/NETBEANS-4092
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Projects UI
>Affects Versions: 11.2, 11.3
> Environment: Product Version: Apache NetBeans IDE 11.3
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Projekte\Netbeans Plugins\MinifierBeans\build\testuserdir
> Cache directory: C:\Projekte\Netbeans 
> Plugins\MinifierBeans\build\testuserdir\var\cache
>Reporter: Christian Lenz
>Priority: Major
> Attachments: image-2020-03-31-14-40-41-931.png, 
> image-2020-03-31-14-41-47-408.png
>
>
> In my current IDE 11.1 there is no problem with the npm icon for the 
> package.json file. You can see it in this my attached file  
> image-2020-03-31-14-43-07-177.png. it is 16x16 px small. When I use 11.3 the 
> icon is bigger see image-2020-03-31-14-40-41-931. I also tested ith with 11.2 
> and there is the same problem. So smth changed from 11.1 to 11.2 with icons 
> or HiDPI maybe?
> Steps to reprocuce:
> * open a project with a package.json file
> * open the tree nodes in the project view to see the package.json file
> * Icon is to big.
> Both IDEs are running on JDK 9.0.4, same PC (Surface Book 1 with HiDPI 
> resolution)



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

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

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



[jira] [Closed] (NETBEANS-4893) Add node_modules and bower_components to the file ignore pattern

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-4893.

Resolution: Won't Do

> Add node_modules and bower_components to the file ignore pattern
> 
>
> Key: NETBEANS-4893
> URL: https://issues.apache.org/jira/browse/NETBEANS-4893
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - OptionsSettings, web - HTML Project
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> When using NetBeans for the very first time and opening a web project with a 
> package.json and node_modules and a bower.json and bower_components, NetBeans 
> tries to indexing also the node_modules and the bower_components. If I don't 
> want it, I can add both folders to the file ignores pattern into the options.
> The problem is, that a new user doesn't know this at the beginning of using 
> NetBeans so it is needed to add those folders to the default files ignore 
> pattern. I will do this.



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

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

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



[jira] [Commented] (NETBEANS-4893) Add node_modules and bower_components to the file ignore pattern

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4893:
--

So unfortunately, this is not going to work, due to killing the indexing. The 
problem here is the old parser/indexer of all the JS files and folders. In 
WebStorm there is just ~2 min to index the same amount of node_modules files 
and folders (The node_modules folder has 115.605 files and 18.964 folders). So 
this will just kill the index but also all code completion for the dependent 
packages. There needs to be a better indexer for the JS/TS Files inside of the 
node_modules folder.

> Add node_modules and bower_components to the file ignore pattern
> 
>
> Key: NETBEANS-4893
> URL: https://issues.apache.org/jira/browse/NETBEANS-4893
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - OptionsSettings, web - HTML Project
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> When using NetBeans for the very first time and opening a web project with a 
> package.json and node_modules and a bower.json and bower_components, NetBeans 
> tries to indexing also the node_modules and the bower_components. If I don't 
> want it, I can add both folders to the file ignores pattern into the options.
> The problem is, that a new user doesn't know this at the beginning of using 
> NetBeans so it is needed to add those folders to the default files ignore 
> pattern. I will do this.



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

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

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



[jira] [Commented] (NETBEANS-5010) Go to File search should accept paths too

2020-11-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5010:
--

[~emi] deja-vu? He had an experiment with it, maybe he can tell smth about it.

> Go to File search should accept paths too
> -
>
> Key: NETBEANS-5010
> URL: https://issues.apache.org/jira/browse/NETBEANS-5010
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Czukowski
>Priority: Minor
>
> Go to File seems to search only by the file name. For example, it takes only 
> a double click to copy a file name including its path from a console (eg from 
> git output), and it's a shame it cannot be pasted into Go to File dialog to 
> open that file just as easily, without removing the path information first.
> Also if there are many files with the same name (eg due to some naming 
> convention), there will be many results requiring some more time to locate 
> the correct one.
> Therefore Go to File dialog should accept parts of file paths as well.
> On Windows, both forward and back slashes should be supported for directory 
> separators.



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

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

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



  1   2   3   4   5   6   7   8   9   10   >