[jira] [Commented] (NETBEANS-2768) Graph visualization of git history (git log)

2022-05-04 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2768:
--

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

 

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

 

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

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



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

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

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



[jira] [Commented] (NETBEANS-1287) First class EditorConfig support

2022-04-27 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1287:
--

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

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



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

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

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



[jira] [Closed] (NETBEANS-6496) Delete this issue, please.

2022-04-25 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-6496.

Resolution: Duplicate

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



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

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

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



[jira] [Commented] (NETBEANS-4539) No syntax highlighting for specific textmate grammar

2022-03-09 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4539:
--

So for markdown the syntax highlighting is working but not really notworthy as 
mentioned here: 
[https://github.com/apache/netbeans/discussions/3477#discussioncomment-2060060] 
but this is another topic. For ftl files, unfortunately no syntax highlighting, 
but maybe the lexer is somehow broken and VS Code can handle this better. Atm I 
can live with that, it seems the only lexer atm which is not working so far.

> No syntax highlighting for specific textmate grammar
> 
>
> Key: NETBEANS-4539
> URL: https://issues.apache.org/jira/browse/NETBEANS-4539
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> I don't have syntax highlighting, when I use/register this grammar file: 
> https://github.com/microsoft/vscode-markdown-tm-grammar/blob/master/syntaxes/markdown.tmLanguage
> Steps to reproduce:
> * Open options
> * Go to Editor -> Language Servers
> * Create a new entry for md files
> * Use the given grammar file to register it for md files
> * Save and apply options.
> * Open any *.md file
> * See no syntax highlighting



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

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

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



[jira] [Commented] (NETBEANS-4530) NPE for specific textmate grammar

2022-03-09 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4530:
--

After updated the D lexer, no exception. Nim just worked immediately, w/o 
updating the grammar.

> NPE for specific textmate grammar
> -
>
> Key: NETBEANS-4530
> URL: https://issues.apache.org/jira/browse/NETBEANS-4530
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> Updates: Updates available
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.d, example.nim
>
>
> When I use this grammar file: 
> https://github.com/pragmagic/vscode-nim/blob/master/syntaxes/nim.json for the 
> nim language, I got a NPE:
> {code}
> java.lang.NullPointerException
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:220)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:699)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:660)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitAllViews(ViewUpdates.java:189)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:619)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentView.getPreferredSpan(DocumentView.java:226)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1452)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:957)
>   at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
>   at 
> java.desktop/javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1345)
>   at 
> org.netbeans.modules.editor.NbEditorUI$LayeredEditorPane.getPreferredSize(NbEditorUI.java:453)
>   at 
> java.desktop/javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:795)
>   at java.desktop/java.awt.Container.layout(Container.java:1537)
>   at java.desktop/java.awt.Container.doLayout(Container.java:1526)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1722)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at 

[jira] [Closed] (NETBEANS-4530) NPE for specific textmate grammar

2022-03-09 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-4530.


> NPE for specific textmate grammar
> -
>
> Key: NETBEANS-4530
> URL: https://issues.apache.org/jira/browse/NETBEANS-4530
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> Updates: Updates available
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.d, example.nim
>
>
> When I use this grammar file: 
> https://github.com/pragmagic/vscode-nim/blob/master/syntaxes/nim.json for the 
> nim language, I got a NPE:
> {code}
> java.lang.NullPointerException
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:220)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:699)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:660)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitAllViews(ViewUpdates.java:189)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:619)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentView.getPreferredSpan(DocumentView.java:226)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1452)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:957)
>   at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
>   at 
> java.desktop/javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1345)
>   at 
> org.netbeans.modules.editor.NbEditorUI$LayeredEditorPane.getPreferredSize(NbEditorUI.java:453)
>   at 
> java.desktop/javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:795)
>   at java.desktop/java.awt.Container.layout(Container.java:1537)
>   at java.desktop/java.awt.Container.doLayout(Container.java:1526)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1722)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at 

[jira] [Resolved] (NETBEANS-4530) NPE for specific textmate grammar

2022-03-09 Thread Christian Lenz (Jira)


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

Christian Lenz resolved NETBEANS-4530.
--
Resolution: Fixed

> NPE for specific textmate grammar
> -
>
> Key: NETBEANS-4530
> URL: https://issues.apache.org/jira/browse/NETBEANS-4530
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> Updates: Updates available
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.d, example.nim
>
>
> When I use this grammar file: 
> https://github.com/pragmagic/vscode-nim/blob/master/syntaxes/nim.json for the 
> nim language, I got a NPE:
> {code}
> java.lang.NullPointerException
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:220)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:699)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:660)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitAllViews(ViewUpdates.java:189)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:619)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentView.getPreferredSpan(DocumentView.java:226)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1452)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:957)
>   at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
>   at 
> java.desktop/javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1345)
>   at 
> org.netbeans.modules.editor.NbEditorUI$LayeredEditorPane.getPreferredSize(NbEditorUI.java:453)
>   at 
> java.desktop/javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:795)
>   at java.desktop/java.awt.Container.layout(Container.java:1537)
>   at java.desktop/java.awt.Container.doLayout(Container.java:1526)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1722)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at 

[jira] [Closed] (NETBEANS-4540) SyntaxException for specific grammar

2022-03-08 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-4540.


> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299)
>   at 
> 

[jira] [Resolved] (NETBEANS-4540) SyntaxException for specific grammar

2022-03-08 Thread Christian Lenz (Jira)


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

Christian Lenz resolved NETBEANS-4540.
--
Resolution: Fixed

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299)
>   at 
> 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2022-03-08 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

So after I updated the grammars (julia from here: 
[https://github.com/julia-vscode/julia-vscode/blob/master/syntaxes/julia_vscode.json)]
 and latex from the original repo, no exception occurs anymore. Only tested in 
NetBeans 13.0.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> 

[jira] [Commented] (NETBEANS-503) Please support blade template engine for laravel

2022-01-31 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-503:
-

Great progress, will check it soon. Thx :).

> Please support blade template engine for laravel
> 
>
> Key: NETBEANS-503
> URL: https://issues.apache.org/jira/browse/NETBEANS-503
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor, php - Formatting  Indentation
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Haidu Bogdan
>Priority: Major
> Attachments: blade-phpstorm.png, blade_navigator.png, 
> code_completion.png
>
>
> Atm, NetBeans does not support laravel out of the box, therefore, NetBeans 
> does not support the blade template engine. Blade templates are set to 
> foo.blade.php.
> So therefore, we need a new filetype which has the extension .blade.php and 
> it should support: PHP, Blade Templates, HTML (Don't know whether jade is 
> needed too or not), CSS, JS. See the screenshot from PHPStorm, they already 
> supports Blade.
> Yes it should be possible to have PHP inside too. This is an official 
> statement from the developers:
> *Blade is the simple, yet powerful templating engine provided with Laravel. 
> Unlike other popular PHP templating engines, Blade does not restrict you from 
> using plain PHP code in your views. In fact, all Blade views are compiled 
> into plain PHP code and cached until they are modified, meaning Blade adds 
> essentially zero overhead to your application. Blade view files use the  
> .blade.php file extension and are typically stored in the resources/views 
> directory.*
> The folder is not relevant, it should be possible in every folder. So Syntax 
> highlighting, code completion for each type of the language should be 
> possible in that filetype, like in a normal HTML file.
> Cheers
> Chris



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

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

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



[jira] [Commented] (NETBEANS-189) SQL editor, shouldn't ask evertime to set the connection

2022-01-29 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-189:
-

Uhhh, very nice. Awesome [~ebresie] I followed your work and I appreciate it 
very much. Thank you for your contribution. I will have a look into the feature 
soon :)

> SQL editor, shouldn't ask evertime to set the connection
> 
>
> Key: NETBEANS-189
> URL: https://issues.apache.org/jira/browse/NETBEANS-189
> Project: NetBeans
>  Issue Type: Improvement
>  Components: db - SQL Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Eric Bresie
>Priority: Major
>  Labels: pull-request-available
> Fix For: 13
>
> Attachments: SQL Notification.png, required-connection.gif
>
>  Time Spent: 9.5h
>  Remaining Estimate: 0h
>
> Of course, the SQL editor doesn't make sense, if you don't set a connection 
> to see databases, tables and columns, but sometimes or often, you only want 
> to scratch a SQL query and you want the code completion for the SQL stuff, 
> like the keywords (SELECT, FROM, WHERE) or aggregate functions (COUNT, AVG, 
> etc.) So this is not possible, without setting a connection. But when I don't 
> have a connection, I can't use the code completion, becauses it will ends up 
> in a loop. See my little screen capture for what I mean.



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

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

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



[jira] [Updated] (NETBEANS-395) Please add option to automatically add closing tag after close the start tag

2022-01-26 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-395:

External issue URL: https://bz.apache.org/netbeans/show_bug.cgi?id=249706  
(was: https://netbeans.org/bugzilla/show_bug.cgi?id=249706)

> Please add option to automatically add closing tag after close the start tag
> 
>
> Key: NETBEANS-395
> URL: https://issues.apache.org/jira/browse/NETBEANS-395
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor, xml - Text-Edit
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
> Attachments: visualStudioEndTagCompletion.gif
>
>
> In Visual Studio (Attachment: Visual Studio endtag completion) you can see 
> that, when I type: "" (Without quotes) I don't get a 
> popup which shows me the end tag, it will add the end tag automatically, 
> which is very nice.
> For my perspective, many people will write the start tag and the end tag 
> after this so why do we need the extra popup? with only one entry? For those 
> who don't want/need it, it would be nice if we can have an option for (X)HTML 
> and XML to enable/disable: Add end tag automatically. And if you have divs, 
> and you forgot a parent element, so you will surround the code. So in my 
> opinion, there won't be big problems for this very nice enhancement.
> Same exists in WebStorm and I guess in VS Code too.
> The current behaviour is: type "" and the code 
> completion popup comes up with only one entry, the closing tag. This is not 
> needed in my perspective.
> If so, then we should make it optional with an option like: "Enable 
> automatically closing end tags" or whatever.
> This will make you much more productive.
> Regards
> Chris



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

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

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



[jira] [Commented] (NETBEANS-6271) Yaml code formatting does not respect Formatting configuration

2021-12-12 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-6271:
--

Using ot the tab key will still work, right? I tried it, that the tab converts 
to spaces in any editor also in yaml files.

> Yaml code formatting does not respect Formatting configuration
> --
>
> Key: NETBEANS-6271
> URL: https://issues.apache.org/jira/browse/NETBEANS-6271
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
> Environment: NB12.6
> Java 17
> Windows 10
>Reporter: Rick Yagodich
>Priority: Minor
>
> (Affected version should be 12.6, but option is not available.)
> I changed my default formatting to use tabs instead of spaces (to create 
> smaller files, primarily), through Options > Editor > Formatting > All 
> Languages, unchecking Expand Tabs to Spaces and setting spaces per indent and 
> Tab Size to 3.
> For Yaml, as with all others, Use All Languages Settings is checked.
> When indenting my application.yml file, the behaviour is messy.
>  * Hitting return - adding a new auto-indented line - the indent is in 
> spaces, not tabs
>  * Using tab key, new tab _and all exising tabs_ in line are converted to 
> spaces
>  * Selecting multiple lines and adjusting indent with tab, all lines' indents 
> converted to tabs (leaving any remainder of spce count as spaces; a 4-space 
> indent with my config, further indented would become 2 tabs + 1 space) 
> _except_ the last-selected line, where all tabs are converted to spaces.
>  * Selecting multiple lines and decreasing indent (Shift-Tab), all lines 
> including the last converted to tabs.
> Due to code validation in Yaml, the chaos of some lines being tab-indented 
> and some being space-indented results in much of the file showing errors.



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

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

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



[jira] [Updated] (NETBEANS-1649) Adding syntax highlighing and code completion of different languages inside strings (JS)

2021-12-09 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-1649:
-
Description: 
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in JavaScript, it is really 
hard to "debug" or to figure out what you have forgotton and not really 
readable because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In JavaScript 
I can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
it via a hint inside of the editor.

So when I have a java file with code like this:
{code:javascript}
var testSQL = "SELECT * FROM"; // Could be inside a node script
{code}
I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:
{code:javascript}
var myWhatever = "Nice"; // Inline templates or smth for the view
{code}
And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://www.jetbrains.com/help/idea/running-injected-sql-statements.html

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.

  was:
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in JavaScript, it is really 
hard to "debug" or to figure out what you have forgotton and not really 
readable because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In JavaScript 
I can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
it via a hint inside of the editor.

So when I have a java file with code like this:

{code:javascript}
var testSQL = "SELECT * FROM"; // Could be inside a node script
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:javascript}
var myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.


> Adding syntax highlighing and code completion of different languages inside 
> strings (JS)
> 
>
> Key: NETBEANS-1649
> URL: https://issues.apache.org/jira/browse/NETBEANS-1649
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Mohannd Lababidy
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in JavaScript, it is really 
> hard to "debug" or to figure out what you have forgotton and not really 
> readable because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In 
> JavaScript I can have HTML, XML, JS, SQL and whatever inside of a string, I 
> should change it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:javascript}
> var testSQL = "SELECT * FROM"; // Could be inside a node script
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing 

[jira] [Commented] (NETBEANS-3746) [FlatLaF] Restartless theme changing for FlatLaF

2021-11-08 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3746:
--

I would say yes. But this is just my opinion. I mean sure, we can still let the 
others in and only have the possibility inside FlatLaF as you said.

> [FlatLaF] Restartless theme changing for FlatLaF
> 
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 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.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



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

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

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



[jira] [Commented] (NETBEANS-3746) [FlatLaF] Change theme for FlatLaF

2021-11-07 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3746:
--

I understand your point, I just wanted to say that it shouldn't be impossible 
and we need to fix those stuff first to come closer to the vision of this. 
Because this will bring an added value to NetBeans. But sure the way is long, I 
know. Step by step.

> [FlatLaF] Change theme for FlatLaF
> --
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 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.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



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

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

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



[jira] [Comment Edited] (NETBEANS-3746) [FlatLaF] Change theme for FlatLaF

2021-11-05 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-3746 at 11/5/21, 2:53 PM:


{quote}Switching FlatLaf theme is Swing L switching. There is no magic in 
FlatLaf :)

So switching FlatLaf theme in NB without restart requires some changes in NB. 
E.g. no longer storing colors (or other theme related data) in static 
variables. And more...
{quote}
As I understand it correct, there is no difference between swing L switching 
theme and that what FlatLaF does. It is just the problem that there are a lot 
of hardcoded stuff in the core. I dunno whether you can create a theme for each 
NetBeans look and feel which is part of the core and us them to switch the but 
I guess it is exactly that thing.


was (Author: chrizzly):
> Switching FlatLaf theme is Swing L switching. There is no magic in FlatLaf 
>:)

> So switching FlatLaf theme in NB without restart requires some changes in NB. 
> E.g. no longer storing colors (or other theme related data) in static 
> variables. And more...

As I understand it correct, there is no difference between swing L switching 
theme and that what FlatLaF does. It is just the problem that there are a lot 
of hardcoded stuff in the core. I dunno whether you can create a theme for each 
NetBeans look and feel which is part of the core and us them to switch the but 
I guess it is exactly that thing.

> [FlatLaF] Change theme for FlatLaF
> --
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 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.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



--
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-3746) [FlatLaF] Change theme for FlatLaF

2021-11-05 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3746:
--

> Switching FlatLaf theme is Swing L switching. There is no magic in FlatLaf 
>:)

> So switching FlatLaf theme in NB without restart requires some changes in NB. 
> E.g. no longer storing colors (or other theme related data) in static 
> variables. And more...

As I understand it correct, there is no difference between swing L switching 
theme and that what FlatLaF does. It is just the problem that there are a lot 
of hardcoded stuff in the core. I dunno whether you can create a theme for each 
NetBeans look and feel which is part of the core and us them to switch the but 
I guess it is exactly that thing.

> [FlatLaF] Change theme for FlatLaF
> --
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 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.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



--
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-3746) [FlatLaF] Change theme for FlatLaF

2021-11-05 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-3746 at 11/5/21, 1:10 PM:


Infrequently is just true for NetBeans, due to the problem that you need to 
restart after you change the LaF. When I have a presentation with my FlatLaF 
dark theme and I need to switch to light due to lights in the room etc. I need 
to restart which is a mess, because it is not that fast to restart NetBeans in 
a couple of seconds like IntelliJ. And also IntelliJ has not this problem. Yes 
we will have more bugs due to restart needed, becuase of the ground problem of 
the hardcoded stuff inside NetBeans. FlatLaF shows that this is possible, 
IntelliJ shows that this is possible only NetBeans is not possible.

I prefer to fix as lot of hardcoded stuff as possible and if there are bugs we 
can give a notification to the user: If you see any glitches, please try to 
restart first. We all asked for: Can you please remove the user dir and the 
cache stuff first (Which I think is also not nice over and over again, just 
fixing symptons not the root problem) so why not here?

We have also restartless plugins, not all and for updating or for 
deleting/deactivating it is not possible too but we should be more user 
friendly and intuitive.

I guess that more and more people will switch their LaF if they don't need to 
restart NetBeans again after doing this.


was (Author: chrizzly):
Infrequently is just true for NetBeans. When I have a presentation with my 
FlatLaF dark theme and I need to switch to light due to lights in the room etc. 
I need to restart which is a mess, because it is not that fast to restart 
NetBeans in a couple of seconds like IntelliJ. And also IntelliJ has not this 
problem. Yes we will have more bugs due to restart needed, becuase of the 
ground problem of the hardcoded stuff inside NetBeans. FlatLaF shows that this 
is possible, IntelliJ shows that this is possible only NetBeans is not possible.

I prefer to fix as lot of hardcoded stuff as possible and if there are bugs we 
can give a notification to the user: If you see any glitches, please try to 
restart first. We all asked for: Can you please remove the user dir and the 
cache stuff first (Which I think is also not nice over and over again, just 
fixing symptons not the root problem) so why not here?

We have also restartless plugins, not all and for updating or for 
deleting/deactivating it is not possible too but we should be more user 
friendly and intuitive.

> [FlatLaF] Change theme for FlatLaF
> --
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 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.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



--
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-3746) [FlatLaF] Change theme for FlatLaF

2021-11-05 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3746:
--

Infrequently is just true for NetBeans. When I have a presentation with my 
FlatLaF dark theme and I need to switch to light due to lights in the room etc. 
I need to restart which is a mess, because it is not that fast to restart 
NetBeans in a couple of seconds like IntelliJ. And also IntelliJ has not this 
problem. Yes we will have more bugs due to restart needed, becuase of the 
ground problem of the hardcoded stuff inside NetBeans. FlatLaF shows that this 
is possible, IntelliJ shows that this is possible only NetBeans is not possible.

I prefer to fix as lot of hardcoded stuff as possible and if there are bugs we 
can give a notification to the user: If you see any glitches, please try to 
restart first. We all asked for: Can you please remove the user dir and the 
cache stuff first (Which I think is also not nice over and over again, just 
fixing symptons not the root problem) so why not here?

We have also restartless plugins, not all and for updating or for 
deleting/deactivating it is not possible too but we should be more user 
friendly and intuitive.

> [FlatLaF] Change theme for FlatLaF
> --
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 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.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



--
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-1649) Adding syntax highlighing and code completion of different languages inside strings (JS)

2021-10-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1649:
--

No work at all afaik. I dunno whether a 3rd-party-plugin will work here, 
because a lot of APIs are not open what we need for using the tokens of HTML 
and other non Java languages.

> Adding syntax highlighing and code completion of different languages inside 
> strings (JS)
> 
>
> Key: NETBEANS-1649
> URL: https://issues.apache.org/jira/browse/NETBEANS-1649
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in JavaScript, it is really 
> hard to "debug" or to figure out what you have forgotton and not really 
> readable because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In 
> JavaScript I can have HTML, XML, JS, SQL and whatever inside of a string, I 
> should change it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:javascript}
> var testSQL = "SELECT * FROM"; // Could be inside a node script
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:javascript}
> var myWhatever = "Nice"; // Inline templates or smth for the view
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



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

2021-09-24 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-2768:
-
External issue URL: https://bz.apache.org/netbeans/show_bug.cgi?id=221662  
(was: https://netbeans.org/bugzilla/show_bug.cgi?id=221662)

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



--
This message was sent by Atlassian Jira
(v8.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-2768) Graph visualization of git history (git log)

2021-09-24 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2768:
--

And here I started: https://github.com/Chris2011/gitlogbeans

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



--
This message was sent by Atlassian Jira
(v8.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-4540) SyntaxException for specific grammar

2021-09-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

[~jherkel] is it correct, that you also could reproduce my problem, before you 
did some changes? I still have the same problem with a fresh installation of 
NetBeans 12.5. w/o using nb-javac. Can you please try to reproduce [~jherkel] 
or anyone else? Just with the latex lexer. Julia moved and I need to 
reimplement it.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> 

[jira] [Commented] (NETBEANS-3746) [FlatLaF] Change theme for FlatLaF

2021-09-16 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3746:
--

hey [~devcharly] so I can try this with a 3rd-party-plugin. Just call 
UIManager.setLookAndFeel() and give the look and feel as an argument and check 
out, what is working and what not, right? I think I tried this long ago, as you 
started implementing it. I think it is a good starting point to see, where the 
problems are. Btw, did you already start the progress what you mentioned:

 {quote} For the start, I thought about implementing switching (without 
restart) from one FlatLaf theme to another FlatLaf theme only... {quote}

> [FlatLaF] Change theme for FlatLaF
> --
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 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.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



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

2021-09-09 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2768:
--

I started it by my own, but it will be a 3rd-party-plugin. Hope to not have 
that much work. A lot of work was done by JGit. They already have the CLI glog 
which created this JFrame and I can reuse it.

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



--
This message was sent by Atlassian Jira
(v8.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-2768) Graph visualization of git history (git log)

2021-09-09 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-2768:
-
Labels: git plugin  (was: git)

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



--
This message was sent by Atlassian Jira
(v8.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-2768) Graph visualization of git history (git log)

2021-09-09 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-2768:


Assignee: Christian Lenz

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



--
This message was sent by Atlassian Jira
(v8.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-4540) SyntaxException for specific grammar

2021-09-01 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-4540 at 9/1/21, 9:55 AM:
---

[~matthiasblaesing] what more information can I present to let you reproduce 
the error? I don't use nb-javac for example.


was (Author: chrizzly):
[~matthiasblaesing] do you need any more information from my side to reproduce 
the error? I don't use nb-javac for example.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2021-09-01 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

[~matthiasblaesing] do you need any more information from my side to reproduce 
the error? I don't use nb-javac for example.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> 

[jira] [Commented] (NETBEANS-2913) Sugestion Code Folding

2021-08-19 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2913:
--

I also thought that this was a bug and it worked before, but no, For Java, code 
folding for conditions and loops are missing. Everything is there for JS and 
PHP and also for TypeScript (maybe this is coming from the LSP) which is quite 
nice.

> Sugestion Code Folding
> --
>
> Key: NETBEANS-2913
> URL: https://issues.apache.org/jira/browse/NETBEANS-2913
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Samuel Placido da costa
>Priority: Major
>
> would be great if all conditions (if, while, for ...) have code folding, just 
> like other IDE's
> this would optimize the development and organization time of all 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-4540) SyntaxException for specific grammar

2021-08-16 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-4540 at 8/16/21, 5:57 PM:


Ok, maybe i lost the focus due to jakubs comment but probably it is a problem 
of Joni? Latest master and maybe NB 12.4 uses joni 2.1.11. Joni has already 
updated files. Could this be the problem? You must have done smth different 
than me. I just use 12.4 and 12.5 beta1 clean user dir and I still got the 
issue. I didn't try to build it again.


was (Author: chrizzly):
Ok, maybe i lost the focus due to jakubs comment but probably it is a problem 
of Joni? Latest master and maybe NB 12.4 uses joni 2.1.11. Joni has already 
updated files. Could this be the problem? You have done smth different than me. 
I just use 12.4 and 12.5 beta1 clean install and I still got the issue. I 
didn't try to build it again.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
> 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2021-08-16 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

Ok, maybe i lost the focus due to jakubs comment but probably it is a problem 
of Joni? Latest master and maybe NB 12.4 uses joni 2.1.11. Joni has already 
updated files. Could this be the problem? You have done smth different than me. 
I just use 12.4 and 12.5 beta1 clean install and I still got the issue. I 
didn't try to build it again.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2021-08-15 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

So I still use NetBeans 12.4 and updated the lexer, but still I got the error. 
I have a collection of all lexers that I found here: 
[https://github.com/Chris2011/netbeans-textmate-files.|https://github.com/Chris2011/netbeans-textmate-files]
 Will check later again and also with 12.5 beta1, what is going wrong here. You 
got the latex lexer from the URL, that I mentioned, right?

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2021-08-15 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

Thx for investigating. Will check whether both of my lexer are outdated.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> tWhen I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2021-08-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

[~matthiasblaesing] ok I see. but I don't know where [~jherkel] get this 
version that he mentioned: "I tried to update org.eclipse.tm4e.core to version 
0.4.1.202006041920". So [~jherkel] can you please clarify where this version is 
coming from?

 

[~matthiasblaesing] I tried to use this package: 
[https://oss.sonatype.org/#nexus-search;quick~org.eclipse.tm4e.core] 0.4.8 and 
I was wondering, why the group changed but didn't get it running and saw that 
the pack1 is coming from you.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> When I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2021-08-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

Ok, I think I understand the problem. We are using not tm4e from eclipse, 
[~matthiasblaesing] created the 0.4.1-pack1 package and I think we need to 
update the stuff inside of this package, right? And this is, what you tried and 
got it working, but now, we or maybe matthias needs to upload the package by 
himself? [~jherkel]

 

No worries, I just want to understand it any input is helpful :).

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> When I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2021-08-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

Good to know. Thx. Will give it a try.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> When I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> 

[jira] [Commented] (NETBEANS-4530) NPE for specific textmate grammar

2021-08-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4530:
--

Still the same with NetBeans 12.5 Beta 1. Will try the solution in this ticket: 
https://issues.apache.org/jira/browse/NETBEANS-4540

> NPE for specific textmate grammar
> -
>
> Key: NETBEANS-4530
> URL: https://issues.apache.org/jira/browse/NETBEANS-4530
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> Updates: Updates available
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.d, example.nim
>
>
> When I use this grammar file: 
> https://github.com/pragmagic/vscode-nim/blob/master/syntaxes/nim.json for the 
> nim language, I got a NPE:
> {code}
> java.lang.NullPointerException
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:220)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:699)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:660)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitAllViews(ViewUpdates.java:189)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:619)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentView.getPreferredSpan(DocumentView.java:226)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1452)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:957)
>   at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
>   at 
> java.desktop/javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1345)
>   at 
> org.netbeans.modules.editor.NbEditorUI$LayeredEditorPane.getPreferredSize(NbEditorUI.java:453)
>   at 
> java.desktop/javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:795)
>   at java.desktop/java.awt.Container.layout(Container.java:1537)
>   at java.desktop/java.awt.Container.doLayout(Container.java:1526)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1722)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at 

[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar

2021-08-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

Unfortunately, still the same with NetBeans 12.5 beta 1. So dependencies were 
not updated.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> When I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> 

[jira] [Commented] (NETBEANS-4539) No syntax highlighting for specific textmate grammar

2021-08-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4539:
--

Still the same with NetBeans 12.5 beta 1

> No syntax highlighting for specific textmate grammar
> 
>
> Key: NETBEANS-4539
> URL: https://issues.apache.org/jira/browse/NETBEANS-4539
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> I don't have syntax highlighting, when I use/register this grammar file: 
> https://github.com/microsoft/vscode-markdown-tm-grammar/blob/master/syntaxes/markdown.tmLanguage
> Steps to reproduce:
> * Open options
> * Go to Editor -> Language Servers
> * Create a new entry for md files
> * Use the given grammar file to register it for md files
> * Save and apply options.
> * Open any *.md file
> * See no syntax highlighting



--
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-4540) SyntaxException for specific grammar

2021-08-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

Hey [~jherkel] I got an answer from a friend of mine. No need to upload the 
dependencies, you should find them here: 
[https://oss.sonatype.org/#nexus-search;quick~org.eclipse.tm4e.core.] So the 
process is simple, just remove the old jar from release/modules/ext, put the 
new in and register them inside of the module somewhere in the properties of 
the project, that needs the deps. So you need the packages locally. For more 
info, you can find an answer on this readme, where he updated the LSP 
dependencies in his fork: 
[https://github.com/ranSprd/netbeans-lsp-client-fork/blob/master/readme.md] 
under "build instructions". Hope that helps :). Just ping me here or in slack, 
if you have any further questions.

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> When I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> 

[jira] [Closed] (NETBEANS-2468) [Textmate] - No syntax highlighting for specific textmate lexer

2021-08-10 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-2468.


> [Textmate] - No syntax highlighting for specific textmate lexer
> ---
>
> Key: NETBEANS-2468
> URL: https://issues.apache.org/jira/browse/NETBEANS-2468
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Lexer
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> 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:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir
> Cache directory: C:\Projekte\Netbeans 
> Plugins\TextmateBeans\target\userdir\var\cache
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>  Labels: textmate-lexer
> Attachments: example.hs, test.http
>
>
> For some FileTypes that I created, I don't have syntax highlighting. No 
> errors, just no highlighting. This happens for haskell files (hs) and rest 
> client files (http)
> Steps to reproduce:
> * Download this plugin (1.2): 
> https://github.com/Chris2011/TextmateBeans/releases/tag/1.2
> * Install it in NetBeans 11
> * Restart NetBeans
> * Open my attached file (test.http or example.hs)
> * See no highlighting.
> I used this textmate files:
> * http: 
> https://github.com/Huachao/vscode-restclient/blob/master/syntaxes/http.tmLanguage
> * haskell: 
> https://github.com/JustusAdam/language-haskell/blob/master/syntaxes/haskell.tmLanguage



--
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-2468) [Textmate] - No syntax highlighting for specific textmate lexer

2021-08-10 Thread Christian Lenz (Jira)


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

Christian Lenz resolved NETBEANS-2468.
--
Resolution: Fixed

> [Textmate] - No syntax highlighting for specific textmate lexer
> ---
>
> Key: NETBEANS-2468
> URL: https://issues.apache.org/jira/browse/NETBEANS-2468
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Lexer
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> 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:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir
> Cache directory: C:\Projekte\Netbeans 
> Plugins\TextmateBeans\target\userdir\var\cache
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>  Labels: textmate-lexer
> Attachments: example.hs, test.http
>
>
> For some FileTypes that I created, I don't have syntax highlighting. No 
> errors, just no highlighting. This happens for haskell files (hs) and rest 
> client files (http)
> Steps to reproduce:
> * Download this plugin (1.2): 
> https://github.com/Chris2011/TextmateBeans/releases/tag/1.2
> * Install it in NetBeans 11
> * Restart NetBeans
> * Open my attached file (test.http or example.hs)
> * See no highlighting.
> I used this textmate files:
> * http: 
> https://github.com/Huachao/vscode-restclient/blob/master/syntaxes/http.tmLanguage
> * haskell: 
> https://github.com/JustusAdam/language-haskell/blob/master/syntaxes/haskell.tmLanguage



--
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-2468) [Textmate] - No syntax highlighting for specific textmate lexer

2021-08-10 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2468:
--

It works in NetBeans 12.4. Thx :)

> [Textmate] - No syntax highlighting for specific textmate lexer
> ---
>
> Key: NETBEANS-2468
> URL: https://issues.apache.org/jira/browse/NETBEANS-2468
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Lexer
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> 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:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir
> Cache directory: C:\Projekte\Netbeans 
> Plugins\TextmateBeans\target\userdir\var\cache
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>  Labels: textmate-lexer
> Attachments: example.hs, test.http
>
>
> For some FileTypes that I created, I don't have syntax highlighting. No 
> errors, just no highlighting. This happens for haskell files (hs) and rest 
> client files (http)
> Steps to reproduce:
> * Download this plugin (1.2): 
> https://github.com/Chris2011/TextmateBeans/releases/tag/1.2
> * Install it in NetBeans 11
> * Restart NetBeans
> * Open my attached file (test.http or example.hs)
> * See no highlighting.
> I used this textmate files:
> * http: 
> https://github.com/Huachao/vscode-restclient/blob/master/syntaxes/http.tmLanguage
> * haskell: 
> https://github.com/JustusAdam/language-haskell/blob/master/syntaxes/haskell.tmLanguage



--
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-4540) SyntaxException for specific grammar

2021-07-28 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-4540:
-
Affects Version/s: 12.4

> SyntaxException for specific grammar
> 
>
> Key: NETBEANS-4540
> URL: https://issues.apache.org/jira/browse/NETBEANS-4540
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.jl, example.tex
>
>
> When I use this grammar file: 
> https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json
>  for tex files, I got an SyntaxException fot the attached file (example.tex)
> {code}
> org.joni.exception.SyntaxException: premature end of char-class
>   at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
>   at org.joni.Parser.parseCharClass(Parser.java:342)
>   at org.joni.Parser.parseCharClass(Parser.java:318)
>   at org.joni.Parser.parseExp(Parser.java:892)
>   at org.joni.Parser.parseBranch(Parser.java:1116)
>   at org.joni.Parser.parseSubExp(Parser.java:1133)
>   at org.joni.Parser.parseRegexp(Parser.java:1166)
>   at org.joni.Parser.parse(Parser.java:65)
>   at org.joni.Analyser.compile(Analyser.java:80)
>   at org.joni.Regex.(Regex.java:159)
>   at org.joni.Regex.(Regex.java:136)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29)
>   at 
> org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132)
>   at 
> org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86)
>   at 
> org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97)
>   at 
> org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299)
>   at 
> 

[jira] [Updated] (NETBEANS-4539) No syntax highlighting for specific textmate grammar

2021-07-28 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-4539:
-
Affects Version/s: 12.4

> No syntax highlighting for specific textmate grammar
> 
>
> Key: NETBEANS-4539
> URL: https://issues.apache.org/jira/browse/NETBEANS-4539
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> I don't have syntax highlighting, when I use/register this grammar file: 
> https://github.com/microsoft/vscode-markdown-tm-grammar/blob/master/syntaxes/markdown.tmLanguage
> Steps to reproduce:
> * Open options
> * Go to Editor -> Language Servers
> * Create a new entry for md files
> * Use the given grammar file to register it for md files
> * Save and apply options.
> * Open any *.md file
> * See no syntax highlighting



--
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-4530) NPE for specific textmate grammar

2021-07-28 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-4530:
-
Affects Version/s: 12.4

> NPE for specific textmate grammar
> -
>
> Key: NETBEANS-4530
> URL: https://issues.apache.org/jira/browse/NETBEANS-4530
> Project: NetBeans
>  Issue Type: Bug
>  Components: textmate-lexer
>Affects Versions: 12.0, 12.4
> Environment: Product Version: Apache NetBeans IDE 12.0
> Updates: Updates available
> 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.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: example.d, example.nim
>
>
> When I use this grammar file: 
> https://github.com/pragmagic/vscode-nim/blob/master/syntaxes/nim.json for the 
> nim language, I got a NPE:
> {code}
> java.lang.NullPointerException
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:220)
>   at 
> org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191)
>   at 
> org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75)
>   at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170)
>   at 
> org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165)
>   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476)
>   at 
> org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59)
>   at 
> org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:168)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:699)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:660)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitAllViews(ViewUpdates.java:189)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:619)
>   at 
> org.netbeans.modules.editor.lib2.view.DocumentView.getPreferredSpan(DocumentView.java:226)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1452)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:957)
>   at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
>   at 
> java.desktop/javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1345)
>   at 
> org.netbeans.modules.editor.NbEditorUI$LayeredEditorPane.getPreferredSize(NbEditorUI.java:453)
>   at 
> java.desktop/javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:795)
>   at java.desktop/java.awt.Container.layout(Container.java:1537)
>   at java.desktop/java.awt.Container.doLayout(Container.java:1526)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1722)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   at java.desktop/java.awt.Container.validateTree(Container.java:1731)
>   

[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



  1   2   3   4   5   6   7   8   9   10   >