[jira] [Assigned] (NETBEANS-5370) Generate abstract method with array return type in PHPDocs

2021-02-17 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5370:
--

Assignee: Junichi Yamamoto

> Generate abstract method with array return type in PHPDocs
> --
>
> Key: NETBEANS-5370
> URL: https://issues.apache.org/jira/browse/NETBEANS-5370
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.3
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Please see the example code below. Create a new PHP file in NetBeans and 
> paste the code into it. At each class declaration for {{Class1}}, {{Class2}} 
> and {{Class3}}, click the  Hint icon and select _Implement All Abstract 
> Methods_. The issue will become apparent. If PHPDocs has return type 
> specified as eg. {{return string[]}}, the generated code will be broken.
> {code:php}
>  namespace Cz\Test\GenerateMethod;
> class Class1 extends Base1
> {
> }
> abstract class Base1
> {
> abstract public function getSingleItem(): string;
> }
> class Class2 extends Base2
> {
> }
> abstract class Base2
> {
> /**
>  * @return string[]
>  */
> abstract public function getItemsList(): array;
> }
> class Class3 extends Base3
> {
> }
> abstract class Base3
> {
> abstract public function getSingleItem(): string;
> /**
>  * @return string[]
>  */
> abstract public function getItemsList(): array;
> }
> {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-5370) Generate abstract method with array return type in PHPDocs

2021-02-17 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5370:


Reproducible. Thanks for reporting it.

> Generate abstract method with array return type in PHPDocs
> --
>
> Key: NETBEANS-5370
> URL: https://issues.apache.org/jira/browse/NETBEANS-5370
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.3
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Please see the example code below. Create a new PHP file in NetBeans and 
> paste the code into it. At each class declaration for {{Class1}}, {{Class2}} 
> and {{Class3}}, click the  Hint icon and select _Implement All Abstract 
> Methods_. The issue will become apparent. If PHPDocs has return type 
> specified as eg. {{return string[]}}, the generated code will be broken.
> {code:php}
>  namespace Cz\Test\GenerateMethod;
> class Class1 extends Base1
> {
> }
> abstract class Base1
> {
> abstract public function getSingleItem(): string;
> }
> class Class2 extends Base2
> {
> }
> abstract class Base2
> {
> /**
>  * @return string[]
>  */
> abstract public function getItemsList(): array;
> }
> class Class3 extends Base3
> {
> }
> abstract class Base3
> {
> abstract public function getSingleItem(): string;
> /**
>  * @return string[]
>  */
> abstract public function getItemsList(): array;
> }
> {code}



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

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

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



[jira] [Updated] (NETBEANS-5359) java.lang.AssertionError with script tag in tpl file

2021-02-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5359:
---
Component/s: web - HTML Editor

>  java.lang.AssertionError with script tag in tpl file
> -
>
> Key: NETBEANS-5359
> URL: https://issues.apache.org/jira/browse/NETBEANS-5359
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Smarty, web - HTML Editor
>Affects Versions: Next
> Environment: Windows 10 64-bit
> *Java:* 11.0.6; OpenJDK 64-Bit Server VM 11.0.6+10
> Netbeans build #287 20210205
>Reporter: Michal Koscielny
>Priority: Major
> Attachments: netbeans-tpl-script.png, testproject.zip
>
>
> In certain Smarty tpl files I cannot type any script tag because when I type 
> the closing bracket > a popup appears with the error. I attach a sample 
> project with a tpl file - to reproduce it place the cursor below the h1 tag 
> and try to type 

[jira] [Commented] (NETBEANS-5359) java.lang.AssertionError with script tag in tpl file

2021-02-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5359:


Reproducible in a dev version. Thanks for reporting it. 

You are using a dev version, right? If you would like to ignore it, please try 
to remove `-J-ea` in your netbeans.conf.

>  java.lang.AssertionError with script tag in tpl file
> -
>
> Key: NETBEANS-5359
> URL: https://issues.apache.org/jira/browse/NETBEANS-5359
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Smarty
>Affects Versions: Next
> Environment: Windows 10 64-bit
> *Java:* 11.0.6; OpenJDK 64-Bit Server VM 11.0.6+10
> Netbeans build #287 20210205
>Reporter: Michal Koscielny
>Priority: Major
> Attachments: netbeans-tpl-script.png, testproject.zip
>
>
> In certain Smarty tpl files I cannot type any script tag because when I type 
> the closing bracket > a popup appears with the error. I attach a sample 
> project with a tpl file - to reproduce it place the cursor below the h1 tag 
> and try to type 

[jira] [Closed] (NETBEANS-5304) NB Freezes when Editing CSS Files

2021-02-10 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5304.
--

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.3
>
> Attachments: CSS.nps, bug.png, nb_frozen.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5304) NB Freezes when Editing CSS Files

2021-02-10 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-5304.

Fix Version/s: 12.3
   Resolution: Fixed

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.3
>
> Attachments: CSS.nps, bug.png, nb_frozen.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5304) NB Freezes when Editing CSS Files

2021-02-10 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5304:


[~fidi]
This should be fixed. So, please give it a try with beta 2: 
https://lists.apache.org/thread.html/rcc7f203ddf2ea3c52645a18db3061fd3a84a00a724e5df0c2f827de8%40%3Cdev.netbeans.apache.org%3E

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Attachments: CSS.nps, bug.png, nb_frozen.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3391) Support PSR-12 valid formatting rules

2021-02-08 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3391:


[~Kacer] I'll add the required options for PSR-12. It's duplicate.

> Support PSR-12 valid formatting rules
> -
>
> Key: NETBEANS-3391
> URL: https://issues.apache.org/jira/browse/NETBEANS-3391
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Formatting  Indentation
>Affects Versions: 12.0, 11.1, 11.2
>Reporter: Johannes
>Assignee: Junichi Yamamoto
>Priority: Trivial
>
> Please add options to allow for PSR-12 valid formatting. (PRS-12:[ 
> https://www.php-fig.org/psr/psr-12/)|https://www.php-fig.org/psr/psr-12/]
> Currently there is no way to get netbeans accept the following code format:
>   
> {code:php}
> $array = ['a','b','c'];
> foreach(
> array_filter($array, function ($a) {
> return $a === 'b';
> }) as $data
> ) {
> //code
> }
> {code}
> Formatting the code removes the required indent:
> {code:php}
> $array = ['a','b','c'];
> foreach(
> array_filter($array, function ($a) {
> return $a === 'b';
> }) as $data
> ) {
> //code
> }
> {code}
> PSR-12 Rules:
>  - PSR12.ControlStructures.ControlStructureSpacing.FirstExpressionLine
>  - PSR12.ControlStructures.ControlStructureSpacing.LineIndent



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4637) Update PHP Code Templates

2021-02-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4637:


Okay.

> Update PHP Code Templates
> -
>
> Key: NETBEANS-4637
> URL: https://issues.apache.org/jira/browse/NETBEANS-4637
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.0
>Reporter: Los Vitaly
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> For *while* loop Netbeans give obsolete auto suggestion related for mysql 
> function 
> There are my_fa, my-fo, my_fr abbreviation in PHP Code Templates that should 
> be deleted 



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4637) Update PHP Code Templates

2021-02-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4637:


Well, I don't think your behavior is good. I assigned this me, right?

> Update PHP Code Templates
> -
>
> Key: NETBEANS-4637
> URL: https://issues.apache.org/jira/browse/NETBEANS-4637
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.0
>Reporter: Los Vitaly
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> For *while* loop Netbeans give obsolete auto suggestion related for mysql 
> function 
> There are my_fa, my-fo, my_fr abbreviation in PHP Code Templates that should 
> be deleted 



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5317) Autocomplete interferes with multicaret

2021-02-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-5317 at 2/3/21, 4:35 PM:
-

Maybe, this is an editor's bug.
In a java file, code is broken:

{code:java}
public final class Example {
// ^ is caret
 ^test1;
 ^test2;
 ^test3;
}
{code}

1. type `p`
2. run code completion ([Ctrl] + [Space]) 
3. select `private`
4. the result is following

{code:java}
public final class Example {
// ^ is caret
private test3^;
private test3^;
private ^test3;
}
{code}

It seems that this occurs when code completion is run.



was (Author: junichi11):
Maybe, this is an editor's bug.
In a java file, code is broken:

{code:java}
public final class Example {
// ^ is caret
 ^test1;
 ^test2;
 ^test3;
}
{code}

1. type `p`
2. run code completion ([Ctrl] + [Space]) complete `private`
3. the result is following

{code:java}
public final class Example {
// ^ is caret
private test3^;
private test3^;
private ^test3;
}
{code}

It seems that this occurs when code completion is run.


> Autocomplete interferes with multicaret
> ---
>
> Key: NETBEANS-5317
> URL: https://issues.apache.org/jira/browse/NETBEANS-5317
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates, editor - Painting 
>  Printing
>Affects Versions: 12.0, 12.1, 12.2, 12.3
>Reporter: Czukowski
>Priority: Minor
>
> Suppose you want to introduce some constants into a class and you can copy 
> that list somewhere and paste it into the class to work on:
> {code:java}
>  class Test
> {
>   FOO = 1
>   BAR = 2
>   BAZ = 3
> // place caret to each of the 3 lines directly above here
> }
> {code}
> This is invalid code, but it should be very easy to place a caret in front of 
> each line, type {{const}}, jump to the end of the lines and finish it off 
> with a semicolon.
> However if you don't type fast enough and autocomplete suggestions appear, 
> then whether you accept a suggestion or continue typing, the code gets broken.
> Here's what happens if I type 'c', wait for the suggestions and continue with 
> typing 'o':
> {code:java}
>   cBAZo = 1
>   coBAZ = 2
>   coBAZ = 3
> {code}
> Here's what happens if I type 'c', and then accept the 'const' suggestion:
> {code:java}
>   const BAZ = 1
>   const BAZ = 2
>   const BAZ = 3
> {code}
> A possible workaround is to type space, then move cursor one character to the 
> left and then type 'const'. If instead of typing a whole 'const', a 
> suggestion is accepted, the code gets some extra spaces, although the names 
> remain intact:
> {code:java}
>   const  FOO = 1
>   const  BAR = 2
>   const BAZ = 3
> {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-5317) Autocomplete interferes with multicaret

2021-02-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-5317 at 2/3/21, 4:34 PM:
-

Maybe, this is an editor's bug.
In a java file, code is broken:

{code:java}
public final class Example {
// ^ is caret
 ^test1;
 ^test2;
 ^test3;
}
{code}

1. type `p`
2. run code completion ([Ctrl] + [Space]) complete `private`
3. the result is following

{code:java}
public final class Example {
// ^ is caret
private test3^;
private test3^;
private ^test3;
}
{code}

It seems that this occurs when code completion is run.



was (Author: junichi11):
Maybe, this is an editor's bug.
In a java file, code is broken:

{code:java}
public final class Example {
// ^ is caret
 ^test1;
 ^test2;
 ^test3;
}
{code}

1. type `p`
2. run code completion ([Ctrl] + [Space])
3. the result is following

{code:java}
public final class Example {
// ^ is caret
private test3^;
private test3^;
private ^test3;
}
{code}

It seems that this occurs when code completion is run.


> Autocomplete interferes with multicaret
> ---
>
> Key: NETBEANS-5317
> URL: https://issues.apache.org/jira/browse/NETBEANS-5317
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates, editor - Painting 
>  Printing
>Affects Versions: 12.0, 12.1, 12.2, 12.3
>Reporter: Czukowski
>Priority: Minor
>
> Suppose you want to introduce some constants into a class and you can copy 
> that list somewhere and paste it into the class to work on:
> {code:java}
>  class Test
> {
>   FOO = 1
>   BAR = 2
>   BAZ = 3
> // place caret to each of the 3 lines directly above here
> }
> {code}
> This is invalid code, but it should be very easy to place a caret in front of 
> each line, type {{const}}, jump to the end of the lines and finish it off 
> with a semicolon.
> However if you don't type fast enough and autocomplete suggestions appear, 
> then whether you accept a suggestion or continue typing, the code gets broken.
> Here's what happens if I type 'c', wait for the suggestions and continue with 
> typing 'o':
> {code:java}
>   cBAZo = 1
>   coBAZ = 2
>   coBAZ = 3
> {code}
> Here's what happens if I type 'c', and then accept the 'const' suggestion:
> {code:java}
>   const BAZ = 1
>   const BAZ = 2
>   const BAZ = 3
> {code}
> A possible workaround is to type space, then move cursor one character to the 
> left and then type 'const'. If instead of typing a whole 'const', a 
> suggestion is accepted, the code gets some extra spaces, although the names 
> remain intact:
> {code:java}
>   const  FOO = 1
>   const  BAR = 2
>   const BAZ = 3
> {code}



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

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

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



[jira] [Updated] (NETBEANS-5317) Autocomplete interferes with multicaret

2021-02-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5317:
---
Component/s: (was: php - Editor)
 editor - Painting & Printing
 editor - Completion & Templates

> Autocomplete interferes with multicaret
> ---
>
> Key: NETBEANS-5317
> URL: https://issues.apache.org/jira/browse/NETBEANS-5317
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates, editor - Painting 
>  Printing
>Affects Versions: 12.0, 12.1, 12.2, 12.3
>Reporter: Czukowski
>Priority: Minor
>
> Suppose you want to introduce some constants into a class and you can copy 
> that list somewhere and paste it into the class to work on:
> {code:java}
>  class Test
> {
>   FOO = 1
>   BAR = 2
>   BAZ = 3
> // place caret to each of the 3 lines directly above here
> }
> {code}
> This is invalid code, but it should be very easy to place a caret in front of 
> each line, type {{const}}, jump to the end of the lines and finish it off 
> with a semicolon.
> However if you don't type fast enough and autocomplete suggestions appear, 
> then whether you accept a suggestion or continue typing, the code gets broken.
> Here's what happens if I type 'c', wait for the suggestions and continue with 
> typing 'o':
> {code:java}
>   cBAZo = 1
>   coBAZ = 2
>   coBAZ = 3
> {code}
> Here's what happens if I type 'c', and then accept the 'const' suggestion:
> {code:java}
>   const BAZ = 1
>   const BAZ = 2
>   const BAZ = 3
> {code}
> A possible workaround is to type space, then move cursor one character to the 
> left and then type 'const'. If instead of typing a whole 'const', a 
> suggestion is accepted, the code gets some extra spaces, although the names 
> remain intact:
> {code:java}
>   const  FOO = 1
>   const  BAR = 2
>   const BAZ = 3
> {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-5317) Autocomplete interferes with multicaret

2021-02-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5317:


Maybe, this is an editor's bug.
In a java file, code is broken:

{code:java}
public final class Example {
// ^ is caret
 ^test1;
 ^test2;
 ^test3;
}
{code}

1. type `p`
2. run code completion ([Ctrl] + [Space])
3. the result is following

{code:java}
public final class Example {
// ^ is caret
private test3^;
private test3^;
private ^test3;
}
{code}

It seems that this occurs when code completion is run.


> Autocomplete interferes with multicaret
> ---
>
> Key: NETBEANS-5317
> URL: https://issues.apache.org/jira/browse/NETBEANS-5317
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.0, 12.1, 12.2, 12.3
>Reporter: Czukowski
>Priority: Minor
>
> Suppose you want to introduce some constants into a class and you can copy 
> that list somewhere and paste it into the class to work on:
> {code:java}
>  class Test
> {
>   FOO = 1
>   BAR = 2
>   BAZ = 3
> // place caret to each of the 3 lines directly above here
> }
> {code}
> This is invalid code, but it should be very easy to place a caret in front of 
> each line, type {{const}}, jump to the end of the lines and finish it off 
> with a semicolon.
> However if you don't type fast enough and autocomplete suggestions appear, 
> then whether you accept a suggestion or continue typing, the code gets broken.
> Here's what happens if I type 'c', wait for the suggestions and continue with 
> typing 'o':
> {code:java}
>   cBAZo = 1
>   coBAZ = 2
>   coBAZ = 3
> {code}
> Here's what happens if I type 'c', and then accept the 'const' suggestion:
> {code:java}
>   const BAZ = 1
>   const BAZ = 2
>   const BAZ = 3
> {code}
> A possible workaround is to type space, then move cursor one character to the 
> left and then type 'const'. If instead of typing a whole 'const', a 
> suggestion is accepted, the code gets some extra spaces, although the names 
> remain intact:
> {code:java}
>   const  FOO = 1
>   const  BAR = 2
>   const BAZ = 3
> {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] [Closed] (NETBEANS-5312) CSS counter-reset property freezes Netbeans while typing

2021-02-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5312.
--
Resolution: Duplicate

> CSS counter-reset property freezes Netbeans while typing
> 
>
> Key: NETBEANS-5312
> URL: https://issues.apache.org/jira/browse/NETBEANS-5312
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: Next
> Environment: Windows 10 64-bit, OpenJDK 11.0.6
> Build: netbeans-linux-284-on-20210128-release.zip
>  
>Reporter: Michal Koscielny
>Priority: Critical
> Attachments: netbeans-counter-reset.png
>
>
> When typing 'counter-reset' property in an open CSS file Netbeans freezes 
> with 100% CPU on a single core and the only way out is to end the process in 
> the task manager. Steps to reproduce are easy, just try to enter this code in 
> a CSS file:
> {{body {}}
> {{ counter-reset: prodlist 0;}}
> }
> NB freezes after typing 'counter-reset:'. If I type just 'counter-re' and hit 
> Enter to select the code completion text it freezes, too.
> This is what it look like:
> !netbeans-counter-reset.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-5312) CSS counter-reset property freezes Netbeans while typing

2021-02-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5312:


Thank you for your verification :)

> CSS counter-reset property freezes Netbeans while typing
> 
>
> Key: NETBEANS-5312
> URL: https://issues.apache.org/jira/browse/NETBEANS-5312
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: Next
> Environment: Windows 10 64-bit, OpenJDK 11.0.6
> Build: netbeans-linux-284-on-20210128-release.zip
>  
>Reporter: Michal Koscielny
>Priority: Critical
> Attachments: netbeans-counter-reset.png
>
>
> When typing 'counter-reset' property in an open CSS file Netbeans freezes 
> with 100% CPU on a single core and the only way out is to end the process in 
> the task manager. Steps to reproduce are easy, just try to enter this code in 
> a CSS file:
> {{body {}}
> {{ counter-reset: prodlist 0;}}
> }
> NB freezes after typing 'counter-reset:'. If I type just 'counter-re' and hit 
> Enter to select the code completion text it freezes, too.
> This is what it look like:
> !netbeans-counter-reset.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-5312) CSS counter-reset property freezes Netbeans while typing

2021-02-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5312:


Maybe, duplicate: NETBEANS-5304

[~michal.lemon]
Could you please try to test Matthias's build?
https://issues.apache.org/jira/browse/NETBEANS-5304?focusedCommentId=17275945=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17275945

> CSS counter-reset property freezes Netbeans while typing
> 
>
> Key: NETBEANS-5312
> URL: https://issues.apache.org/jira/browse/NETBEANS-5312
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: Next
> Environment: Windows 10 64-bit, OpenJDK 11.0.6
> Build: netbeans-linux-284-on-20210128-release.zip
>  
>Reporter: Michal Koscielny
>Priority: Critical
> Attachments: netbeans-counter-reset.png
>
>
> When typing 'counter-reset' property in an open CSS file Netbeans freezes 
> with 100% CPU on a single core and the only way out is to end the process in 
> the task manager. Steps to reproduce are easy, just try to enter this code in 
> a CSS file:
> {{body {}}
> {{ counter-reset: prodlist 0;}}
> }
> NB freezes after typing 'counter-reset:'. If I type just 'counter-re' and hit 
> Enter to select the code completion text it freezes, too.
> This is what it look like:
> !netbeans-counter-reset.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] [Assigned] (NETBEANS-5304) NB Freezes when Editing CSS Files

2021-01-31 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5304:
--

Assignee: Matthias Bläsing  (was: Junichi Yamamoto)

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Attachments: CSS.nps, nb_frozen.png
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5304) NB Freezes when Editing CSS Files

2021-01-31 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5304:
--

Assignee: Junichi Yamamoto

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Attachments: CSS.nps, nb_frozen.png
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5304) NB Freezes when Editing CSS Files

2021-01-31 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5304:


[~trybowski] Thank you for your investigation :) Reproducible.
Product Version: Apache NetBeans IDE 12.2
Java: 1.8.0_202; Java HotSpot(TM) 64-Bit Server VM 25.202-b08
Runtime: Java(TM) SE Runtime Environment 1.8.0_202-b08
System: Linux version 5.8.0-41-generic running on amd64; UTF-8;

[~geertjan] [~matthiasblaesing] Thank you for your verification.

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
>  Labels: pull-request-available
> Attachments: CSS.nps, nb_frozen.png
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5304) NB Freezes when Editing CSS Files

2021-01-30 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5304:


[~trybowski] Could you please have a look at your log? (Are there exceptions 
for CSS?) It would be nice if you can find/provide exact steps to reproduce it 
always. Maybe, It's difficult to fix it without exact steps to reproduce it... 

CC: [~matthiasblaesing]

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5304) NB Freezes when Editing CSS Files

2021-01-30 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5304:
---
Component/s: web - CSS Editor

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3572) Exception in code editor

2021-01-22 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3572:


I don't think it's good to be closed without any reason...

It would be nice if you can provide exact steps to reproduce it. I've had a 
look at the log. Maybe,  you are using C/C++, right? Unfortunately, CND modules 
are not part of NB yet. So, you may need to wait for a while... But it is good 
always to provide that :) Thanks.

> Exception in code editor
> 
>
> Key: NETBEANS-3572
> URL: https://issues.apache.org/jira/browse/NETBEANS-3572
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 11.2
> Environment: Ubuntu 18.04
>Reporter: Andriy Svirskyy
>Priority: Major
> Attachments: ide.log, ui.log
>
>
> IDE throws exception displaying code autocompletion pop-up window



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4974) PHP8 named arguments

2021-01-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4974:


 !nb-php80-named-argument-01.png!  !nb-php80-named-argument-02.png! 

I've just fixed the parser.

[~cyrilverloop]
Unfortunately, I'm not sure whether we can include this in the next release 
(12.3) because the feature freeze date comes soon. Maybe it's tomorrow or later.
However, you can use this feature in a dev version if the PR is merged.
Thanks.

> PHP8 named arguments
> 
>
> Key: NETBEANS-4974
> URL: https://issues.apache.org/jira/browse/NETBEANS-4974
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.3
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: PHP8NamedArgument.jpg, nb-php80-named-argument-01.png, 
> nb-php80-named-argument-02.png
>
>
> Tested in latest build (netbeans-linux-143-on-20201030-release.zip30 oct. 
> 2020 05:40:08)
> Project opened in Netbeans is set to PHP8.
> Netbeans shows a syntax error on PHP8 named arguments.
> These lines are valid in PHP8:
> array_fill(start_index: 0, num: 100, value: 50); // From RFC
> setcookie(name: 'test', expires: time() + 60 * 60 * 2,); // other example



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4974) PHP8 named arguments

2021-01-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-4974:
---
Attachment: nb-php80-named-argument-02.png
nb-php80-named-argument-01.png

> PHP8 named arguments
> 
>
> Key: NETBEANS-4974
> URL: https://issues.apache.org/jira/browse/NETBEANS-4974
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.3
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: PHP8NamedArgument.jpg, nb-php80-named-argument-01.png, 
> nb-php80-named-argument-02.png
>
>
> Tested in latest build (netbeans-linux-143-on-20201030-release.zip30 oct. 
> 2020 05:40:08)
> Project opened in Netbeans is set to PHP8.
> Netbeans shows a syntax error on PHP8 named arguments.
> These lines are valid in PHP8:
> array_fill(start_index: 0, num: 100, value: 50); // From RFC
> setcookie(name: 'test', expires: time() + 60 * 60 * 2,); // other example



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

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

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



[jira] [Reopened] (NETBEANS-4974) PHP8 named arguments

2021-01-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reopened NETBEANS-4974:

  Assignee: Junichi Yamamoto

> PHP8 named arguments
> 
>
> Key: NETBEANS-4974
> URL: https://issues.apache.org/jira/browse/NETBEANS-4974
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.3
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: PHP8NamedArgument.jpg, nb-php80-named-argument-01.png, 
> nb-php80-named-argument-02.png
>
>
> Tested in latest build (netbeans-linux-143-on-20201030-release.zip30 oct. 
> 2020 05:40:08)
> Project opened in Netbeans is set to PHP8.
> Netbeans shows a syntax error on PHP8 named arguments.
> These lines are valid in PHP8:
> array_fill(start_index: 0, num: 100, value: 50); // From RFC
> setcookie(name: 'test', expires: time() + 60 * 60 * 2,); // other example



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4974) PHP8 named arguments

2021-01-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4974:


I'm working on it now.  Please wait a while.

> PHP8 named arguments
> 
>
> Key: NETBEANS-4974
> URL: https://issues.apache.org/jira/browse/NETBEANS-4974
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.3
>Reporter: Jayce
>Priority: Major
> Attachments: PHP8NamedArgument.jpg
>
>
> Tested in latest build (netbeans-linux-143-on-20201030-release.zip30 oct. 
> 2020 05:40:08)
> Project opened in Netbeans is set to PHP8.
> Netbeans shows a syntax error on PHP8 named arguments.
> These lines are valid in PHP8:
> array_fill(start_index: 0, num: 100, value: 50); // From RFC
> setcookie(name: 'test', expires: time() + 60 * 60 * 2,); // other example



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5262) Code Completion doesn't work correctly in closure use lists

2021-01-18 Thread Junichi Yamamoto (Jira)
Junichi Yamamoto created NETBEANS-5262:
--

 Summary: Code Completion doesn't work correctly in closure use 
lists 
 Key: NETBEANS-5262
 URL: https://issues.apache.org/jira/browse/NETBEANS-5262
 Project: NetBeans
  Issue Type: Bug
  Components: php - Editor
Affects Versions: 12.0
Reporter: Junichi Yamamoto
Assignee: Junichi Yamamoto


Example code:

{code:php}
$lambda = function () use (/* here*/) {};
{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] [Resolved] (NETBEANS-4606) Regenerate signature files for PHP 8.0

2021-01-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-4606.

Fix Version/s: 12.3
   Resolution: Fixed

> Regenerate signature files for PHP 8.0
> --
>
> Key: NETBEANS-4606
> URL: https://issues.apache.org/jira/browse/NETBEANS-4606
> Project: NetBeans
>  Issue Type: Task
>  Components: php - Code
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.3
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>




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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5245) Show and change the PHP Version of project properties on the status bar

2021-01-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-5245.

Fix Version/s: 12.3
   Resolution: Implemented

> Show and change the PHP Version of project properties on the status bar
> ---
>
> Key: NETBEANS-5245
> URL: https://issues.apache.org/jira/browse/NETBEANS-5245
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Project
>Affects Versions: 12.2
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.3
>
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Show and change the PHP Version of project properties on the status bar if an 
> active file(editor) is in a PHP project.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5244) Cannot specify XML configuration for phpDocumentor

2021-01-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-5244.

Fix Version/s: 12.3
   Resolution: Fixed

Fixed.

> Cannot specify XML configuration for phpDocumentor
> --
>
> Key: NETBEANS-5244
> URL: https://issues.apache.org/jira/browse/NETBEANS-5244
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - PHPDoc
>Reporter: Trashtoy
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.3
>
> Attachments: phpdoc-20210114-01.png, phpdoc-20210114-02b.png
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> phpDocumentor supports XML configuration: [phpDocumentor - 
> configuration|https://docs.phpdoc.org/3.0/guide/references/configuration.html]
>  However documentation tool of NetBeans cannot specify custom XML file.
> How to fix:
>  # Add optional {{"Use XML configuration"}} UI in phpDocumentor settings (The 
> same UI is also used in PHPUnit)
>  # Modify command line arguments
> Command line arguments:
>  * Current:
> {noformat}
> "/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
> "--directory" "/private/path/to/myproject" "--target" 
> "/private/path/to/documents" "--title" "My Framework"{noformat}
>  * Expected (if XML Configuration checked):
> {noformat}
> "/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
> "--directory" "/private/path/to/myproject" "--target" 
> "/private/path/to/documents" "--title" "My Framework" "--config" 
> "/private/path/to/myproject/phpdoc.xml"{noformat}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5244) Cannot specify XML configuration for phpDocumentor

2021-01-14 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5244:
--

Assignee: Junichi Yamamoto

> Cannot specify XML configuration for phpDocumentor
> --
>
> Key: NETBEANS-5244
> URL: https://issues.apache.org/jira/browse/NETBEANS-5244
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - PHPDoc
>Reporter: Trashtoy
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: phpdoc-20210114-01.png, phpdoc-20210114-02b.png
>
>
> phpDocumentor supports XML configuration: [phpDocumentor - 
> configuration|https://docs.phpdoc.org/3.0/guide/references/configuration.html]
>  However documentation tool of NetBeans cannot specify custom XML file.
> How to fix:
>  # Add optional {{"Use XML configuration"}} UI in phpDocumentor settings (The 
> same UI is also used in PHPUnit)
>  # Modify command line arguments
> Command line arguments:
>  * Current:
> {noformat}
> "/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
> "--directory" "/private/path/to/myproject" "--target" 
> "/private/path/to/documents" "--title" "My Framework"{noformat}
>  * Expected (if XML Configuration checked):
> {noformat}
> "/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
> "--directory" "/private/path/to/myproject" "--target" 
> "/private/path/to/documents" "--title" "My Framework" "--config" 
> "/private/path/to/myproject/phpdoc.xml"{noformat}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5244) Cannot specify XML configuration for phpDocumentor

2021-01-14 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5244:


Will fix it.

> Cannot specify XML configuration for phpDocumentor
> --
>
> Key: NETBEANS-5244
> URL: https://issues.apache.org/jira/browse/NETBEANS-5244
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - PHPDoc
>Reporter: Trashtoy
>Priority: Minor
> Attachments: phpdoc-20210114-01.png, phpdoc-20210114-02b.png
>
>
> phpDocumentor supports XML configuration: [phpDocumentor - 
> configuration|https://docs.phpdoc.org/3.0/guide/references/configuration.html]
>  However documentation tool of NetBeans cannot specify custom XML file.
> How to fix:
>  # Add optional {{"Use XML configuration"}} UI in phpDocumentor settings (The 
> same UI is also used in PHPUnit)
>  # Modify command line arguments
> Command line arguments:
>  * Current:
> {noformat}
> "/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
> "--directory" "/private/path/to/myproject" "--target" 
> "/private/path/to/documents" "--title" "My Framework"{noformat}
>  * Expected (if XML Configuration checked):
> {noformat}
> "/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
> "--directory" "/private/path/to/myproject" "--target" 
> "/private/path/to/documents" "--title" "My Framework" "--config" 
> "/private/path/to/myproject/phpdoc.xml"{noformat}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5245) Show and change the PHP Version of project properties on the status bar

2021-01-14 Thread Junichi Yamamoto (Jira)
Junichi Yamamoto created NETBEANS-5245:
--

 Summary: Show and change the PHP Version of project properties on 
the status bar
 Key: NETBEANS-5245
 URL: https://issues.apache.org/jira/browse/NETBEANS-5245
 Project: NetBeans
  Issue Type: New Feature
  Components: php - Project
Affects Versions: 12.2
Reporter: Junichi Yamamoto
Assignee: Junichi Yamamoto


Show and change the PHP Version of project properties on the status bar if an 
active file(editor) is in a PHP project.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4399) Html class and Ctrl + Click

2021-01-08 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-4399.

Fix Version/s: 12.3
   Resolution: Duplicate

It should be fixed. 
Please give it a try in a dev version if possible: 
https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/NetBeans-dev-Netbeans/

> Html class and Ctrl + Click
> ---
>
> Key: NETBEANS-4399
> URL: https://issues.apache.org/jira/browse/NETBEANS-4399
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor, web - HTML Editor
>Affects Versions: 12.0
> Environment: FC32 Wayland
>Reporter: Alexander Yurchenko
>Priority: Major
> Fix For: 12.3
>
>
> Hello, seems the Ctrl + Click on class does not work



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4399) Html class and Ctrl + Click

2021-01-08 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-4399:
---
Component/s: (was: cnd - Code Completion)
 web - HTML Editor
 web - CSS Editor

> Html class and Ctrl + Click
> ---
>
> Key: NETBEANS-4399
> URL: https://issues.apache.org/jira/browse/NETBEANS-4399
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor, web - HTML Editor
>Affects Versions: 12.0
> Environment: FC32 Wayland
>Reporter: Alexander Yurchenko
>Priority: Major
>
> Hello, seems the Ctrl + Click on class does not work



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5214) AssertionError when scanning certain projects (CSS parser problem)

2021-01-04 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5214:
---
Component/s: web - CSS Editor

> AssertionError when scanning certain projects (CSS parser problem)
> --
>
> Key: NETBEANS-5214
> URL: https://issues.apache.org/jira/browse/NETBEANS-5214
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, web - CSS Editor
>Affects Versions: Next
> Environment: Windows 10 64-bit, Oracle JDK 1.8 and OpenJDK 11.0.6
>Reporter: Michal Koscielny
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Attachments: testcss2.zip
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> (Regards build #226 20210103-release)
> When scanning certain projects for the first time Netbeans reports a 
> java.lang.AssertionError, it looks like it's caused by the css parser. The 
> error does not reappear when opening the project for the second time, but 
> when I delete the Netbeans cache folder the scanning happens again and the 
> error reappears.
> I attach a simple project to reproduce it - it essentially contains only 
> tinymce editor library, I suspect one of its minimized css files might be 
> causing the problem.
> Here is the error:
> {{java.lang.AssertionErrorjava.lang.AssertionError at 
> org.netbeans.modules.css.lib.api.properties.GrammarResolver.resolve(GrammarResolver.java:299)
>  at 
> org.netbeans.modules.css.lib.api.properties.GrammarResolver.resolve(GrammarResolver.java:129)
>  at 
> org.netbeans.modules.css.lib.api.properties.GrammarResolver.resolve(GrammarResolver.java:83)
>  at 
> org.netbeans.modules.css.lib.api.properties.ResolvedProperty.(ResolvedProperty.java:59)
>  at 
> org.netbeans.modules.css.lib.api.properties.ResolvedProperty.(ResolvedProperty.java:45)
>  at 
> org.netbeans.modules.css.editor.csl.CssAnalyser$1.visit(CssAnalyser.java:149) 
> at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:89)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.editor.csl.CssAnalyser.getExtendedDiagnostics(CssAnalyser.java:200)
>  at 
> org.netbeans.modules.css.lib.ErrorsProviderQuery.getExtendedDiagnostics(ErrorsProviderQuery.java:47)
>  at 
> org.netbeans.modules.css.lib.api.CssParserResult.getDiagnostics(CssParserResult.java:79)
>  at 
> org.netbeans.modules.css.lib.api.CssParserResult.getDiagnostics(CssParserResult.java:97)
>  at 
> org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:265)
>  at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
>  at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223)[catch]
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>  at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>  at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>  at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) 
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) 
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>  at 
> 

[jira] [Commented] (NETBEANS-5214) AssertionError when scanning certain projects (CSS parser problem)

2021-01-04 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5214:


Simple example code to reproduce it:
{code:css}
.test {box-shadow:unset;}
{code}

> AssertionError when scanning certain projects (CSS parser problem)
> --
>
> Key: NETBEANS-5214
> URL: https://issues.apache.org/jira/browse/NETBEANS-5214
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing
>Affects Versions: Next
> Environment: Windows 10 64-bit, Oracle JDK 1.8 and OpenJDK 11.0.6
>Reporter: Michal Koscielny
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Attachments: testcss2.zip
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> (Regards build #226 20210103-release)
> When scanning certain projects for the first time Netbeans reports a 
> java.lang.AssertionError, it looks like it's caused by the css parser. The 
> error does not reappear when opening the project for the second time, but 
> when I delete the Netbeans cache folder the scanning happens again and the 
> error reappears.
> I attach a simple project to reproduce it - it essentially contains only 
> tinymce editor library, I suspect one of its minimized css files might be 
> causing the problem.
> Here is the error:
> {{java.lang.AssertionErrorjava.lang.AssertionError at 
> org.netbeans.modules.css.lib.api.properties.GrammarResolver.resolve(GrammarResolver.java:299)
>  at 
> org.netbeans.modules.css.lib.api.properties.GrammarResolver.resolve(GrammarResolver.java:129)
>  at 
> org.netbeans.modules.css.lib.api.properties.GrammarResolver.resolve(GrammarResolver.java:83)
>  at 
> org.netbeans.modules.css.lib.api.properties.ResolvedProperty.(ResolvedProperty.java:59)
>  at 
> org.netbeans.modules.css.lib.api.properties.ResolvedProperty.(ResolvedProperty.java:45)
>  at 
> org.netbeans.modules.css.editor.csl.CssAnalyser$1.visit(CssAnalyser.java:149) 
> at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:89)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.lib.api.NodeVisitor.visitChildren(NodeVisitor.java:93)
>  at 
> org.netbeans.modules.css.editor.csl.CssAnalyser.getExtendedDiagnostics(CssAnalyser.java:200)
>  at 
> org.netbeans.modules.css.lib.ErrorsProviderQuery.getExtendedDiagnostics(ErrorsProviderQuery.java:47)
>  at 
> org.netbeans.modules.css.lib.api.CssParserResult.getDiagnostics(CssParserResult.java:79)
>  at 
> org.netbeans.modules.css.lib.api.CssParserResult.getDiagnostics(CssParserResult.java:97)
>  at 
> org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:265)
>  at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
>  at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223)[catch]
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>  at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>  at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>  at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) 
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) 
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>  at 
> 

[jira] [Commented] (NETBEANS-4739) CSS Go to Declaration , does not work

2020-12-29 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4739:


[~michal.lemon] 

(After the PR is merged) Download a zip file: 
[https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/NetBeans-dev-Netbeans/]

or

Build source code: [https://github.com/apache/netbeans#building-netbeans]

 

> CSS Go to Declaration , does not work
> -
>
> Key: NETBEANS-4739
> URL: https://issues.apache.org/jira/browse/NETBEANS-4739
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.0, 12.2
> Environment: Windows 10, Xubuntu 20.04, openjdk 11.0.8
> Proyectos con html y css en un único archivo.
> Proyectos con html y css separados en .html y .css
> Proyectos Angular 10 con CSS y con SCSS
>Reporter: Alejandro G. Prieto
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-css-class.png, testcss.zip
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Translated by Al from Spanish:
> "Navigation to CSS class declarations does not work.
> "Tried it with . . .
>  * Ctrl-B
>  * right-click, Navigate - go to declaration
>  * ctrl + left click
> "There's no response.
> "Sometimes there's a message in the lower part of the window that says that 
> the class declaration can't be found."
> Original description:
> La navegación a la declaración de clases CSS no funciona.
> Probado con . . .
>  * Ctrl-B
>  * click derecho, Navigate - go to declaration
>  * ctrl + left click
> No se obtiene respuesta.
> En algunas ocasiones, aparece mensaje que dice que no se encuentra la 
> declaración de la clase, en el parte inferior de la ventana
> Originator confirms problem is specific to 12.0, does not occur in 11.2.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5155) NPE in PHP Smarty tpl files

2020-12-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-5155.

Fix Version/s: 12.3
   Resolution: Fixed

> NPE in PHP Smarty tpl files
> ---
>
> Key: NETBEANS-5155
> URL: https://issues.apache.org/jira/browse/NETBEANS-5155
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, php - Smarty
>Affects Versions: 12.2
> Environment: Windows 10 64-bit 20H2
>Reporter: Michal Koscielny
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.3
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Netbeans 12.2 reports NullPointerException when editing many of tpl files 
> (Smarty templates). It looks like the NPE is shown if the file contains an 
> html 

[jira] [Commented] (NETBEANS-5166) Error occurred during communication with Xdebug

2020-12-17 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5166:


Thank you for reporting it. Will try to have a look at it later.

> Error occurred during communication with Xdebug
> ---
>
> Key: NETBEANS-5166
> URL: https://issues.apache.org/jira/browse/NETBEANS-5166
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Affects Versions: Next
> Environment: Netbeans-dev, Php8, Xdebug 3.0.1
>Reporter: Jayce
>Priority: Minor
>
> Hi.
> With dev build:
> 1) Create a break point
> 2) Run Xdebug and wait for the breakpoint to stop Xdebug.
> 3) While stopped (green Xdebug line on the breakpoint line), remove the 
> breakpoint by clicking on the red square in the gutter (line number)
> ==> Error message
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5155) NPE in PHP Smarty tpl files

2020-12-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-5155 at 12/16/20, 10:44 AM:


[~sdedic] Could you please have a look at this? It seems that this is related 
to the following PR:
 [https://github.com/apache/netbeans/pull/2424]

src/org/netbeans/modules/javascript2/editor/hints/ErrorCheckingSupport.java 
getMimeType() returns `null` :  
[https://github.com/apache/netbeans/pull/2424/files#diff-37427eeda3bcf06f91cce8d11efead9489dbe75a90f4d7433c183846c8a43577R87]

Thanks.


was (Author: junichi11):
[~sdedic] Could you please have a look at this? It seems that this is related 
to the following PR:
 [https://github.com/apache/netbeans/pull/2424]

getMimeType() returns `null` :  
[https://github.com/apache/netbeans/pull/2424/files#diff-37427eeda3bcf06f91cce8d11efead9489dbe75a90f4d7433c183846c8a43577R87]

Thanks.

> NPE in PHP Smarty tpl files
> ---
>
> Key: NETBEANS-5155
> URL: https://issues.apache.org/jira/browse/NETBEANS-5155
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, php - Smarty
>Affects Versions: 12.2
> Environment: Windows 10 64-bit 20H2
>Reporter: Michal Koscielny
>Priority: Major
>
> Netbeans 12.2 reports NullPointerException when editing many of tpl files 
> (Smarty templates). It looks like the NPE is shown if the file contains an 
> html 

[jira] [Commented] (NETBEANS-5155) NPE in PHP Smarty tpl files

2020-12-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5155:


[~sdedic] Could you please have a look at this? It seems that this is related 
to the following PR:
 [https://github.com/apache/netbeans/pull/2424]

getMimeType() returns `null` :  
[https://github.com/apache/netbeans/pull/2424/files#diff-37427eeda3bcf06f91cce8d11efead9489dbe75a90f4d7433c183846c8a43577R87]

Thanks.

> NPE in PHP Smarty tpl files
> ---
>
> Key: NETBEANS-5155
> URL: https://issues.apache.org/jira/browse/NETBEANS-5155
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, php - Smarty
>Affects Versions: 12.2
> Environment: Windows 10 64-bit 20H2
>Reporter: Michal Koscielny
>Priority: Major
>
> Netbeans 12.2 reports NullPointerException when editing many of tpl files 
> (Smarty templates). It looks like the NPE is shown if the file contains an 
> html 

[jira] [Updated] (NETBEANS-5155) NPE in PHP Smarty tpl files

2020-12-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5155:
---
Component/s: javascript - Editor

> NPE in PHP Smarty tpl files
> ---
>
> Key: NETBEANS-5155
> URL: https://issues.apache.org/jira/browse/NETBEANS-5155
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, php - Smarty
>Affects Versions: 12.2
> Environment: Windows 10 64-bit 20H2
>Reporter: Michal Koscielny
>Priority: Major
>
> Netbeans 12.2 reports NullPointerException when editing many of tpl files 
> (Smarty templates). It looks like the NPE is shown if the file contains an 
> html 

[jira] [Commented] (NETBEANS-5155) NPE in PHP Smarty tpl files

2020-12-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5155:


Thanks!

I can reproduce it in NetBeans 12.2. (I can't reproduce it in NetBeans 12.0).

> NPE in PHP Smarty tpl files
> ---
>
> Key: NETBEANS-5155
> URL: https://issues.apache.org/jira/browse/NETBEANS-5155
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Smarty
>Affects Versions: 12.2
> Environment: Windows 10 64-bit 20H2
>Reporter: Michal Koscielny
>Priority: Major
>
> Netbeans 12.2 reports NullPointerException when editing many of tpl files 
> (Smarty templates). It looks like the NPE is shown if the file contains an 
> html 

[jira] [Comment Edited] (NETBEANS-5155) NPE in PHP Smarty tpl files

2020-12-15 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-5155 at 12/16/20, 12:24 AM:


Could you provide an example code to reproduce it?


was (Author: junichi11):
Could you provide an example code to steps to reproduce it?

> NPE in PHP Smarty tpl files
> ---
>
> Key: NETBEANS-5155
> URL: https://issues.apache.org/jira/browse/NETBEANS-5155
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Smarty
>Affects Versions: 12.2
> Environment: Windows 10 64-bit 20H2
>Reporter: Michal Koscielny
>Priority: Major
>
> Netbeans 12.2 reports NullPointerException when editing many of tpl files 
> (Smarty templates). It looks like the NPE is shown if the file contains an 
> html 

[jira] [Commented] (NETBEANS-5155) NPE in PHP Smarty tpl files

2020-12-15 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5155:


Could you provide an example code to steps to reproduce it?

> NPE in PHP Smarty tpl files
> ---
>
> Key: NETBEANS-5155
> URL: https://issues.apache.org/jira/browse/NETBEANS-5155
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Smarty
>Affects Versions: 12.2
> Environment: Windows 10 64-bit 20H2
>Reporter: Michal Koscielny
>Priority: Major
>
> Netbeans 12.2 reports NullPointerException when editing many of tpl files 
> (Smarty templates). It looks like the NPE is shown if the file contains an 
> html 

[jira] [Commented] (NETBEANS-5124) Source>Insert code: Generate default documentation bloc

2020-12-09 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5124:


Thank you for providing it.

> Source>Insert code: Generate default documentation bloc
> ---
>
> Key: NETBEANS-5124
> URL: https://issues.apache.org/jira/browse/NETBEANS-5124
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Test_before.php, Test_current_result.php, 
> Test_expected_result.php
>
>
> Source>Insert code Generates setters and getter automatically.
> 1) It misses return type when the function returns "$this". (could be :static 
> in PHP8)
> 2) Can you add the default docblock?
> When you type '/**' then enter before a function, the doc bloc is generated 
> automatically.
> Can you do the same for each function generated by Source>Insert code ?
> Thanks.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5124) Source>Insert code: Generate default documentation bloc

2020-12-09 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5124:


Could you please write example code and expected result?

> Source>Insert code: Generate default documentation bloc
> ---
>
> Key: NETBEANS-5124
> URL: https://issues.apache.org/jira/browse/NETBEANS-5124
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Source>Insert code Generates setters and getter automatically.
> 1) It misses return type when the function returns "$this". (could be :static 
> in PHP8)
> 2) Can you add the default docblock?
> When you type '/**' then enter before a function, the doc bloc is generated 
> automatically.
> Can you do the same for each function generated by Source>Insert code ?
> Thanks.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5124) Source>Insert code: Generate default documentation bloc

2020-12-09 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5124:
--

Assignee: Junichi Yamamoto

> Source>Insert code: Generate default documentation bloc
> ---
>
> Key: NETBEANS-5124
> URL: https://issues.apache.org/jira/browse/NETBEANS-5124
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Source>Insert code Generates setters and getter automatically.
> 1) It misses return type when the function returns "$this". (could be :static 
> in PHP8)
> 2) Can you add the default docblock?
> When you type '/**' then enter before a function, the doc bloc is generated 
> automatically.
> Can you do the same for each function generated by Source>Insert code ?
> Thanks.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5080) Xdebug tcp port opens only once

2020-12-05 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-5080.

Fix Version/s: 12.3
   Resolution: Fixed

Fixed.

I've also added the buttons to copy example settings to the clipboard. Thanks.

> Xdebug tcp port opens only once
> ---
>
> Key: NETBEANS-5080
> URL: https://issues.apache.org/jira/browse/NETBEANS-5080
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Debugger
>Affects Versions: 12.2
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.3
>
> Attachments: BadIconInModal.png, netbeans-5080-ubuntu.gif
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Open a php project
> - click debug, but does not launch your https server.
> - run nc -vz localhost 9003, where 9003 is the port configured in Preferences.
> {code:sh}
> % nc -vz localhost 9003
> Connection to localhost port 9003 [tcp/*] succeeded!
> {code}
> So far so good.
> - Click the Finish debugging session button. The new help with Xdebug version 
> 3 shows up (great! the netbeans icon is not on top left hand corner of the 
> modal box on macOS, see screenshot)
> - Click debug again:
> {code:sh}
> % nc -vz localhost 9003
> nc: connectx to localhost port 9003 (tcp) failed: Connection refused
> {code}
> *It seems NetBeans does not re-open the socket.*



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5080) Xdebug tcp port opens only once

2020-12-05 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5080:
---
Affects Version/s: (was: Next)
   12.2

> Xdebug tcp port opens only once
> ---
>
> Key: NETBEANS-5080
> URL: https://issues.apache.org/jira/browse/NETBEANS-5080
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Debugger
>Affects Versions: 12.2
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Attachments: BadIconInModal.png, netbeans-5080-ubuntu.gif
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Open a php project
> - click debug, but does not launch your https server.
> - run nc -vz localhost 9003, where 9003 is the port configured in Preferences.
> {code:sh}
> % nc -vz localhost 9003
> Connection to localhost port 9003 [tcp/*] succeeded!
> {code}
> So far so good.
> - Click the Finish debugging session button. The new help with Xdebug version 
> 3 shows up (great! the netbeans icon is not on top left hand corner of the 
> modal box on macOS, see screenshot)
> - Click debug again:
> {code:sh}
> % nc -vz localhost 9003
> nc: connectx to localhost port 9003 (tcp) failed: Connection refused
> {code}
> *It seems NetBeans does not re-open the socket.*



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5096) Wrong formatting after open tag in executable script

2020-12-05 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5096:


Please write the actual and expected results, too. Thanks.

> Wrong formatting after open tag in executable script
> 
>
> Key: NETBEANS-5096
> URL: https://issues.apache.org/jira/browse/NETBEANS-5096
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Formatting  Indentation
>Affects Versions: 12.2
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> PHP script can be made to be directly executable when first line contains 
> string "#!" followed by path to PHP executable (also called shebang).
> {code:php}
> #!/usr/bin/php
>  echo "Hello World!\n";
> {code}
>  
> In this case blank lines after PHP open tag are applied not from "After Open 
> Tag" but from "After open tag in HTML".
> Steps to reproduce:
> # Open Options and in Formatting > PHP > Blank Lines
> # Set "After Open Tag" to 1
> # Set "After Open Tag in HTML" to 3
> # Create new file with content above
> # Format file - there will be three blank lines after " expected



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

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

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



[jira] [Commented] (NETBEANS-1921) Doesn't recognize single assignments on PHP Ternary Operator

2020-12-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-1921:


[~FFT] Thank you. I'll check it later.

> Doesn't recognize single assignments on PHP Ternary Operator
> 
>
> Key: NETBEANS-1921
> URL: https://issues.apache.org/jira/browse/NETBEANS-1921
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0
> Environment: Windows 7 Pro SP1 x64
>Reporter: Oscar F. Bustos Mora
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: starter
> Attachments: asas.jpg
>
>
> When doing ternary operator, NetBeans is assuming that in the line, a 
> variable is set twice instead setting it as result of an condition.
> I know it's a visual annoyance and i kow how to disable this underlining but 
> maybe should inform about 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] [Assigned] (NETBEANS-1921) Doesn't recognize single assignments on PHP Ternary Operator

2020-12-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-1921:
--

Assignee: Junichi Yamamoto

> Doesn't recognize single assignments on PHP Ternary Operator
> 
>
> Key: NETBEANS-1921
> URL: https://issues.apache.org/jira/browse/NETBEANS-1921
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0
> Environment: Windows 7 Pro SP1 x64
>Reporter: Oscar F. Bustos Mora
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: starter
> Attachments: asas.jpg
>
>
> When doing ternary operator, NetBeans is assuming that in the line, a 
> variable is set twice instead setting it as result of an condition.
> I know it's a visual annoyance and i kow how to disable this underlining but 
> maybe should inform about 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] [Assigned] (NETBEANS-2093) Show method structure in hints on hover

2020-12-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-2093:
--

Assignee: Junichi Yamamoto

> Show method structure in hints on hover
> ---
>
> Key: NETBEANS-2093
> URL: https://issues.apache.org/jira/browse/NETBEANS-2093
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 10.0
>Reporter: Bo Andersen
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 12.2
>
> Attachments: image-2019-02-07-16-53-57-447.png, 
> image-2019-02-07-16-54-33-603.png
>
>
> Netbeans dosn't show any useful information if PHPDoc is missing. As PHP get 
> more and more type safe, relying on the doc-block seems to be a bad choice.
> !image-2019-02-07-16-53-57-447.png!
> In other IDEs you actually can se method declaration, paramters and return 
> type, this could be very useful in Netbeans as well :)  
> !image-2019-02-07-16-54-33-603.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] [Resolved] (NETBEANS-2093) Show method structure in hints on hover

2020-12-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-2093.

Fix Version/s: 12.2
   Resolution: Fixed

[~FFT] Ah, Yes, I improved this recently, I suppose.  Maybe, it should work in 
12.2. Thank you for letting me know.

> Show method structure in hints on hover
> ---
>
> Key: NETBEANS-2093
> URL: https://issues.apache.org/jira/browse/NETBEANS-2093
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 10.0
>Reporter: Bo Andersen
>Priority: Major
> Fix For: 12.2
>
> Attachments: image-2019-02-07-16-53-57-447.png, 
> image-2019-02-07-16-54-33-603.png
>
>
> Netbeans dosn't show any useful information if PHPDoc is missing. As PHP get 
> more and more type safe, relying on the doc-block seems to be a bad choice.
> !image-2019-02-07-16-53-57-447.png!
> In other IDEs you actually can se method declaration, paramters and return 
> type, this could be very useful in Netbeans as well :)  
> !image-2019-02-07-16-54-33-603.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-5080) Xdebug tcp port opens only once

2020-12-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5080:


I tried doing it again today. I couldn't reproduce it yesterday but I can 
reproduce it now.
I'll investigate it later. I have also other issues(features) that have higher 
priority than this. (At least, there is a workaround for this.) So, I'm not 
sure whether I can fix it soon if it takes time to investigate the cause. 
Please wait for a while.
Thank you for reporting it :)

> Xdebug tcp port opens only once
> ---
>
> Key: NETBEANS-5080
> URL: https://issues.apache.org/jira/browse/NETBEANS-5080
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Debugger
>Affects Versions: Next
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: BadIconInModal.png, netbeans-5080-ubuntu.gif
>
>
> Open a php project
> - click debug, but does not launch your https server.
> - run nc -vz localhost 9003, where 9003 is the port configured in Preferences.
> {code:sh}
> % nc -vz localhost 9003
> Connection to localhost port 9003 [tcp/*] succeeded!
> {code}
> So far so good.
> - Click the Finish debugging session button. The new help with Xdebug version 
> 3 shows up (great! the netbeans icon is not on top left hand corner of the 
> modal box on macOS, see screenshot)
> - Click debug again:
> {code:sh}
> % nc -vz localhost 9003
> nc: connectx to localhost port 9003 (tcp) failed: Connection refused
> {code}
> *It seems NetBeans does not re-open the socket.*



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5080) Xdebug tcp port opens only once

2020-12-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5080:


Unfortunately, I don't have macOS.

Is it possible to reproduce it with NetBeans 12.0 (or 12.1), php7.4? 

> In addition, it does not open the browser (let say Chrome) when Netbeans is 
> in a "bugged" state.

I can open the browser.
 !netbeans-5080-ubuntu.gif! 



> Xdebug tcp port opens only once
> ---
>
> Key: NETBEANS-5080
> URL: https://issues.apache.org/jira/browse/NETBEANS-5080
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Debugger
>Affects Versions: Next
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: BadIconInModal.png, netbeans-5080-ubuntu.gif
>
>
> Open a php project
> - click debug, but does not launch your https server.
> - run nc -vz localhost 9003, where 9003 is the port configured in Preferences.
> {code:sh}
> % nc -vz localhost 9003
> Connection to localhost port 9003 [tcp/*] succeeded!
> {code}
> So far so good.
> - Click the Finish debugging session button. The new help with Xdebug version 
> 3 shows up (great! the netbeans icon is not on top left hand corner of the 
> modal box on macOS, see screenshot)
> - Click debug again:
> {code:sh}
> % nc -vz localhost 9003
> nc: connectx to localhost port 9003 (tcp) failed: Connection refused
> {code}
> *It seems NetBeans does not re-open the socket.*



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5080) Xdebug tcp port opens only once

2020-12-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5080:
---
Attachment: netbeans-5080-ubuntu.gif

> Xdebug tcp port opens only once
> ---
>
> Key: NETBEANS-5080
> URL: https://issues.apache.org/jira/browse/NETBEANS-5080
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Debugger
>Affects Versions: Next
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: BadIconInModal.png, netbeans-5080-ubuntu.gif
>
>
> Open a php project
> - click debug, but does not launch your https server.
> - run nc -vz localhost 9003, where 9003 is the port configured in Preferences.
> {code:sh}
> % nc -vz localhost 9003
> Connection to localhost port 9003 [tcp/*] succeeded!
> {code}
> So far so good.
> - Click the Finish debugging session button. The new help with Xdebug version 
> 3 shows up (great! the netbeans icon is not on top left hand corner of the 
> modal box on macOS, see screenshot)
> - Click debug again:
> {code:sh}
> % nc -vz localhost 9003
> nc: connectx to localhost port 9003 (tcp) failed: Connection refused
> {code}
> *It seems NetBeans does not re-open the socket.*



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5080) Xdebug tcp port opens only once

2020-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5080:


Well, I can't reproduce it...

I can debug after I close the information dialog. (I can repeat the same thing.)

Product Version: Apache NetBeans IDE DEV (Build 
dev-a27633309046ec4ef2fc1a828d9377cbd2d98900)
Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+1-Ubuntu-0ubuntu1.20.04
Runtime: OpenJDK Runtime Environment 11.0.9.1+1-Ubuntu-0ubuntu1.20.04
System: Linux version 5.4.0-56-generic running on amd64; UTF-8; 

PHP 8.0.0 (cli) (built: Nov 27 2020 12:26:22) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.0.0, Copyright (c), by Zend Technologies
with Xdebug v3.0.0beta1, Copyright (c) 2002-2020, by Derick Rethans

> Xdebug tcp port opens only once
> ---
>
> Key: NETBEANS-5080
> URL: https://issues.apache.org/jira/browse/NETBEANS-5080
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Debugger
>Affects Versions: Next
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: BadIconInModal.png
>
>
> Open a php project
> - click debug, but does not launch your https server.
> - run nc -vz localhost 9003, where 9003 is the port configured in Preferences.
> {code:sh}
> % nc -vz localhost 9003
> Connection to localhost port 9003 [tcp/*] succeeded!
> {code}
> So far so good.
> - Click the Finish debugging session button. The new help with Xdebug version 
> 3 shows up (great! the netbeans icon is not on top left hand corner of the 
> modal box on macOS, see screenshot)
> - Click debug again:
> {code:sh}
> % nc -vz localhost 9003
> nc: connectx to localhost port 9003 (tcp) failed: Connection refused
> {code}
> *It seems NetBeans does not re-open the socket.*



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5080) Xdebug tcp port opens only once

2020-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5080:
--

Assignee: Junichi Yamamoto

> Xdebug tcp port opens only once
> ---
>
> Key: NETBEANS-5080
> URL: https://issues.apache.org/jira/browse/NETBEANS-5080
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Debugger
>Affects Versions: Next
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: BadIconInModal.png
>
>
> Open a php project
> - click debug, but does not launch your https server.
> - run nc -vz localhost 9003, where 9003 is the port configured in Preferences.
> {code:sh}
> % nc -vz localhost 9003
> Connection to localhost port 9003 [tcp/*] succeeded!
> {code}
> So far so good.
> - Click the Finish debugging session button. The new help with Xdebug version 
> 3 shows up (great! the netbeans icon is not on top left hand corner of the 
> modal box on macOS, see screenshot)
> - Click debug again:
> {code:sh}
> % nc -vz localhost 9003
> nc: connectx to localhost port 9003 (tcp) failed: Connection refused
> {code}
> *It seems NetBeans does not re-open the socket.*



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5080) Xdebug tcp port opens only once

2020-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5080:


I'll remove the Icon.

> Xdebug tcp port opens only once
> ---
>
> Key: NETBEANS-5080
> URL: https://issues.apache.org/jira/browse/NETBEANS-5080
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Debugger
>Affects Versions: Next
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: BadIconInModal.png
>
>
> Open a php project
> - click debug, but does not launch your https server.
> - run nc -vz localhost 9003, where 9003 is the port configured in Preferences.
> {code:sh}
> % nc -vz localhost 9003
> Connection to localhost port 9003 [tcp/*] succeeded!
> {code}
> So far so good.
> - Click the Finish debugging session button. The new help with Xdebug version 
> 3 shows up (great! the netbeans icon is not on top left hand corner of the 
> modal box on macOS, see screenshot)
> - Click debug again:
> {code:sh}
> % nc -vz localhost 9003
> nc: connectx to localhost port 9003 (tcp) failed: Connection refused
> {code}
> *It seems NetBeans does not re-open the socket.*



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5060) Outdated xdebug help

2020-11-30 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-5060.

Fix Version/s: 12.3
   Resolution: Fixed

Fixed.

> Outdated xdebug help
> 
>
> Key: NETBEANS-5060
> URL: https://issues.apache.org/jira/browse/NETBEANS-5060
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
>  Labels: pull-request-available
> Fix For: 12.3
>
> Attachments: NetbeansXdebug.png, 
> netbeans-5060-connection-error-dialog.png
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Tested with Xdebug 3RC1 for php8, configuration changed.
> Modal displayed by Netbeans (Attached) is outdated:
> Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_handler' has been removed, see 
> the upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_handler (See: 
> https://xdebug.org/docs/errors#CFG-C-REMOVED)
> Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> For your information, the "old" value and the new one:
> {code:bash}
> #xdebug.remote_enable = true
> xdebug.mode = debug
> #xdebug.remote_handler = dbgp
> #xdebug.remote_host = localhost
> xdebug.client_host = localhost
> #xdebug.remote_port = 9000
> xdebug.client_port = 9003
> {code}
> Default port is now 900{color:red}3{color} instead of 9000.
> Need change in Netbeans>Preferences>Php>Debugging
> Thanks !



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5062) PHPDoc static type incorrectly resolved when returned by another class

2020-11-29 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-5062.

Fix Version/s: 12.3
   Resolution: Fixed

Fixed.

> PHPDoc static type incorrectly resolved when returned by another class
> --
>
> Key: NETBEANS-5062
> URL: https://issues.apache.org/jira/browse/NETBEANS-5062
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 10.0, 11.0, 12.0
>Reporter: SL EF
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.3
>
> Attachments: Test1.php, Test2.php
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This bug wasn't affected by Netbeans v8.2 because in that version Netbeans 
> doesn't trying to resolve type based on return statement
> Reproducible example attached



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

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

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



[jira] [Commented] (NETBEANS-5060) Outdated xdebug help

2020-11-29 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5060:


[~FFT] !netbeans-5060-connection-error-dialog.png! 

> Outdated xdebug help
> 
>
> Key: NETBEANS-5060
> URL: https://issues.apache.org/jira/browse/NETBEANS-5060
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
> Attachments: NetbeansXdebug.png, 
> netbeans-5060-connection-error-dialog.png
>
>
> Tested with Xdebug 3RC1 for php8, configuration changed.
> Modal displayed by Netbeans (Attached) is outdated:
> Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_handler' has been removed, see 
> the upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_handler (See: 
> https://xdebug.org/docs/errors#CFG-C-REMOVED)
> Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> For your information, the "old" value and the new one:
> {code:bash}
> #xdebug.remote_enable = true
> xdebug.mode = debug
> #xdebug.remote_handler = dbgp
> #xdebug.remote_host = localhost
> xdebug.client_host = localhost
> #xdebug.remote_port = 9000
> xdebug.client_port = 9003
> {code}
> Default port is now 900{color:red}3{color} instead of 9000.
> Need change in Netbeans>Preferences>Php>Debugging
> Thanks !



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5060) Outdated xdebug help

2020-11-29 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-5060 at 11/30/20, 12:28 AM:


[~FFT] 
!netbeans-5060-connection-error-dialog.png! 


was (Author: junichi11):
[~FFT] !netbeans-5060-connection-error-dialog.png! 

> Outdated xdebug help
> 
>
> Key: NETBEANS-5060
> URL: https://issues.apache.org/jira/browse/NETBEANS-5060
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
> Attachments: NetbeansXdebug.png, 
> netbeans-5060-connection-error-dialog.png
>
>
> Tested with Xdebug 3RC1 for php8, configuration changed.
> Modal displayed by Netbeans (Attached) is outdated:
> Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_handler' has been removed, see 
> the upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_handler (See: 
> https://xdebug.org/docs/errors#CFG-C-REMOVED)
> Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> For your information, the "old" value and the new one:
> {code:bash}
> #xdebug.remote_enable = true
> xdebug.mode = debug
> #xdebug.remote_handler = dbgp
> #xdebug.remote_host = localhost
> xdebug.client_host = localhost
> #xdebug.remote_port = 9000
> xdebug.client_port = 9003
> {code}
> Default port is now 900{color:red}3{color} instead of 9000.
> Need change in Netbeans>Preferences>Php>Debugging
> Thanks !



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5060) Outdated xdebug help

2020-11-29 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5060:
---
Attachment: netbeans-5060-connection-error-dialog.png

> Outdated xdebug help
> 
>
> Key: NETBEANS-5060
> URL: https://issues.apache.org/jira/browse/NETBEANS-5060
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
> Attachments: NetbeansXdebug.png, 
> netbeans-5060-connection-error-dialog.png
>
>
> Tested with Xdebug 3RC1 for php8, configuration changed.
> Modal displayed by Netbeans (Attached) is outdated:
> Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_handler' has been removed, see 
> the upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_handler (See: 
> https://xdebug.org/docs/errors#CFG-C-REMOVED)
> Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> For your information, the "old" value and the new one:
> {code:bash}
> #xdebug.remote_enable = true
> xdebug.mode = debug
> #xdebug.remote_handler = dbgp
> #xdebug.remote_host = localhost
> xdebug.client_host = localhost
> #xdebug.remote_port = 9000
> xdebug.client_port = 9003
> {code}
> Default port is now 900{color:red}3{color} instead of 9000.
> Need change in Netbeans>Preferences>Php>Debugging
> Thanks !



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5064) Support for specific NB (feature release) versions

2020-11-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5064:
---
Summary: Support for specific NB (feature release) versions  (was: Support 
for specific NB (feature) versions)

> Support for specific NB (feature release) versions
> --
>
> Key: NETBEANS-5064
> URL: https://issues.apache.org/jira/browse/NETBEANS-5064
> Project: NetBeans
>  Issue Type: Wish
>  Components: updatecenters - Pluginportal
>Reporter: Junichi Yamamoto
>Priority: Major
>
> Maybe, currently, URLs for feature versions(e.g. 12.1) are redirected to the 
> URL for the LTS(e.g. 12.0) version, right?
> That has a problem. We can't use an nbm of the LTS version if a feature 
> version has incompatible changes.
> There are incompatible changes for PHP support in NetBeans 12.2. So, some 
> plugins related to PHP don't work any longer in 12.2 with the nbm for 12.0. 
> So, I have to provide nbms for 12.2. However, we can't add them to PP at the 
> moment. So, I have to upload them to another place(e.g. GitHub).
> It would be nice for users/developers if we can add nbms for specific 
> versions. OTOH, it may be hard work for verifiers(/developers) to 
> verify(/add) them...
> e.g. Although I'm not sure whether it is possible, if there is no nbm of 
> specific versions, it would be nice to be able to use nbms of LTS versions.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5064) Support for specific NB (feature) versions

2020-11-25 Thread Junichi Yamamoto (Jira)
Junichi Yamamoto created NETBEANS-5064:
--

 Summary: Support for specific NB (feature) versions
 Key: NETBEANS-5064
 URL: https://issues.apache.org/jira/browse/NETBEANS-5064
 Project: NetBeans
  Issue Type: Wish
  Components: updatecenters - Pluginportal
Reporter: Junichi Yamamoto


Maybe, currently, URLs for feature versions(e.g. 12.1) are redirected to the 
URL for the LTS(e.g. 12.0) version, right?

That has a problem. We can't use an nbm of the LTS version if a feature version 
has incompatible changes.

There are incompatible changes for PHP support in NetBeans 12.2. So, some 
plugins related to PHP don't work any longer in 12.2 with the nbm for 12.0. 

So, I have to provide nbms for 12.2. However, we can't add them to PP at the 
moment. So, I have to upload them to another place(e.g. GitHub).

It would be nice for users/developers if we can add nbms for specific versions. 
OTOH, it may be hard work for verifiers(/developers) to verify(/add) them...
e.g. Although I'm not sure whether it is possible, if there is no nbm of 
specific versions, it would be nice to be able to use nbms of LTS versions.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5060) Outdated xdebug help

2020-11-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5060:


Yes, I'm going to also change the message :)

> Outdated xdebug help
> 
>
> Key: NETBEANS-5060
> URL: https://issues.apache.org/jira/browse/NETBEANS-5060
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
> Attachments: NetbeansXdebug.png
>
>
> Tested with Xdebug 3RC1 for php8, configuration changed.
> Modal displayed by Netbeans (Attached) is outdated:
> Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_handler' has been removed, see 
> the upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_handler (See: 
> https://xdebug.org/docs/errors#CFG-C-REMOVED)
> Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> For your information, the "old" value and the new one:
> {code:bash}
> #xdebug.remote_enable = true
> xdebug.mode = debug
> #xdebug.remote_handler = dbgp
> #xdebug.remote_host = localhost
> xdebug.client_host = localhost
> #xdebug.remote_port = 9000
> xdebug.client_port = 9003
> {code}
> Default port is now 900{color:red}3{color} instead of 9000.
> Need change in Netbeans>Preferences>Php>Debugging
> Thanks !



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5062) PHPDoc static type incorrectly resolved when returned by another class

2020-11-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5062:


Thank you for reporting it.

> PHPDoc static type incorrectly resolved when returned by another class
> --
>
> Key: NETBEANS-5062
> URL: https://issues.apache.org/jira/browse/NETBEANS-5062
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 10.0, 11.0, 12.0
>Reporter: SL EF
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: Test1.php, Test2.php
>
>
> This bug wasn't affected by Netbeans v8.2 because in that version Netbeans 
> doesn't trying to resolve type based on return statement
> Reproducible example attached



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

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

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



[jira] [Assigned] (NETBEANS-5062) PHPDoc static type incorrectly resolved when returned by another class

2020-11-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5062:
--

Assignee: Junichi Yamamoto

> PHPDoc static type incorrectly resolved when returned by another class
> --
>
> Key: NETBEANS-5062
> URL: https://issues.apache.org/jira/browse/NETBEANS-5062
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 10.0, 11.0, 12.0
>Reporter: SL EF
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: Test1.php, Test2.php
>
>
> This bug wasn't affected by Netbeans v8.2 because in that version Netbeans 
> doesn't trying to resolve type based on return statement
> Reproducible example attached



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

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

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



[jira] [Commented] (NETBEANS-5060) Outdated xdebug help

2020-11-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5060:


Thank you.
Maybe, will fix the default value after version 3 is released.

> Outdated xdebug help
> 
>
> Key: NETBEANS-5060
> URL: https://issues.apache.org/jira/browse/NETBEANS-5060
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
> Attachments: NetbeansXdebug.png
>
>
> Tested with Xdebug 3RC1 for php8, configuration changed.
> Modal displayed by Netbeans (Attached) is outdated:
> Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_handler' has been removed, see 
> the upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_handler (See: 
> https://xdebug.org/docs/errors#CFG-C-REMOVED)
> Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> For your information, the "old" value and the new one:
> {code:bash}
> #xdebug.remote_enable = true
> xdebug.mode = debug
> #xdebug.remote_handler = dbgp
> #xdebug.remote_host = localhost
> xdebug.client_host = localhost
> #xdebug.remote_port = 9000
> xdebug.client_port = 9003
> {code}
> Default port is now 900{color:red}3{color} instead of 9000.
> Need change in Netbeans>Preferences>Php>Debugging
> Thanks !



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5060) Outdated xdebug help

2020-11-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5060:


It works fine after you change the port number, right?

> Outdated xdebug help
> 
>
> Key: NETBEANS-5060
> URL: https://issues.apache.org/jira/browse/NETBEANS-5060
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
> Attachments: NetbeansXdebug.png
>
>
> Tested with Xdebug 3RC1 for php8, configuration changed.
> Modal displayed by Netbeans (Attached) is outdated:
> Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_handler' has been removed, see 
> the upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_handler (See: 
> https://xdebug.org/docs/errors#CFG-C-REMOVED)
> Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> For your information, the "old" value and the new one:
> {code:bash}
> #xdebug.remote_enable = true
> xdebug.mode = debug
> #xdebug.remote_handler = dbgp
> #xdebug.remote_host = localhost
> xdebug.client_host = localhost
> #xdebug.remote_port = 9000
> xdebug.client_port = 9003
> {code}
> Default port is now 900{color:red}3{color} instead of 9000.
> Need change in Netbeans>Preferences>Php>Debugging
> Thanks !



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5060) Outdated xdebug help

2020-11-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5060:
--

Assignee: Junichi Yamamoto

> Outdated xdebug help
> 
>
> Key: NETBEANS-5060
> URL: https://issues.apache.org/jira/browse/NETBEANS-5060
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Debugger
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Trivial
> Attachments: NetbeansXdebug.png
>
>
> Tested with Xdebug 3RC1 for php8, configuration changed.
> Modal displayed by Netbeans (Attached) is outdated:
> Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_handler' has been removed, see 
> the upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_handler (See: 
> https://xdebug.org/docs/errors#CFG-C-REMOVED)
> Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the 
> upgrading guide at 
> https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: 
> https://xdebug.org/docs/errors#CFG-C-CHANGED)
> For your information, the "old" value and the new one:
> {code:bash}
> #xdebug.remote_enable = true
> xdebug.mode = debug
> #xdebug.remote_handler = dbgp
> #xdebug.remote_host = localhost
> xdebug.client_host = localhost
> #xdebug.remote_port = 9000
> xdebug.client_port = 9003
> {code}
> Default port is now 900{color:red}3{color} instead of 9000.
> Need change in Netbeans>Preferences>Php>Debugging
> Thanks !



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5045) in https://netbeans.apache.org/nb/plugins/12.0/catalog.xml.gz, module distribution have double "/" and broke download

2020-11-19 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5045.
--
Resolution: Duplicate

It should work now.

> in https://netbeans.apache.org/nb/plugins/12.0/catalog.xml.gz, module 
> distribution have double "/" and broke download
> -
>
> Key: NETBEANS-5045
> URL: https://issues.apache.org/jira/browse/NETBEANS-5045
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
>Reporter: Philippe FICHET
>Priority: Blocker
> Attachments: NetbeansModueDownloadFailedWithDoubleSlash.png
>
>
> In [https://netbeans.apache.org/nb/plugins/12.0/catalog.xml.gz,] some modules 
> have double "/" in "distribution" attribute.
> With double "/", the download failed with http code 404.
> When remove one "/", the download work.
>  
> Example:
> [https://plugins.netbeans.apache.org/catalogue/download//134/guipopup-netbeans-plugin-0.1.1.nbm]
>  -> cannot download
> [https://plugins.netbeans.apache.org/catalogue/download/134/guipopup-netbeans-plugin-0.1.1.nbm]
>  -> download work
>  
> My Netbeans details:
> Product Version: Apache NetBeans IDE 12.0
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Windows 10 version 10.0 running on amd64; Cp1252; fr_FR (nb)



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5039) Can't update plugin, wrong plugin download url

2020-11-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5039:
---
Priority: Major  (was: Minor)

> Can't update plugin, wrong plugin download url
> --
>
> Key: NETBEANS-5039
> URL: https://issues.apache.org/jira/browse/NETBEANS-5039
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Affects Versions: 12.1
>Reporter: Mirko Kusljic
>Priority: Major
> Attachments: Capture.PNG
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> I can't update plugin, it seams like plugin download url is wrong, it is 
> "[https://plugins.netbeans.apache.org/catalogue/download//190/netbeans-no-newline-resolver-1.4.1.nbm];,
> but it should be 
> "[https://plugins.netbeans.apache.org/catalogue/download/190/netbeans-no-newline-resolver-1.4.1.nbm];.
> Not sure if this problem is on plugin or netbeans side.
> I'm using netbeans 12.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-5039) Can't update plugin, wrong plugin download url

2020-11-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5039:


Thank you for reporting it!

CC: [~matthiasblaesing] [~jkovalsky] [~jpirek]

> Can't update plugin, wrong plugin download url
> --
>
> Key: NETBEANS-5039
> URL: https://issues.apache.org/jira/browse/NETBEANS-5039
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Affects Versions: 12.1
>Reporter: Mirko Kusljic
>Priority: Minor
> Attachments: Capture.PNG
>
>
> I can't update plugin, it seams like plugin download url is wrong, it is 
> "[https://plugins.netbeans.apache.org/catalogue/download//190/netbeans-no-newline-resolver-1.4.1.nbm];,
> but it should be 
> "[https://plugins.netbeans.apache.org/catalogue/download/190/netbeans-no-newline-resolver-1.4.1.nbm];.
> Not sure if this problem is on plugin or netbeans side.
> I'm using netbeans 12.1



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

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

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



[jira] [Updated] (NETBEANS-4649) Codetemplate in Plain php-html

2020-11-14 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-4649:
---
Attachment: netbeans-4649-cc.png

> Codetemplate  in Plain php-html 
> 
>
> Key: NETBEANS-4649
> URL: https://issues.apache.org/jira/browse/NETBEANS-4649
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates, php - Code, web - 
> HTML Editor
>Reporter: flexJoly
>Priority: Major
> Fix For: 12.0, 11.3
>
> Attachments: OrderList_demo.tpl.php, 
> image-2020-07-28-15-33-13-351.png, image-2020-07-28-15-36-26-205.png, 
> image-2020-07-28-15-39-01-238.png, netbeans-4649-cc.png, 
> netbeans-4649-codetemplates-html-options.png
>
>
> We normally use Smarty. But we are exploring of having our own template 
> engine (togeter with smarty for now)
> So I made a file: *orderlist.tpl.php* (see in attachments)
> I tried to make a code-template: for '' .
> As suggested in: 
> [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
> !image-2020-07-28-15-33-13-351.png|width=449,height=383!
> I tried to put it in: php, html, plain text etc., with/without context etc
>  Should be easy and it is. But really it WON'T show up in the code.
> Typing 'pe' and ctrl-space >>> no suggestions
> !image-2020-07-28-15-36-26-205.png|width=464,height=417!
>  
> I tried .phtml and other extensions for the file (like: orderlist.phtml). 
> Tried to change the file-type in the options to: text/x-php, html, template 
> etc
>  I cannot get this to work
> In utter desperation I made my first macro in netbeans (never needed it 
> before) and that works very nice (should have done this before :D) but every 
> macro needs an shorcut to work. pppfff
>  
>  
> How to get the codetemplate '' show up in a php/html file ??
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4649) Codetemplate in Plain php-html

2020-11-14 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4649:


I'm sorry I'm late.
You have to add it to not PHP but HTML. Then, I've improved the Options for 
HTML code templates in NetBeans 12.1.
So, could you give it a try?

 !netbeans-4649-codetemplates-html-options.png! 

 !netbeans-4649-cc.png! 

> Codetemplate  in Plain php-html 
> 
>
> Key: NETBEANS-4649
> URL: https://issues.apache.org/jira/browse/NETBEANS-4649
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates, php - Code, web - 
> HTML Editor
>Reporter: flexJoly
>Priority: Major
> Fix For: 12.0, 11.3
>
> Attachments: OrderList_demo.tpl.php, 
> image-2020-07-28-15-33-13-351.png, image-2020-07-28-15-36-26-205.png, 
> image-2020-07-28-15-39-01-238.png, netbeans-4649-cc.png, 
> netbeans-4649-codetemplates-html-options.png
>
>
> We normally use Smarty. But we are exploring of having our own template 
> engine (togeter with smarty for now)
> So I made a file: *orderlist.tpl.php* (see in attachments)
> I tried to make a code-template: for '' .
> As suggested in: 
> [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
> !image-2020-07-28-15-33-13-351.png|width=449,height=383!
> I tried to put it in: php, html, plain text etc., with/without context etc
>  Should be easy and it is. But really it WON'T show up in the code.
> Typing 'pe' and ctrl-space >>> no suggestions
> !image-2020-07-28-15-36-26-205.png|width=464,height=417!
>  
> I tried .phtml and other extensions for the file (like: orderlist.phtml). 
> Tried to change the file-type in the options to: text/x-php, html, template 
> etc
>  I cannot get this to work
> In utter desperation I made my first macro in netbeans (never needed it 
> before) and that works very nice (should have done this before :D) but every 
> macro needs an shorcut to work. pppfff
>  
>  
> How to get the codetemplate '' show up in a php/html file ??
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4649) Codetemplate in Plain php-html

2020-11-14 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-4649:
---
Attachment: netbeans-4649-codetemplates-html-options.png

> Codetemplate  in Plain php-html 
> 
>
> Key: NETBEANS-4649
> URL: https://issues.apache.org/jira/browse/NETBEANS-4649
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates, php - Code, web - 
> HTML Editor
>Reporter: flexJoly
>Priority: Major
> Fix For: 12.0, 11.3
>
> Attachments: OrderList_demo.tpl.php, 
> image-2020-07-28-15-33-13-351.png, image-2020-07-28-15-36-26-205.png, 
> image-2020-07-28-15-39-01-238.png, netbeans-4649-cc.png, 
> netbeans-4649-codetemplates-html-options.png
>
>
> We normally use Smarty. But we are exploring of having our own template 
> engine (togeter with smarty for now)
> So I made a file: *orderlist.tpl.php* (see in attachments)
> I tried to make a code-template: for '' .
> As suggested in: 
> [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
> !image-2020-07-28-15-33-13-351.png|width=449,height=383!
> I tried to put it in: php, html, plain text etc., with/without context etc
>  Should be easy and it is. But really it WON'T show up in the code.
> Typing 'pe' and ctrl-space >>> no suggestions
> !image-2020-07-28-15-36-26-205.png|width=464,height=417!
>  
> I tried .phtml and other extensions for the file (like: orderlist.phtml). 
> Tried to change the file-type in the options to: text/x-php, html, template 
> etc
>  I cannot get this to work
> In utter desperation I made my first macro in netbeans (never needed it 
> before) and that works very nice (should have done this before :D) but every 
> macro needs an shorcut to work. pppfff
>  
>  
> How to get the codetemplate '' show up in a php/html file ??
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5011) Match keyword marked as syntax error despite PHP version in Project settings

2020-11-11 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5011.
--
Resolution: Won't Fix

I would fix this if it were available like Context Sensitive Lexer with the 
latest version. Thank you, guys. Will close this.

> Match keyword marked as syntax error despite PHP version in Project settings
> 
>
> Key: NETBEANS-5011
> URL: https://issues.apache.org/jira/browse/NETBEANS-5011
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.2
> Environment: Product Version: Apache NetBeans IDE 12.2-rc1
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: image-2020-11-11-10-36-51-198.png, 
> netbeans-5011-with-php8.0.png
>
>
> NetBeans version: 12.2-rc1
> Project PHP version is set to 7.4
> !image-2020-11-11-10-36-51-198.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-5011) Match keyword marked as syntax error despite PHP version in Project settings

2020-11-11 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5011:


[~tmysik] Thank you for your comment :)

We may be able to allow "Match" as a namespace name and class name. But the 
grammar file will be complicated little by little...

[~czukowski]
Unfortunately, We have not supported such cases so far, I think. In this case,  
sooner or later, we should rename them for the future. 
We don't want to have grammar files per PHP version because it will be hard to 
maintain them (e.g. we have to add unit tests per parser).

Thanks for your understanding.

> Match keyword marked as syntax error despite PHP version in Project settings
> 
>
> Key: NETBEANS-5011
> URL: https://issues.apache.org/jira/browse/NETBEANS-5011
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.2
> Environment: Product Version: Apache NetBeans IDE 12.2-rc1
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: image-2020-11-11-10-36-51-198.png, 
> netbeans-5011-with-php8.0.png
>
>
> NetBeans version: 12.2-rc1
> Project PHP version is set to 7.4
> !image-2020-11-11-10-36-51-198.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] [Updated] (NETBEANS-5011) Match keyword marked as syntax error despite PHP version in Project settings

2020-11-11 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5011:
---
Attachment: netbeans-5011-with-php8.0.png

> Match keyword marked as syntax error despite PHP version in Project settings
> 
>
> Key: NETBEANS-5011
> URL: https://issues.apache.org/jira/browse/NETBEANS-5011
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.2
> Environment: Product Version: Apache NetBeans IDE 12.2-rc1
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: image-2020-11-11-10-36-51-198.png, 
> netbeans-5011-with-php8.0.png
>
>
> NetBeans version: 12.2-rc1
> Project PHP version is set to 7.4
> !image-2020-11-11-10-36-51-198.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] [Updated] (NETBEANS-5011) Match keyword marked as syntax error despite PHP version in Project settings

2020-11-11 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5011:
---
Component/s: (was: php - Code)
 php - Editor

> Match keyword marked as syntax error despite PHP version in Project settings
> 
>
> Key: NETBEANS-5011
> URL: https://issues.apache.org/jira/browse/NETBEANS-5011
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.2
> Environment: Product Version: Apache NetBeans IDE 12.2-rc1
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: image-2020-11-11-10-36-51-198.png
>
>
> NetBeans version: 12.2-rc1
> Project PHP version is set to 7.4
> !image-2020-11-11-10-36-51-198.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-5011) Match keyword marked as syntax error despite PHP version in Project settings

2020-11-11 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5011:


Well, you can't use "Match" in the future. i.e. You have to change it in the 
future.  We support only the latest syntaxes to avoid the grammar file would be 
complicated. So, I'm not going to fix this...

Fortunately, we can also use old versions of NetBeans if we would like to use 
"Match".

[~tmysik] What do you think?


> Match keyword marked as syntax error despite PHP version in Project settings
> 
>
> Key: NETBEANS-5011
> URL: https://issues.apache.org/jira/browse/NETBEANS-5011
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 12.2
> Environment: Product Version: Apache NetBeans IDE 12.2-rc1
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: image-2020-11-11-10-36-51-198.png
>
>
> NetBeans version: 12.2-rc1
> Project PHP version is set to 7.4
> !image-2020-11-11-10-36-51-198.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] [Assigned] (NETBEANS-5011) Match keyword marked as syntax error despite PHP version in Project settings

2020-11-11 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-5011:
--

Assignee: Junichi Yamamoto

> Match keyword marked as syntax error despite PHP version in Project settings
> 
>
> Key: NETBEANS-5011
> URL: https://issues.apache.org/jira/browse/NETBEANS-5011
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 12.2
> Environment: Product Version: Apache NetBeans IDE 12.2-rc1
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: image-2020-11-11-10-36-51-198.png
>
>
> NetBeans version: 12.2-rc1
> Project PHP version is set to 7.4
> !image-2020-11-11-10-36-51-198.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] [Assigned] (NETBEANS-4983) Input textfield injection in documentation overlay?

2020-11-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-4983:
--

Assignee: Junichi Yamamoto

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



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

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

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



[jira] [Updated] (NETBEANS-4983) Input textfield injection in documentation overlay?

2020-11-03 Thread Junichi Yamamoto (Jira)


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

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

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



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

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

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



[jira] [Commented] (NETBEANS-4983) Input textfield injection in documentation overlay?

2020-11-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4983:


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

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



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

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

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



[jira] [Assigned] (NETBEANS-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-4978:
--

Assignee: Junichi Yamamoto

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



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

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

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



[jira] [Updated] (NETBEANS-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


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

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

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



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

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

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



[jira] [Commented] (NETBEANS-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4978:


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

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

Thanks.


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



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

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

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



[jira] [Commented] (NETBEANS-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4978:


Thanks. 

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

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



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

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

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



[jira] [Commented] (NETBEANS-4978) PHP Menu Source->Fix uses break code

2020-11-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4978:


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

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



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

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

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



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

2020-10-31 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4976:


[~jlahoda] Is https://github.com/apache/netbeans/pull/2445 is related to this?

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



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

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

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



[jira] [Closed] (NETBEANS-4974) PHP8 named arguments

2020-10-31 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-4974.
--
Resolution: Duplicate

PHP 8.0 has not been supported yet.
Some syntaxes(e.g. union types, much expression, etc.) are supported in 
NetBeans 12.2.
However, unfortunately, some syntaxes(e.g. named parameter, attribute 
syntax,...) are not supported in NetBeans 12.2.
I'm working on them. Maybe, they are supported in NetBeans 12.3. PHP 8.0 has 
many new features, so it takes a lot of time. It would be nice if you test them 
in a dev version when I implement them.

Thank you for your understanding.

> PHP8 named arguments
> 
>
> Key: NETBEANS-4974
> URL: https://issues.apache.org/jira/browse/NETBEANS-4974
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.3
>Reporter: Jayce
>Priority: Major
> Attachments: PHP8NamedArgument.jpg
>
>
> Tested in latest build (netbeans-linux-143-on-20201030-release.zip30 oct. 
> 2020 05:40:08)
> Project opened in Netbeans is set to PHP8.
> Netbeans shows a syntax error on PHP8 named arguments.
> These lines are valid in PHP8:
> array_fill(start_index: 0, num: 100, value: 50); // From RFC
> setcookie(name: 'test', expires: time() + 60 * 60 * 2,); // other example



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4970) Incorrect formatting for lambda functions

2020-10-30 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-4970.

Fix Version/s: 12.2
   Resolution: Fixed

Fixed.
https://github.com/apache/netbeans/pull/2502

> Incorrect formatting for lambda functions
> -
>
> Key: NETBEANS-4970
> URL: https://issues.apache.org/jira/browse/NETBEANS-4970
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 12.2
>
>
> Formatting is incorrect when a lambda function is used with a return 
> statement.
> Example code:
> {code:php}
>  function test(): callable {
> return function ($test): void {
> echo "test";
> };
> }
> {code}
> h3. Actual result:
> {code:php}
>  function test(): callable {
> return function ($test): void {
> echo "test";
> };
> }
> {code}
> h3. Expected result:
> {code:php}
>  function test(): callable {
> return function ($test): void {
> echo "test";
> };
> }
> {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] [Resolved] (NETBEANS-4901) phpDocumentor commandline arguments change

2020-10-30 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-4901.

Fix Version/s: 12.2
   Resolution: Fixed

Fixed.
https://github.com/apache/netbeans/pull/2502

> phpDocumentor commandline arguments change
> --
>
> Key: NETBEANS-4901
> URL: https://issues.apache.org/jira/browse/NETBEANS-4901
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - PHPDoc
>Affects Versions: 11.1
>Reporter: Vítězslav Dvořák
>Assignee: Junichi Yamamoto
>Priority: Minor
> Fix For: 12.2
>
>
> New phpdoc 3.0.0+ use different commandline syntax:
>  
> {color:#b26818}Options:{color} 
>   {color:#18b218}-t, --target[=TARGET]{color}{color:#00}  
> Path where to store the generated output {color}
>   {color:#18b218}--cache-folder[=CACHE-FOLDER]{color}{color:#00}  
> Path where to store the cache files {color}
>   {color:#18b218}-f, --filename[=FILENAME]{color}{color:#00}  
> File to parse, glob patterns are supported. Provide multiple options 
> of this type to add {color}
>  multiple 
> files.{color:#b26818} (multiple values allowed){color} 
>   {color:#18b218}-d, --directory[=DIRECTORY]{color}{color:#00}    
> directory to parse, glob patterns are supported. Provide multiple 
> options of this type to add {color}
>  multiple 
> directories.{color:#b26818} (multiple values allowed){color} 
>   {color:#18b218}--encoding[=ENCODING]{color}{color:#00}  
> encoding to be used to interpret source files with {color}
>   {color:#18b218}--extensions[=EXTENSIONS]{color}{color:#00}  
> Provide multiple options of this type to add multiple extensions. 
> default is php{color}{color:#b26818} (multiple values allowed){color} 
>   {color:#18b218}-i, --ignore[=IGNORE]{color}{color:#00}  
> File(s) and directories (relative to the source-code directory) that 
> will be ignored. Glob patterns are supported. Add multiple options of this 
> type of add more {color}
> ignore patterns{color:#b26818} (multiple values allowed){color} 
>   {color:#18b218}--ignore-tags[=IGNORE-TAGS]{color}{color:#00}    
> Tag that will be ignored, defaults to none. package, subpackage and 
> ignore may not be ignored. Add multiple options of this type to ignore 
> multiple tags.{color}{color:#b26818} (multip{color}
> le values allowed)    
>   
>   {color:#00} {color}
>   {color:#18b218}--hidden{color}{color:#00}   
> Use this option to tell phpDocumentor to parse files and directories 
> that begin with a period (.), by default these are ignored {color}
>   {color:#18b218}--ignore-symlinks{color}{color:#00}  
> Ignore symlinks to other files or directories, default is on {color}
>   {color:#18b218}-m, --markers[=MARKERS]{color}{color:#00}    
> Comma-separated list of markers/tags to filter{color}{color:#b26818} 
> (multiple values allowed){color} 
>   {color:#18b218}--title[=TITLE]{color}{color:#00}    
> Sets the title for this project; default is the phpDocumentor logo 
> {color}
>   {color:#18b218}--force{color}{color:#00}    
> Forces a full build of the documentation, does not increment existing 
> documentation {color}
>   {color:#18b218}--validate{color}{color:#00} 
> Validates every processed file using PHP Lint, costs a lot of 
> performance {color}
>   {color:#18b218}--visibility[=VISIBILITY]{color}{color:#00}  
> Specifies the parse visibility that should be displayed in the 
> documentation. Add multiple options of {color}
>  this type to specify 
> multiple levels.("public,protected"){color:#b26818} (multiple values 
> allowed){color} 
>   {color:#18b218}
> --defaultpackagename[=DEFAULTPACKAGENAME]{color}{color:#00}  Name to use 
> for the default package.{color}{color:#b26818} [default: "Default"]{color} 
>   {color:#18b218}--sourcecode{color}{color:#00}   
> Whether to include syntax highlighted source code {color}
>   {color:#18b218}--template[=TEMPLATE]{color}{color:#00}  
> Name of the template to use 

  1   2   3   4   5   6   7   8   9   >