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

2021-04-09 Thread Christian Lenz (Jira)


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

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

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

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

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

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

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

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

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


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

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

2021-04-09 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5565:
--

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

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



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

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

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



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

2021-04-09 Thread Christian Lenz (Jira)


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

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

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



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

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

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



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

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


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

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

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

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

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



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

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

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



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

2021-03-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5451:
--

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

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



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

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

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



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

2021-03-08 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4677:
--

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

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



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

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

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



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

2021-03-05 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-5414.

Resolution: Invalid

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

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




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

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

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



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

2021-03-03 Thread Christian Lenz (Jira)


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

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

Reproducible, thx :)


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

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



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

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

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



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

2021-03-03 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5399:
--

Reproducable, thx :)

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



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

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

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



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

2021-02-09 Thread Christian Lenz (Jira)


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

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

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


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

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



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

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

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



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

2021-02-09 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-95:


They seems to work now, thx :).

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



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

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

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



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

2021-02-09 Thread Christian Lenz (Jira)


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

Christian Lenz resolved NETBEANS-95.

Resolution: Fixed

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



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

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

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



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

2021-02-07 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-95:


Will test it soon, thx :)

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



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

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

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



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

2021-02-06 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5010:
--

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

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



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

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

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



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

2021-02-06 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-17:


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

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



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

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

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



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

2021-02-06 Thread Christian Lenz (Jira)


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

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

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


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

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



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

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

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



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

2021-02-03 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5010:
--

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

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



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

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

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



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

2021-02-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2474:
--

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

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



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

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

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



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

2021-01-22 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5276:
--

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

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



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

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

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



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

2021-01-20 Thread Christian Lenz (Jira)


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

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

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


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

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



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

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

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



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

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-581:
-

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

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



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

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

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



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

2021-01-20 Thread Christian Lenz (Jira)


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

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

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


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

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



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

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

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



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

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5267:
--

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

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



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

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

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



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

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-5267.


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



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

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

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



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

2021-01-20 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5267:
--

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

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



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

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

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



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

2021-01-20 Thread Christian Lenz (Jira)


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

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

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



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

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

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



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

2021-01-19 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5267:
--

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

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

Cheers

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



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

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

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



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

2021-01-19 Thread Christian Lenz (Jira)


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

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

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



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

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

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



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

2021-01-03 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5195:
--

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

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



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

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

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



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

2021-01-01 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5195:
--

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

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



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

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

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



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

2020-12-25 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1232:
--

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

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

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



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

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

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



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

2020-12-18 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4092:
--

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

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

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

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

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


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

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

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

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

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

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

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


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

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

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

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

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

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

There is no property to change the mimetype.

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5087:
--

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

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



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

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

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



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

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


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


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

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

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

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

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

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



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

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

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



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

2020-12-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5085:
--

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

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



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

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

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



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

2020-11-28 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-188:
-

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

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

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



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

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

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



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

2020-11-28 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-188:

Attachment: screenshot-1.png

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



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

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

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



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

2020-11-14 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4092:
--

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

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



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

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

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



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

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


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


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

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

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

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



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

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

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



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

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


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


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

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

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

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



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

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

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



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

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


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

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

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

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

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

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

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-5010:


Assignee: Emilian Bold  (was: Christian Lenz)

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-5010:


Assignee: Emilian Bold

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-5010:


Assignee: Christian Lenz  (was: Emilian Bold)

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3017:
--

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

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3749:
--

Do you need more information from my side here?

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3869:
--

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

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4092:
--

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

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-4893.

Resolution: Won't Do

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



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

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

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



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

2020-11-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4893:
--

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

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



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

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

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



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

2020-11-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5010:
--

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

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



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

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

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



[jira] [Commented] (NETBEANS-4967) Doesn't support optional chaining in JS

2020-11-02 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4967:
--

You can't update your IDE, you need to update the JS Parser from the NetBeans 
code to get the support for this. So you need to contribute to the core or hope 
for someone to make it.

> Doesn't support optional chaining in JS
> ---
>
> Key: NETBEANS-4967
> URL: https://issues.apache.org/jira/browse/NETBEANS-4967
> Project: NetBeans
>  Issue Type: New Feature
>Affects Versions: 12.1
>Reporter: dj dance
>Priority: Major
>
> It doesn't support optional chaining in JS
>  
> For example, it considers the following as a bug and stop working.
>  
> var k=obj?.prop



--
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-4967) Doesn't support optional chaining in JS

2020-10-29 Thread Christian Lenz (Jira)


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

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

> Doesn't support optional chaining in JS
> ---
>
> Key: NETBEANS-4967
> URL: https://issues.apache.org/jira/browse/NETBEANS-4967
> Project: NetBeans
>  Issue Type: New Feature
>Affects Versions: 12.1
>Reporter: dj dance
>Priority: Major
>
> It doesn't support optional chaining in JS
>  
> For example, it considers the following as a bug and stop working.
>  
> var k=obj?.prop



--
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-4967) Doesn't support optional chaining in JS

2020-10-29 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4967:
--

The parser/token file is to old. So it is not really a bug those new ES 
standard features are still not supported so I will change this to feature 
request.

> Doesn't support optional chaining in JS
> ---
>
> Key: NETBEANS-4967
> URL: https://issues.apache.org/jira/browse/NETBEANS-4967
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
>Reporter: dj dance
>Priority: Major
>
> It doesn't support optional chaining in JS
>  
> For example, it considers the following as a bug and stop working.
>  
> var k=obj?.prop



--
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-4918) standard of teaching

2020-10-18 Thread Christian Lenz (Jira)


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

Christian Lenz closed NETBEANS-4918.

Resolution: Invalid

Spam

> standard of teaching
> 
>
> Key: NETBEANS-4918
> URL: https://issues.apache.org/jira/browse/NETBEANS-4918
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Grace Hensley
>Priority: Major
>
> To provide a high standard of teaching, training and research in all aspects 
> of Homoeopathic system, National Institute of Homoeopathy, Calcutta was 
> established by the Government of India as a model institute. Career Prospects 
> - Homeopaths For homeopaths, there are many job opportunities both in India 
> and abroad. A homoeopathic practitioner can get employment as a medical 
> officer/doctor at any government and private homoeopathic hospitals. One can 
> always start his /her own practice or open a retail shop of homoeopathy 
> medicines. Besides that, Homoeopathic doctors can work industries engaged in 
> homoeopathic preparations. He /she can also work as a Professor /lecturer in 
> homoeopathic colleges or do a research. Institutes Offering these courses 
> Bachelor's and Master's degree [professional essay writing 
> services|https://topessaycompanies.com/] are offered by many colleges and 
> universities in India such as National University of Homoeopathy, Calcutta; 
> University of Health Science, Vijayawada and Rajiv Gandhi University of 
> Health Sciences, Bangalore. There are other institutions like Yeral a 
> Homoeopathic Medical College and Research Centre, Mumbai; Venutai Yashwantrao 
> Chavan Homoeopathic Medical College, Vengurla; Homoeopathic Medical College& 
> Hospital, Vengurla; Vasundhra Raje Homoeopathic Medical College and Hospital, 
> Gwalior; Swami Vivekananda Homoeopathic Medical College, Bhavnagar. 
> Remuneration The starting salary scale in government Homeopathy hospitals is 
> Rs.8000. for graduates. Professors working in Homeopathic College get more 
> than Rs 8000/- per month. Whereas, in private practice, the remuneration 
> depends totally on the effort you put in and your professional reputation.



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

2020-10-13 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

Unfortunately, I can't answer this question, but probably [~jlahoda] can help 
here out :)

> 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
> 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] [Created] (NETBEANS-4893) Add node_modules and bower_components to the file ignore pattern

2020-10-09 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-4893:


 Summary: Add node_modules and bower_components to the file ignore 
pattern
 Key: NETBEANS-4893
 URL: https://issues.apache.org/jira/browse/NETBEANS-4893
 Project: NetBeans
  Issue Type: Improvement
  Components: platform - OptionsSettings, web - HTML Project
Reporter: Christian Lenz
Assignee: Christian Lenz


When using NetBeans for the very first time and opening a web project with a 
package.json and node_modules and a bower.json and bower_components, NetBeans 
tries to indexing also the node_modules and the bower_components. If I don't 
want it, I can add both folders to the file ignores pattern into the options.

The problem is, that a new user doesn't know this at the beginning of using 
NetBeans so it is needed to add those folders to the default files ignore 
pattern. I will do this.



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

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

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



[jira] [Commented] (NETBEANS-4827) TypeScript: toggle comment feature is disabled

2020-09-21 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4827:
--

Reproducible, thx :)

> TypeScript: toggle comment feature is disabled
> --
>
> Key: NETBEANS-4827
> URL: https://issues.apache.org/jira/browse/NETBEANS-4827
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 12.0.1
> Environment: Linux edevelop 5.8.10-arch1-1 #1 SMP PREEMPT Thu, 17 Sep 
> 2020 18:01:06 + x86_64 GNU/Linux
>Reporter: Ilya
>Assignee: Jan Lahoda
>Priority: Minor
>
> For TypeScript file toggle comment feature is disabled in "Menu" -> "Source" 
> -> "Toggle Comment".
> Also it not works using shortcuts.



--
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-4827) TypeScript: toggle comment feature is disabled

2020-09-21 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-4827:


Assignee: Jan Lahoda

> TypeScript: toggle comment feature is disabled
> --
>
> Key: NETBEANS-4827
> URL: https://issues.apache.org/jira/browse/NETBEANS-4827
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 12.0.1
> Environment: Linux edevelop 5.8.10-arch1-1 #1 SMP PREEMPT Thu, 17 Sep 
> 2020 18:01:06 + x86_64 GNU/Linux
>Reporter: Ilya
>Assignee: Jan Lahoda
>Priority: Minor
>
> For TypeScript file toggle comment feature is disabled in "Menu" -> "Source" 
> -> "Toggle Comment".
> Also it not works using shortcuts.



--
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-4556) Special Characters euro and pound are not displaying properly

2020-08-27 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4556:
--

Can you figure out which encoding this file have? On which system you are? 
Windows? If yes, then maybe you have the window-8859-1 or smth like that 
instead of utf-8. Check this out. There is also a plugin to check the encoding: 
https://github.com/junichi11/netbeans-encoding-plugin install it and check it 
out which encoding the file have. And if it has the wrong encoding, switch to 
utf-8 and have a look then.

> Special Characters euro and pound are not displaying properly
> -
>
> Key: NETBEANS-4556
> URL: https://issues.apache.org/jira/browse/NETBEANS-4556
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 12.0
>Reporter: Vipin PV
>Assignee: Lokesh Chinnaga
>Priority: Major
> Fix For: 12.0, 11.2
>
> Attachments: Netbeans_Error.jpg
>
>
> Hi Suport,
>  
> I'm running Netbeans 12.0 and working on .PHP file and when I edit this file 
> by opening individually, then the special characters for Euro and Pound are 
> showing with unknow characters. But if i open this file from the project, 
> then it is showing properly.
> Is there any issue with encoding?
> Could you please review this and provide support as soon as possible?
>  
> Thanks,
> Vipin



--
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-4558) Add a keymap for VS Code

2020-08-27 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4558:
--

Would be cool. BTW you can configure "Go to File".

> Add a keymap for VS Code
> 
>
> Key: NETBEANS-4558
> URL: https://issues.apache.org/jira/browse/NETBEANS-4558
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Key bindings
>Affects Versions: 12.0
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>  Labels: keymap
>
> As a VS Code user, I'd like to be able to use the same shortcuts in NetBeans. 
> While some shortcuts can be configured, others can't (e.g. `Go to File...` 
> (Ctrl+P in VS 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-4738) On Windows, Netbeans should launch cmd (or PowerShell) instead of requiring Cygwin

2020-08-27 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4738:
--

Also we have this ticket: https://issues.apache.org/jira/browse/NETBEANS-181

> On Windows, Netbeans should launch cmd (or PowerShell) instead of requiring 
> Cygwin
> --
>
> Key: NETBEANS-4738
> URL: https://issues.apache.org/jira/browse/NETBEANS-4738
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Terminalemulator
>Reporter: Michele Costabile
>Priority: Major
>
> Netbeans should use a ubuquitous command line interface on Windows, rather 
> than requiring installation of an old unix emulation.
> These days, one could have a complete Ubuntu emulation installed on Windows 
> 10, or at lest a working MSys shell installed with GIt. Few people woould 
> find installing Cygwin a traightforward configuration step.
> Further, Netbeans should at least use a command line interface which is 
> always there, like cmd.exe. Customization to user content might be a plus, 
> but only after defaults work out of the box.



--
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-4738) On Windows, Netbeans should launch cmd (or PowerShell) instead of requiring Cygwin

2020-08-27 Thread Christian Lenz (Jira)


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

Christian Lenz resolved NETBEANS-4738.
--
Resolution: Duplicate

Duplicate of: https://issues.apache.org/jira/browse/NETBEANS-182

> On Windows, Netbeans should launch cmd (or PowerShell) instead of requiring 
> Cygwin
> --
>
> Key: NETBEANS-4738
> URL: https://issues.apache.org/jira/browse/NETBEANS-4738
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Terminalemulator
>Reporter: Michele Costabile
>Priority: Major
>
> Netbeans should use a ubuquitous command line interface on Windows, rather 
> than requiring installation of an old unix emulation.
> These days, one could have a complete Ubuntu emulation installed on Windows 
> 10, or at lest a working MSys shell installed with GIt. Few people woould 
> find installing Cygwin a traightforward configuration step.
> Further, Netbeans should at least use a command line interface which is 
> always there, like cmd.exe. Customization to user content might be a plus, 
> but only after defaults work out of the box.



--
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-4738) On Windows, Netbeans should launch cmd (or PowerShell) instead of requiring Cygwin

2020-08-27 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-4738:
-
Component/s: cnd - Terminalemulator

> On Windows, Netbeans should launch cmd (or PowerShell) instead of requiring 
> Cygwin
> --
>
> Key: NETBEANS-4738
> URL: https://issues.apache.org/jira/browse/NETBEANS-4738
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Terminalemulator
>Reporter: Michele Costabile
>Priority: Major
>
> Netbeans should use a ubuquitous command line interface on Windows, rather 
> than requiring installation of an old unix emulation.
> These days, one could have a complete Ubuntu emulation installed on Windows 
> 10, or at lest a working MSys shell installed with GIt. Few people woould 
> find installing Cygwin a traightforward configuration step.
> Further, Netbeans should at least use a command line interface which is 
> always there, like cmd.exe. Customization to user content might be a plus, 
> but only after defaults work out of the box.



--
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-4738) On Windows, Netbeans should launch cmd (or PowerShell) instead of requiring Cygwin

2020-08-27 Thread Christian Lenz (Jira)


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

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

> On Windows, Netbeans should launch cmd (or PowerShell) instead of requiring 
> Cygwin
> --
>
> Key: NETBEANS-4738
> URL: https://issues.apache.org/jira/browse/NETBEANS-4738
> Project: NetBeans
>  Issue Type: New Feature
>Reporter: Michele Costabile
>Priority: Major
>
> Netbeans should use a ubuquitous command line interface on Windows, rather 
> than requiring installation of an old unix emulation.
> These days, one could have a complete Ubuntu emulation installed on Windows 
> 10, or at lest a working MSys shell installed with GIt. Few people woould 
> find installing Cygwin a traightforward configuration step.
> Further, Netbeans should at least use a command line interface which is 
> always there, like cmd.exe. Customization to user content might be a plus, 
> but only after defaults work out of the box.



--
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-1771) Read only characters should be possible inside Editor

2020-08-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1771:
--

Afaik this is possible, but just for the Java editor and for text infront of 
smth (function/method parameters). But we need this for every language which is 
supported in the Editor and it must be possible to have virtual text in front 
(which is working), above and behind. I think there is no real use case for 
below.

The examples above shows you the exact use cases for that. And here is one more 
to have real time results in a JS/TS editor: https://quokkajs.com/

> Read only characters should be possible inside Editor
> -
>
> Key: NETBEANS-1771
> URL: https://issues.apache.org/jira/browse/NETBEANS-1771
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Painting  Printing
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> In some Editors/IDEs like VS Code and the JetBrains family, it is possible 
> that plugins or core functionalities, can print characters/words/whatever 
> into the editor like showing the parameter names, when you call a function or 
> debugging stuff right after the variables/functions or git annotations or 
> complexity indices and and and. This is possible while adding stuff, which is 
> only printed out to the editor as read only and not as normal text. Here are 
> some links for what I mean: 
> VS Code - Show complexity: 
> https://code.visualstudio.com/assets/blogs/2017/02/12/codemetrics.png 
> (Between Line 23/24)
> It will not add a new line, it is part of line 24 and read only, sometimes 
> clickable, depends of what the functionality brings.
> VS Code - Git Information: 
> https://code.visualstudio.com/assets/blogs/2017/02/12/preview_gitlens.gif 
> (More complex example, but this ticket is not to implement such a feature, it 
> is to implement the read only stuff to print stuff into the editor, which 
> will not affect the Lines and is only one string which is not possible to 
> edit.)
> IntelliJ Debugging Info:
> https://d3nmt5vlzunoa1.cloudfront.net/webstorm/files/2018/01/evaluate-expression.png
>  (On line 9, 10, 11 and 14, you can see the the debug info is right after the 
> EOL)
> IntelliJ parameter hints: 
> https://d3nmt5vlzunoa1.cloudfront.net/idea/files/2016/12/idea_2017_1_groovy_parameter_hints.png
>  (You can see the parameter names as hints)
> Everything is optional and can be done separately, but to add those 
> functionality or other stuff, it is needed to add a global editor feature to 
> add such hints/informations into the editor. This opens a lot more 
> possibilites for developers.
> Maybe NetBeans still has such support, but I couldn't find it. I only found 
> non printable characters, which will added like UTF8 code with a specific 
> font.
> Cheers
> Chris



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

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

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



[jira] [Assigned] (NETBEANS-1771) Read only characters should be possible inside Editor

2020-08-11 Thread Christian Lenz (Jira)


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

Christian Lenz reassigned NETBEANS-1771:


Assignee: Jan Lahoda

> Read only characters should be possible inside Editor
> -
>
> Key: NETBEANS-1771
> URL: https://issues.apache.org/jira/browse/NETBEANS-1771
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Painting  Printing
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
>
> In some Editors/IDEs like VS Code and the JetBrains family, it is possible 
> that plugins or core functionalities, can print characters/words/whatever 
> into the editor like showing the parameter names, when you call a function or 
> debugging stuff right after the variables/functions or git annotations or 
> complexity indices and and and. This is possible while adding stuff, which is 
> only printed out to the editor as read only and not as normal text. Here are 
> some links for what I mean: 
> VS Code - Show complexity: 
> https://code.visualstudio.com/assets/blogs/2017/02/12/codemetrics.png 
> (Between Line 23/24)
> It will not add a new line, it is part of line 24 and read only, sometimes 
> clickable, depends of what the functionality brings.
> VS Code - Git Information: 
> https://code.visualstudio.com/assets/blogs/2017/02/12/preview_gitlens.gif 
> (More complex example, but this ticket is not to implement such a feature, it 
> is to implement the read only stuff to print stuff into the editor, which 
> will not affect the Lines and is only one string which is not possible to 
> edit.)
> IntelliJ Debugging Info:
> https://d3nmt5vlzunoa1.cloudfront.net/webstorm/files/2018/01/evaluate-expression.png
>  (On line 9, 10, 11 and 14, you can see the the debug info is right after the 
> EOL)
> IntelliJ parameter hints: 
> https://d3nmt5vlzunoa1.cloudfront.net/idea/files/2016/12/idea_2017_1_groovy_parameter_hints.png
>  (You can see the parameter names as hints)
> Everything is optional and can be done separately, but to add those 
> functionality or other stuff, it is needed to add a global editor feature to 
> add such hints/informations into the editor. This opens a lot more 
> possibilites for developers.
> Maybe NetBeans still has such support, but I couldn't find it. I only found 
> non printable characters, which will added like UTF8 code with a specific 
> font.
> Cheers
> Chris



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

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

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



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

2020-07-31 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3749:
--

Still a problem in 12.0. Is there anything new here? [~jlahoda]

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



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

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

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



[jira] [Commented] (NETBEANS-261) Better code completion for JS with typescript type definition files

2020-07-30 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-261:
-

This solution is just working for JS libs. If any lib/framework extends HTML 
with new tags and attributes, that needs to be handled in another way.

> Better code completion for JS with typescript type definition files
> ---
>
> Key: NETBEANS-261
> URL: https://issues.apache.org/jira/browse/NETBEANS-261
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Documentation, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> I read an article about the new Salsa feature in Visual Studio 2016: 
> https://github.com/Microsoft/TypeScript/wiki/Salsa
> MS tried to implement a better intellisense support for javascript again. 
> Same procedure as every year. But it's not that easy because of the 
> dynamically type system of js as we know. The new idea is to use typescript 
> type definitions files ALSO you don't want to write in TypeScript. The 
> definitions are only helper during the development time in Visual Studio to 
> support the code completion/intellisense. It's based on a new language 
> service called "salsa".
> Maybe this could be a good enhancement too for supporting a better code 
> completion and go to whatever if netbeans could use TS typedefinition files 
> too?
> I think VS Code and WebStorm did the same thing and it will make the whole 
> code completion of JS much much better.
> Cheers
> Chris
> P.S. the other thing to resolve better and maybe have type checking while 
> writing plain js code is to use JsDoc as I wrote it here: 
> https://issues.apache.org/jira/browse/NETBEANS-184



--
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-261) Better code completion for JS with typescript type definition files

2020-07-30 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-261 at 7/30/20, 12:58 PM:


I don't find anything about salsa anymore, but when I think of my own, it would 
be as simple as stupid.

Proposal:
* npm install your dependencies and also typedefs, if the lib has one
* take the def files and use them for better JS code completion.

So it is up to the project, what dependencies they have (Ionic, Angular, Vue, 
etc.). NetBeans doesn't need to implement a lot of/all frameworks out their to 
get proper code completion for still JS libs. It just needs to get that what is 
already there.


was (Author: chrizzly):
I don't find anything about salsa anymore, but when I think of my own, it would 
be as simple as stupid.

Proposal:
* npm install your dependencies and also typedefs, if the lib has one
* take the def files and use them for better JS code completion. So it is up to 
the project, what dependencies they have (Ionic, Angular, Vue, etc.). NetBeans 
doesn't need to implement a lot of/all frameworks out their to get proper code 
completion for still JS libs. It just needs to get that what is already there.

> Better code completion for JS with typescript type definition files
> ---
>
> Key: NETBEANS-261
> URL: https://issues.apache.org/jira/browse/NETBEANS-261
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Documentation, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> I read an article about the new Salsa feature in Visual Studio 2016: 
> https://github.com/Microsoft/TypeScript/wiki/Salsa
> MS tried to implement a better intellisense support for javascript again. 
> Same procedure as every year. But it's not that easy because of the 
> dynamically type system of js as we know. The new idea is to use typescript 
> type definitions files ALSO you don't want to write in TypeScript. The 
> definitions are only helper during the development time in Visual Studio to 
> support the code completion/intellisense. It's based on a new language 
> service called "salsa".
> Maybe this could be a good enhancement too for supporting a better code 
> completion and go to whatever if netbeans could use TS typedefinition files 
> too?
> I think VS Code and WebStorm did the same thing and it will make the whole 
> code completion of JS much much better.
> Cheers
> Chris
> P.S. the other thing to resolve better and maybe have type checking while 
> writing plain js code is to use JsDoc as I wrote it here: 
> https://issues.apache.org/jira/browse/NETBEANS-184



--
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-261) Better code completion for JS with typescript type definition files

2020-07-30 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-261:
-

I don't find anything about salsa anymore, but when I think of my own, it would 
be as simple as stupid.

Proposal:
* npm install your dependencies and also typedefs, if the lib has one
* take the def files and use them for better JS code completion. So it is up to 
the project, what dependencies they have (Ionic, Angular, Vue, etc.). NetBeans 
doesn't need to implement a lot of/all frameworks out their to get proper code 
completion for still JS libs. It just needs to get that what is already there.

> Better code completion for JS with typescript type definition files
> ---
>
> Key: NETBEANS-261
> URL: https://issues.apache.org/jira/browse/NETBEANS-261
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Documentation, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> I read an article about the new Salsa feature in Visual Studio 2016: 
> https://github.com/Microsoft/TypeScript/wiki/Salsa
> MS tried to implement a better intellisense support for javascript again. 
> Same procedure as every year. But it's not that easy because of the 
> dynamically type system of js as we know. The new idea is to use typescript 
> type definitions files ALSO you don't want to write in TypeScript. The 
> definitions are only helper during the development time in Visual Studio to 
> support the code completion/intellisense. It's based on a new language 
> service called "salsa".
> Maybe this could be a good enhancement too for supporting a better code 
> completion and go to whatever if netbeans could use TS typedefinition files 
> too?
> I think VS Code and WebStorm did the same thing and it will make the whole 
> code completion of JS much much better.
> Cheers
> Chris
> P.S. the other thing to resolve better and maybe have type checking while 
> writing plain js code is to use JsDoc as I wrote it here: 
> https://issues.apache.org/jira/browse/NETBEANS-184



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

2020-07-24 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-1287:
-
External issue URL: https://bz.apache.org/netbeans/show_bug.cgi?id=240398

> First class EditorConfig support
> 
>
> Key: NETBEANS-1287
> URL: https://issues.apache.org/jira/browse/NETBEANS-1287
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Paul Galbraith
>Priority: Major
>
> 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.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-1287) First class EditorConfig support

2020-07-24 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1287:
--

Yes, this plugin here: https://github.com/welovecoding/editorconfig-netbeans 
seems unmaintained and has a huge performance problem as you can see in the 
issue section of this plugin. It would be good, if someone can fix the problems 
to have working support. After this, we can extend it or ask the developer to 
contribute the code, if it is working as an MVP.

> First class EditorConfig support
> 
>
> Key: NETBEANS-1287
> URL: https://issues.apache.org/jira/browse/NETBEANS-1287
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Paul Galbraith
>Priority: Major
>
> 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.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-1644) Adding real formatting/beautifier for CSS

2020-07-23 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1644:
--

If this is really just doable with formatting options then I'm fine with your 
issue and we can close this in favor of yours :). But I don't know it.

> Adding real formatting/beautifier for CSS
> -
>
> Key: NETBEANS-1644
> URL: https://issues.apache.org/jira/browse/NETBEANS-1644
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I try to format CSS code which looks like this:
> {code:css}
> .animateColor {background: green;}
> {code}
> It will not expand the expand/beautify it.
> Expected behaviour is this:
> {code:css}
> .animateColor {
> background: green;
> }
> {code}
> indented and formatted based on the rules from the options.



--
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-1644) Adding real formatting/beautifier for CSS

2020-07-23 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1644:
--

Maybe the wording is just incorrect.

> Adding real formatting/beautifier for CSS
> -
>
> Key: NETBEANS-1644
> URL: https://issues.apache.org/jira/browse/NETBEANS-1644
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I try to format CSS code which looks like this:
> {code:css}
> .animateColor {background: green;}
> {code}
> It will not expand the expand/beautify it.
> Expected behaviour is this:
> {code:css}
> .animateColor {
> background: green;
> }
> {code}
> indented and formatted based on the rules from the options.



--
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-1644) Adding real formatting/beautifier for CSS

2020-07-23 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-1644 at 7/23/20, 11:08 AM:
-

[~lobzek] Is this really a duplicate of NETBEANS-1644? I tested NetBeans 12.1b1 
and it is still a problem. Is there a formatting option missing for having this 
feature?


was (Author: chrizzly):
Is this really a duplicate of NETBEANS-1644? I tested NetBeans 12.1b1 and it is 
still a problem. Is there a formatting option missing for having this feature?

> Adding real formatting/beautifier for CSS
> -
>
> Key: NETBEANS-1644
> URL: https://issues.apache.org/jira/browse/NETBEANS-1644
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I try to format CSS code which looks like this:
> {code:css}
> .animateColor {background: green;}
> {code}
> It will not expand the expand/beautify it.
> Expected behaviour is this:
> {code:css}
> .animateColor {
> background: green;
> }
> {code}
> indented and formatted based on the rules from the options.



--
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-1644) Adding real formatting/beautifier for CSS

2020-07-23 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-1644:
--

Is this really a duplicate of NETBEANS-1644? I tested NetBeans 12.1b1 and it is 
still a problem. Is there a formatting option missing for having this feature?

> Adding real formatting/beautifier for CSS
> -
>
> Key: NETBEANS-1644
> URL: https://issues.apache.org/jira/browse/NETBEANS-1644
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I try to format CSS code which looks like this:
> {code:css}
> .animateColor {background: green;}
> {code}
> It will not expand the expand/beautify it.
> Expected behaviour is this:
> {code:css}
> .animateColor {
> background: green;
> }
> {code}
> indented and formatted based on the rules from the options.



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

2020-07-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4540:
--

I also got another SyntaxExpcetion for example.jl with this grammar file: 
https://github.com/julia-vscode/julia-vscode/blob/master/syntaxes/julia.json

Exception:
{code}
org.joni.exception.SyntaxException: target of repeat operator is not specified
at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166)
at org.joni.Parser.parseExp(Parser.java:971)
at org.joni.Parser.parseBranch(Parser.java:1107)
at org.joni.Parser.parseSubExp(Parser.java:1142)
at org.joni.Parser.parseEnclose(Parser.java:425)
at org.joni.Parser.parseExp(Parser.java:754)
at org.joni.Parser.parseBranch(Parser.java:1107)
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.IncludeOnlyRule.compile(IncludeOnlyRule.java:47)
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 
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 

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

2020-07-11 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:
-
Attachment: example.jl

> 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
> 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] [Commented] (NETBEANS-4530) NPE for specific textmate grammar

2020-07-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4530:
--

I also got the NPE for example.d with this grammar: 
https://github.com/Pure-D/code-d/blob/master/syntaxes/d.json

> 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
> 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] [Updated] (NETBEANS-4530) NPE for specific textmate grammar

2020-07-11 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:
-
Attachment: example.d

> 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
> 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] [Commented] (NETBEANS-181) NetBeans should be aware of WSL (Ubuntu on Windows 10)

2020-07-11 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-181:
-

Not only WSL is missing, also CMD. Anyway years ago I had a look and what I 
tried didn't work. Lack of knowledge. I will try to look into it again. Maybe I 
have more knowledge about it today. I don't know why the normal CMD was never 
implemented into NetBeans.

Here is a plugin called JConsole 
(http://plugins.netbeans.org/plugin/43202/jconsole-for-netbeans), where you can 
add CMD and maybe WSL to NetBeans, but it has some bug. Here is the github 
repo: https://github.com/fungl164/JConsole maybe it is a good start to look 
into the code how he handled it and then we can adopt it.

> NetBeans should be aware of WSL (Ubuntu on Windows 10)
> --
>
> Key: NETBEANS-181
> URL: https://issues.apache.org/jira/browse/NETBEANS-181
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Terminalemulator
>Affects Versions: Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Major
>
> Yeah Ubuntu on Windows is, I think still in beta but I use it for my daily 
> work. At home and at work. It is really handy to setup enviroment stuff 
> easily. So for this, NetBeans should be aware of installed stuff inside the 
> ubuntu on windows. The path is "C:\Users\Chrizzly\AppData\Local\lxss (hidden 
> folder)". So if NetBeans are aware of a cygwin installation, it should be 
> treated like that too.
> And for everything else like I installed node, c/c++ stuff, php and so on.
> Would be great enhancement. I created such ticket for Terminal integration 
> too, because of the Cygwin thing: 
> http://netbeans.org/bugzilla/show_bug.cgi?id=267478
> 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-360) Autocomplete, better name matching (fuzzy search)

2020-07-06 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-360:
-

IMHO, it needs to be implemented in this CSL (I think it is called that). 
Because fuzzy search is needed in all supprted languages.

> Autocomplete, better name matching (fuzzy search)
> -
>
> Key: NETBEANS-360
> URL: https://issues.apache.org/jira/browse/NETBEANS-360
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: Next
> Environment: Windows 10
>Reporter: Bo Andersen
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: autocomplete_all.png, autocomplete_search.png
>
>
>  I am using the Netbeans 9 beta release (RC2). I needed a method in a 
> test-framework, and couldn't remember the exact naming, but only some part of 
> it. Netbeans seems only to match the beginning of methods names. I know other 
> IDEs can suggest methods based on naming-parts in a method, I think this is 
> very useful :)
>  
> Update: I added example (attachments) of usage from another IDE, for 
> inspiration



--
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-50) Please support angular2 template syntax in html files

2020-07-05 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-50:


IMHO, the HTML editor needs a rethink about custom components, web-components 
etc. Afaik the problem with the attribute names is fixed now in 12.0. But 
anyway, the thing with web-components or custom tags/attributes is not related 
to this thicket here. We should create a new one.

> Please support angular2 template syntax in html files
> -
>
> Key: NETBEANS-50
> URL: https://issues.apache.org/jira/browse/NETBEANS-50
> Project: NetBeans
>  Issue Type: New Feature
>  Components: web - AngularJS, web - HTML Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
> Attachments: angular2-template-syntax.png
>
>
> As you can see here: https://angular.io/guide/template-syntax the syntax of 
> templates changed for attributes for example. We have (property), [smth] or 
> *ngFor. If you use those, which are essential when you use angular2, the file 
> has red lines. See the screenshot for more info.
> So please implement the known syntax into the html editor.
> 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] [Created] (NETBEANS-4540) SyntaxException for specific grammar

2020-07-03 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-4540:


 Summary: 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
 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
 Attachments: 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 
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 

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

2020-07-03 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-4539:


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


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-4539) No syntax highlighting for specific textmate grammar

2020-07-03 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-4539:
--

Also no syntax highlighting for ftl (freemarker) files, while using this 
grammar: 
https://github.com/dcortes92/vs-freemarker/blob/master/syntaxes/ftl.tmLanguage

> 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
> 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] [Created] (NETBEANS-4530) NPE for specific textmate grammar

2020-07-02 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-4530:


 Summary: 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
 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
 Attachments: 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 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.validate(Container.java:1657)
at 

  1   2   3   4   5   6   7   8   9   10   >