[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



[netbeans] branch master updated (0c8e413 -> e472795)

2021-10-20 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 0c8e413  Merge pull request #3208 from mbien/hints_spi_cleanup
 new a09ec17  Gradle projects should recognize Kotlin source directories.
 new 2ca5798  Changes requested on PR review.
 new e472795  Merge pull request #2541 from jpeseknb/gradle-kotlin

The 6036 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../modules/gradle/tooling/NbProjectInfoBuilder.groovy  | 17 ++---
 java/gradle.java/apichanges.xml | 15 +++
 .../modules/gradle/java/JavaActionProvider.java |  2 +-
 .../gradle/java/api/GradleJavaProjectBuilder.java   |  7 ++-
 .../modules/gradle/java/api/GradleJavaSourceSet.java| 13 -
 .../gradle/java/classpath/GradleSourcesImpl.java|  8 ++--
 .../modules/gradle/java/nodes/SourcesNodeFactory.java   |  1 +
 .../gradle/java/queries/GradleSourceForBinary.java  |  2 +-
 .../gradle/java/queries/GradleTestForSourceImpl.java|  2 +-
 9 files changed, 57 insertions(+), 10 deletions(-)

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

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



[netbeans] branch master updated (0b2ad13 -> 0c8e413)

2021-10-20 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 0b2ad13  Merge pull request #3254 from junichi11/netbeans-3391-psr12
 new 5f542c7  Java Hints SPI: avoid deprecated APIs.
 new 64c4dbb  Java Hints SPI: rawtype and unchecked warning removal.
 new 9f7c7d3  Java Hints SPI: charsets, dead code elimination, imports and 
other small refactorings.
 new 9384cf3  Java Hints SPI: diamonds.
 new 6cc559d  Java Hints SPI: lambdas.
 new f17661f  Java Hints SPI: overrides.
 new 7c09388  Java Hints SPI: replace Stack with ArrayDeque.
 new 0c8e413  Merge pull request #3208 from mbien/hints_spi_cleanup

The 6033 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../java/hints/jackpot/spi/HintsRunner.java|  3 +-
 .../java/hints/jackpot/spi/PatternConvertor.java   |  5 +-
 .../hints/providers/code/CodeHintProviderImpl.java | 92 +++-
 .../java/hints/providers/code/FSWrapper.java   | 16 ++--
 .../java/hints/providers/spi/HintDescription.java  |  2 +-
 .../java/hints/providers/spi/HintMetadata.java |  4 +-
 .../providers/spi/PositionRefresherHelper.java |  1 +
 .../modules/java/hints/providers/spi/Trigger.java  |  3 +-
 .../netbeans/modules/java/hints/spiimpl/Hacks.java |  3 -
 .../modules/java/hints/spiimpl/JackpotTrees.java   |  5 +-
 .../modules/java/hints/spiimpl/JavaFixImpl.java| 25 +++---
 .../hints/spiimpl/JavaHintsPositionRefresher.java  | 41 -
 .../java/hints/spiimpl/RulesManagerImpl.java   | 10 +--
 .../modules/java/hints/spiimpl/Utilities.java  | 98 ++
 .../java/hints/spiimpl/batch/BatchSearch.java  | 88 ++-
 .../java/hints/spiimpl/batch/BatchUtilities.java   | 66 +++
 .../hints/spiimpl/batch/ProgressHandleWrapper.java | 12 +++
 .../modules/java/hints/spiimpl/batch/Scopes.java   | 15 ++--
 .../java/hints/spiimpl/hints/HintsInvoker.java | 91 +---
 .../java/hints/spiimpl/hints/HintsTask.java| 14 ++--
 .../modules/java/hints/spiimpl/pm/BulkSearch.java  |  4 +-
 .../spiimpl/pm/CopyFinderBasedBulkSearch.java  |  6 +-
 .../modules/java/hints/spiimpl/pm/NFA.java |  6 +-
 .../java/hints/spiimpl/pm/NFABasedBulkSearch.java  | 78 +
 .../processor/JavaHintsAnnotationProcessor.java| 19 -
 .../spi/java/hints/ErrorDescriptionFactory.java| 30 +++
 .../org/netbeans/spi/java/hints/HintContext.java   |  4 +-
 .../src/org/netbeans/spi/java/hints/JavaFix.java   | 14 ++--
 .../netbeans/spi/java/hints/JavaFixUtilities.java  | 47 ++-
 .../netbeans/spi/java/hints/MatcherUtilities.java  | 12 +--
 .../spi/java/hints/support/FixFactory.java |  2 +-
 .../java/hints/support/TransformationSupport.java  | 38 -
 .../providers/code/CodeHintProviderImplTest.java   |  3 +-
 .../java/hints/providers/code/FSWrapperTest.java   |  2 +-
 .../java/hints/providers/code/TestAnnotations.java | 12 +--
 .../modules/java/hints/spiimpl/TestUtilities.java  |  2 +-
 .../java/hints/spiimpl/batch/BatchSearchTest.java  | 74 
 .../hints/spiimpl/batch/BatchUtilitiesTest.java|  6 +-
 .../spiimpl/batch/ProgressHandleWrapperTest.java   |  4 +
 .../java/hints/spiimpl/hints/HintsInvokerTest.java |  2 +-
 .../hints/spiimpl/pm/BulkSearchTestPerformer.java  |  1 -
 .../java/hints/spiimpl/pm/PatternCompilerTest.java |  1 +
 .../spi/java/hints/matching/CopyFinderTest.java|  2 +-
 43 files changed, 468 insertions(+), 495 deletions(-)

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



[netbeans] branch master updated (500e70b -> 0b2ad13)

2021-10-20 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

tmysik pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 500e70b  Merge pull request #3111 from 
junichi11/netbeans-5849-cc-for-use
 new 98c3d0f  Don't generate full class names
 new 16eab0a  [NETBEANS-3391] Support PSR-12 valid formatting rules
 new 0b2ad13  Merge pull request #3254 from junichi11/netbeans-3391-psr12

The 6025 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../modules/php/editor/indent/CodeStyle.java   |  49 +
 .../modules/php/editor/indent/FmtOptions.java  |  14 +
 .../modules/php/editor/indent/FormatToken.java |   3 +
 .../modules/php/editor/indent/FormatVisitor.java   | 356 +++-
 .../modules/php/editor/indent/TokenFormatter.java  | 229 -
 .../modules/php/editor/indent/ui/Bundle.properties |   8 +
 .../modules/php/editor/indent/ui/FmtWrapping.form  | 179 ++--
 .../modules/php/editor/indent/ui/FmtWrapping.java  | 658 --
 .../modules/php/editor/indent/ui/Wrapping.php  |  21 +
 ...issue197074_01.php => issue197074_01_psr12.php} |   0
 .../broken/issue197074_01_psr12.php.formatted  |  24 +
 ...pression.php => continued_expression_psr12.php} |   0
 .../continued_expression_psr12.php.formatted   |   9 +
 .../{issue176223.php => issue176223_psr12.php} |   0
 .../html/issue176223_psr12.php.formatted   |  13 +
 ...issue168396_01.php => issue168396_01_psr12.php} |   0
 .../formatting/issue168396_01_psr12.php.formatted  |  38 +
 .../{issue176224.php => issue176224_psr12.php} |   0
 .../formatting/issue176224_psr12.php.formatted |   9 +
 .../{issue196405.php => issue196405_psr12.php} |   0
 .../formatting/issue196405_psr12.php.formatted |  22 +
 .../multiline_function_header.php.formatted|   2 +-
 ...der.php => multiline_function_header_psr12.php} |   0
 .../multiline_function_header_psr12.php.formatted  |  11 +
 .../{176224.php => 176224_psr12.php}   |   0
 .../stable_fixedIssues/176224_psr12.php.formatted  |  11 +
 .../formatting/wrapping/for01.php.formatted|   4 +-
 .../wrapping/{for01.php => for01_psr12.php}|   0
 .../formatting/wrapping/for01_psr12.php.formatted  |  10 +
 .../wrapping/{for02.php => for02_psr12.php}|   0
 .../formatting/wrapping/for02_psr12.php.formatted  |  10 +
 .../wrapping/forAfterLeftParenAlways_01.php|  45 +
 .../forAfterLeftParenAlways_01.php.formatted   |  60 ++
 .../wrapping/forAfterLeftParenAlways_02.php| 195 
 .../forAfterLeftParenAlways_02.php.formatted   | 230 +
 .../wrapping/forAfterLeftParenIfLong_01.php|  45 +
 .../forAfterLeftParenIfLong_01.php.formatted   |  48 +
 .../wrapping/forAfterLeftParenIfLong_02.php| 195 
 .../forAfterLeftParenIfLong_02.php.formatted   | 204 +
 .../wrapping/forAfterLeftParenNever_01.php |  45 +
 .../forAfterLeftParenNever_01.php.formatted|  48 +
 .../wrapping/forAfterLeftParenNever_02.php | 195 
 .../forAfterLeftParenNever_02.php.formatted| 208 +
 .../formatting/wrapping/forBothParensAlways_01.php |  45 +
 .../wrapping/forBothParensAlways_01.php.formatted  |  65 ++
 .../formatting/wrapping/forBothParensAlways_02.php | 195 
 .../wrapping/forBothParensAlways_02.php.formatted  | 236 +
 .../formatting/wrapping/forBothParensIfLong_01.php |  45 +
 .../wrapping/forBothParensIfLong_01.php.formatted  |  48 +
 .../formatting/wrapping/forBothParensIfLong_02.php | 195 
 .../wrapping/forBothParensIfLong_02.php.formatted  | 210 +
 .../formatting/wrapping/forBothParensNever_01.php  |  45 +
 .../wrapping/forBothParensNever_01.php.formatted   |  48 +
 .../formatting/wrapping/forBothParensNever_02.php  | 195 
 .../wrapping/forBothParensNever_02.php.formatted   | 214 +
 .../wrapping/forNoWrapParensAlways_01.php  |  45 +
 .../forNoWrapParensAlways_01.php.formatted |  55 ++
 .../wrapping/forNoWrapParensAlways_02.php  | 195 
 .../forNoWrapParensAlways_02.php.formatted | 224 +
 .../wrapping/forNoWrapParensIfLong_01.php  |  45 +
 .../forNoWrapParensIfLong_01.php.formatted |  48 +
 .../wrapping/forNoWrapParensIfLong_02.php  | 195 
 .../forNoWrapParensIfLong_02.php.formatted | 198 
 .../wrapping/forNoWrapParensNever_01.php   |  45 +
 .../wrapping/forNoWrapParensNever_01.php.formatted |  48 +
 .../wrapping/forNoWrapParensNever_02.php   | 195 
 .../wrapping/forNoWrapParensNever_02.php.formatted | 202 +
 .../formatting/wrapping/forRightParenAlways_01.php |  45 +
 .../wrapping/forRightParenAlways_01.php.formatted  |  60 ++
 .../formatting/wrapping/forRightParenAlways_02.php | 195 
 

[netbeans] branch master updated: [NETBEANS-5849] Fix CC in a use declaration after a group use declaration

2021-10-20 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

tmysik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 53a462c  [NETBEANS-5849] Fix CC in a use declaration after a group use 
declaration
 new 500e70b  Merge pull request #3111 from 
junichi11/netbeans-5849-cc-for-use
53a462c is described below

commit 53a462c7025d7de1a627ddd5e7e69453f7114a07
Author: Junichi Yamamoto 
AuthorDate: Tue Aug 17 20:30:07 2021 +0900

[NETBEANS-5849] Fix CC in a use declaration after a group use declaration

https://issues.apache.org/jira/browse/NETBEANS-5849

Before
```php

use NS1\{
Test1,
Test2
};
use tes; // context: GROUP_USE_KEYWORD

```

After
```php

use NS1\{
Test1,
Test2
};
use tes; // context: USE_KEYWORD

```
---
 .../editor/completion/CompletionContextFinder.java |  4 ++
 .../testfiles/completion/lib/nb5849/NS1/Test1.php  | 22 ++
 .../testfiles/completion/lib/nb5849/NS1/Test2.php  | 22 ++
 .../testfiles/completion/lib/nb5849/NS2/Test3.php  | 22 ++
 .../testfiles/completion/lib/nb5849/nb5849.php | 25 +++
 .../lib/nb5849/nb5849.php.testNb5849_01.completion |  7 +++
 .../completion/PHPCodeCompletionNb5849Test.java| 50 ++
 7 files changed, 152 insertions(+)

diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/completion/CompletionContextFinder.java
 
b/php/php.editor/src/org/netbeans/modules/php/editor/completion/CompletionContextFinder.java
index bfcdf0b..405bb65 100644
--- 
a/php/php.editor/src/org/netbeans/modules/php/editor/completion/CompletionContextFinder.java
+++ 
b/php/php.editor/src/org/netbeans/modules/php/editor/completion/CompletionContextFinder.java
@@ -600,6 +600,10 @@ final class CompletionContextFinder {
 
 boolean hasCurlyOpen = false;
 do {
+// NETBEANS-5849
+if (tokenSequence.token().id() == PHPTokenId.PHP_USE) {
+return false;
+}
 if (tokenSequence.token().id() == PHPTokenId.PHP_CURLY_OPEN) {
 hasCurlyOpen = true;
 }
diff --git 
a/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS1/Test1.php 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS1/Test1.php
new file mode 100644
index 000..3599ba7
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS1/Test1.php
@@ -0,0 +1,22 @@
+http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+namespace NS1;
+
+class Test1{}
diff --git 
a/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS1/Test2.php 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS1/Test2.php
new file mode 100644
index 000..ace337f
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS1/Test2.php
@@ -0,0 +1,22 @@
+http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+namespace NS1;
+
+class Test2{}
diff --git 
a/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS2/Test3.php 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS2/Test3.php
new file mode 100644
index 000..0c18f3c
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/NS2/Test3.php
@@ -0,0 +1,22 @@
+http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+namespace NS2;
+
+class Test3{}
diff --git 
a/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/nb5849.php 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/nb5849.php
new file mode 100644
index 000..d9ad106
--- /dev/null
+++ b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5849/nb5849.php
@@ -0,0 +1,25 @@
+http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the 

[netbeans] branch master updated: [NETBEANS-5905] Don't check idekey for Xdebug

2021-10-20 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

tmysik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 8ad656a  [NETBEANS-5905] Don't check idekey for Xdebug
 new 403d51b  Merge pull request #3109 from 
junichi11/netbeans-5905-debug-regardress-of-idekey
8ad656a is described below

commit 8ad656a56e0965a7e041d5d4ed4b4e67be539024
Author: Junichi Yamamoto 
AuthorDate: Tue Aug 17 09:00:09 2021 +0900

[NETBEANS-5905] Don't check idekey for Xdebug

https://issues.apache.org/jira/browse/NETBEANS-5905
See also https://bugs.xdebug.org/view.php?id=2005
---
 php/php.dbgp/src/org/netbeans/modules/php/dbgp/DebugSession.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/php/php.dbgp/src/org/netbeans/modules/php/dbgp/DebugSession.java 
b/php/php.dbgp/src/org/netbeans/modules/php/dbgp/DebugSession.java
index 8d3004b..bbc3db5 100644
--- a/php/php.dbgp/src/org/netbeans/modules/php/dbgp/DebugSession.java
+++ b/php/php.dbgp/src/org/netbeans/modules/php/dbgp/DebugSession.java
@@ -160,7 +160,9 @@ public class DebugSession extends SingleThread {
 DebuggerEngine[] engines = 
DebuggerManager.getDebuggerManager().getDebuggerEngines();
 for (DebuggerEngine nextEngine : engines) {
 SessionId id = (SessionId) nextEngine.lookupFirst(null, 
SessionId.class);
-if (id != null && id.getId().equals(message.getSessionId())) {
+// [NETBEANS-5905] don't check about what the idekey is
+// see also https://bugs.xdebug.org/view.php?id=2005
+if (id != null && message.getSessionId() != null) {
 sessionId.set(id);
 id.initialize(message.getFileUri(), options.getPathMapping());
 engine.set(nextEngine);

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

2021-10-20 Thread Br Tr (Jira)


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

Br Tr updated NETBEANS-6145:

Description: 
formatting stopped working; there is a nullpointer exception in the logs while 
formatting.  Restarting IDE does not help with the issue.

Changing source level to 1.8Changing source level to 1.8SEVERE 
[org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.progress.ui.RunOffEDTImpl$1java.lang.NullPointerException 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:587)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2938)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2889)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2790)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229) 
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032) 
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1559)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1052)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:648)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:514)
 at 
org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:228)
 at 
org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:101)
 at 
de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterReformatTaskFactory.formatWithNetBeansFormatter(ExternalFormatterReformatTaskFactory.java:148)
 at 
de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterReformatTaskFactory.access$000(ExternalFormatterReformatTaskFactory.java:43)
 at 
de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterReformatTaskFactory$1.reformat(ExternalFormatterReformatTaskFactory.java:67)
 at 
org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
 at 
org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309) 
at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349) 
at org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129) 
at 
org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1854) 
at 
org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333) 
at 
org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1833) 
at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146) 
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at 

[jira] [Created] (NETBEANS-6145) Formatting stopped working

2021-10-20 Thread Br Tr (Jira)
Br Tr created NETBEANS-6145:
---

 Summary: Formatting stopped working
 Key: NETBEANS-6145
 URL: https://issues.apache.org/jira/browse/NETBEANS-6145
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Affects Versions: 12.5
 Environment: Ubuntu 20.04.3 LTS on windows 10 virtual machine (Oracle 
VM Virtual Box)
Reporter: Br Tr


formatting stopped working; there is a nullpointer exception in the logs while 
formatting.  Restarting IDE does not work.

Changing source level to 1.8Changing source level to 1.8SEVERE 
[org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.progress.ui.RunOffEDTImpl$1java.lang.NullPointerException 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:587)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2938)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2889)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2790)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229) 
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032) 
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1559)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1052)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:648)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:514)
 at 
org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:228)
 at 
org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:101)
 at 
de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterReformatTaskFactory.formatWithNetBeansFormatter(ExternalFormatterReformatTaskFactory.java:148)
 at 
de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterReformatTaskFactory.access$000(ExternalFormatterReformatTaskFactory.java:43)
 at 
de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterReformatTaskFactory$1.reformat(ExternalFormatterReformatTaskFactory.java:67)
 at 
org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
 at 
org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309) 
at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349) 
at org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129) 
at 
org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1854) 
at 
org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333) 
at 
org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1833) 
at 

[jira] [Updated] (NETBEANS-6087) Refactor a private function inside trait don't apply everywhere

2021-10-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-6087:
-
Labels: pull-request-available  (was: )

> 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
> Attachments: update_private_method_in_trait.gif
>
>  Time Spent: 10m
>  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-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



[netbeans] branch master updated (74f134c -> d874a82)

2021-10-20 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 74f134c  [NETBEANS-5927] Have the Windows LAF default font follow 
actual platform settings.
 add d874a82  fix travis badge url

No new revisions were added by this update.

Summary of changes:
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

2021-10-20 Thread Nicolas (Jira)
Nicolas created NETBEANS-6144:
-

 Summary: Method profiling window => 
 Key: NETBEANS-6144
 URL: https://issues.apache.org/jira/browse/NETBEANS-6144
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.5
 Environment: Ubuntu 20.04

Netbeans 12.5

openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 16.0.1+9-Ubuntu-120.04, mixed mode, sharing)
Reporter: Nicolas
 Attachments: ide.log, messages.log, ui.log

Hi everyone

When I try to open the "Methods" profiling windows, I have the following error 
message:

A java.lang.NullPointerException exception has occurred.
Please report this at https://netbeans.apache.org/nb/report-issue,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your /home/barrier/.netbeans/12.5/var/log 
folder.

 

I run on JDK16. When I open Netbeans with OpenJDK8, it seems to work.



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

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

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



[jira] [Updated] (NETBEANS-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