[jira] [Closed] (NETBEANS-5599) PHP 8.1 Support

2022-06-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5599.
--
Resolution: Implemented

Finished in NB15.

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



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

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

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



[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2022-06-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6180:


Thanks.

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
> Attachments: test.zip
>
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



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

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

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



[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2022-05-31 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6180:


It seems that the attached project is empty...

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
> Attachments: test.zip
>
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



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

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

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



[jira] [Closed] (NETBEANS-5523) False positive on using "Require" in namespace

2022-05-24 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5523.
--
Resolution: Fixed

Fixed in NB15

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



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

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

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



[jira] [Commented] (NETBEANS-5599) PHP 8.1 Support

2022-05-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5599:


[~LWjuniOr] Great. Thank you!

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



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

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

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



[jira] [Commented] (NETBEANS-5599) PHP 8.1 Support

2022-05-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5599:


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

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

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



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

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

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



[jira] [Comment Edited] (NETBEANS-5599) PHP 8.1 Support

2022-05-02 Thread Junichi Yamamoto (Jira)


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

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

[~LWjuniOr] Thank you for catching it. 

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


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

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

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



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

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

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



[jira] [Commented] (NETBEANS-5599) PHP 8.1 Support

2022-05-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5599:


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

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

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



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

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

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



[jira] [Commented] (NETBEANS-6475) Php namespace input not filled up

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6475:


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

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

Thanks.

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



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

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

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



[jira] [Commented] (NETBEANS-6475) Php namespace input not filled up

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6475:


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

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

Thanks for understanding.

> 1) i have no time for that

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

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



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

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

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



[jira] [Commented] (NETBEANS-6475) Php namespace input not filled up

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6475:


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

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



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

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

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



[jira] [Updated] (NETBEANS-5599) PHP 8.1 Support

2022-04-26 Thread Junichi Yamamoto (Jira)


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

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

 

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


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



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

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

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



[jira] [Commented] (NETBEANS-6475) Php namespace input not filled up

2022-04-26 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6475:


Please attach an example project.

Then, please write your exact steps to reproduce it.

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



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

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

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



[jira] [Updated] (NETBEANS-5523) False positive on using "Require" in namespace

2022-04-26 Thread Junichi Yamamoto (Jira)


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

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

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



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

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

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



[jira] [Updated] (NETBEANS-5523) False positive on using "Require" in namespace

2022-04-26 Thread Junichi Yamamoto (Jira)


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

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

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



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

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

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



[jira] [Updated] (NETBEANS-5599) PHP 8.1 Support

2022-03-26 Thread Junichi Yamamoto (Jira)


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

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

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


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



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

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

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



[jira] [Commented] (NETBEANS-5599) PHP 8.1 Support

2022-03-10 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5599:


[~eviweb] No problem :)

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



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

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

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



[jira] [Commented] (NETBEANS-5599) PHP 8.1 Support

2022-03-09 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5599:


I'm working on PHP 8.1 support little by little. It's not easy to implement new 
features. It takes a lot of time.

So just wait.

Thank you for understanding.

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



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

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

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



[jira] [Commented] (NETBEANS-6465) java.lang.IllegalArgumentException in org.netbeans.modules.parsing.api.Source.createSnapshot

2022-02-17 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6465:


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

> java.lang.IllegalArgumentException in 
> org.netbeans.modules.parsing.api.Source.createSnapshot
> 
>
> Key: NETBEANS-6465
> URL: https://issues.apache.org/jira/browse/NETBEANS-6465
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-56863585d0ac228073579fe7605ad314b85b9687)
> Java: 17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8-86
> Runtime: OpenJDK Runtime Environment 17.0.2+8-86
> System: Linux version 5.16.0-1-amd64 running on amd64; UTF-8; en_US (nb)
>Reporter: Grigory Ivanov
>Priority: Major
>
> During code analysis "Unexpected Exception: 
> java.lang.IllegalArgumentException: newPosition > limit: (1 > 0)" occurs.
> In details it says "system should continue working", but code 
> completion/inspection are broken for current project.
> It seems like some file has badly encoded character in it, but netbeans does 
> not show which one and does not handle exception for that file, skipping not 
> only this bad file, but entire scanning/analysing process.
> Version 12.5 does not have any problems with same files and same settings, 
> but 12.6 and onward has.
> Stack trace from most current build (#813, 
> NetBeans-dev-dev-56863585d0ac228073579fe7605ad314b85b9687):
>  
> {code:java}
> java.lang.IllegalArgumentException: newPosition > limit: (1 > 0)
>     at java.base/java.nio.Buffer.createPositionException(Buffer.java:341)
>     at java.base/java.nio.Buffer.position(Buffer.java:316)
>     at java.base/java.nio.ByteBuffer.position(ByteBuffer.java:1516)
>     at 
> java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:622)
>     at 
> org.netbeans.api.queries.FileEncodingQuery$ProxyCharset$ProxyDecoder.decodeLoop(FileEncodingQuery.java:191)
>     at 
> java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:585)
> Caused: java.nio.charset.CoderMalfunctionError
>     at 
> java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:587)
>     at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:305)
>     at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
>     at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
>     at org.netbeans.modules.parsing.api.Source.createSnapshot(Source.java:360)
>     at 
> org.netbeans.modules.parsing.impl.SourceCache.createSnapshot(SourceCache.java:157)
>     at 
> org.netbeans.modules.parsing.impl.SourceCache.getSnapshot(SourceCache.java:132)
>     at 
> org.netbeans.modules.parsing.api.ResultIterator.getSnapshot(ResultIterator.java:86)
>     at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1T.run(RepositoryUpdater.java:3153)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:169)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:140)
>     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:85)
>     at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3253)
>     at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2861)
>     at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.lambda$index$0(RepositoryUpdater.java:2626)
>     at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>     at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2625)
>     at 
> 

[jira] [Closed] (NETBEANS-6438) Add code folding for PHP attributes

2022-02-10 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-6438.
--
Resolution: Implemented

NB14

> Add code folding for PHP attributes
> ---
>
> Key: NETBEANS-6438
> URL: https://issues.apache.org/jira/browse/NETBEANS-6438
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.6
>Reporter: Cyril VERLOOP
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Attachments: Product.php
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Hi,
> Is it possible to add a code folding option for PHP attributes ?
> Thanks
> [^Product.php]



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

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

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



[jira] [Commented] (NETBEANS-6438) Add code folding for PHP attributes

2022-02-10 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6438:


You are welcome.

> Add code folding for PHP attributes
> ---
>
> Key: NETBEANS-6438
> URL: https://issues.apache.org/jira/browse/NETBEANS-6438
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.6
>Reporter: Cyril VERLOOP
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Attachments: Product.php
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Hi,
> Is it possible to add a code folding option for PHP attributes ?
> Thanks
> [^Product.php]



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

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

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



[jira] [Closed] (NETBEANS-5600) PHP8 Stringable interface

2022-02-09 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5600.
--
Fix Version/s: NB13
   Resolution: Fixed

Stringable is available in NB13.

> PHP8 Stringable interface
> -
>
> Key: NETBEANS-5600
> URL: https://issues.apache.org/jira/browse/NETBEANS-5600
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Fix For: NB13
>
>
> Can you add Stringable interface ?
> [https://www.php.net/manual/en/class.stringable.php]
> The Stringable interface denotes a class as having a __toString() method. 
> Unlike most interfaces, Stringable is implicitly present on any class that 
> has the magic __toString() method defined, although it can and *should be 
> declared explicitly.*
> *Case 1:*
>  # Create a class
>  # add "implements Stringable"
>  # Menu Source->InsertCode>Override and implement method
>  # Netbeans should propose "__toString" function
> *Case 2*
> In a class with the __toString function coded, netbeans should show a warning 
> on Class line if "implements Stringable" is missing.
>  
> Thanks



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

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

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



[jira] [Assigned] (NETBEANS-6438) Add code folding for PHP attributes

2022-02-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6438:
--

Assignee: Junichi Yamamoto

> Add code folding for PHP attributes
> ---
>
> Key: NETBEANS-6438
> URL: https://issues.apache.org/jira/browse/NETBEANS-6438
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.6
>Reporter: Cyril VERLOOP
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Product.php
>
>
> Hi,
> Is it possible to add a code folding option for PHP attributes ?
> Thanks
> [^Product.php]



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

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

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



[jira] [Updated] (NETBEANS-6438) Add code folding for PHP attributes

2022-02-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6438:
---
Affects Version/s: 12.6

> Add code folding for PHP attributes
> ---
>
> Key: NETBEANS-6438
> URL: https://issues.apache.org/jira/browse/NETBEANS-6438
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 12.6
>Reporter: Cyril VERLOOP
>Priority: Minor
> Attachments: Product.php
>
>
> Hi,
> Is it possible to add a code folding option for PHP attributes ?
> Thanks
> [^Product.php]



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

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

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



[jira] [Updated] (NETBEANS-6438) Add code folding for PHP attributes

2022-02-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6438:
---
Component/s: php - Editor

> Add code folding for PHP attributes
> ---
>
> Key: NETBEANS-6438
> URL: https://issues.apache.org/jira/browse/NETBEANS-6438
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.6
>Reporter: Cyril VERLOOP
>Priority: Minor
> Attachments: Product.php
>
>
> Hi,
> Is it possible to add a code folding option for PHP attributes ?
> Thanks
> [^Product.php]



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

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

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



[jira] [Closed] (NETBEANS-6177) Netbeans not send STOP command to xdebug

2022-02-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-6177.
--
Fix Version/s: NB13
   Resolution: Fixed

Fixed.

> Netbeans not send STOP command to xdebug
> 
>
> Key: NETBEANS-6177
> URL: https://issues.apache.org/jira/browse/NETBEANS-6177
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 12.3, 12.4, 12.5, 12.6
> Environment: PHP 8.0.12 (cli) (built: Oct 22 2021 12:34:48) ( NTS )
> Copyright (c) The PHP Group
> Zend Engine v4.0.12, Copyright (c) Zend Technologies
>  with Zend OPcache v8.0.12, Copyright (c), by Zend Technologies
>  with Xdebug v3.1.1, Copyright (c) 2002-2021, by Derick Rethans
>Reporter: Joseph Marques
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: NB13
>
> Attachments: xdebug-netbeans-12.2.log, xdebug-netbeans-12.5.log
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Netbeans not sending "stop" command to gdb/xdebug when click on "finish 
> debbuger session" button while debugging and stopped in breakpoint, so script 
> continue to the end,  ignoring all other breakpoints.
> The expected behavior is to stop debbuger immediately when click on "finish 
> debbuger session" button while stopped on breakpoint.
> In netbeans 12.2 it works ok, but when tried on 12.4 and 12.5, this problem 
> happens.
> See attachment logs.
>  
> How to reproduce: with breakpoint setted on "echo" line, while debbuging and 
> stopped in the breakpoint, click on "Finish Debbuger Session" button:
> {code:java}
>  echo 'exit';
> exit;
> {code}
> Result:
> Expected (Netbeans 12.2): stop without print 'exit' on the console.
> Error (Netbeans 12.5): print 'exit' on the console and exit (or execute all 
> code after echo line if exists).
>  



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

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

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



[jira] [Commented] (NETBEANS-6422) PHP named argument indentation

2022-01-27 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6422:


I can't reproduce it. Write your exact steps with details (actual formatting 
options, etc.) to reproduce it.

Attach an example project as a zip file.

> PHP named argument indentation
> --
>
> Key: NETBEANS-6422
> URL: https://issues.apache.org/jira/browse/NETBEANS-6422
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5, 12.6
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
>
> Hi,
> Netbeans does not align code with named Arguments (php8.x) correctly
> {code:java}
> class Foo
> {    public static function m1(string $arg1, string $arg2): void
>     {
>     }
> }
> class Test
> {
>     function badIndentation(): void
>     {
>         Foo::m1(
>             arg1: self::create($this->create('ni')),
>                                              arg2: 'something'
>         );
>     }
>     public function create(string $test): string
>     {
>         return $test;
>     }
> }
> {code}
> Note the "arg2" line to the far right, aligned with the create function.
> arg1: and arg2: must have the same alignment.
> I checked my formatting preferences, i can't find something strange.
> I addition, is there a way to have a PSR-12 compliant formatting option 
> without manually changing Netbeans preferences ?
> Thanks



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

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

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



[jira] [Assigned] (NETBEANS-6422) PHP named argument indentation

2022-01-27 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6422:
--

Assignee: Junichi Yamamoto

> PHP named argument indentation
> --
>
> Key: NETBEANS-6422
> URL: https://issues.apache.org/jira/browse/NETBEANS-6422
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5, 12.6
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Major
>
> Hi,
> Netbeans does not align code with named Arguments (php8.x) correctly
> {code:java}
> class Foo
> {    public static function m1(string $arg1, string $arg2): void
>     {
>     }
> }
> class Test
> {
>     function badIndentation(): void
>     {
>         Foo::m1(
>             arg1: self::create($this->create('ni')),
>                                              arg2: 'something'
>         );
>     }
>     public function create(string $test): string
>     {
>         return $test;
>     }
> }
> {code}
> Note the "arg2" line to the far right, aligned with the create function.
> arg1: and arg2: must have the same alignment.
> I checked my formatting preferences, i can't find something strange.
> I addition, is there a way to have a PSR-12 compliant formatting option 
> without manually changing Netbeans preferences ?
> Thanks



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

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

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



[jira] [Updated] (NETBEANS-5599) PHP 8.1 Support

2022-01-13 Thread Junichi Yamamoto (Jira)


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

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

  was:
[https://wiki.php.net/rfc#php_81]
 * [https://wiki.php.net/rfc/final_class_const]
 * [https://wiki.php.net/rfc/noreturn_type]
 * [https://wiki.php.net/rfc/readonly_properties_v2]
 * [https://wiki.php.net/rfc/new_in_initializers]


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



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

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

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



[jira] [Assigned] (NETBEANS-6177) Netbeans not send STOP command to xdebug

2021-12-24 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6177:
--

Assignee: Junichi Yamamoto

> Netbeans not send STOP command to xdebug
> 
>
> Key: NETBEANS-6177
> URL: https://issues.apache.org/jira/browse/NETBEANS-6177
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 12.3, 12.4, 12.5, 12.6
> Environment: PHP 8.0.12 (cli) (built: Oct 22 2021 12:34:48) ( NTS )
> Copyright (c) The PHP Group
> Zend Engine v4.0.12, Copyright (c) Zend Technologies
>  with Zend OPcache v8.0.12, Copyright (c), by Zend Technologies
>  with Xdebug v3.1.1, Copyright (c) 2002-2021, by Derick Rethans
>Reporter: Joseph Marques
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: xdebug-netbeans-12.2.log, xdebug-netbeans-12.5.log
>
>
> Netbeans not sending "stop" command to gdb/xdebug when click on "finish 
> debbuger session" button while debugging and stopped in breakpoint, so script 
> continue to the end,  ignoring all other breakpoints.
> The expected behavior is to stop debbuger immediately when click on "finish 
> debbuger session" button while stopped on breakpoint.
> In netbeans 12.2 it works ok, but when tried on 12.4 and 12.5, this problem 
> happens.
> See attachment logs.
>  
> How to reproduce: with breakpoint setted on "echo" line, while debbuging and 
> stopped in the breakpoint, click on "Finish Debbuger Session" button:
> {code:java}
>  echo 'exit';
> exit;
> {code}
> Result:
> Expected (Netbeans 12.2): stop without print 'exit' on the console.
> Error (Netbeans 12.5): print 'exit' on the console and exit (or execute all 
> code after echo line if exists).
>  



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

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

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



[jira] [Closed] (NETBEANS-6317) Can't create project (PHP)

2021-12-21 Thread Junichi Yamamoto (Jira)


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

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

> Can't create project (PHP)
> --
>
> Key: NETBEANS-6317
> URL: https://issues.apache.org/jira/browse/NETBEANS-6317
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project
>Affects Versions: 12.6
>Reporter: Mikkel Trebbien
>Priority: Minor
>  Labels: IDE, php
> Fix For: 12.6
>
> Attachments: Untitled.png, messages.log
>
>
> Dear community.
> I've just downloaded and installed latest NetBeans version (NetBeans 12.6).
> I already have some projects (4 projects) imported from NetBeans 12, but 
> wanted to create a new project.
> This failed, and I honestly don't understand why, so I'll include the error 
> log here (uploaded file).
> Edit: Before installing NetBeans 12.6, I downloaded and installed latest Java 
> x64 update.
> Update:
> First, I tried to create a new *PHP 8.0* project, with {*}FTP/FTPS 
> connection{*}, this failed.
> Second, I tried to create a new *PHP 8.0* project, with {*}local source{*}, 
> this failed.
> Third, I tried to create a new *PHP 7.4* project, with {*}local source{*}, 
> this also failed.



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

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

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



[jira] [Reopened] (NETBEANS-6317) Can't create project (PHP)

2021-12-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reopened NETBEANS-6317:


> Can't create project (PHP)
> --
>
> Key: NETBEANS-6317
> URL: https://issues.apache.org/jira/browse/NETBEANS-6317
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project
>Affects Versions: 12.6
>Reporter: Mikkel Trebbien
>Priority: Minor
>  Labels: IDE, php
> Fix For: 12.6
>
> Attachments: Untitled.png, messages.log
>
>
> Dear community.
> I've just downloaded and installed latest NetBeans version (NetBeans 12.6).
> I already have some projects (4 projects) imported from NetBeans 12, but 
> wanted to create a new project.
> This failed, and I honestly don't understand why, so I'll include the error 
> log here (uploaded file).
> Edit: Before installing NetBeans 12.6, I downloaded and installed latest Java 
> x64 update.
> Update:
> First, I tried to create a new *PHP 8.0* project, with {*}FTP/FTPS 
> connection{*}, this failed.
> Second, I tried to create a new *PHP 8.0* project, with {*}local source{*}, 
> this failed.
> Third, I tried to create a new *PHP 7.4* project, with {*}local source{*}, 
> this also failed.



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

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

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



[jira] [Commented] (NETBEANS-6317) Can't create project (PHP)

2021-12-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6317:


java.lang.UnsupportedClassVersionError: 
de/funfried/netbeans/plugins/external/formatter/ui/editor/ExternalFormatterCodeStylePreferencesProvider
 has been compiled by a more recent version of the Java Runtime (class file 
version 55.0), this version of the Java Runtime only recognizes class file 
versions up to 52.0

Maybe, the plugin has the cause. So, please uninstall the plugin or please 
install the new version if it has it.

> Can't create project (PHP)
> --
>
> Key: NETBEANS-6317
> URL: https://issues.apache.org/jira/browse/NETBEANS-6317
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project
>Affects Versions: 12.6
>Reporter: Mikkel Trebbien
>Priority: Minor
>  Labels: IDE, php
> Attachments: Untitled.png, messages.log
>
>
> Dear community.
> I've just downloaded and installed latest NetBeans version (NetBeans 12.6).
> I already have some projects (4 projects) imported from NetBeans 12, but 
> wanted to create a new project.
> This failed, and I honestly don't understand why, so I'll include the error 
> log here (uploaded file).
> Edit: Before installing NetBeans 12.6, I downloaded and installed latest Java 
> x64 update.
> Update:
> First, I tried to create a new *PHP 8.0* project, with {*}FTP/FTPS 
> connection{*}, this failed.
> Second, I tried to create a new *PHP 8.0* project, with {*}local source{*}, 
> this failed.
> Third, I tried to create a new *PHP 7.4* project, with {*}local source{*}, 
> this also failed.



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

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

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



[jira] [Updated] (NETBEANS-6317) Can't create project (PHP)

2021-12-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6317:
---
Priority: Minor  (was: Critical)

> Can't create project (PHP)
> --
>
> Key: NETBEANS-6317
> URL: https://issues.apache.org/jira/browse/NETBEANS-6317
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project
>Affects Versions: 12.6
>Reporter: Mikkel Trebbien
>Priority: Minor
>  Labels: IDE, php
> Attachments: Untitled.png, messages.log
>
>
> Dear community.
> I've just downloaded and installed latest NetBeans version (NetBeans 12.6).
> I already have some projects (4 projects) imported from NetBeans 12, but 
> wanted to create a new project.
> This failed, and I honestly don't understand why, so I'll include the error 
> log here (uploaded file).
> Edit: Before installing NetBeans 12.6, I downloaded and installed latest Java 
> x64 update.
> Update:
> First, I tried to create a new *PHP 8.0* project, with {*}FTP/FTPS 
> connection{*}, this failed.
> Second, I tried to create a new *PHP 8.0* project, with {*}local source{*}, 
> this failed.
> Third, I tried to create a new *PHP 7.4* project, with {*}local source{*}, 
> this also failed.



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

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

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



[jira] [Updated] (NETBEANS-5599) PHP 8.1 Support

2021-12-09 Thread Junichi Yamamoto (Jira)


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

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

  was:
[https://wiki.php.net/rfc#php_81]
 * [https://wiki.php.net/rfc/final_class_const]
 * [https://wiki.php.net/rfc/noreturn_type]
 * [https://wiki.php.net/rfc/readonly_properties_v2]


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



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

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

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



[jira] [Commented] (NETBEANS-6265) StackOverflowError in JsIndexer.java:221

2021-12-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6265:


It would be nice if you can provide an example code to reproduce it.

> StackOverflowError in JsIndexer.java:221
> 
>
> Key: NETBEANS-6265
> URL: https://issues.apache.org/jira/browse/NETBEANS-6265
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
>Reporter: Vlasta Ramik
>Priority: Major
>
> Hello I got following error:
> {noformat}
> WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]
> java.lang.StackOverflowError
>   at java.base/java.util.WeakHashMap.getTable(WeakHashMap.java:350)
>   at java.base/java.util.WeakHashMap.get(WeakHashMap.java:398)
>   at 
> org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:121)
>   at 
> org.openide.util.lookup.AbstractLookup.lookupItem(AbstractLookup.java:402)
>   at 
> org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:396)
>   at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:281)
>   at 
> org.netbeans.modules.javascript2.model.JsElementImpl.isInternalFile(JsElementImpl.java:194)
>   at 
> org.netbeans.modules.javascript2.model.JsElementImpl.isPlatform(JsElementImpl.java:188)
>   at 
> org.netbeans.modules.javascript2.model.api.IndexedElement$Flag.getFlag(IndexedElement.java:387)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.createDocument(JsIndexer.java:121)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:221)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229)
>   at 
> 

[jira] [Commented] (NETBEANS-5449) Failed parsing of SCSS files with namespaced variables through @use "import"

2021-12-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5449:


[~JeroenNX] You should provide not only image files but also an example code to 
reproduce your problem. Otherwise, your problem might not be fixed correctly.

> Failed parsing of SCSS files with namespaced variables through @use "import"
> 
>
> Key: NETBEANS-5449
> URL: https://issues.apache.org/jira/browse/NETBEANS-5449
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 12.1, 12.2, 12.3
> Environment: Windows 10 20H2 Build 19042.867 (same issue present with 
> previous versions)
> OpenJDK 15.0.2 (same issue with previous versions)
> Dart Sass 1.32.8 (same issue with previous versions)
>Reporter: Jeroen
>Assignee: Matthias Bläsing
>Priority: Major
> Fix For: 12.6
>
> Attachments: Capture.PNG, NetBeans.PNG
>
>
> When parsing an .scss file, after the first line with a namespaced variable 
> has been encountered ("imported" through @use, see: 
> [https://sass-lang.com/documentation/at-rules/use)] syntax highlighting, code 
> completion, etc stop working after that.
> Regarding the attached screenshot.
>  # Tooltip when hovering red dotted line says: "Unexpected token SEMI found"
>  # Tooltip says: "Unexpected token DOT found"
>  # All text black, no green/blue, no more syntax highlighting, code 
> completion, etc
> When re-saving the main scss file, the file does get compiled by dart sass to 
> a valid CSS file without any issues/errors.



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

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

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



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

2021-12-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4978:


Report it as a new issue with your 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
>Affects Versions: 12.0
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> 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.20.1#820001)

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

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



[jira] [Assigned] (NETBEANS-6254) Support for prefixed @phpstan-* annotations

2021-12-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6254:
--

Assignee: Junichi Yamamoto

> Support for prefixed @phpstan-* annotations
> ---
>
> Key: NETBEANS-6254
> URL: https://issues.apache.org/jira/browse/NETBEANS-6254
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis, php - Editor
>Affects Versions: 12.5
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Major
>
> Please implement support for at least basic prefixed tags specific to PHPStan.
> The most basic ones are {{phpstan-var}}, {{phpstan-param}} and 
> {{phpstan-return}} and they do exact same thing as native non-prefixed 
> annotation tags, except that they support some extra syntax for defining 
> advanced types, which can be a topic for a separate Jira issue.
> Lack of support for these types can cause some classes in {{use}} statements 
> to be shown as unused and automatically removed by Fix Imports feature. It 
> may happen without the user noticing and result in a build failure later.
> https://phpstan.org/writing-php-code/phpdocs-basics#prefixed-tags



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

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

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



[jira] [Updated] (NETBEANS-5599) PHP 8.1 Support

2021-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5599:
---
Description: 
[https://wiki.php.net/rfc#php_81]
 * [https://wiki.php.net/rfc/final_class_const]
 * [https://wiki.php.net/rfc/noreturn_type]
 * [https://wiki.php.net/rfc/readonly_properties_v2]

  was:
[https://wiki.php.net/rfc#php_81]
 * [https://wiki.php.net/rfc/final_class_const]


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



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

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

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



[jira] [Updated] (NETBEANS-6250) PHP project settings: Run configuration dialog buttons disappear on long URL-arguments

2021-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6250:
---
Component/s: php - Project
 (was: cnd - Mixed Development)

> PHP project settings: Run configuration dialog buttons disappear on long 
> URL-arguments
> --
>
> Key: NETBEANS-6250
> URL: https://issues.apache.org/jira/browse/NETBEANS-6250
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Project
>Affects Versions: 12.5
> Environment: Netbeans IDE for Windows 10
> I have a PHP project. Customizing the project settings: Open "Run 
> configuration" dialog.
> When I enter a long text into the arguments input, the buttons "Browse" and 
> "Advanced" disappear. It seems that the long text causes the buttons to move 
> right out of the dialog window. (See attachment.)
>  
>Reporter: Bernhard Abmayr
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Netbeans_RunConfigurationDlg.png
>
>
> Netbeans IDE 12.5 for Windows 10
> I have a PHP project. Customizing the project settings: Open "Run 
> configuration" dialog.
> When I enter a long text into the arguments input, the buttons "Browse" and 
> "Advanced" disappear. It seems that the long text causes the buttons to move 
> right out of the dialog window. (See attachment.)
>  



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

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

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



[jira] [Commented] (NETBEANS-6250) PHP project settings: Run configuration dialog buttons disappear on long URL-arguments

2021-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6250:


Please try to drag the right side of the window.

> PHP project settings: Run configuration dialog buttons disappear on long 
> URL-arguments
> --
>
> Key: NETBEANS-6250
> URL: https://issues.apache.org/jira/browse/NETBEANS-6250
> Project: NetBeans
>  Issue Type: Improvement
>  Components: cnd - Mixed Development
>Affects Versions: 12.5
> Environment: Netbeans IDE for Windows 10
> I have a PHP project. Customizing the project settings: Open "Run 
> configuration" dialog.
> When I enter a long text into the arguments input, the buttons "Browse" and 
> "Advanced" disappear. It seems that the long text causes the buttons to move 
> right out of the dialog window. (See attachment.)
>  
>Reporter: Bernhard Abmayr
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Netbeans_RunConfigurationDlg.png
>
>
> Netbeans IDE 12.5 for Windows 10
> I have a PHP project. Customizing the project settings: Open "Run 
> configuration" dialog.
> When I enter a long text into the arguments input, the buttons "Browse" and 
> "Advanced" disappear. It seems that the long text causes the buttons to move 
> right out of the dialog window. (See attachment.)
>  



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

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

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



[jira] [Closed] (NETBEANSINFRA-261) PHP project settings: Run configuration dialog buttons disappear on long URL-arguments

2021-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANSINFRA-261.
--
Resolution: Invalid

It's an incorrect place here.

> PHP project settings: Run configuration dialog buttons disappear on long 
> URL-arguments
> --
>
> Key: NETBEANSINFRA-261
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-261
> Project: Apache NetBeans Infra
>  Issue Type: Improvement
>Reporter: Bernhard Abmayr
>Priority: Minor
> Attachments: Netbeans_RunConfigurationDlg.png
>
>
> Netbeans IDE for Windows 10
> I have a PHP project. Customizing the project settings: Open "Run 
> configuration" dialog.
> When I enter a long text into the arguments input, the buttons "Browse" and 
> "Advanced" disappear. It seems that the long text causes the buttons to move 
> right out of the dialog window. (See attachment.)
>  



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

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

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



[jira] [Assigned] (NETBEANS-6250) PHP project settings: Run configuration dialog buttons disappear on long URL-arguments

2021-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6250:
--

Assignee: Junichi Yamamoto

> PHP project settings: Run configuration dialog buttons disappear on long 
> URL-arguments
> --
>
> Key: NETBEANS-6250
> URL: https://issues.apache.org/jira/browse/NETBEANS-6250
> Project: NetBeans
>  Issue Type: Improvement
>  Components: cnd - Mixed Development
>Affects Versions: 12.5
> Environment: Netbeans IDE for Windows 10
> I have a PHP project. Customizing the project settings: Open "Run 
> configuration" dialog.
> When I enter a long text into the arguments input, the buttons "Browse" and 
> "Advanced" disappear. It seems that the long text causes the buttons to move 
> right out of the dialog window. (See attachment.)
>  
>Reporter: Bernhard Abmayr
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Netbeans_RunConfigurationDlg.png
>
>
> Netbeans IDE 12.5 for Windows 10
> I have a PHP project. Customizing the project settings: Open "Run 
> configuration" dialog.
> When I enter a long text into the arguments input, the buttons "Browse" and 
> "Advanced" disappear. It seems that the long text causes the buttons to move 
> right out of the dialog window. (See attachment.)
>  



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

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

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



[jira] [Commented] (NETBEANSINFRA-261) PHP project settings: Run configuration dialog buttons disappear on long URL-arguments

2021-12-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANSINFRA-261:


Please report it to https://issues.apache.org/jira/projects/NETBEANS/issues

> PHP project settings: Run configuration dialog buttons disappear on long 
> URL-arguments
> --
>
> Key: NETBEANSINFRA-261
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-261
> Project: Apache NetBeans Infra
>  Issue Type: Improvement
>Reporter: Bernhard Abmayr
>Priority: Minor
> Attachments: Netbeans_RunConfigurationDlg.png
>
>
> Netbeans IDE for Windows 10
> I have a PHP project. Customizing the project settings: Open "Run 
> configuration" dialog.
> When I enter a long text into the arguments input, the buttons "Browse" and 
> "Advanced" disappear. It seems that the long text causes the buttons to move 
> right out of the dialog window. (See attachment.)
>  



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

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

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



[jira] [Commented] (NETBEANS-5600) PHP8 Stringable interface

2021-11-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5600:


It's not updated automatically.
PHP 8.1 is not supported for NetBeans yet.

> PHP8 Stringable interface
> -
>
> Key: NETBEANS-5600
> URL: https://issues.apache.org/jira/browse/NETBEANS-5600
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Can you add Stringable interface ?
> [https://www.php.net/manual/en/class.stringable.php]
> The Stringable interface denotes a class as having a __toString() method. 
> Unlike most interfaces, Stringable is implicitly present on any class that 
> has the magic __toString() method defined, although it can and *should be 
> declared explicitly.*
> *Case 1:*
>  # Create a class
>  # add "implements Stringable"
>  # Menu Source->InsertCode>Override and implement method
>  # Netbeans should propose "__toString" function
> *Case 2*
> In a class with the __toString function coded, netbeans should show a warning 
> on Class line if "implements Stringable" is missing.
>  
> Thanks



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

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

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



[jira] [Commented] (NETBEANS-5600) PHP8 Stringable interface

2021-11-24 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5600:


Maybe, NB13.

You need not wait. You can add it to the 
sigfiles(netbeans/php/docs/phpsigfiles.zip) yourself if you would like to add 
it soon.

> PHP8 Stringable interface
> -
>
> Key: NETBEANS-5600
> URL: https://issues.apache.org/jira/browse/NETBEANS-5600
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Can you add Stringable interface ?
> [https://www.php.net/manual/en/class.stringable.php]
> The Stringable interface denotes a class as having a __toString() method. 
> Unlike most interfaces, Stringable is implicitly present on any class that 
> has the magic __toString() method defined, although it can and *should be 
> declared explicitly.*
> *Case 1:*
>  # Create a class
>  # add "implements Stringable"
>  # Menu Source->InsertCode>Override and implement method
>  # Netbeans should propose "__toString" function
> *Case 2*
> In a class with the __toString function coded, netbeans should show a warning 
> on Class line if "implements Stringable" is missing.
>  
> Thanks



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

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

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



[jira] [Updated] (NETBEANS-5599) PHP 8.1 Support

2021-11-23 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5599:
---
Description: 
[https://wiki.php.net/rfc#php_81]
 * [https://wiki.php.net/rfc/final_class_const]

  was:https://wiki.php.net/rfc#php_81


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



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

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

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



[jira] [Closed] (NETBEANS-2472) Add indicator to class constant / properties that have been overwritten in a child class like with overwritten class methods

2021-11-22 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-2472.
--
Fix Version/s: NB13
   Resolution: Fixed

Fixed.

> Add indicator to class constant / properties that have been overwritten in a 
> child class like with overwritten class methods
> 
>
> Key: NETBEANS-2472
> URL: https://issues.apache.org/jira/browse/NETBEANS-2472
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations, editor - Navigation, 
> php - Navigation
>Reporter: Drew
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: NB13
>
> Attachments: Capture.png
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Class properties and constants that have been overwritten in a child class 
> should get an indicator that the variable has been overridden. This feature 
> exists for class methods already. 
> Like with overwritten class methods, the indicator should give option to see 
> all child classes that have overwritten the variable and jump to the 
> overriding definition in the selected child class; in the child class there 
> should be an option to jump to parent class and see default value/definition.
>  
> Ex)
> {{class a {}}
> {{    const apple = 1;}}
> {{}}}
>  
> {{class b extends a}}{
> {{    const apple =  3;}}
> }
> !Capture.png!



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

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

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



[jira] [Closed] (NETBEANS-3362) Navigator doesn't show inherited members

2021-11-19 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-3362.
--
Fix Version/s: NB13
   Resolution: Fixed

Fixed.

> Navigator doesn't show inherited members
> 
>
> Key: NETBEANS-3362
> URL: https://issues.apache.org/jira/browse/NETBEANS-3362
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - CSL (API  infrastructure), php - Navigation
>Affects Versions: 12.0, 11.2, 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Ricardo Sanz Ante
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: features, pull-request-available
> Fix For: NB13
>
>  Time Spent: 6h 10m
>  Remaining Estimate: 0h
>
> PHP navigator doesn't not show inherited members like methods from parent 
> classes. This functionality is available for Java.
> This is a major issue as PHP code is more and more object-oriented.  For 
> example, Druapl official documentation discourages the use of NetBeans: 
> "_Note that NetBeans is missing an option to display the inherited methods 
> and properties from parent Classes and Interfaces which makes it very hard to 
> use for developing code for Drupal 8 and using another editor/IDE is 
> recommended_"_._ See 
> [https://www.drupal.org/docs/develop/development-tools/development-tools-overview#s-integrated-development-environments-ides]
>  (Netbeans section).
>  
> This bug was declared in the former bugtracker system and is 11 years old: 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=143879|https://netbeans.org/bugzilla/show_bug.cgi?id=143879]



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

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

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



[jira] [Closed] (NETBEANS-6217) Allow Convert Visibility Suggestion to be disabled

2021-11-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-6217.
--
Fix Version/s: NB13
   Resolution: Fixed

Fixed.

> Allow Convert Visibility Suggestion to be disabled
> --
>
> Key: NETBEANS-6217
> URL: https://issues.apache.org/jira/browse/NETBEANS-6217
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: NB13
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently, there is no option for Convert Visibility Suggestion (Hint).
> So, allow it to be disabled.



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

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

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



[jira] [Created] (NETBEANS-6217) Allow Convert Visibility Suggestion to be disabled

2021-11-18 Thread Junichi Yamamoto (Jira)
Junichi Yamamoto created NETBEANS-6217:
--

 Summary: Allow Convert Visibility Suggestion to be disabled
 Key: NETBEANS-6217
 URL: https://issues.apache.org/jira/browse/NETBEANS-6217
 Project: NetBeans
  Issue Type: Improvement
  Components: php - Editor
Affects Versions: 12.5
Reporter: Junichi Yamamoto
Assignee: Junichi Yamamoto


Currently, there is no option for Convert Visibility Suggestion (Hint).
So, allow it to be disabled.



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

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

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



[jira] [Assigned] (NETBEANS-6216) Error parsing php file

2021-11-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6216:
--

Assignee: Junichi Yamamoto

> Error parsing php file
> --
>
> Key: NETBEANS-6216
> URL: https://issues.apache.org/jira/browse/NETBEANS-6216
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Michael Vorisek
>Assignee: Junichi Yamamoto
>Priority: Major
>
> NetBeans fails currently to parse this php file: https://pastebin.com/rPDSEVpC



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

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

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



[jira] [Updated] (NETBEANS-6216) Error parsing php file

2021-11-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6216:
---
Component/s: php - Editor
 (was: editor - Parsing & Indexing)

> Error parsing php file
> --
>
> Key: NETBEANS-6216
> URL: https://issues.apache.org/jira/browse/NETBEANS-6216
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Michael Vorisek
>Priority: Major
>
> NetBeans fails currently to parse this php file: https://pastebin.com/rPDSEVpC



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

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

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



[jira] [Commented] (NETBEANS-6216) Error parsing php file

2021-11-18 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6216:


Reproducible. Thanks for reporting it.

 

Simple example code:
{code:php}
 "test"][1](); // error occurs
{code}

> Error parsing php file
> --
>
> Key: NETBEANS-6216
> URL: https://issues.apache.org/jira/browse/NETBEANS-6216
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing
>Affects Versions: 12.5
>Reporter: Michael Vorisek
>Priority: Major
>
> NetBeans fails currently to parse this php file: https://pastebin.com/rPDSEVpC



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

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

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



[jira] [Closed] (NETBEANS-6193) Can't use attributes with interface constants and methods

2021-11-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-6193.
--
Fix Version/s: NB13
   Resolution: Fixed

Fixed.

> Can't use attributes with interface constants and methods
> -
>
> Key: NETBEANS-6193
> URL: https://issues.apache.org/jira/browse/NETBEANS-6193
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: NB13
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> The following code is valid. However, if we use attributes with interface 
> constants and methods, syntax errors occur.
> Example code:
> {code:php}
>  #[I1]
> interface I {
> #[I2(1)] // syntax error occurs
> public const I_CONST = "interface";
> #[I3] // syntax error occurs
> public function method(#[I4] $param1, #[I5(), I6("test")] $param): void; 
> // syntax error occurs
> }
> $refI = new \ReflectionClass(I::class);
> $sourcesI = [
> $refI,
> $refI->getReflectionConstant('I_CONST'),
> $refI->getMethod('method'),
> $refI->getMethod('method')->getParameters()[0],
> $refI->getMethod('method')->getParameters()[1],
> ];
> foreach ($sourcesI as $r) {
>   $attr = $r->getAttributes();
>   var_dump(get_class($r), count($attr));
> foreach ($attr as $a) {
> var_dump($a->getName(), $a->getArguments());
> }
> echo "\n";
> }{code}
> Result:
> string(15) "ReflectionClass"
> int(1)
> string(2) "I1"
> array(0) {
> }
> string(23) "ReflectionClassConstant"
> int(1)
> string(2) "I2"
> array(1) {
>   [0]=>
>   int(1)
> }
> string(16) "ReflectionMethod"
> int(1)
> string(2) "I3"
> array(0) {
> }
> string(19) "ReflectionParameter"
> int(1)
> string(2) "I4"
> array(0) {
> }
> string(19) "ReflectionParameter"
> int(2)
> string(2) "I5"
> array(0) {
> }
> string(2) "I6"
> array(1) {
>   [0]=>
>   string(4) "test"
> }
> Steps to reproduce:
>  # Create a PHP project
>  # Create a new file
>  # Copy and paste the above example code



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

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

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



[jira] [Created] (NETBEANS-6193) Can't use attributes with interface constants and methods

2021-11-10 Thread Junichi Yamamoto (Jira)
Junichi Yamamoto created NETBEANS-6193:
--

 Summary: Can't use attributes with interface constants and methods
 Key: NETBEANS-6193
 URL: https://issues.apache.org/jira/browse/NETBEANS-6193
 Project: NetBeans
  Issue Type: Bug
  Components: php - Editor
Affects Versions: 12.5
Reporter: Junichi Yamamoto
Assignee: Junichi Yamamoto


The following code is valid. However, if we use attributes with interface 
constants and methods, syntax errors occur.

Example code:
{code:php}
getReflectionConstant('I_CONST'),
$refI->getMethod('method'),
$refI->getMethod('method')->getParameters()[0],
$refI->getMethod('method')->getParameters()[1],
];

foreach ($sourcesI as $r) {
$attr = $r->getAttributes();
var_dump(get_class($r), count($attr));

foreach ($attr as $a) {
var_dump($a->getName(), $a->getArguments());
}

echo "\n";
}{code}
Result:

string(15) "ReflectionClass"
int(1)
string(2) "I1"
array(0) {
}

string(23) "ReflectionClassConstant"
int(1)
string(2) "I2"
array(1) {
  [0]=>
  int(1)
}

string(16) "ReflectionMethod"
int(1)
string(2) "I3"
array(0) {
}

string(19) "ReflectionParameter"
int(1)
string(2) "I4"
array(0) {
}

string(19) "ReflectionParameter"
int(2)
string(2) "I5"
array(0) {
}
string(2) "I6"
array(1) {
  [0]=>
  string(4) "test"
}

Steps to reproduce:
 # Create a PHP project
 # Create a new file
 # Copy and paste the above example code



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

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

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



[jira] [Commented] (NETBEANS-6015) Memory Leak in PHP Parser

2021-11-08 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6015:


Duplicate? https://issues.apache.org/jira/browse/NETBEANS-6086

> Memory Leak in PHP Parser
> -
>
> Key: NETBEANS-6015
> URL: https://issues.apache.org/jira/browse/NETBEANS-6015
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: Ubuntu 20.4
> Open JDK 11
>Reporter: Anisur Mullick
>Assignee: Lars Bogren
>Priority: Blocker
>  Labels: background-scanning
>
> 
>  2021-09-17T08:06:27
>  1631846187154
>  48
>  global
>  1000
>  22
>  
> /home/anisur/snap/netbeans/common/data/12.4/var/log/heapdump.hprof
>  
>  java.lang.OutOfMemoryError: Java heap space
>  
> 
> 
>  2021-09-17T08:17:35
>  1631846855694
>  79
>  org.netbeans.ui
>  700
>  35
>  UI_ENABLED_MODULES
>  UI_ENABLED_MODULES
>  org.netbeans.modules.uihandler.Bundle
>  org.netbeans.modules.testng.ant [2.27]
>  org.openide.filesystems.nb [9.22]
>  org.netbeans.modules.xml.wsdl.model/1 [1.45.0.1]
>  org.netbeans.modules.web.common [1.111]
>  org.netbeans.modules.nbjunit/1 [1.102]
>  org.netbeans.modules.welcome/1 [1.54]
>  org.netbeans.modules.languages.ini [1.37]
>  org.netbeans.modules.ant.hints/1 [1.6]
>  org.eclipse.mylyn.commons.core [3.17.0]
>  org.netbeans.modules.localtasks [1.37]
>  org.netbeans.modules.editor.mimelookup.impl/1 [1.44]
>  org.netbeans.modules.php.zend [1.44]
>  org.netbeans.modules.php.dbgp [1.54]
>  org.netbeans.modules.ant.grammar/1 [1.56]
>  org.netbeans.modules.extexecution.base/2 [1.18]
>  org.netbeans.modules.project.indexingbridge [1.29]
>  org.netbeans.modules.php.smarty [1.98]
>  org.netbeans.modules.java.editor.base [2.77.0.1]
>  org.netbeans.modules.refactoring.api [1.59.0.1]
>  org.netbeans.api.web.webmodule [1.50]
>  org.netbeans.modules.java.editor/1 [2.80.0.12.1.1.1]
>  org.netbeans.libs.osgi [1.34]
>  org.netbeans.modules.versioning.util [1.82.0.42.1]
>  org.netbeans.modules.i18n/1 [1.65]
>  org.netbeans.modules.xml.lexer [1.42]
>  org.eclipse.core.runtime.compatibility.auth [3.2.200]
>  org.netbeans.libs.svnClientAdapter/1 [1.52]
>  org.netbeans.modules.db.metadata.model/1 [1.23]
>  org.openide.modules [7.60]
>  org.netbeans.modules.ide.branding/1 [1.44]
>  org.netbeans.modules.project.ant.ui/1 [1.77]
>  org.netbeans.modules.testng [2.32]
>  org.netbeans.modules.javascript2.react [0.11]
>  org.netbeans.modules.groovy.editor/2 [1.75]
>  org.netbeans.modules.php.code.analysis [0.25]
>  org.netbeans.modules.form.kit [1.40]
>  org.netbeans.lib.uihandler [1.57]
>  org.netbeans.modules.updatecenters/1 [1.52]
>  org.eclipse.core.jobs [3.5.100]
>  org.netbeans.modules.markdown [1.0]
>  org.netbeans.modules.debugger.jpda.projectsui [1.15]
>  org.netbeans.modules.xml.catalog.ui [2.15.0.4]
>  org.eclipse.jgit [5.7.0]
>  org.netbeans.modules.defaults/1 [1.43]
>  org.apache.commons.logging [1.2]
>  org.netbeans.libs.ini4j/1 [1.46]
>  org.netbeans.modules.gradle.kit [1.8]
>  org.netbeans.modules.dlight.nativeexecution [1.51.0.1]
>  org.netbeans.modules.xml.axi [1.45]
>  org.netbeans.modules.java.disco [1.0]
>  org.netbeans.modules.editor.lib/3 [4.19.0.23.3.55]
>  org.netbeans.modules.java.platform.ui/1 [1.54]
>  org.netbeans.modules.utilities.project/1 [1.50]
>  org.netbeans.modules.hudson.subversion [1.41]
>  org.netbeans.modules.javascript2.source.query/0 [0.11]
>  org.netbeans.modules.maven.grammar/1 [1.59.0.1]
>  org.netbeans.modules.image/1 [1.60]
>  org.netbeans.spi.debugger.jpda.ui [3.15]
>  org.netbeans.api.annotations.common/1 [1.40]
>  org.netbeans.modules.derby [1.52]
>  org.netbeans.modules.html.indexing [1.2]
>  org.netbeans.modules.xml.text/2 [1.71.0.1]
>  org.netbeans.modules.dbapi [1.46.0.30]
>  org.netbeans.modules.php.twig/1 [1.37]
>  org.netbeans.modules.xml.tax/2 [1.56.0.281]
>  org.netbeans.libs.jna.platform/2 [2.7]
>  org.netbeans.libs.bytelist/1 [0.42.0.1]
>  org.netbeans.modules.dlight.nativeexecution.nb [1.12]
>  org.netbeans.modules.j2ee.persistenceapi/1 [1.48.0.1]
>  org.netbeans.api.progress.nb [1.60]
>  org.netbeans.modules.db.sql.visualeditor/1 [2.43.0.30]
>  org.eclipse.mylyn.tasks.core [3.17.0]
>  org.netbeans.modules.php.composer/0 [0.42]
>  org.netbeans.modules.j2ee.jpa.refactoring [1.43]
>  org.netbeans.modules.classfile/1 [1.64]
>  org.netbeans.modules.masterfs.linux [1.25]
>  org.netbeans.modules.lsp.client/0 [1.11.0.1.1]
>  org.netbeans.modules.keyring.impl [1.36]
>  org.netbeans.modules.java.project/1 [1.84]
>  org.netbeans.core.browser.webview/1 [1.27.0.1.1]
>  org.netbeans.modules.j2ee.api.ejbmodule [1.49]
>  org.netbeans.modules.maven.indexer/2 [2.52]
>  org.netbeans.modules.tasklist.kit [1.40]
>  org.netbeans.modules.java.source.nbjavac [1.12.0.1.3.25.5.1]
>  

[jira] [Updated] (NETBEANS-6180) Improve PSR-4 Namespace rules

2021-11-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6180:
---
Component/s: php - Editor
 (was: apisupport - Project)
 (was: cnd - Editor)

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



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

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

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



[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2021-11-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6180:


Please attach your example project.

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Project, cnd - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



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

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

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



[jira] [Closed] (NETBEANS-6054) PHP Template missing Namespace option

2021-11-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-6054.
--
Fix Version/s: 12.6
   Resolution: Fixed

I've verified this with NetBeans 12.6-rc2. It should be OK.

https://lists.apache.org/thread/9fbt64k87p7m1fwsb0r5vtblo22of77l

> PHP Template missing Namespace option
> -
>
> Key: NETBEANS-6054
> URL: https://issues.apache.org/jira/browse/NETBEANS-6054
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project, platform - Templates
>Affects Versions: 12.4
>Reporter: Kevin Andrews
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: Screenshot from 2021-09-24 10-01-01.png, Screenshot from 
> 2021-09-24 10-01-40.png, Screenshot from 2021-09-24 10-02-43.png, Screenshot 
> from 2021-09-24 10-02-56.png, Screenshot from 2021-09-24 10-03-34.png, 
> Screenshot from 2021-09-24 10-04-15.png, Screenshot from 2021-09-24 
> 10-05-00.png, Screenshot from 2021-09-24 10-05-18.png, Screenshot from 
> 2021-09-24 10-05-27.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> As a 
> PHP Developer
> I want to
> Create additional PHP Class template files which still allow entering 
> namespace in the file creation wizard after moving them to sub-directories 
> and restarting the IDE
> So that
> Namespaces are automatically entered into the file created.
> Issue Details:
> Creating a new template by going to:
> Tools -> Templates
> Navigating to the PHP folder
> Duplicate "PHP Class"
> Creating a new file from this template correctly fills out and asks about 
> Namespace (context is obtained when using the tree right click -> new).
> After restarting NetBeans it seems to lose this ability and no longer 
> displays the namespace box when creating a new file from this duplicated 
> template.
> Also moving the template into a sub folder loses this context as well.
>  
>  



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

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

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



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

2021-11-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-4978.
--
Fix Version/s: 12.6
   Resolution: Fixed

I've verified this with NetBeans 12.6-rc2. It should be OK.

https://lists.apache.org/thread/9fbt64k87p7m1fwsb0r5vtblo22of77l

> 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
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> 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.20.1#820001)

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

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



[jira] [Assigned] (NETBEANS-2472) Add indicator to class constant / properties that have been overwritten in a child class like with overwritten class methods

2021-11-03 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-2472:
--

Assignee: Junichi Yamamoto

> Add indicator to class constant / properties that have been overwritten in a 
> child class like with overwritten class methods
> 
>
> Key: NETBEANS-2472
> URL: https://issues.apache.org/jira/browse/NETBEANS-2472
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations, editor - Navigation, 
> php - Navigation
>Reporter: Drew
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Capture.png
>
>
> Class properties and constants that have been overwritten in a child class 
> should get an indicator that the variable has been overridden. This feature 
> exists for class methods already. 
> Like with overwritten class methods, the indicator should give option to see 
> all child classes that have overwritten the variable and jump to the 
> overriding definition in the selected child class; in the child class there 
> should be an option to jump to parent class and see default value/definition.
>  
> Ex)
> {{class a {}}
> {{    const apple = 1;}}
> {{}}}
>  
> {{class b extends a}}{
> {{    const apple =  3;}}
> }
> !Capture.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-4978) PHP Menu Source->Fix uses break code

2021-11-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4978:


Maybe you built with the master branch.
It's not available in the master branch yet. We merged it into the delivery 
branch to be available with NB12.6.
So, please build it with the delivery branch, or wait for being released the 
NB12.6 RC2.

> 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
>  Labels: pull-request-available
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> 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-6054) PHP Template missing Namespace option

2021-10-28 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6054:


[~kevinandrews]

Fixed. It would be nice if you can verify it with NetBeans 12.6-RC2. (RC2 is 
not available yet.)

> PHP Template missing Namespace option
> -
>
> Key: NETBEANS-6054
> URL: https://issues.apache.org/jira/browse/NETBEANS-6054
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project, platform - Templates
>Affects Versions: 12.4
>Reporter: Kevin Andrews
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Attachments: Screenshot from 2021-09-24 10-01-01.png, Screenshot from 
> 2021-09-24 10-01-40.png, Screenshot from 2021-09-24 10-02-43.png, Screenshot 
> from 2021-09-24 10-02-56.png, Screenshot from 2021-09-24 10-03-34.png, 
> Screenshot from 2021-09-24 10-04-15.png, Screenshot from 2021-09-24 
> 10-05-00.png, Screenshot from 2021-09-24 10-05-18.png, Screenshot from 
> 2021-09-24 10-05-27.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> As a 
> PHP Developer
> I want to
> Create additional PHP Class template files which still allow entering 
> namespace in the file creation wizard after moving them to sub-directories 
> and restarting the IDE
> So that
> Namespaces are automatically entered into the file created.
> Issue Details:
> Creating a new template by going to:
> Tools -> Templates
> Navigating to the PHP folder
> Duplicate "PHP Class"
> Creating a new file from this template correctly fills out and asks about 
> Namespace (context is obtained when using the tree right click -> new).
> After restarting NetBeans it seems to lose this ability and no longer 
> displays the namespace box when creating a new file from this duplicated 
> template.
> Also moving the template into a sub folder loses this context as well.
>  
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6083) Fix Imports move use statement before namespace and file-level docblock

2021-10-27 Thread Junichi Yamamoto (Jira)


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

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

> Fix Imports move use statement before namespace and file-level docblock
> ---
>
> Key: NETBEANS-6083
> URL: https://issues.apache.org/jira/browse/NETBEANS-6083
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Priority: Minor
> Attachments: fix_import.gif
>
>
> As you can see in the video,  when I first hit _{{"Ctrl+Shift-I}}"_, all 
> 'Exception' class  of the project are not listed in dropdown.
> Then, when I hit again _{{"Ctrl+Shift-I}}"_  after file-level docblock added, 
> all 'Exception' class of the project are listed except the PHP core Exception 
> class. After validation, all use statements are moved to the top of the file 
> and previously imported 'Exception' class disappear



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

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

2021-10-27 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4978:


I've created a PR. It would be nice if you can verify it. 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
>Affects Versions: 12.0
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Attachments: 01BeforeFixUses.png, 02AfterFixUses.png, BugClass.php, 
> BugScreencast.mov
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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-6054) PHP Template missing Namespace option

2021-10-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6054:
---
Component/s: (was: php - Code)
 php - Project

> PHP Template missing Namespace option
> -
>
> Key: NETBEANS-6054
> URL: https://issues.apache.org/jira/browse/NETBEANS-6054
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project, platform - Templates
>Affects Versions: 12.4
>Reporter: Kevin Andrews
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Screenshot from 2021-09-24 10-01-01.png, Screenshot from 
> 2021-09-24 10-01-40.png, Screenshot from 2021-09-24 10-02-43.png, Screenshot 
> from 2021-09-24 10-02-56.png, Screenshot from 2021-09-24 10-03-34.png, 
> Screenshot from 2021-09-24 10-04-15.png, Screenshot from 2021-09-24 
> 10-05-00.png, Screenshot from 2021-09-24 10-05-18.png, Screenshot from 
> 2021-09-24 10-05-27.png
>
>
> As a 
> PHP Developer
> I want to
> Create additional PHP Class template files which still allow entering 
> namespace in the file creation wizard after moving them to sub-directories 
> and restarting the IDE
> So that
> Namespaces are automatically entered into the file created.
> Issue Details:
> Creating a new template by going to:
> Tools -> Templates
> Navigating to the PHP folder
> Duplicate "PHP Class"
> Creating a new file from this template correctly fills out and asks about 
> Namespace (context is obtained when using the tree right click -> new).
> After restarting NetBeans it seems to lose this ability and no longer 
> displays the namespace box when creating a new file from this duplicated 
> template.
> Also moving the template into a sub folder loses this context as well.
>  
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6054) PHP Template missing Namespace option

2021-10-25 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6054:
--

Assignee: Junichi Yamamoto

> PHP Template missing Namespace option
> -
>
> Key: NETBEANS-6054
> URL: https://issues.apache.org/jira/browse/NETBEANS-6054
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code, platform - Templates
>Affects Versions: 12.4
>Reporter: Kevin Andrews
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Screenshot from 2021-09-24 10-01-01.png, Screenshot from 
> 2021-09-24 10-01-40.png, Screenshot from 2021-09-24 10-02-43.png, Screenshot 
> from 2021-09-24 10-02-56.png, Screenshot from 2021-09-24 10-03-34.png, 
> Screenshot from 2021-09-24 10-04-15.png, Screenshot from 2021-09-24 
> 10-05-00.png, Screenshot from 2021-09-24 10-05-18.png, Screenshot from 
> 2021-09-24 10-05-27.png
>
>
> As a 
> PHP Developer
> I want to
> Create additional PHP Class template files which still allow entering 
> namespace in the file creation wizard after moving them to sub-directories 
> and restarting the IDE
> So that
> Namespaces are automatically entered into the file created.
> Issue Details:
> Creating a new template by going to:
> Tools -> Templates
> Navigating to the PHP folder
> Duplicate "PHP Class"
> Creating a new file from this template correctly fills out and asks about 
> Namespace (context is obtained when using the tree right click -> new).
> After restarting NetBeans it seems to lose this ability and no longer 
> displays the namespace box when creating a new file from this duplicated 
> template.
> Also moving the template into a sub folder loses this context as well.
>  
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5970) Add the option for HTML palette completion

2021-10-22 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5970.
--
Fix Version/s: 12.6
   Resolution: Fixed

> Add the option for HTML palette completion
> --
>
> Key: NETBEANS-5970
> URL: https://issues.apache.org/jira/browse/NETBEANS-5970
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 12.4
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.6
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently, we can't disable the palette completion feature. It might be 
> annoying for some people. So, we should add the option for it.



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

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

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



[jira] [Commented] (NETBEANS-4997) MS Edge defaultBrowserExecutable command not working with file schema in the url

2021-10-22 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4997:


Could you please write the exact steps to reproduce it?

e.g.
 # something
 # ...
 # ...

> MS Edge defaultBrowserExecutable command not working with file schema in the 
> url
> 
>
> Key: NETBEANS-4997
> URL: https://issues.apache.org/jira/browse/NETBEANS-4997
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Niya Omerska
>Assignee: Steven Swor
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> When using Microsoft Edge as browser for loading help content and passing URL 
> which points to a local file (i.e. of the type 
> *file:///C:*) the browser is opened but the HTML is not 
> loaded. 
> *Root cause*: 
>  * Library:  org-netbeans-modules-extbrowser-RELEASE112.jar
>  * Class: MicrosoftEdgeBrowser.java
>  * Method: defaultBrowserExecutable
>  * params is set to */C start microsoft-edge:\{URL}*. However this command 
> does not work for file: scheme (for reference: 
> [https://stackoverflow.com/questions/31164253/how-to-open-url-in-microsoft-edge-from-the-command-line]
>  )
>  
> *Workaround:*
> Params is set to: */C start 
> shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge \{URL}* 
> (for reference: 
> [https://stackoverflow.com/questions/44155087/how-to-open-local-html-file-with-ms-edge]
>  )



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6083) Fix Imports move use statement before namespace and file-level docblock

2021-10-22 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6083:


Well, it's another problem, I think. So, please report it as a new issue. 
Thanks.

> Fix Imports move use statement before namespace and file-level docblock
> ---
>
> Key: NETBEANS-6083
> URL: https://issues.apache.org/jira/browse/NETBEANS-6083
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Priority: Minor
> Attachments: fix_import.gif
>
>
> As you can see in the video,  when I first hit _{{"Ctrl+Shift-I}}"_, all 
> 'Exception' class  of the project are not listed in dropdown.
> Then, when I hit again _{{"Ctrl+Shift-I}}"_  after file-level docblock added, 
> all 'Exception' class of the project are listed except the PHP core Exception 
> class. After validation, all use statements are moved to the top of the file 
> and previously imported 'Exception' class disappear



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6083) Fix Imports move use statement before namespace and file-level docblock

2021-10-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-6083 at 10/21/21, 1:22 PM:
---

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

I'll close this(NETBEANS-6083) as a Duplicate later.


was (Author: junichi11):
Duplicate: https://issues.apache.org/jira/browse/NETBEANS-4978

I'll close this as a Duplicate later.

> Fix Imports move use statement before namespace and file-level docblock
> ---
>
> Key: NETBEANS-6083
> URL: https://issues.apache.org/jira/browse/NETBEANS-6083
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Priority: Minor
> Attachments: fix_import.gif
>
>
> As you can see in the video,  when I first hit _{{"Ctrl+Shift-I}}"_, all 
> 'Exception' class  of the project are not listed in dropdown.
> Then, when I hit again _{{"Ctrl+Shift-I}}"_  after file-level docblock added, 
> all 'Exception' class of the project are listed except the PHP core Exception 
> class. After validation, all use statements are moved to the top of the file 
> and previously imported 'Exception' class disappear



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6083) Fix Imports move use statement before namespace and file-level docblock

2021-10-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6083:


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

I'll close this as a Duplicate later.

> Fix Imports move use statement before namespace and file-level docblock
> ---
>
> Key: NETBEANS-6083
> URL: https://issues.apache.org/jira/browse/NETBEANS-6083
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Priority: Minor
> Attachments: fix_import.gif
>
>
> As you can see in the video,  when I first hit _{{"Ctrl+Shift-I}}"_, all 
> 'Exception' class  of the project are not listed in dropdown.
> Then, when I hit again _{{"Ctrl+Shift-I}}"_  after file-level docblock added, 
> all 'Exception' class of the project are listed except the PHP core Exception 
> class. After validation, all use statements are moved to the top of the file 
> and previously imported 'Exception' class disappear



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6083) Fix Imports move use statement before namespace and file-level docblock

2021-10-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6083:


Thanks. Maybe, the cause is not a docblock comment but the caret position.

Please try to do it when the caret is after a namespace name.

I'm working on this problem.

> Fix Imports move use statement before namespace and file-level docblock
> ---
>
> Key: NETBEANS-6083
> URL: https://issues.apache.org/jira/browse/NETBEANS-6083
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Priority: Minor
> Attachments: fix_import.gif
>
>
> As you can see in the video,  when I first hit _{{"Ctrl+Shift-I}}"_, all 
> 'Exception' class  of the project are not listed in dropdown.
> Then, when I hit again _{{"Ctrl+Shift-I}}"_  after file-level docblock added, 
> all 'Exception' class of the project are listed except the PHP core Exception 
> class. After validation, all use statements are moved to the top of the file 
> and previously imported 'Exception' class disappear



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5523) False positive on using "Require" in namespace

2021-10-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5523:


Thanks.

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



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5523) False positive on using "Require" in namespace

2021-10-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5523:


> It IS correct,

I know it. It is implemented in PHP 8.0. (It is invalid in PHP 7.4 or older.) 
There should be documentation somewhere (e.g. rfc, PHP manual). So I asked you 
(Do you know where to find the documentation about it?) If you know it, please 
tell me. If you don't know, I'll look for it later.

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



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6087) Refactor a private function inside trait don't apply everywhere

2021-10-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-6087.
--
Fix Version/s: 12.6
   Resolution: Fixed

Fixed.

> Refactor a private function inside trait don't apply everywhere
> ---
>
> Key: NETBEANS-6087
> URL: https://issues.apache.org/jira/browse/NETBEANS-6087
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Refactoring
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: update_private_method_in_trait.gif
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> I'm trying to refactor a private function inside trait but the function name 
> is not changed to the new one where they are called in other classes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5523) False positive on using "Require" in namespace

2021-10-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5523:


It seems to be valid in PHP 8.0. Do you know where to find the documentation 
about it?

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



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6083) Fix Imports move use statement before namespace and file-level docblock

2021-10-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6083:


[~frkinta] Could you also write an example code?

> Fix Imports move use statement before namespace and file-level docblock
> ---
>
> Key: NETBEANS-6083
> URL: https://issues.apache.org/jira/browse/NETBEANS-6083
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Priority: Minor
> Attachments: fix_import.gif
>
>
> As you can see in the video,  when I first hit _{{"Ctrl+Shift-I}}"_, all 
> 'Exception' class  of the project are not listed in dropdown.
> Then, when I hit again _{{"Ctrl+Shift-I}}"_  after file-level docblock added, 
> all 'Exception' class of the project are listed except the PHP core Exception 
> class. After validation, all use statements are moved to the top of the file 
> and previously imported 'Exception' class disappear



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-4997) MS Edge defaultBrowserExecutable command not working with file schema in the url

2021-10-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-4997:
--

Assignee: Steven Swor

> MS Edge defaultBrowserExecutable command not working with file schema in the 
> url
> 
>
> Key: NETBEANS-4997
> URL: https://issues.apache.org/jira/browse/NETBEANS-4997
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Niya Omerska
>Assignee: Steven Swor
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> When using Microsoft Edge as browser for loading help content and passing URL 
> which points to a local file (i.e. of the type 
> *file:///C:*) the browser is opened but the HTML is not 
> loaded. 
> *Root cause*: 
>  * Library:  org-netbeans-modules-extbrowser-RELEASE112.jar
>  * Class: MicrosoftEdgeBrowser.java
>  * Method: defaultBrowserExecutable
>  * params is set to */C start microsoft-edge:\{URL}*. However this command 
> does not work for file: scheme (for reference: 
> [https://stackoverflow.com/questions/31164253/how-to-open-url-in-microsoft-edge-from-the-command-line]
>  )
>  
> *Workaround:*
> Params is set to: */C start 
> shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge \{URL}* 
> (for reference: 
> [https://stackoverflow.com/questions/44155087/how-to-open-local-html-file-with-ms-edge]
>  )



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5849) Autocomplete for PHP use stops working right after line with "use" which use grouping

2021-10-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5849.
--
Fix Version/s: 12.6
   Resolution: Fixed

Fixed.

> Autocomplete for PHP use stops working right after line with "use" which use 
> grouping
> -
>
> Key: NETBEANS-5849
> URL: https://issues.apache.org/jira/browse/NETBEANS-5849
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.4
> Environment: Windows 10 64-bit
> NetBeans 12.4 binaries
> PHP 7.4.21
>Reporter: Olexandr Ponomarenko
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.6
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Test project structure:
> NS1\First.php
>  NS1\Second.php
>  NS2\Third.php
>  test.php
> Trying to autocomplete class name NS2\Third in test.php fails:
>   
> {code:php}
>  use NS1\{
> First,
> Second
> };
> use third<<<
> {code}
> But it works well if used before "use" with grouping:
> {code:php}
>  use NS2\Third;
> use NS1\{
> First,
> Second
> };
> {code}
> Also, autocompletion for class names works fine inside class body which has 
> grouping in use block.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5905) step debug from commandline

2021-10-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-5905.
--
Fix Version/s: 12.6
   Resolution: Fixed

Fixed.

> step debug from commandline
> ---
>
> Key: NETBEANS-5905
> URL: https://issues.apache.org/jira/browse/NETBEANS-5905
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 12.3
>Reporter: Heinz Schweitzer
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.6
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> This is not an Xdebug issue. Netbeans should not care about what the idekey 
> is,
> in order to decide whether to do anything with an incoming debugging session.
> Please file an issue with Netbeans:
> Filed a defect against Xdebug,  [https://bugs.xdebug.org/view.php?id=2005] 
> but the above was the responds from there. Below you will find my input.
> I am using step debugging via Netbeans with no problems at all , but following
> the documentation for doing so on the command line I found out that the
> recommended setting for 
> set XDEBUG_SESSION=1
> will not work.  Doing so, the log file for Xdebug shows me this line :
> [276] [Step Debug] ->  xmlns:xdebug=
> ["https://xdebug.org/dbgp/xdebug;|https://xdebug.org/dbgp/xdebug]
> fileuri=
> ["file:///F:/xampp-htdocs/phpWebSocketServer/ignore/getOptions.php"|file:///F:/xampp-htdocs/phpWebSocketServer/ignore/getOptions.php]
> language="PHP" xdebug:language_version="8.0.4RC1" protocol_version="1.0"
> appid="276" idekey="1"> version="3.0.4">
> Here the idekey equals the value of XDEBUG_SESSION, therefore there is no
> reaction in Netbeans where I set my breakpoints. The PHP  script just hangs.
> Setting XDEBUG_SESSION=netbeans-xdebug  will make things work, when Xdebug is
> already started via Netbeans.  I  could not manage to get Xdebug started from
> the command line. The record from the log file looks now like:
> [11056] [Step Debug] ->  xmlns:xdebug=
> ["https://xdebug.org/dbgp/xdebug;|https://xdebug.org/dbgp/xdebug]
> fileuri=
> ["file:///F:/xampp-htdocs/phpWebSocketServer/ignore/getOptions.php"|file:///F:/xampp-htdocs/phpWebSocketServer/ignore/getOptions.php]
> language="PHP" xdebug:language_version="8.0.4RC1" protocol_version="1.0"
> appid="11056" idekey="netbeans-xdebug"> version="3.0.4">
> Am I missing something ?



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

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

2021-10-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-3391.
--
Fix Version/s: 12.6
   Resolution: Fixed

Fixed.

> 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
>  Labels: pull-request-available
> Fix For: 12.6
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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-6087) Refactor a private function inside trait don't apply everywhere

2021-10-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6087:


[~frkinta]

I can reproduce it.  However, please write your example code to reproduce it.

> Refactor a private function inside trait don't apply everywhere
> ---
>
> Key: NETBEANS-6087
> URL: https://issues.apache.org/jira/browse/NETBEANS-6087
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Refactoring
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: update_private_method_in_trait.gif
>
>
> I'm trying to refactor a private function inside trait but the function name 
> is not changed to the new one where they are called in other classes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6087) Refactor a private function inside trait don't apply everywhere

2021-10-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6087:
---
Component/s: php - Refactoring

> Refactor a private function inside trait don't apply everywhere
> ---
>
> Key: NETBEANS-6087
> URL: https://issues.apache.org/jira/browse/NETBEANS-6087
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor, php - Refactoring
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: update_private_method_in_trait.gif
>
>
> I'm trying to refactor a private function inside trait but the function name 
> is not changed to the new one where they are called in other classes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6087) Refactor a private function inside trait don't apply everywhere

2021-10-20 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6087:
--

Assignee: Junichi Yamamoto

> Refactor a private function inside trait don't apply everywhere
> ---
>
> Key: NETBEANS-6087
> URL: https://issues.apache.org/jira/browse/NETBEANS-6087
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.4, 12.5
>Reporter: frkinta
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: update_private_method_in_trait.gif
>
>
> I'm trying to refactor a private function inside trait but the function name 
> is not changed to the new one where they are called in other classes



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6037) Fix Imports for PHP code should not reorder groups of use statements

2021-09-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6037:


*Example 1*
{code:php}
use B;
use A;
use function fnB;
use function fnA;
use const constA;
use const constC;
use const constB
{code}
->
{code:php}
use A;
use B;
use function fnA;
use function fnB;
use const constA;
use const constB;
use const constC
{code}

*Example 2*
{code:php}
use B;
use A;
use const constA;
use const constC;
use const constB
use function fnB;
use function fnA;
{code}
->
{code:php}
use A;
use B;
use const constA;
use const constB;
use const constC
use function fnA;
use function fnB;
{code}

> Fix Imports for PHP code should not reorder groups of use statements
> 
>
> Key: NETBEANS-6037
> URL: https://issues.apache.org/jira/browse/NETBEANS-6037
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.5
> Environment: *Product Version:* Apache NetBeans IDE 12.5
> *Java:* 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27
> *Runtime:* OpenJDK Runtime Environment 15.0.2+7-27
>Reporter: Czukowski
>Priority: Minor
>
> Please see an example below.
> Here, if Fix Imports function (Ctrl+Shift-I) is used, {{use function}} and 
> {{use const}} switch places. Depending on which coding standards are being 
> used in the project, this change may fail the check and the user would have 
> to revert it by hand each time the Fix Imports function is used.
> As far as I know, there's no corresponding setting in NetBeans Project 
> properties, therefore I think the best behavior would be to leave the {{use}} 
> groups ordering as is and only do an alphabetical ordering within each one. 
> {code:php}
>  namespace Cz\Test\FixUsage;
> use Generator;
> use function sort;
> use const SORT_NUMERIC;
> class Class1
> {
> public function __construct(private array $values)
> {
> }
> public function sortAndIterate(): Generator
> {
> sort($this->values, SORT_NUMERIC);
> foreach ($this->values as $value) {
> yield $value;
> }
> }
> }
> {code}



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

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

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



[jira] [Assigned] (NETBEANS-6037) Fix Imports for PHP code should not reorder groups of use statements

2021-09-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6037:
--

Assignee: Junichi Yamamoto

> Fix Imports for PHP code should not reorder groups of use statements
> 
>
> Key: NETBEANS-6037
> URL: https://issues.apache.org/jira/browse/NETBEANS-6037
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.5
> Environment: *Product Version:* Apache NetBeans IDE 12.5
> *Java:* 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27
> *Runtime:* OpenJDK Runtime Environment 15.0.2+7-27
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Please see an example below.
> Here, if Fix Imports function (Ctrl+Shift-I) is used, {{use function}} and 
> {{use const}} switch places. Depending on which coding standards are being 
> used in the project, this change may fail the check and the user would have 
> to revert it by hand each time the Fix Imports function is used.
> As far as I know, there's no corresponding setting in NetBeans Project 
> properties, therefore I think the best behavior would be to leave the {{use}} 
> groups ordering as is and only do an alphabetical ordering within each one. 
> {code:php}
>  namespace Cz\Test\FixUsage;
> use Generator;
> use function sort;
> use const SORT_NUMERIC;
> class Class1
> {
> public function __construct(private array $values)
> {
> }
> public function sortAndIterate(): Generator
> {
> sort($this->values, SORT_NUMERIC);
> foreach ($this->values as $value) {
> yield $value;
> }
> }
> }
> {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-6012) NullPointer when using Netbeans

2021-09-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6012:


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

> NullPointer when using Netbeans
> ---
>
> Key: NETBEANS-6012
> URL: https://issues.apache.org/jira/browse/NETBEANS-6012
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Abraham Tehrani
>Priority: Major
>
> java.lang.NullPointerException: Passed null to 
> FileOwnerQuery.getOwner(FileObject)
>   at 
> org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:84)
>   at 
> org.radar.radarlint.EditorAnnotator.getIssueAnnotation(EditorAnnotator.java:116)
>   at 
> org.radar.radarlint.IssueRuleHyperlinkProvider.isHyperlinkPoint(IssueRuleHyperlinkProvider.java:40)
>   at 
> org.netbeans.lib.editor.hyperlink.HyperlinkOperation.findProvider(HyperlinkOperation.java:266)
>   at 
> org.netbeans.lib.editor.hyperlink.HyperlinkOperation.performHyperlinking(HyperlinkOperation.java:224)
>   at 
> org.netbeans.lib.editor.hyperlink.HyperlinkOperation.keyPressed(HyperlinkOperation.java:382)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:257)
>   at java.desktop/java.awt.Component.processKeyEvent(Component.java:6584)
>   at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2896)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6403)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2266)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
>   at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1952)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:883)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1150)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1020)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:848)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4882)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
>   at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
>   at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
>   at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:746)
>   at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:744)
>   at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:743)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)



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

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

[jira] [Commented] (NETBEANS-6002) make "@return static[]" works

2021-09-14 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6002:


Please write an example code and expected result.

> make "@return static[]" works
> -
>
> Key: NETBEANS-6002
> URL: https://issues.apache.org/jira/browse/NETBEANS-6002
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.4
>Reporter: Titum
>Priority: Trivial
>
> The "@return static" statement in PHPDoc works well, the autocompletion uses 
> the Class of the returned object.
> But "@return static[]" not allows the autocompletion to understand it is an 
> array of the static object



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6002) make "@return static[]" works

2021-09-14 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6002:
---
Component/s: php - Editor

> make "@return static[]" works
> -
>
> Key: NETBEANS-6002
> URL: https://issues.apache.org/jira/browse/NETBEANS-6002
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.4
>Reporter: Titum
>Priority: Trivial
>
> The "@return static" statement in PHPDoc works well, the autocompletion uses 
> the Class of the returned object.
> But "@return static[]" not allows the autocompletion to understand it is an 
> array of the static object



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-6001) Yaml parser eats memory up to 100% in case of syntax errors

2021-09-14 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-6001:
---
Component/s: yaml - Editor

> Yaml parser eats memory up to 100% in case of syntax errors
> ---
>
> Key: NETBEANS-6001
> URL: https://issues.apache.org/jira/browse/NETBEANS-6001
> Project: NetBeans
>  Issue Type: Bug
>  Components: yaml - Editor
>Affects Versions: 12.4
> Environment: Netbeans 12.4
> Java jdk-16.0.1+9 from AdoptOpenJDK
> Ubuntu 20.04
> Both Netbeans and the JDK installed from their respective websites, not the 
> Ubuntu packet manager
>  
>  
>Reporter: Guntram Blohm
>Priority: Major
>
> When editing a YAML file, if there is a syntax error, netbeans eats up memory 
> until it reaches 100% of what it's assigned, at which point garbage 
> collection will use all CPU resources and netbeans becomes unresponsive.
> To reproduce:
> Create a new empty YAML file in any project
> Enter the following text into the file:
> {{some key:}}
>  {{ some value: "this is the value"}}
>  
> At this point, watch the widget that shows Netbeans' memory consumption, it 
> increases rapidly, until it reaches 100%. At this point, Java spends 99% of 
> its time in garbage collection, Netbeans becomes unresponsive (and if the 
> Java parameters permit using all cores, the system becomes sluggish as well).
>  
> Closing/correcting the yaml file at that point doesn't help. This does/did 
> not happen in Netbeans 12.3.
>  
> I attached JProfiler to the JVM that was running netbeans and could confirm 
> the memory usage increase starting right after entering the invalid yaml. 
> Taking a heap dump showed 56 million instances of 
> `org.netbeans.modules.csl.spi.DefaultError`, as well as 56 million 
> `java.lang.String`s.
>  
>  
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5989) NPE when browsing files with JSON annotations

2021-09-08 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5989:
---
Component/s: (was: cnd - Editor)
 java - Editor

> NPE when browsing files with JSON annotations
> -
>
> Key: NETBEANS-5989
> URL: https://issues.apache.org/jira/browse/NETBEANS-5989
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 12.3
> Environment: MAC OSX:   10.15.7 (19H1323)
> 64 GB RAM - 2.0 TB SSD
>  
>Reporter: Brenden Anderle
>Priority: Major
> Attachments: ErrorReport_2021sep08-first-1100lines.txt
>
>
> [Update]  Just noticed that first line of class file is empty - blank line 
> before the package declaration.  I edited the files to remove the blank lines 
> in another editor and they opened without issues.
>  
> When opening Java source files (generated by  jsonschema2pojo) the compiler 
> displays multiple errors, claims duplicate class exists among other things, 
> and the Null Pointer Exception is shown in the Notifications.  Sample code 
> below.  Please see attached error report - note that it is too large for the 
> entire report, only first 1100 lines shown.
>  
> package io.yaxche.openproject.rest;
> import java.util.HashMap;
>  import java.util.Map;
>  import javax.annotation.Generated;
>  import com.fasterxml.jackson.annotation.JsonAnyGetter;
>  import com.fasterxml.jackson.annotation.JsonAnySetter;
>  import com.fasterxml.jackson.annotation.JsonIgnore;
>  import com.fasterxml.jackson.annotation.JsonInclude;
>  import com.fasterxml.jackson.annotation.JsonProperty;
>  import com.fasterxml.jackson.annotation.JsonPropertyOrder;
> @JsonInclude(JsonInclude.Include.NON_NULL)
>  @JsonPropertyOrder(
> { "format", "raw", "html" }
> )
>  @Generated("jsonschema2pojo")
>  public class Description {



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3362) Navigator doesn't show inherited members

2021-09-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3362:


[~sanzante] I know we can _always_ show inherited methods in the navigator 
window. However, I don't think it's good because there is no way to hide them. 
If it had been good, it would have been implemented in the past.

> Navigator doesn't show inherited members
> 
>
> Key: NETBEANS-3362
> URL: https://issues.apache.org/jira/browse/NETBEANS-3362
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - CSL (API  infrastructure), php - Navigation
>Affects Versions: 12.0, 11.2, 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Ricardo Sanz Ante
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: features
>
> PHP navigator doesn't not show inherited members like methods from parent 
> classes. This functionality is available for Java.
> This is a major issue as PHP code is more and more object-oriented.  For 
> example, Druapl official documentation discourages the use of NetBeans: 
> "_Note that NetBeans is missing an option to display the inherited methods 
> and properties from parent Classes and Interfaces which makes it very hard to 
> use for developing code for Drupal 8 and using another editor/IDE is 
> recommended_"_._ See 
> [https://www.drupal.org/docs/develop/development-tools/development-tools-overview#s-integrated-development-environments-ides]
>  (Netbeans section).
>  
> This bug was declared in the former bugtracker system and is 11 years old: 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=143879|https://netbeans.org/bugzilla/show_bug.cgi?id=143879]



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5970) Add the option for HTML palette completion

2021-09-01 Thread Junichi Yamamoto (Jira)
Junichi Yamamoto created NETBEANS-5970:
--

 Summary: Add the option for HTML palette completion
 Key: NETBEANS-5970
 URL: https://issues.apache.org/jira/browse/NETBEANS-5970
 Project: NetBeans
  Issue Type: Improvement
  Components: web - HTML Editor
Affects Versions: 12.4
Reporter: Junichi Yamamoto
Assignee: Junichi Yamamoto


Currently, we can't disable the palette completion feature. It might be 
annoying for some people. So, we should add the option for it.



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

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

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



[jira] [Commented] (NETBEANS-5968) yaml support component hung while transforming json content in non-json yaml

2021-09-01 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5968:


Could you please provide your exact steps to reproduce it with an example code?

> yaml support component hung while transforming json content in non-json yaml
> 
>
> Key: NETBEANS-5968
> URL: https://issues.apache.org/jira/browse/NETBEANS-5968
> Project: NetBeans
>  Issue Type: Bug
>  Components: yaml - Editor
>Affects Versions: 12.4
>Reporter: ED
>Priority: Major
>
> 
>  2021-09-01T19:00:38
>  1630515638668
>  12667
>  org.openide.util.Exceptions
>  1001
>  73
>  /home/ericdegenetais/.netbeans/12.4/var/log/heapdump.hprof
>  
>  java.lang.OutOfMemoryError: Java heap space
>  
>  java.util.Arrays
>  copyOf
>  3689
>  jrt:/java.base/java/util/Arrays.class
>  
>  
>  java.util.ArrayList
>  grow
>  238
>  jrt:/java.base/java/util/ArrayList.class
>  
>  
>  java.util.ArrayList
>  grow
>  243
>  jrt:/java.base/java/util/ArrayList.class
>  
>  
>  java.util.ArrayList
>  add
>  486
>  jrt:/java.base/java/util/ArrayList.class
>  
>  
>  java.util.ArrayList
>  add
>  499
>  jrt:/java.base/java/util/ArrayList.class
>  
>  
>  org.netbeans.modules.languages.yaml.YamlParser$2$1
>  parserException
>  285
>  ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar
>  
>  
>  org.jvyamlb.ParserImpl$ProductionEnvironment
>  produce
>  407
>  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
>  
>  
>  
> org.jvyamlb.PositioningParserImpl$PositioningProductionEnvironment
>  produce
>  143
>  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
>  
>  
>  org.jvyamlb.ParserImpl
>  parseStreamNext
>  834
>  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
>  
>  
>  org.jvyamlb.ParserImpl
>  peekEvent
>  781
>  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
>  
>  
>  org.jvyamlb.ComposerImpl
>  composeNode
>  161
>  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
>  
>  
>  org.jvyamlb.ComposerImpl
>  composeDocument
>  78
>  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
>  
>  
>  org.jvyamlb.ComposerImpl
>  getNode
>  54
>  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
>  
>  
>  org.jvyamlb.ComposerImpl$NodeIterator
>  next
>  59
>  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
>  
>  
>  org.netbeans.modules.languages.yaml.YamlParser
>  parse
>  308
>  ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar
>  
>  
>  org.netbeans.modules.languages.yaml.YamlParser
>  parse
>  404
>  ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar
>  
>  
>  org.netbeans.modules.parsing.impl.TaskProcessor
>  callParse
>  598
>  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
>  
>  
>  org.netbeans.modules.parsing.impl.SourceCache
>  getResult
>  228
>  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
>  
>  
>  
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer
>  run
>  775
>  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
>  
>  
>  org.openide.util.lookup.Lookups
>  executeWith
>  279
>  
> /usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util-lookup.jar
>  
>  
>  
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer
>  execute
>  702
>  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
>  
>  
>  org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob
>  run
>  663
>  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
>  
>  
>  java.util.concurrent.Executors$RunnableAdapter
>  call
>  515
>  
> jrt:/java.base/java/util/concurrent/Executors$RunnableAdapter.class
>  
>  
>  java.util.concurrent.FutureTask
>  run
>  264
>  jrt:/java.base/java/util/concurrent/FutureTask.class
>  
>  
>  org.openide.util.RequestProcessor$Task
>  run
>  1418
>  
> /usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util.jar
>  
>  
>  org.netbeans.modules.openide.util.GlobalLookup
>  execute
>  45
>  
> /usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util-lookup.jar
>  
>  
>  org.openide.util.lookup.Lookups
>  executeWith
>  278
>  
> /usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util-lookup.jar
>  
>  
>  org.openide.util.RequestProcessor$Processor
>  run
>  2033
>  
> /usr/hispeed/ericdegenetais/netbeans-12.4/netbeans/platform/lib/org-openide-util.jar
>  
>  
> 
> 
>  2021-09-01T19:42:38
>  1630518158770
>  6924
>  700
>  79
>  UI_USER_CONFIGURATION
>  UI_USER_CONFIGURATION
>  org.netbeans.modules.uihandler.Bundle
>  Linux, 4.19.0-17-amd64, amd64
>  OpenJDK 64-Bit Server VM, 11.0.12+7-post-Debian-2deb10u1, OpenJDK 
> Runtime Environment, 11.0.12+7-post-Debian-2deb10u1
>  Apache NetBeans IDE 12.4
>  
>  OutOfMemoryError: Java heap space
>  Pasted json code 

[jira] [Commented] (NETBEANS-3362) Navigator doesn't show inherited members

2021-08-27 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3362:


[~alinares] Well, I think you should ask at least even if the status is not "In 
Progress" if there is an assignee. I'll try to look at this issue later. So 
please close PR and wait a while. Thanks.

> Navigator doesn't show inherited members
> 
>
> Key: NETBEANS-3362
> URL: https://issues.apache.org/jira/browse/NETBEANS-3362
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - CSL (API  infrastructure), php - Navigation
>Affects Versions: 12.0, 11.2, 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Ricardo Sanz Ante
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: features
>
> PHP navigator doesn't not show inherited members like methods from parent 
> classes. This functionality is available for Java.
> This is a major issue as PHP code is more and more object-oriented.  For 
> example, Druapl official documentation discourages the use of NetBeans: 
> "_Note that NetBeans is missing an option to display the inherited methods 
> and properties from parent Classes and Interfaces which makes it very hard to 
> use for developing code for Drupal 8 and using another editor/IDE is 
> recommended_"_._ See 
> [https://www.drupal.org/docs/develop/development-tools/development-tools-overview#s-integrated-development-environments-ides]
>  (Netbeans section).
>  
> This bug was declared in the former bugtracker system and is 11 years old: 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=143879|https://netbeans.org/bugzilla/show_bug.cgi?id=143879]



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3362) Navigator doesn't show inherited members

2021-08-27 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3362:


[~alinares] I am assigned to this issue, right? Why did you do it without 
asking? I don't think that that behavior is good. It would be a bad example if 
I looked at and merged it. So, I don't want to look at it.

Actually, I investigated the CSL part before and worked on it a bit in my local 
environment although I could not fix it soon.

> Navigator doesn't show inherited members
> 
>
> Key: NETBEANS-3362
> URL: https://issues.apache.org/jira/browse/NETBEANS-3362
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - CSL (API  infrastructure), php - Navigation
>Affects Versions: 12.0, 11.2, 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Ricardo Sanz Ante
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: features
>
> PHP navigator doesn't not show inherited members like methods from parent 
> classes. This functionality is available for Java.
> This is a major issue as PHP code is more and more object-oriented.  For 
> example, Druapl official documentation discourages the use of NetBeans: 
> "_Note that NetBeans is missing an option to display the inherited methods 
> and properties from parent Classes and Interfaces which makes it very hard to 
> use for developing code for Drupal 8 and using another editor/IDE is 
> recommended_"_._ See 
> [https://www.drupal.org/docs/develop/development-tools/development-tools-overview#s-integrated-development-environments-ides]
>  (Netbeans section).
>  
> This bug was declared in the former bugtracker system and is 11 years old: 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=143879|https://netbeans.org/bugzilla/show_bug.cgi?id=143879]



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-5201) Valid JS treated as invalid by editor

2021-08-21 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5201:


[~jtulach] Thank you for your reply.

[~sdedic] Could you please do that when you have time, if possible? (Because 
I'm not familiar with the JavaScript area.) I'll help you if needed (if there 
is something I can do):)

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



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

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

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



  1   2   3   4   5   6   7   8   9   10   >