[jira] [Updated] (NETBEANS-6254) Support for prefixed @phpstan-* annotations
[ https://issues.apache.org/jira/browse/NETBEANS-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-6254: Description: 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 was: 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 will 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 > 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 >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-6254) Support for prefixed @phpstan-* annotations
[ https://issues.apache.org/jira/browse/NETBEANS-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-6254: Component/s: php - Code Analysis php - Editor > 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 >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, except that they support > some extra syntax for defining advanced types, which will 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-6254) Support for prefixed @phpstan-* annotations
[ https://issues.apache.org/jira/browse/NETBEANS-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-6254: Description: 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 will 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 was: 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, except that they support some extra syntax for defining advanced types, which will 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 > 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 >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 will 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] [Created] (NETBEANS-6254) Support for prefixed @phpstan-* annotations
Czukowski created NETBEANS-6254: --- Summary: Support for prefixed @phpstan-* annotations Key: NETBEANS-6254 URL: https://issues.apache.org/jira/browse/NETBEANS-6254 Project: NetBeans Issue Type: Improvement Affects Versions: 12.5 Reporter: Czukowski 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, except that they support some extra syntax for defining advanced types, which will 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] [Comment Edited] (NETBEANS-6032) Possible race condition in renaming PHP classes
[ https://issues.apache.org/jira/browse/NETBEANS-6032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424829#comment-17424829 ] Czukowski edited comment on NETBEANS-6032 at 10/6/21, 7:58 AM: --- Also when this happens, Undo/Redo functionality stops working in editor (the toolbar buttons are grayed out too). It comes back after some delay though. was (Author: czukowski): Also when this happens, Undo/Redo functionality stops working in editor. It comes back after some delay though. > Possible race condition in renaming PHP classes > --- > > Key: NETBEANS-6032 > URL: https://issues.apache.org/jira/browse/NETBEANS-6032 > 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: Major > > When a class name is renamed using Rename refactoring with 'Rename Also File > With The Declaration', sometimes there is a message box with an error about > the renamed file "seems no longer valid". > If this happens, I can find the file has been renamed, but the class name > within it has not. There is some relevant information in {{messages.log}}, > see below, it mentions the file name {{ProductSelectionCriterium.php}} which > is the resulting file name (the one that it was supposed to be named after > the rename). If I had to guess, it would seem that the changes are committed > with a delay to the file system. Could be a Windows-specific issue. > It also seems that the rename process is interrupted when this happens, > because sometimes (though again, not always) I can see some of the class > occurrences in other files not renamed as well. > > {noformat} > SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2 > msg > Caused: org.openide.filesystems.FileStateInvalidException: > C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid] > at org.openide.loaders.DataObject.find(DataObject.java:587) > Caused: org.openide.loaders.DataObjectNotFoundException: > C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid] > at org.openide.loaders.DataObject.find(DataObject.java:610) > at > org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:113) > at > org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:105) > at > org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:128) > Caused: java.lang.RuntimeException > at > org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:140) > at > org.netbeans.modules.refactoring.api.RefactoringSession.reallyDoRefactoring(RefactoringSession.java:141) > at > org.netbeans.modules.refactoring.api.RefactoringSession.access$100(RefactoringSession.java:54) > at > org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:97) > at > org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:95) > at > org.netbeans.modules.editor.lib.BeforeSaveTasks.runWithOnSaveTasksDisabled(BeforeSaveTasks.java:68) > at > org.netbeans.editor.Utilities.runWithOnSaveTasksDisabled(Utilities.java:1635) > at > org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:95) > at > org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2.run(RefactoringPanel.java:550) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > ALL [null]: The file > C:/Workspace/Org/org/app/services/Product/Selection/ProductSelectionCriterium.php > seems no longer valid! > WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no > file object available for > C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150665748\ProductSelectionCriterium.php > WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no > file object available for > C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150674225\ProductSelectionCriterium.php > WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no > file object available for > C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-163215068292
[jira] [Commented] (NETBEANS-6032) Possible race condition in renaming PHP classes
[ https://issues.apache.org/jira/browse/NETBEANS-6032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424829#comment-17424829 ] Czukowski commented on NETBEANS-6032: - Also when this happens, Undo/Redo functionality stops working in editor. It comes back after some delay though. > Possible race condition in renaming PHP classes > --- > > Key: NETBEANS-6032 > URL: https://issues.apache.org/jira/browse/NETBEANS-6032 > 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: Major > > When a class name is renamed using Rename refactoring with 'Rename Also File > With The Declaration', sometimes there is a message box with an error about > the renamed file "seems no longer valid". > If this happens, I can find the file has been renamed, but the class name > within it has not. There is some relevant information in {{messages.log}}, > see below, it mentions the file name {{ProductSelectionCriterium.php}} which > is the resulting file name (the one that it was supposed to be named after > the rename). If I had to guess, it would seem that the changes are committed > with a delay to the file system. Could be a Windows-specific issue. > It also seems that the rename process is interrupted when this happens, > because sometimes (though again, not always) I can see some of the class > occurrences in other files not renamed as well. > > {noformat} > SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2 > msg > Caused: org.openide.filesystems.FileStateInvalidException: > C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid] > at org.openide.loaders.DataObject.find(DataObject.java:587) > Caused: org.openide.loaders.DataObjectNotFoundException: > C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid] > at org.openide.loaders.DataObject.find(DataObject.java:610) > at > org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:113) > at > org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:105) > at > org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:128) > Caused: java.lang.RuntimeException > at > org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:140) > at > org.netbeans.modules.refactoring.api.RefactoringSession.reallyDoRefactoring(RefactoringSession.java:141) > at > org.netbeans.modules.refactoring.api.RefactoringSession.access$100(RefactoringSession.java:54) > at > org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:97) > at > org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:95) > at > org.netbeans.modules.editor.lib.BeforeSaveTasks.runWithOnSaveTasksDisabled(BeforeSaveTasks.java:68) > at > org.netbeans.editor.Utilities.runWithOnSaveTasksDisabled(Utilities.java:1635) > at > org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:95) > at > org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2.run(RefactoringPanel.java:550) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > ALL [null]: The file > C:/Workspace/Org/org/app/services/Product/Selection/ProductSelectionCriterium.php > seems no longer valid! > WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no > file object available for > C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150665748\ProductSelectionCriterium.php > WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no > file object available for > C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150674225\ProductSelectionCriterium.php > WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no > file object available for > C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150682920\ProductSelectionCriterium.php > WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no > file object available for > C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150683037\ProductSelectio
[jira] [Updated] (NETBEANS-5317) Autocomplete interferes with multicaret
[ https://issues.apache.org/jira/browse/NETBEANS-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5317: Affects Version/s: 12.5 12.4 > Autocomplete interferes with multicaret > --- > > Key: NETBEANS-5317 > URL: https://issues.apache.org/jira/browse/NETBEANS-5317 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion & Templates, editor - Painting > & Printing >Affects Versions: 12.0, 12.1, 12.2, 12.3, 12.4, 12.5 >Reporter: Czukowski >Priority: Minor > > Suppose you want to introduce some constants into a class and you can copy > that list somewhere and paste it into the class to work on: > {code:java} > class Test > { > FOO = 1 > BAR = 2 > BAZ = 3 > //🡤 place caret to each of the 3 lines directly above here > } > {code} > This is invalid code, but it should be very easy to place a caret in front of > each line, type {{const}}, jump to the end of the lines and finish it off > with a semicolon. > However if you don't type fast enough and autocomplete suggestions appear, > then whether you accept a suggestion or continue typing, the code gets broken. > Here's what happens if I type 'c', wait for the suggestions and continue with > typing 'o': > {code:java} > cBAZo = 1 > coBAZ = 2 > coBAZ = 3 > {code} > Here's what happens if I type 'c', and then accept the 'const' suggestion: > {code:java} > const BAZ = 1 > const BAZ = 2 > const BAZ = 3 > {code} > A possible workaround is to type space, then move cursor one character to the > left and then type 'const'. If instead of typing a whole 'const', a > suggestion is accepted, the code gets some extra spaces, although the names > remain intact: > {code:java} > const FOO = 1 > const BAR = 2 > const BAZ = 3 > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-6037) Fix Imports for PHP code should not reorder groups of use statements
Czukowski created NETBEANS-6037: --- Summary: 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 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} 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] [Updated] (NETBEANS-6032) Possible race condition in renaming PHP classes
[ https://issues.apache.org/jira/browse/NETBEANS-6032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-6032: Description: When a class name is renamed using Rename refactoring with 'Rename Also File With The Declaration', sometimes there is a message box with an error about the renamed file "seems no longer valid". If this happens, I can find the file has been renamed, but the class name within it has not. There is some relevant information in {{messages.log}}, see below, it mentions the file name {{ProductSelectionCriterium.php}} which is the resulting file name (the one that it was supposed to be named after the rename). If I had to guess, it would seem that the changes are committed with a delay to the file system. Could be a Windows-specific issue. It also seems that the rename process is interrupted when this happens, because sometimes (though again, not always) I can see some of the class occurrences in other files not renamed as well. {noformat} SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2 msg Caused: org.openide.filesystems.FileStateInvalidException: C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid] at org.openide.loaders.DataObject.find(DataObject.java:587) Caused: org.openide.loaders.DataObjectNotFoundException: C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid] at org.openide.loaders.DataObject.find(DataObject.java:610) at org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:113) at org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:105) at org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:128) Caused: java.lang.RuntimeException at org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:140) at org.netbeans.modules.refactoring.api.RefactoringSession.reallyDoRefactoring(RefactoringSession.java:141) at org.netbeans.modules.refactoring.api.RefactoringSession.access$100(RefactoringSession.java:54) at org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:97) at org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:95) at org.netbeans.modules.editor.lib.BeforeSaveTasks.runWithOnSaveTasksDisabled(BeforeSaveTasks.java:68) at org.netbeans.editor.Utilities.runWithOnSaveTasksDisabled(Utilities.java:1635) at org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:95) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2.run(RefactoringPanel.java:550) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) ALL [null]: The file C:/Workspace/Org/org/app/services/Product/Selection/ProductSelectionCriterium.php seems no longer valid! WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150665748\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150674225\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150682920\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150683037\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150712914\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150721106\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150753484\ProductSelectionCriterium.php {noformat} was: When a class name is renamed using Rename refactoring with 'Rename Also File With The Declaration', sometimes there is a message box with an error about the renamed file "seems no longer valid". If
[jira] [Created] (NETBEANS-6032) Possible race condition in renaming PHP classes
Czukowski created NETBEANS-6032: --- Summary: Possible race condition in renaming PHP classes Key: NETBEANS-6032 URL: https://issues.apache.org/jira/browse/NETBEANS-6032 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 When a class name is renamed using Rename refactoring with 'Rename Also File With The Declaration', sometimes there is a message box with an error about the renamed file "seems no longer valid". If this happens, I can find the file has been renamed, but the class name has not. There is some relevant information in {{messages.log}}, see below, it mentions the file name {{ProductSelectionCriterium.php}} which is the resulting file name (the one that it was supposed to be named after the rename). If I had to guess, it would seem that the changes are committed with a delay to the file system. Could be a Windows-specific issue. It also seems that the rename process is interrupted when this happens, because sometimes (though again, not always) I can see some of the class occurrences in other files not renamed as well. {noformat} SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2 msg Caused: org.openide.filesystems.FileStateInvalidException: C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid] at org.openide.loaders.DataObject.find(DataObject.java:587) Caused: org.openide.loaders.DataObjectNotFoundException: C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid] at org.openide.loaders.DataObject.find(DataObject.java:610) at org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:113) at org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:105) at org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:128) Caused: java.lang.RuntimeException at org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:140) at org.netbeans.modules.refactoring.api.RefactoringSession.reallyDoRefactoring(RefactoringSession.java:141) at org.netbeans.modules.refactoring.api.RefactoringSession.access$100(RefactoringSession.java:54) at org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:97) at org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:95) at org.netbeans.modules.editor.lib.BeforeSaveTasks.runWithOnSaveTasksDisabled(BeforeSaveTasks.java:68) at org.netbeans.editor.Utilities.runWithOnSaveTasksDisabled(Utilities.java:1635) at org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:95) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2.run(RefactoringPanel.java:550) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) ALL [null]: The file C:/Workspace/Org/org/app/services/Product/Selection/ProductSelectionCriterium.php seems no longer valid! WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150665748\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150674225\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150682920\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150683037\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150712914\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150721106\ProductSelectionCriterium.php WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file o
[jira] [Created] (NETBEANS-6029) Renaming property with constructor argument promotion and PHPDoc param hint
Czukowski created NETBEANS-6029: --- Summary: Renaming property with constructor argument promotion and PHPDoc param hint Key: NETBEANS-6029 URL: https://issues.apache.org/jira/browse/NETBEANS-6029 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 Please see an example class below. If I want to use the Rename refactoring on the {{$value}} property using Ctrl+R, the outcome will be different depending on where the cursor was placed and occurrences currently marked: # at PHPDoc param hint: occurrences (1) and (2) will be marked # at the property definition that is promoted from the constructor argument: all three will be marked, except when marking (1) or (3) first and then clicking the property definition, then the highlighting will not change and only two occurrences will be renamed # at the property usage in {{doSomething}} method: occurrences (2) and (3) will be marked The desired effect is that all three occurrences are marked and renamed at the same time, regardless of where did the user click first. {code:php} values as $value) { continue; } } } {code} Thanks. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5719) Unused property hint shown when used to instantiate an anonymous class
Czukowski created NETBEANS-5719: --- Summary: Unused property hint shown when used to instantiate an anonymous class Key: NETBEANS-5719 URL: https://issues.apache.org/jira/browse/NETBEANS-5719 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 12.4 Environment: Product Version: Apache NetBeans IDE 12.4 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 Attachments: image-2021-05-27-12-06-22-136.png If a class property is used only to create an instance of an anonymous class, it is marked with an 'Unused' hint. The example code is below. There is also an image attached with a screenshot, note how {{$anyParameter}} in {{Factory1}} constructor is underlined. This goes for both constructor argument promotion and the PHP7-style property declaration. {code:php} anyParameter) implements Interface1 { public function __construct(private bool $parameter1) { } public function getSomeParameter(): bool { return $this->parameter1; } }; } } interface Interface1 { function getSomeParameter(): bool; } {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-5010) Go to File search should accept paths too
[ https://issues.apache.org/jira/browse/NETBEANS-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295861#comment-17295861 ] Czukowski commented on NETBEANS-5010: - [~emi] in my experience, Go to File is slightly faster than Go to Type, but only by a tiny amount, even though there are less types in my project than files. I have to clarify about Ctrl+click, I often use it on method calls, so I guess it makes sense it's slower than file or type lookup, but when it takes too long or rejects the service outright (I'm under impression that this function is completely blocked while changes are being parsed), I use Go to File or Type as a shortcut as I'm usually able to 'guess' the type name correctly without scrolling ways up to check for a declaration. Ctrl+clicking on a type name works much faster, that is, when it does 😀 > Go to File search should accept paths too > - > > Key: NETBEANS-5010 > URL: https://issues.apache.org/jira/browse/NETBEANS-5010 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.2 >Reporter: Czukowski >Assignee: Emilian Bold >Priority: Minor > Labels: pull-request-available > Time Spent: 1.5h > Remaining Estimate: 0h > > Go to File seems to search only by the file name. For example, it takes only > a double click to copy a file name including its path from a console (eg from > git output), and it's a shame it cannot be pasted into Go to File dialog to > open that file just as easily, without removing the path information first. > Also if there are many files with the same name (eg due to some naming > convention), there will be many results requiring some more time to locate > the correct one. > Therefore Go to File dialog should accept parts of file paths as well. > On Windows, both forward and back slashes should be supported for directory > separators. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5399) JavaScript: rename variable - not all occurrences found
Czukowski created NETBEANS-5399: --- Summary: JavaScript: rename variable - not all occurrences found Key: NETBEANS-5399 URL: https://issues.apache.org/jira/browse/NETBEANS-5399 Project: NetBeans Issue Type: Bug Components: javascript - Refactoring Affects Versions: 12.3 Environment: Product Version: Apache NetBeans IDE 12.3-beta2 Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46 Reporter: Czukowski Consider a sample project consisting of a single file, {{main.js}}: {code} 'use strict'; const registry = { categories: {}, }; const f = function (category, event, element = null) { const obj = registry.categories[category]; // [1] if (!obj.hasOwnProperty(event)) { // [2] obj[event] = true; // [3] element.addEventListener(event, function () { // ... }); } }; {code} The variable in question is {{obj}}, referenced at three places. Try renaming it by placing a cursor at its occurrences and pressing Ctrl+R. Now, depending on where a cursor has been placed, there is a different outcome: - If the cursor is at [1] or [3], the occurrence at [2] will not be selected and therefore renamed - If the cursor is at [2], all three occurrences will be selected Commenting out or removing some other code 'fixes' it, in a way that renaming the variable at any of the three occurrences will rename all three: - Removing {{'use strict'}} at the 1st line - Removing the default {{null}} value for the {{element}} argument at the function {{f}} declaration - Removing the whole call to {{element.addEventListener}} The desired behavior is that all occurrences are correctly selected without the need to remove any code. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288295#comment-17288295 ] Czukowski edited comment on NETBEANS-5373 at 2/22/21, 10:19 AM: Unfortunately, not that I can see. Phing 2 didn't use namespaced class names, so the argument as above wouldn't work (what would work is {{-logger AnsiColorLogger}}, provided there's an autoloader in place). A PEAR-style path like {{phing_listener_AnsiColorLogger}} that also works in Phing 2 and still supported by Phing 3 would also have to be different since they've changed the directory structure (directory names start with uppercase now), but I couldn't make it work with Phing 3 when trying out (from CLI), most likely because the include path isn't configured properly, it tries to include_once {{Phing\Listener\AnsiColorLogger.php}} and fails. In my instance with Phing 3, the class loading is handled by Composer autoloader, so with a qualified class name, Phing doesn't even get around to look for the file to include. was (Author: czukowski): Unfortunately, not that I can see. Phing 2 didn't use namespaced class names, so the argument as above wouldn't work (what would work is {{-logger AnsiColorLogger}}, provided there's an autoloader in place). A PEAR-style path like {{phing_listener_AnsiColorLogger}} that also works in Phing 2 and still supported by Phing 3 would also have to be different since they've changed the directory structure (directory names start with uppercase now), but I couldn't make it work with Phing 3 when trying out (from CLI), most likely because the include path isn't configured properly, it tries to include_once {{phing\listerner\AnsiColorLogger.php}} and fails. In my instance with Phing 3, the class loading is handled by Composer autoloader, so with a qualified class name, Phing doesn't even get around to look for the file to include. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified class name, > delimited by double back slash - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288295#comment-17288295 ] Czukowski commented on NETBEANS-5373: - Unfortunately, not that I can see. Phing 2 didn't use namespaced class names, so the argument as above wouldn't work (what would work is {{-logger AnsiColorLogger}}). A PEAR-style path like {{phing_listener_AnsiColorLogger}} that also works in Phing 2 and still supported by Phing 3 would also have to be different since they've changed the directory structure (directory names start with uppercase now), but I couldn't make it work with Phing 3 when trying out (from CLI), most likely because the include path isn't configured properly, it tries to include_once {{phing\listerner\AnsiColorLogger.php}} and fails. In my instance with Phing 3, the class loading is handled by Composer autoloader, so with a qualified class name, Phing doesn't even get around to look for the file to include. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified class name, > delimited by double back slash - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288295#comment-17288295 ] Czukowski edited comment on NETBEANS-5373 at 2/22/21, 10:18 AM: Unfortunately, not that I can see. Phing 2 didn't use namespaced class names, so the argument as above wouldn't work (what would work is {{-logger AnsiColorLogger}}, provided there's an autoloader in place). A PEAR-style path like {{phing_listener_AnsiColorLogger}} that also works in Phing 2 and still supported by Phing 3 would also have to be different since they've changed the directory structure (directory names start with uppercase now), but I couldn't make it work with Phing 3 when trying out (from CLI), most likely because the include path isn't configured properly, it tries to include_once {{phing\listerner\AnsiColorLogger.php}} and fails. In my instance with Phing 3, the class loading is handled by Composer autoloader, so with a qualified class name, Phing doesn't even get around to look for the file to include. was (Author: czukowski): Unfortunately, not that I can see. Phing 2 didn't use namespaced class names, so the argument as above wouldn't work (what would work is {{-logger AnsiColorLogger}}). A PEAR-style path like {{phing_listener_AnsiColorLogger}} that also works in Phing 2 and still supported by Phing 3 would also have to be different since they've changed the directory structure (directory names start with uppercase now), but I couldn't make it work with Phing 3 when trying out (from CLI), most likely because the include path isn't configured properly, it tries to include_once {{phing\listerner\AnsiColorLogger.php}} and fails. In my instance with Phing 3, the class loading is handled by Composer autoloader, so with a qualified class name, Phing doesn't even get around to look for the file to include. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified class name, > delimited by double back slash - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5373: Description: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that {{-logger Phing\\Listener\\AnsiColorLogger}} - delimited by double back slash - works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. was: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that -logger {{Phing\\Listener\\AnsiColorLogger}} - delimited by double back slash - works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - delimited by double back slash > - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5373: Description: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified class name, delimited by double back slash - works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. was: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified name, delimited by double back slash - works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified class name, > delimited by double back slash - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5373: Description: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified name, delimited by double back slash - works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. was: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that {{-logger Phing\\Listener\\AnsiColorLogger}} - delimited by double back slash - works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified name, delimited by > double back slash - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5373: Description: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that -logger {{Phing\\Listener\\AnsiColorLogger}} - delimited by double back slash - works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. was: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that -logger {{Phing\\Listener\\AnsiColorLogger}} - delimited by '\\' works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > -logger {{Phing\\Listener\\AnsiColorLogger}} - delimited by double back slash > - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5373: Description: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that -logger {{Phing\\Listener\\AnsiColorLogger}} - delimited by '\\' works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. was: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that -logger Phing\\Listener\\AnsiColorLogger works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > -logger {{Phing\\Listener\\AnsiColorLogger}} - delimited by '\\' works) or > dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5373: Description: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that -logger Phing\\Listener\\AnsiColorLogger works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. was: When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that {{-logger Phing\\Listener\\AnsiColorLogger}} works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > -logger Phing\\Listener\\AnsiColorLogger works) or dropped altogether for a > quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5373) Phing 3 cannot run from NetBeans
Czukowski created NETBEANS-5373: --- Summary: Phing 3 cannot run from NetBeans Key: NETBEANS-5373 URL: https://issues.apache.org/jira/browse/NETBEANS-5373 Project: NetBeans Issue Type: Improvement Components: php - Editor Affects Versions: 12.3 Reporter: Czukowski When running Phing form NetBeans, this part of command line seems to be hardcoded: {{-logger phing.listener.AnsiColorLogger}} However this no longer works with Phing 3 that is about to be released. See https://github.com/phingofficial/phing/blob/main/UPGRADING.md {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been removed.{quote} This part should be either updated to a supported schema (I found that {{-logger Phing\\Listener\\AnsiColorLogger}} works) or dropped altogether for a quick fix. Note: can't see php - phing component here, so assigning it to php - Editor, feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5370) Generate abstract method with array return type in PHPDocs
[ https://issues.apache.org/jira/browse/NETBEANS-5370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5370: Description: Please see the example code below. Create a new PHP file in NetBeans and paste the code into it. At each class declaration for {{Class1}}, {{Class2}} and {{Class3}}, click the 💡 Hint icon and select _Implement All Abstract Methods_. The issue will become apparent. If PHPDocs has return type specified as eg. {{return string[]}}, the generated code will be broken. {code:php} Generate abstract method with array return type in PHPDocs > -- > > Key: NETBEANS-5370 > URL: https://issues.apache.org/jira/browse/NETBEANS-5370 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Minor > > Please see the example code below. Create a new PHP file in NetBeans and > paste the code into it. At each class declaration for {{Class1}}, {{Class2}} > and {{Class3}}, click the 💡 Hint icon and select _Implement All Abstract > Methods_. The issue will become apparent. If PHPDocs has return type > specified as eg. {{return string[]}}, the generated code will be broken. > {code:php} > namespace Cz\Test\GenerateMethod; > class Class1 extends Base1 > { > } > abstract class Base1 > { > abstract public function getSingleItem(): string; > } > class Class2 extends Base2 > { > } > abstract class Base2 > { > /** > * @return string[] > */ > abstract public function getItemsList(): array; > } > class Class3 extends Base3 > { > } > abstract class Base3 > { > abstract public function getSingleItem(): string; > /** > * @return string[] > */ > abstract public function getItemsList(): array; > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5370) Generate abstract method with array return type in PHPDocs
Czukowski created NETBEANS-5370: --- Summary: Generate abstract method with array return type in PHPDocs Key: NETBEANS-5370 URL: https://issues.apache.org/jira/browse/NETBEANS-5370 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 12.3 Reporter: Czukowski Please see the example code below. Create a new PHP file in NetBeans and paste the code into it. At each class declaration for {{Class1}}, {{Class2}} and {{Class3}}, click the 💡 Hint icon and select _Implement All Abstract Methods_. The issue will become apparent. If PHPDocs has return type specified as eg. {{return string[]}}, the generated code will be broken. {code:php} https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5010) Go to File search should accept paths too
[ https://issues.apache.org/jira/browse/NETBEANS-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280828#comment-17280828 ] Czukowski commented on NETBEANS-5010: - Of course, I'm not insisting that it's been done right away, just that it would be really good to improve this even further at some point. Speaking of the performance, I often work on a project that has over 30k classes and more than 65k files in total, and the Go to Type / Go to File are life savers because Go to Declaration (or Ctrl+click) often struggles greatly and sometimes outright fails. I suspect this is due to the project size since I didn't have this kind of issue with smaller projects. At the same time, searching with Go to Type / Go to File is usually almost instant, even if I count the time needed to find out which class name is it that I want to navigate to, it's often still a faster way. > Go to File search should accept paths too > - > > Key: NETBEANS-5010 > URL: https://issues.apache.org/jira/browse/NETBEANS-5010 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.2 >Reporter: Czukowski >Assignee: Emilian Bold >Priority: Minor > Labels: pull-request-available > Time Spent: 1.5h > Remaining Estimate: 0h > > Go to File seems to search only by the file name. For example, it takes only > a double click to copy a file name including its path from a console (eg from > git output), and it's a shame it cannot be pasted into Go to File dialog to > open that file just as easily, without removing the path information first. > Also if there are many files with the same name (eg due to some naming > convention), there will be many results requiring some more time to locate > the correct one. > Therefore Go to File dialog should accept parts of file paths as well. > On Windows, both forward and back slashes should be supported for directory > separators. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5337) Find occurences/rename wrong elements
Czukowski created NETBEANS-5337: --- Summary: Find occurences/rename wrong elements Key: NETBEANS-5337 URL: https://issues.apache.org/jira/browse/NETBEANS-5337 Project: NetBeans Issue Type: Bug Components: php - Code Analysis Affects Versions: 12.3 Reporter: Czukowski Attachments: image-2021-02-05-16-25-03-183.png Please see the example code below. If you place a cursor into any of the 3 occurrences of {{getItems}} and press Ctrl+R to rename, all three will be renamed, even though these refer to two different methods named {{getItems()}}, one in the current class and another from a different class that the Query object iterates over. {code:php} getItems(); // [1] foreach ($items->iterate() as [$item]) { foreach ($item->getItems() as $subItem) { // [2] $this->writeln('Test'); } } } /** * @return Query */ private function getItems(): Query // [3] {} } {code} !image-2021-02-05-16-25-03-183.png|width=520,height=360! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5317) Autocomplete interferes with multicaret
[ https://issues.apache.org/jira/browse/NETBEANS-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5317: Affects Version/s: 12.0 12.1 12.2 > Autocomplete interferes with multicaret > --- > > Key: NETBEANS-5317 > URL: https://issues.apache.org/jira/browse/NETBEANS-5317 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.0, 12.1, 12.2, 12.3 >Reporter: Czukowski >Priority: Minor > > Suppose you want to introduce some constants into a class and you can copy > that list somewhere and paste it into the class to work on: > {code:java} > class Test > { > FOO = 1 > BAR = 2 > BAZ = 3 > //🡤 place caret to each of the 3 lines directly above here > } > {code} > This is invalid code, but it should be very easy to place a caret in front of > each line, type {{const}}, jump to the end of the lines and finish it off > with a semicolon. > However if you don't type fast enough and autocomplete suggestions appear, > then whether you accept a suggestion or continue typing, the code gets broken. > Here's what happens if I type 'c', wait for the suggestions and continue with > typing 'o': > {code:java} > cBAZo = 1 > coBAZ = 2 > coBAZ = 3 > {code} > Here's what happens if I type 'c', and then accept the 'const' suggestion: > {code:java} > const BAZ = 1 > const BAZ = 2 > const BAZ = 3 > {code} > A possible workaround is to type space, then move cursor one character to the > left and then type 'const'. If instead of typing a whole 'const', a > suggestion is accepted, the code gets some extra spaces, although the names > remain intact: > {code:java} > const FOO = 1 > const BAR = 2 > const BAZ = 3 > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5317) Autocomplete interferes with multicaret
Czukowski created NETBEANS-5317: --- Summary: Autocomplete interferes with multicaret Key: NETBEANS-5317 URL: https://issues.apache.org/jira/browse/NETBEANS-5317 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 12.3 Reporter: Czukowski Suppose you want to introduce some constants into a class and you can copy that list somewhere and paste it into the class to work on: {code:java} https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-5010) Go to File search should accept paths too
[ https://issues.apache.org/jira/browse/NETBEANS-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277901#comment-17277901 ] Czukowski edited comment on NETBEANS-5010 at 2/3/21, 10:50 AM: --- [~chrizzly] sure, there should be a reasonable tradeoff between performance and ease of use. So imagine if there's no checkbox, and there's some guessing or search results ranking and limiting involved in a search, do you really think it would make the performance that bad? Or do you like the checkbox more because it's more explicit and gives you more control? I'm just a little concerned that having to remember to adjust the correct search mode manually every time, depending on whether I'm looking for a specific file and typing its name manually or copying the path from e.g. git status, doesn't make the whole process as much quicker as it could. was (Author: czukowski): [~chrizzly] sure, there should be a reasonable tradeoff between performance and ease of use. So imagine if there's no checkbox, and there's some guessing or search results ranking and limiting involved in a search, do you really think it would make the performance that bad? Or do you like the checkbox more because it's more explicit and gives you more control? I'm just a little concerned that having to remember to adjust the correct search mode manually every time, depending on whether I'm looking for a specific file and typing its name manually or copying the path from e.g. git status, doesn't make the whole process as much quicker than it could. > Go to File search should accept paths too > - > > Key: NETBEANS-5010 > URL: https://issues.apache.org/jira/browse/NETBEANS-5010 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.2 >Reporter: Czukowski >Assignee: Emilian Bold >Priority: Minor > Labels: pull-request-available > Time Spent: 1.5h > Remaining Estimate: 0h > > Go to File seems to search only by the file name. For example, it takes only > a double click to copy a file name including its path from a console (eg from > git output), and it's a shame it cannot be pasted into Go to File dialog to > open that file just as easily, without removing the path information first. > Also if there are many files with the same name (eg due to some naming > convention), there will be many results requiring some more time to locate > the correct one. > Therefore Go to File dialog should accept parts of file paths as well. > On Windows, both forward and back slashes should be supported for directory > separators. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5010) Go to File search should accept paths too
[ https://issues.apache.org/jira/browse/NETBEANS-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277901#comment-17277901 ] Czukowski commented on NETBEANS-5010: - [~chrizzly] sure, there should be a reasonable tradeoff between performance and ease of use. So imagine if there's no checkbox, and there's some guessing or search results ranking and limiting involved in a search, do you really think it would make the performance that bad? Or do you like the checkbox more because it's more explicit and gives you more control? I'm just a little concerned that having to remember to adjust the correct search mode manually every time, depending on whether I'm looking for a specific file and typing its name manually or copying the path from e.g. git status, doesn't make the whole process as much quicker than it could. > Go to File search should accept paths too > - > > Key: NETBEANS-5010 > URL: https://issues.apache.org/jira/browse/NETBEANS-5010 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.2 >Reporter: Czukowski >Assignee: Emilian Bold >Priority: Minor > Labels: pull-request-available > Time Spent: 1.5h > Remaining Estimate: 0h > > Go to File seems to search only by the file name. For example, it takes only > a double click to copy a file name including its path from a console (eg from > git output), and it's a shame it cannot be pasted into Go to File dialog to > open that file just as easily, without removing the path information first. > Also if there are many files with the same name (eg due to some naming > convention), there will be many results requiring some more time to locate > the correct one. > Therefore Go to File dialog should accept parts of file paths as well. > On Windows, both forward and back slashes should be supported for directory > separators. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5010) Go to File search should accept paths too
[ https://issues.apache.org/jira/browse/NETBEANS-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277831#comment-17277831 ] Czukowski commented on NETBEANS-5010: - [~emi] thank you for implementing this! I'm sure this feature will be useful to many. I've been testing it in 12.3 beta1 and I'd like to propose a few improvements: * if only file name is entered and Search by Folders is selected, nothing is found, so it has to be unchecked. Since file name is part of its path, maybe it should be able to find it anyway? * if path is entered and Search by Folders is not selected, then nothing is found, which is correct, but perhaps the search could tell it by the looks of the input and use the appropriate search mode automatically? What do you think? > Go to File search should accept paths too > - > > Key: NETBEANS-5010 > URL: https://issues.apache.org/jira/browse/NETBEANS-5010 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.2 >Reporter: Czukowski >Assignee: Emilian Bold >Priority: Minor > Labels: pull-request-available > Time Spent: 1.5h > Remaining Estimate: 0h > > Go to File seems to search only by the file name. For example, it takes only > a double click to copy a file name including its path from a console (eg from > git output), and it's a shame it cannot be pasted into Go to File dialog to > open that file just as easily, without removing the path information first. > Also if there are many files with the same name (eg due to some naming > convention), there will be many results requiring some more time to locate > the correct one. > Therefore Go to File dialog should accept parts of file paths as well. > On Windows, both forward and back slashes should be supported for directory > separators. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5314) java.lang.IllegalArgumentException: Already a project.xml
Czukowski created NETBEANS-5314: --- Summary: java.lang.IllegalArgumentException: Already a project.xml Key: NETBEANS-5314 URL: https://issues.apache.org/jira/browse/NETBEANS-5314 Project: NetBeans Issue Type: Bug Affects Versions: 12.3 Environment: *Product Version:* Apache NetBeans IDE 12.3-beta1 *Java:* 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 *Runtime:* Java(TM) SE Runtime Environment 14.0.2+12-46 *System:* Windows 10 version 10.0 running on amd64 Reporter: Czukowski Attachments: messages.log.1, uigestures.1 Starting 12.3 beta1 for the first time and importing settings from 12.2 this exception has occurred and an open project did not load completely. After restarting NetBeans the exception has not reoccurred and the project has loaded properly. Never seen an error message like that before! Exception details (complete log also attached) {code:java} java.lang.IllegalArgumentException: Already a C:\Workspace\Org\org\nbproject\project.xml@1e0a02ee:19db3813 at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:103) at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:98) at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:229) at org.openide.util.Mutex.writeAccess(Mutex.java:280) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject0(ProjectGenerator.java:98) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject(ProjectGenerator.java:79) at org.netbeans.modules.php.project.util.PhpProjectGenerator.createProject0(PhpProjectGenerator.java:145) at org.netbeans.modules.php.project.util.PhpProjectGenerator.createProject(PhpProjectGenerator.java:99) at org.netbeans.modules.php.project.util.PhpModuleGeneratorImpl.createModule(PhpModuleGeneratorImpl.java:38) at org.netbeans.modules.php.composer.PhpProjectConvertor$Factory.call(PhpProjectConvertor.java:145) at org.netbeans.modules.php.composer.PhpProjectConvertor$Factory.call(PhpProjectConvertor.java:113) at org.netbeans.spi.project.ui.ProjectConvertor$Result.createProject(ProjectConvertor.java:118) Caused: java.io.IOException at org.netbeans.spi.project.ui.ProjectConvertor$Result.createProject(ProjectConvertor.java:123) at org.netbeans.modules.project.ui.convertor.ProjectConvertorFactory$ConvertorProject$1.run(ProjectConvertorFactory.java:243) at org.netbeans.modules.project.ui.convertor.ProjectConvertorFactory$ConvertorProject$1.run(ProjectConvertorFactory.java:237) at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:229) at org.openide.util.Mutex.writeAccess(Mutex.java:280) at org.netbeans.modules.project.ui.convertor.ProjectConvertorFactory$ConvertorProject.createProject(ProjectConvertorFactory.java:237) at org.netbeans.modules.project.ui.convertor.ProjectConvertorFactory$ConvertorProject.access$700(ProjectConvertorFactory.java:148) [catch] at org.netbeans.modules.project.ui.convertor.ProjectConvertorFactory$ConvertorProject$OpenHook.projectOpened(ProjectConvertorFactory.java:283) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:60) at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:223) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:60) at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:1290) at org.netbeans.modules.project.ui.OpenProjectList.access$1600(OpenProjectList.java:111) at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.loadOnBackground(OpenProjectList.java:508) at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.run(OpenProjectList.java:379) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4216) PHP Debugger not stopping at some breakpoints
[ https://issues.apache.org/jira/browse/NETBEANS-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262637#comment-17262637 ] Czukowski commented on NETBEANS-4216: - [~Kacer] a part of the problem reported was that NetBeans treated some lines of as 'valid' for breakpoints, even though in fact they were not. In my opinion that would definitely count as a bug. But since you went all the way to implement breakpoints resolution support, it should take care of this issue as well, so I think it's an even better solution. Much appreciated! > PHP Debugger not stopping at some breakpoints > - > > Key: NETBEANS-4216 > URL: https://issues.apache.org/jira/browse/NETBEANS-4216 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger >Affects Versions: 12.0 > Environment: Windows, PHP 7.4.2, XDebug 2.9.2-7.4-VC15-NTS-x86_64 >Reporter: Czukowski >Priority: Major > Attachments: image-2020-04-22-16-28-58-345.png > > > While following [PHP > Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] > tests in Synergy, I ran into this issue, see image below. Lines 14, 16, 20 > and 21 have breakpoints set, all deemed 'valid' except for line 16. Yet when > debugging this sample file, the only line the debugger stops at is 20, while > skipping other lines. > The debugger should stop at all 'valid' breakpoints (that is, if it cannot > stop at some line, it should not be considered valid, otherwise it should > stop on it). > !image-2020-04-22-16-28-58-345.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-5065) NoClassDefFoundError: CUP$ASTPHP5Parser$actions
[ https://issues.apache.org/jira/browse/NETBEANS-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239559#comment-17239559 ] Czukowski commented on NETBEANS-5065: - [~Kacer] did it work for you? I think I've tried that in the first place, but unsuccessfully. Though it's been some time and I might be remembering wrong. I've had an idea to keep a backup and restore as soon as the file is deleted, but it may be necessary to do ant run twice (the first one where it deletes the file and the 2nd one with the file restored and no changes are detected to the sources so there's no recompile) > NoClassDefFoundError: CUP$ASTPHP5Parser$actions > --- > > Key: NETBEANS-5065 > URL: https://issues.apache.org/jira/browse/NETBEANS-5065 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.2 > Environment: Windows >Reporter: Czukowski >Priority: Major > > Posted this a few months ago on dev list, but since it hasn't get any > responses, I'm leaving an issue here. > This is an issue specific to Windows. Linux seems to be unaffected. > The problem is that during {{ant run}} execution for the PHP Editor module, > this file gets deleted: > {{php/php.editor/build/classes/org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions.class}} > It's not being created again using {{ant build}} for the module. A whole full > NetBeans build is needed for that. As a result, any change to PHP Editor > sources requires a full build to complete. > {{CUP$ASTPHP5Parser$actions.class}} is mentioned in > {{php/php.editor/nbproject/project.properties}} > [(1)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/php/php.editor/nbproject/project.properties#L20]: > {code:java} > nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class > {code} > And searching for {{nbjavac.ignore.missing.enclosing}} reveals two things: > # No other project.properties than PHP Editor seems to have it > # It's being used by {{CustomJavac.java}}, in {{cleanUpDependDebris()}} > method > [(2)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavac.java#L193-L212] > that does seem to delete some files and its comments link to an old [issue > #196556|https://bz.apache.org/netbeans/show_bug.cgi?id=196556] > From what I read, this file is supposed to be skipped from the deletion, but > apparently it's not. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5065) NoClassDefFoundError: CUP$ASTPHP5Parser$actions
[ https://issues.apache.org/jira/browse/NETBEANS-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-5065: Description: Posted this a few months ago on dev list, but since it hasn't get any responses, I'm leaving an issue here. This is an issue specific to Windows. Linux seems to be unaffected. The problem is that during {{ant run}} execution for the PHP Editor module, this file gets deleted: {{php/php.editor/build/classes/org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions.class}} It's not being created again using {{ant build}} for the module. A whole full NetBeans build is needed for that. As a result, any change to PHP Editor sources requires a full build to complete. {{CUP$ASTPHP5Parser$actions.class}} is mentioned in {{php/php.editor/nbproject/project.properties}} [(1)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/php/php.editor/nbproject/project.properties#L20]: {code:java} nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class {code} And searching for {{nbjavac.ignore.missing.enclosing}} reveals two things: # No other project.properties than PHP Editor seems to have it # It's being used by {{CustomJavac.java}}, in {{cleanUpDependDebris()}} method [(2)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavac.java#L193-L212] that does seem to delete some files and its comments link to an old [issue #196556|https://bz.apache.org/netbeans/show_bug.cgi?id=196556] >From what I read, this file is supposed to be skipped from the deletion, but >apparently it's not. was: Posted this a few months ago on dev list, but since it hasn't get any responses, I'm leaving an issue here. This is an issue specific to Windows. Linux seems to be unaffected. The problem is that during {{ant run}} execution for the PHP Editor module, this file gets deleted: {{php/php.editor/build/classes/org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions.class}} It's not being created again using {{ant build}} for the module. A whole full NetBeans build is needed for that. As a result, any change to PHP Editor sources requires a full build to complete. {{CUP$ASTPHP5Parser$actions.class}} is mentioned in {{php/php.editor/nbproject/project.properties}} [(1)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/php/php.editor/nbproject/project.properties#L20]: {code:java} nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class {code} And searching for {{nbjavac.ignore.missing.enclosing}} reveals two things: # No other project.properties than PHP Editor seems to have it # It's being used by {{CustomJavac.java}}, in {{cleanUpDependDebris()}} method [(2)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavac.java#L193-L212] that does seem to delete some files and its comments link to an old [issue #196556|https://bz.apache.org/netbeans/show_bug.cgi?id=196556] >From what I read, this file is supposed to be skipped from the deletion, but >apparently it's not. > NoClassDefFoundError: CUP$ASTPHP5Parser$actions > --- > > Key: NETBEANS-5065 > URL: https://issues.apache.org/jira/browse/NETBEANS-5065 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.2 > Environment: Windows >Reporter: Czukowski >Priority: Major > > Posted this a few months ago on dev list, but since it hasn't get any > responses, I'm leaving an issue here. > This is an issue specific to Windows. Linux seems to be unaffected. > The problem is that during {{ant run}} execution for the PHP Editor module, > this file gets deleted: > {{php/php.editor/build/classes/org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions.class}} > It's not being created again using {{ant build}} for the module. A whole full > NetBeans build is needed for that. As a result, any change to PHP Editor > sources requires a full build to complete. > {{CUP$ASTPHP5Parser$actions.class}} is mentioned in > {{php/php.editor/nbproject/project.properties}} > [(1)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/php/php.editor/nbproject/project.properties#L20]: > {code:java} > nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class > {code} > And searching for {{nbjavac.ignore.missing.enclosing}} reveals two things: > # No other project.properties than PHP Editor seems to have it > # It's being used by {{CustomJavac.java}}, in {{cleanUpDependDebris()}} > method > [(2)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavac.ja
[jira] [Created] (NETBEANS-5065) NoClassDefFoundError: CUP$ASTPHP5Parser$actions
Czukowski created NETBEANS-5065: --- Summary: NoClassDefFoundError: CUP$ASTPHP5Parser$actions Key: NETBEANS-5065 URL: https://issues.apache.org/jira/browse/NETBEANS-5065 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 12.2 Environment: Windows Reporter: Czukowski Posted this a few months ago on dev list, but since it hasn't get any responses, I'm leaving an issue here. This is an issue specific to Windows. Linux seems to be unaffected. The problem is that during {{ant run}} execution for the PHP Editor module, this file gets deleted: {{php/php.editor/build/classes/org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions.class}} It's not being created again using {{ant build}} for the module. A whole full NetBeans build is needed for that. As a result, any change to PHP Editor sources requires a full build to complete. {{CUP$ASTPHP5Parser$actions.class}} is mentioned in {{php/php.editor/nbproject/project.properties}} [(1)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/php/php.editor/nbproject/project.properties#L20]: {code:java} nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class {code} And searching for {{nbjavac.ignore.missing.enclosing}} reveals two things: # No other project.properties than PHP Editor seems to have it # It's being used by {{CustomJavac.java}}, in {{cleanUpDependDebris()}} method [(2)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavac.java#L193-L212] that does seem to delete some files and its comments link to an old [issue #196556|https://bz.apache.org/netbeans/show_bug.cgi?id=196556] >From what I read, this file is supposed to be skipped from the deletion, but >apparently it's not. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4509) PHP - code completion for function returning array
[ https://issues.apache.org/jira/browse/NETBEANS-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234357#comment-17234357 ] Czukowski commented on NETBEANS-4509: - [~Kacer] I've actually managed to track it to some piece of code in the build process that deletes the file and causes this exception for subsequent runs, but I wasn't sure what to do with it next. I've posted my findings to the dev list, but nobody knew or cared to reply: https://lists.apache.org/thread.html/r9be94f028328a7acf43aa99577c24b2627e0277afd4439d08d09c160%40%3Cdev.netbeans.apache.org%3E > PHP - code completion for function returning array > -- > > Key: NETBEANS-4509 > URL: https://issues.apache.org/jira/browse/NETBEANS-4509 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.0 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > NetBeans support code completion for array items when their type is specified. > Code completion does not work for methods which have return type {{array}} in > signature and specific type in {{@return}} annotation. > In following code methods from {{\SplFileInfo}} are offered for variable > {{$file}}. > {code:php} > /** > * @param \SplFileInfo[] $files > */ > function walkFiles(array $files) { > foreach ($files as $file) { > $file-> // Offers methods from \SplFileInfo > } > } > {code} > In following code is expected same behavior, but no methods are offered. > {code:php} > /** > * @return \SplFileInfo[] > */ > function getFiles(): array { } > foreach (getFiles() as $file) { > $file-> // Does not offer methods from \SplFileInfo > } > {code} > If return type is removed from {{getFiles()}} method, then methods are > offered for {{$file}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-1796) When use Find Usage the result is: "Can't refactor here"
[ https://issues.apache.org/jira/browse/NETBEANS-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-1796: Component/s: (was: cnd - Editor) php - Editor > When use Find Usage the result is: "Can't refactor here" > > > Key: NETBEANS-1796 > URL: https://issues.apache.org/jira/browse/NETBEANS-1796 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 10.0 > Environment: Windows 10 >Reporter: Petru Ciucur >Priority: Major > Labels: fixit > Fix For: Next > > Attachments: usage_refactor.jpg > > > When use Find Usage the result is: "Can't refactor here". > I use it in a php script for a class (methods). > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5018) Migrate editor panels positions
Czukowski created NETBEANS-5018: --- Summary: Migrate editor panels positions Key: NETBEANS-5018 URL: https://issues.apache.org/jira/browse/NETBEANS-5018 Project: NetBeans Issue Type: Improvement Affects Versions: 12.2 Reporter: Czukowski NetBeans can import the settings from the previous installation, but that doesn't work for editors panels. Thus, with each new NetBeans version I have to readjust them to my liking (moving around, minimizing, etc). This is at least four times a year and in case of trying out betas and RCs it may be even more within a short time period, which can get a little annoying at times. Would it be possible to migrate this positioning along with the rest of the user config? -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5011) Match keyword marked as syntax error despite PHP version in Project settings
[ https://issues.apache.org/jira/browse/NETBEANS-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230049#comment-17230049 ] Czukowski commented on NETBEANS-5011: - [~tmysik] well first of all, let me assure you there's no hard feelings from my side and I hope that it didn't appear as I was demanding any work to be done, as I realize very well that nobody here is being paid to work on NetBeans. In fact, this specific issue doesn't bother me too much (the code from my example isn't mine, but it'll be fixed eventually, although in my work I've had to work on some ancient code that i _knew_ will never be updated), I just assumed this is something you'd like to get fixed so I reported it. Being mostly just a user, I lack necessary perception to recognize all the terminology correctly. To me, the errors pointed out by the parser are 'hints' too and when I see that it works somewhere but not somewhere else, there come questions how come :) As for your question, I got that idea from your reply when I asked about how certain things worked and what would be necessary to improve that, and the response was the suggestion to do it myself if I so wanted. > Match keyword marked as syntax error despite PHP version in Project settings > > > Key: NETBEANS-5011 > URL: https://issues.apache.org/jira/browse/NETBEANS-5011 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.2 > Environment: Product Version: Apache NetBeans IDE 12.2-rc1 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 >Reporter: Czukowski >Assignee: Junichi Yamamoto >Priority: Minor > Attachments: image-2020-11-11-10-36-51-198.png, > netbeans-5011-with-php8.0.png > > > NetBeans version: 12.2-rc1 > Project PHP version is set to 7.4 > !image-2020-11-11-10-36-51-198.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5011) Match keyword marked as syntax error despite PHP version in Project settings
[ https://issues.apache.org/jira/browse/NETBEANS-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230018#comment-17230018 ] Czukowski commented on NETBEANS-5011: - Not interested in a discussion, I see. In that case I have no further questions. As for the PRs, I've really considered it, but unfortunately I've had some serious issues with the build and nobody on the dev list was able or wanted to help, so I guess it's a no-go... > Match keyword marked as syntax error despite PHP version in Project settings > > > Key: NETBEANS-5011 > URL: https://issues.apache.org/jira/browse/NETBEANS-5011 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.2 > Environment: Product Version: Apache NetBeans IDE 12.2-rc1 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 >Reporter: Czukowski >Assignee: Junichi Yamamoto >Priority: Minor > Attachments: image-2020-11-11-10-36-51-198.png, > netbeans-5011-with-php8.0.png > > > NetBeans version: 12.2-rc1 > Project PHP version is set to 7.4 > !image-2020-11-11-10-36-51-198.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5011) Match keyword marked as syntax error despite PHP version in Project settings
[ https://issues.apache.org/jira/browse/NETBEANS-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230001#comment-17230001 ] Czukowski commented on NETBEANS-5011: - [~junichi11] are you sure it will be much harder to maintain multiple grammar files? The way I see it, whenever the PHP syntax changes, you can just make a copy, including the tests and make the necessary adjustments. The previous version would remain unchanged and it is unlikely there will ever be a need to change it, if only to fix bugs, if there any found. The only down side is that in case of bug fixing, there may be multiple copies of a bug, but since they're just copies, that shouldn't be much of a problem. Note: I'm not asking you to undertake such a task just in order to fix a 'match' keyword, I want to start a discussion to understand the situation better, including, for example, why is there a project setting that suggests there should be a support for multiple PHP versions, while in fact there might be some, but 'officially' there's none. And what would it take to bring such support into NetBeans and whether you (not you personally, but the team) hope to ever get around to do it. > Match keyword marked as syntax error despite PHP version in Project settings > > > Key: NETBEANS-5011 > URL: https://issues.apache.org/jira/browse/NETBEANS-5011 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.2 > Environment: Product Version: Apache NetBeans IDE 12.2-rc1 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 >Reporter: Czukowski >Assignee: Junichi Yamamoto >Priority: Minor > Attachments: image-2020-11-11-10-36-51-198.png, > netbeans-5011-with-php8.0.png > > > NetBeans version: 12.2-rc1 > Project PHP version is set to 7.4 > !image-2020-11-11-10-36-51-198.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5011) Match keyword marked as syntax error despite PHP version in Project settings
[ https://issues.apache.org/jira/browse/NETBEANS-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17229975#comment-17229975 ] Czukowski commented on NETBEANS-5011: - Well, it is understandable, but not very user friendly and kind of defeats the purpose of having the PHP version setting in the project. If I remember correctly, there is _some_ level of support based on that setting. I've had to maintain some old projects in the past and just changing that setting to the correct version has always made it work without any issues and I liked NetBeans for that. But if it's not really possible (not even to have a different grammar file per 'supported' PHP version?), then you should probably remove that setting and all associated code. If there's no ambiguity, there won't be any questions :) p.s. Upgrading NetBeans to a newer version is not only for new features, but also in hope that some of the existing issues would be fixed. A situation like this will put the users into a lose-lose situation, where they'll have to give up one thing or another based on a choice they make. > Match keyword marked as syntax error despite PHP version in Project settings > > > Key: NETBEANS-5011 > URL: https://issues.apache.org/jira/browse/NETBEANS-5011 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.2 > Environment: Product Version: Apache NetBeans IDE 12.2-rc1 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 >Reporter: Czukowski >Assignee: Junichi Yamamoto >Priority: Minor > Attachments: image-2020-11-11-10-36-51-198.png, > netbeans-5011-with-php8.0.png > > > NetBeans version: 12.2-rc1 > Project PHP version is set to 7.4 > !image-2020-11-11-10-36-51-198.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5014) java.lang.NullPointerException: Null key
Czukowski created NETBEANS-5014: --- Summary: java.lang.NullPointerException: Null key Key: NETBEANS-5014 URL: https://issues.apache.org/jira/browse/NETBEANS-5014 Project: NetBeans Issue Type: Bug Components: javascript - Editor Affects Versions: 12.2 Environment: Product Version: Apache NetBeans IDE 12.2-rc1 Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 Reporter: Czukowski Not sure what exactly did I do to trigger this, I edited a file that had some HTML code in it and after a while I noticed this error notification icon. I haven't noticed an error like this in 12.1 so I assume it's probably new. The exception seemed to have no effect on IDE stability. Stack trace: {code:java} java.lang.NullPointerException: Null key at java.prefs/java.util.prefs.AbstractPreferences.get(AbstractPreferences.java:294) at java.prefs/java.util.prefs.AbstractPreferences.getBoolean(AbstractPreferences.java:531) at org.netbeans.modules.javascript2.editor.hints.ErrorCheckingSupport.isErrorCheckingEnabledForMimetype(ErrorCheckingSupport.java:73) at org.netbeans.modules.javascript2.editor.hints.JsHintsProvider.computeErrors(JsHintsProvider.java:140) at org.netbeans.modules.csl.hints.GsfHintsProvider.processProviderErrors(GsfHintsProvider.java:297) at org.netbeans.modules.csl.hints.GsfHintsProvider.processErrors(GsfHintsProvider.java:383) at org.netbeans.modules.csl.hints.GsfHintsProvider.processErrorsRecursive(GsfHintsProvider.java:359) at org.netbeans.modules.csl.hints.GsfHintsProvider.processErrorsRecursive(GsfHintsProvider.java:354) at org.netbeans.modules.csl.hints.GsfHintsProvider.refreshErrors(GsfHintsProvider.java:327) at org.netbeans.modules.csl.hints.GsfHintsProvider.access$200(GsfHintsProvider.java:79) at org.netbeans.modules.csl.hints.GsfHintsProvider$2.run(GsfHintsProvider.java:407) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) Caused: org.netbeans.modules.parsing.spi.ParseException at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) [catch] at org.netbeans.modules.csl.hints.GsfHintsProvider.run(GsfHintsProvider.java:405) at org.netbeans.modules.csl.hints.GsfHintsProvider.run(GsfHintsProvider.java:79) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-5011) Match keyword marked as syntax error despite PHP version in Project settings
Czukowski created NETBEANS-5011: --- Summary: Match keyword marked as syntax error despite PHP version in Project settings Key: NETBEANS-5011 URL: https://issues.apache.org/jira/browse/NETBEANS-5011 Project: NetBeans Issue Type: Bug Components: php - Code Affects Versions: 12.2 Environment: Product Version: Apache NetBeans IDE 12.2-rc1 Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 Reporter: Czukowski Attachments: image-2020-11-11-10-36-51-198.png NetBeans version: 12.2-rc1 Project PHP version is set to 7.4 !image-2020-11-11-10-36-51-198.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5010) Go to File search should accept paths too
Czukowski created NETBEANS-5010: --- Summary: Go to File search should accept paths too Key: NETBEANS-5010 URL: https://issues.apache.org/jira/browse/NETBEANS-5010 Project: NetBeans Issue Type: Improvement Components: php - Editor Affects Versions: 12.2 Reporter: Czukowski Go to File seems to search only by the file name. For example, it takes only a double click to copy a file name including its path from a console (eg from git output), and it's a shame it cannot be pasted into Go to File dialog to open that file just as easily, without removing the path information first. Also if there are many files with the same name (eg due to some naming convention), there will be many results requiring some more time to locate the correct one. Therefore Go to File dialog should accept parts of file paths as well. On Windows, both forward and back slashes should be supported for directory separators. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5009) Class cannot be found using Go to Type dialog if its file contains conflicts
Czukowski created NETBEANS-5009: --- Summary: Class cannot be found using Go to Type dialog if its file contains conflicts Key: NETBEANS-5009 URL: https://issues.apache.org/jira/browse/NETBEANS-5009 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 12.2 Reporter: Czukowski One way to quickly open a specific code in the IDE is to use Go to Type dialog. But if a conflict occurs during merge or rebase, it cannot be found, probably as a result of a parsing error due to conflict markers in the file. There also Go to File dialog that still does the job, but it would be great if the developer didn't have to think about which one to use in this situation, knowing that both would 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] [Created] (NETBEANS-4800) StackOverflowError / Infinite loop in DocRenderer$PHPDocExtractor.getOverriddenMethods
Czukowski created NETBEANS-4800: --- Summary: StackOverflowError / Infinite loop in DocRenderer$PHPDocExtractor.getOverriddenMethods Key: NETBEANS-4800 URL: https://issues.apache.org/jira/browse/NETBEANS-4800 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 12.1 Reporter: Czukowski Seen this today in log for the first time, although this is my usual project I work on. Probably a random error, although it was not clear to me what has triggered it, I just noticed an error notification in the status bar. {code:java} SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.editor.NbToolTip$Request java.lang.StackOverflowError at java.base/java.io.RandomAccessFile.read(RandomAccessFile.java:408) at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.readInternal(SimpleFSDirectory.java:123) at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:156) at org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:275) at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:270) at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:136) at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:111) at org.apache.lucene.index.TermBuffer.read(TermBuffer.java:82) at org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:133) at org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:174) at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:236) at org.apache.lucene.index.TermInfosReader.terms(TermInfosReader.java:304) at org.apache.lucene.index.SegmentReader.terms(SegmentReader.java:473) at org.apache.lucene.search.PrefixTermEnum.(PrefixTermEnum.java:41) at org.apache.lucene.search.PrefixQuery.getEnum(PrefixQuery.java:45) at org.apache.lucene.search.MultiTermQueryWrapperFilter.getDocIdSet(MultiTermQueryWrapperFilter.java:108) at org.apache.lucene.search.ConstantScoreQuery$ConstantWeight.scorer(ConstantScoreQuery.java:139) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:577) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:383) at org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:164) at org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261) at org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182) at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:631) at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:591) 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.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:591) at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:343) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.search(IndexQueryImpl.java:1676) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.results(IndexQueryImpl.java:1714) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.getMethodsImpl(IndexQueryImpl.java:657) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.getDirectInheritedClassTypes(IndexQueryImpl.java:1119) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.getDirectInheritedTypeMembers(IndexQueryImpl.java:1027) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.getInheritedTypeMembers(IndexQueryImpl.java:1310) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.getInheritedMethods(IndexQueryImpl.java:1150) at org.netbeans.modules.php.editor.completion.DocRenderer$PHPDocExtractor.getInheritedMethods(DocRenderer.java:879) at org.netbeans.modules.php.editor.completion.DocRenderer$PHPDocExtractor.getOverriddenMethods(DocRenderer.java:870) at org.netbeans.modules.php.editor.completion.DocRenderer$PHPDocExtractor.getOverriddenMethods(DocRenderer.java:861) at org.netbeans.modules.php.editor.completion.DocRenderer$PHPDocExtractor.getOverriddenMethods(DocRenderer.java:864)
[jira] [Commented] (NETBEANS-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17184088#comment-17184088 ] Czukowski commented on NETBEANS-4623: - I wasn't sure about the Find text field length, I don't think I've tried to find strings that are too long, at least not consciously (I might have pressed Ctrl+F with multiple lines selected, but I think it's a special case as they're not being pasted into the text field and the issue doesn't seem to reproduce with multi line selection even in beta3). So I found the longest line in my code I could and I tried instructions from [~junichi11] and it did break beta3, although in a little different way: only the Find panel broke, other UI elements seemed to work fine afterwards, and I didn't experience UI unresponsiveness, I guess there must have been more than one way to trigger the issue. The same instructions did not break beta4 and the issue hasn't occurred during the whole day of my usual work activities in beta4. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta3 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 > Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Assignee: Karl Tauber >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, idelog-8.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17182987#comment-17182987 ] Czukowski commented on NETBEANS-4623: - [~DevCharly] [~junichi11] thank you for looking into it! > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta3 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 > Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Assignee: Karl Tauber >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, idelog-8.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181774#comment-17181774 ] Czukowski commented on NETBEANS-4623: - Unfortunately got it again with Windows look and feel (idelog-8.txt attached), so it's probably not FlatLaf related. I was using search in a file shortly before but it seemed to work correctly and I've noticed something's went wrong only a few moments later after I went to rename a file in a project and then I saw a red exclamation icon notifying about 2 exceptions (just as in the issue description). > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta3 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 > Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Assignee: Karl Tauber >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, idelog-8.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Attachment: idelog-8.txt > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta3 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 > Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Assignee: Karl Tauber >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, idelog-8.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Environment: Product Version: Apache NetBeans IDE 12.1-beta3 Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46 System: Windows 10 version 10.0 running on amd64 was: Product Version: Apache NetBeans IDE 12.1-beta1 Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 Runtime: Java(TM) SE Runtime Environment 12.0.2+10 System: Windows 10 version 10.0 running on amd64 > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta3 > Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 > Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181197#comment-17181197 ] Czukowski commented on NETBEANS-4623: - The issue is reproducible in beta3 for me. But then I switched to 'Windows' look and feel and half a day later - so far so good 😊 > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176857#comment-17176857 ] Czukowski edited comment on NETBEANS-4623 at 8/13/20, 11:48 AM: [~neilcsmith] searching is mentioned in the log, yes, but I wouldn't say the issues has occurred right during my usage of the Find function every time. It might be that and I've got so used to using the search that I'm not even realizing it (even though I'm trying to pay attention to what I do), but most of the time I've noticed something's wrong is when I wanted to click somewhere and I it didn't work. Not sure about mime type, did you mean the type of the file currently being edited? If so, then probably not, the last time the issue occurred when in {{?.js}} file and previously it's been happening in {{?.php}} as well. The Look and Feel is FlatLaf Light, I believe it's the default one. was (Author: czukowski): [~neilcsmith] searching is mentioned in the log, yes, but I wouldn't say the issues has occurred right during my usage of the Find function every time. It might be that and I've got so used to using the search that I'm not even realizing it (even though I'm trying to pay attention to what I do), but most of the time I've noticed something's wrong is when I wanted to click somewhere and I it didn't work. Not sure about mime type, did you mean the type of the file currently being edited? If so, then probably not, the last time the issue occurred when in {{*.js}} file and previously it's been happening in {{*.php}} as well. The Look and Feel is FlatLaf Light, I believe it's the default one. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176857#comment-17176857 ] Czukowski edited comment on NETBEANS-4623 at 8/13/20, 11:48 AM: [~neilcsmith] searching is mentioned in the log, yes, but I wouldn't say the issues has occurred right during my usage of the Find function every time. It might be that and I've got so used to using the search that I'm not even realizing it (even though I'm trying to pay attention to what I do), but most of the time I've noticed something's wrong is when I wanted to click somewhere and I it didn't work. Not sure about mime type, did you mean the type of the file currently being edited? If so, then probably not, the last time the issue occurred when in {{*.js}} file and previously it's been happening in {{*.php}} as well. The Look and Feel is FlatLaf Light, I believe it's the default one. was (Author: czukowski): [~neilcsmith] searching is mentioned in the log, yes, but I wouldn't say the issues has occurred right during my usage of the Find function every time. It might be that and I've got so used to using the search that I'm not even realizing it (even though I'm trying to pay attention to what I do), but most of the time I've noticed something's wrong is when I wanted to click somewhere and I it didn't work. The Look and Feel is FlatLaf Light, I believe it's the default one. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176857#comment-17176857 ] Czukowski edited comment on NETBEANS-4623 at 8/13/20, 11:48 AM: [~neilcsmith] searching is mentioned in the log, yes, but I wouldn't say the issues has occurred right during my usage of the Find function every time. It might be that and I've got so used to using the search that I'm not even realizing it (even though I'm trying to pay attention to what I do), but most of the time I've noticed something's wrong is when I wanted to click somewhere and I it didn't work. Not sure about mime type, did you mean the type of the file currently being edited? If so, then probably not, the last time the issue occurred when in {{.js}} file and previously it's been happening in {{.php}} as well. The Look and Feel is FlatLaf Light, I believe it's the default one. was (Author: czukowski): [~neilcsmith] searching is mentioned in the log, yes, but I wouldn't say the issues has occurred right during my usage of the Find function every time. It might be that and I've got so used to using the search that I'm not even realizing it (even though I'm trying to pay attention to what I do), but most of the time I've noticed something's wrong is when I wanted to click somewhere and I it didn't work. Not sure about mime type, did you mean the type of the file currently being edited? If so, then probably not, the last time the issue occurred when in {{?.js}} file and previously it's been happening in {{?.php}} as well. The Look and Feel is FlatLaf Light, I believe it's the default one. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176857#comment-17176857 ] Czukowski commented on NETBEANS-4623: - [~neilcsmith] searching is mentioned in the log, yes, but I wouldn't say the issues has occurred right during my usage of the Find function every time. It might be that and I've got so used to using the search that I'm not even realizing it (even though I'm trying to pay attention to what I do), but most of the time I've noticed something's wrong is when I wanted to click somewhere and I it didn't work. The Look and Feel is FlatLaf Light, I believe it's the default one. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176844#comment-17176844 ] Czukowski commented on NETBEANS-4623: - I thought I was onto something, because previously I failed to mention one possibly important detail about by setup (which I realized only after I added my comments yesterday), but it seems the issue occurs nonetheless: Due to UI scaling issues I'm modifying {{netbeans.conf}} file by adding {{-J-Dsun.java2d.uiScale=1.0 --fontsize 12}} at the end of the default options. I've found that line on the internet long ago, I've used it with NetBeans 10.x, 11.x and 12.0 without any issues so far and I do that automatically with each new NetBeans version I install so it haven't occurred to me it could matter. But since it's related to UI, as are the exceptions in the log, I then thought it might be the reason this issue hasn't been reported yet by anybody else, so I tried running the beta2 without it, but I've still got the same error eventually. So I guess it's not related after all, but I still decided to mention it. I also noticed there are NullPointerExceptions in the IDE log in {{java.desktop/javax.swing.text.JTextComponent.write}} that I've reported separately in NETBEANS-4620, so it's possible those are connected (although I experience UI freezes when this issue occurs, it's not as severe as described in NETBEANS-4620). > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Attachment: idelog-7.txt > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Attachment: image-2020-08-13-10-28-36-635.png > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Attachment: (was: image-2020-08-13-10-28-36-635.png) > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176365#comment-17176365 ] Czukowski commented on NETBEANS-4623: - [~neilcsmith] it does reproduce with beta2 for me (idelog-6.txt attached). *Product Version:* Apache NetBeans IDE 12.1-beta2 *Java:* 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 *Runtime:* Java(TM) SE Runtime Environment 14.0.2+12-46 > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Attachment: idelog-6.txt > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > idelog-6.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176295#comment-17176295 ] Czukowski commented on NETBEANS-4623: - [~neilcsmith] yes, it seems so (idelog-5.txt attached). It always takes some time of my usual work before the issue appears, I cannot reproduce it at will. *Product Version:* Apache NetBeans IDE 12.1-beta1 *Java:* 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 *Runtime:* Java(TM) SE Runtime Environment 14.0.2+12-46 Will retry with beta2 just in case and let you know. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Attachment: idelog-5.txt > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, > image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4509) PHP - code completion for function returning array
[ https://issues.apache.org/jira/browse/NETBEANS-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176055#comment-17176055 ] Czukowski commented on NETBEANS-4509: - [~Kacer] btw I noticed you've created some commits into the PHP Editor module, have you overcome the {{NoClassDefFoundError: CUP$ASTPHP5Parser$actions}} issue somehow? > PHP - code completion for function returning array > -- > > Key: NETBEANS-4509 > URL: https://issues.apache.org/jira/browse/NETBEANS-4509 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.0 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > NetBeans support code completion for array items when their type is specified. > Code completion does not work for methods which have return type {{array}} in > signature and specific type in {{@return}} annotation. > In following code methods from {{\SplFileInfo}} are offered for variable > {{$file}}. > {code:php} > /** > * @param \SplFileInfo[] $files > */ > function walkFiles(array $files) { > foreach ($files as $file) { > $file-> // Offers methods from \SplFileInfo > } > } > {code} > In following code is expected same behavior, but no methods are offered. > {code:php} > /** > * @return \SplFileInfo[] > */ > function getFiles(): array { } > foreach (getFiles() as $file) { > $file-> // Does not offer methods from \SplFileInfo > } > {code} > If return type is removed from {{getFiles()}} method, then methods are > offered for {{$file}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-4509) PHP - code completion for function returning array
[ https://issues.apache.org/jira/browse/NETBEANS-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176049#comment-17176049 ] Czukowski edited comment on NETBEANS-4509 at 8/12/20, 6:25 AM: --- Thanks for the info! My concern was about the traversable types, such as {{Doctrine\ORM\Internal\Hydration\IterableResult}} or any other implementing {{Traversable}} interface, it's become very common for such types to be method arguments or return types, where the autocompletion is lacking in NetBeans. If it's too expensive to examine the class dependency tree, could it be made to trust the annotation comments in the first place, and only when there's none, then examine the type itself? This can be written in a number of ways though: {code:php} /** * @param SomeIterableType|Foo[] $result */ function processFoos(SomeIterableType $result): void{code} or maybe just {code:php} /** * @param Foo[] $result */ function processFoos(SomeIterableType $result): void{code} and something like this also works in PHPStan, although this syntax doesn't seem to be parsed correctly by NetBeans: {code:php} /** * @param SomeIterableType $result */ function processFoos(SomeIterableType $result): void{code} was (Author: czukowski): Thanks for the info! My concern was about the traversable types, such as {{Doctrine\ORM\Internal\Hydration\IterableResult}}, it's become very common for such types to be method arguments or return types, where the autocompletion is lacking in NetBeans. If it's too expensive to examine the class dependency tree, could it be made to trust the annotation comments in the first place, and only when there's none, then examine the type itself? This can be written in a number of ways though: {code:php} /** * @param SomeIterableType|Foo[] $result */ function processFoos(SomeIterableType $result): void{code} or maybe just {code:php} /** * @param Foo[] $result */ function processFoos(SomeIterableType $result): void{code} and something like this also works in PHPStan, although this syntax doesn't seem to be parsed correctly by NetBeans: {code:php} /** * @param SomeIterableType $result */ function processFoos(SomeIterableType $result): void{code} > PHP - code completion for function returning array > -- > > Key: NETBEANS-4509 > URL: https://issues.apache.org/jira/browse/NETBEANS-4509 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.0 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > NetBeans support code completion for array items when their type is specified. > Code completion does not work for methods which have return type {{array}} in > signature and specific type in {{@return}} annotation. > In following code methods from {{\SplFileInfo}} are offered for variable > {{$file}}. > {code:php} > /** > * @param \SplFileInfo[] $files > */ > function walkFiles(array $files) { > foreach ($files as $file) { > $file-> // Offers methods from \SplFileInfo > } > } > {code} > In following code is expected same behavior, but no methods are offered. > {code:php} > /** > * @return \SplFileInfo[] > */ > function getFiles(): array { } > foreach (getFiles() as $file) { > $file-> // Does not offer methods from \SplFileInfo > } > {code} > If return type is removed from {{getFiles()}} method, then methods are > offered for {{$file}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4509) PHP - code completion for function returning array
[ https://issues.apache.org/jira/browse/NETBEANS-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176049#comment-17176049 ] Czukowski commented on NETBEANS-4509: - Thanks for the info! My concern was about the traversable types, such as {{Doctrine\ORM\Internal\Hydration\IterableResult}}, it's become very common for such types to be method arguments or return types, where the autocompletion is lacking in NetBeans. If it's too expensive to examine the class dependency tree, could it be made to trust the annotation comments in the first place, and only when there's none, then examine the type itself? This can be written in a number of ways though: {code:php} /** * @param SomeIterableType|Foo[] $result */ function processFoos(SomeIterableType $result): void{code} or maybe just {code:php} /** * @param Foo[] $result */ function processFoos(SomeIterableType $result): void{code} and something like this also works in PHPStan, although this syntax doesn't seem to be parsed correctly by NetBeans: {code:php} /** * @param SomeIterableType $result */ function processFoos(SomeIterableType $result): void{code} > PHP - code completion for function returning array > -- > > Key: NETBEANS-4509 > URL: https://issues.apache.org/jira/browse/NETBEANS-4509 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.0 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > NetBeans support code completion for array items when their type is specified. > Code completion does not work for methods which have return type {{array}} in > signature and specific type in {{@return}} annotation. > In following code methods from {{\SplFileInfo}} are offered for variable > {{$file}}. > {code:php} > /** > * @param \SplFileInfo[] $files > */ > function walkFiles(array $files) { > foreach ($files as $file) { > $file-> // Offers methods from \SplFileInfo > } > } > {code} > In following code is expected same behavior, but no methods are offered. > {code:php} > /** > * @return \SplFileInfo[] > */ > function getFiles(): array { } > foreach (getFiles() as $file) { > $file-> // Does not offer methods from \SplFileInfo > } > {code} > If return type is removed from {{getFiles()}} method, then methods are > offered for {{$file}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4509) PHP - code completion for function returning array
[ https://issues.apache.org/jira/browse/NETBEANS-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174088#comment-17174088 ] Czukowski commented on NETBEANS-4509: - [~Kacer] would it be possible to extend this to work with any iterable return type? > PHP - code completion for function returning array > -- > > Key: NETBEANS-4509 > URL: https://issues.apache.org/jira/browse/NETBEANS-4509 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.0 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > NetBeans support code completion for array items when their type is specified. > Code completion does not work for methods which have return type {{array}} in > signature and specific type in {{@return}} annotation. > In following code methods from {{\SplFileInfo}} are offered for variable > {{$file}}. > {code:php} > /** > * @param \SplFileInfo[] $files > */ > function walkFiles(array $files) { > foreach ($files as $file) { > $file-> // Offers methods from \SplFileInfo > } > } > {code} > In following code is expected same behavior, but no methods are offered. > {code:php} > /** > * @return \SplFileInfo[] > */ > function getFiles(): array { } > foreach (getFiles() as $file) { > $file-> // Does not offer methods from \SplFileInfo > } > {code} > If return type is removed from {{getFiles()}} method, then methods are > offered for {{$file}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166264#comment-17166264 ] Czukowski edited comment on NETBEANS-4623 at 7/28/20, 8:41 AM: --- Attached another IDE log (idelog-4.txt) that has NullPointerException as the last logged error (it is also present in the previous log from a few days ago). This time the error kept reoccurring until I restarted the IDE. The IDE has become frozen for a few moments before the exception has occurred. was (Author: czukowski): Attached another IDE log (idelog-4.txt) that has NullPointerException as the last logged error (it is also present in the previous log from a few days ago). This time the error kept reoccurring until I restarted the IDE. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, > image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166264#comment-17166264 ] Czukowski commented on NETBEANS-4623: - Attached another IDE log (idelog-4.txt) that has NullPointerException as the last logged error (it is also present in the previous log from a few days ago). This time the error kept reoccurring until I restarted the IDE. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, > image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Attachment: idelog-4.txt > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, > image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Description: Was testing 12.1 beta1 today, during my normal activity I noticed an error icon in the status bar at the bottom. The IDE was responsive and everything seemingly working so far. Upon clicking the icon, where the Notification panel would appear, only a blank space appears instead of it. If I try to open a file from Project or Files panels, similar things happen, editor tabs do open, but they are blank and gray. Other IDE dialogs (that are not panels) can still be open without issues. The only way I've found to get rid of the issue is to restart the IDE. It did happen a few times after that too, it wasn't clear which action has triggered the issue. !image-2020-07-23-14-53-04-101.png! See the attachment for the IDE log, this error can be seen repeated there multiple times. was: Was testing 12.1 beta1 today, during my normal activity I noticed an error icon in the status bar at the bottom. The IDE was responsive and everything seemingly working so far. Upon clicking the icon, where the Notification panel would appear, only a blank space appears instead of it. If I try to open a file from Project or Files panels, similar things happen, editor tabs do open, but they are blank and gray. Other IDE dialogs can still be open without issues. !image-2020-07-23-14-53-04-101.png! See the attachment for the IDE log, this error can be seen repeated there multiple times. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, > image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs (that are not panels) can still be open without issues. > The only way I've found to get rid of the issue is to restart the IDE. It did > happen a few times after that too, it wasn't clear which action has triggered > the issue. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163663#comment-17163663 ] Czukowski commented on NETBEANS-4623: - Attached another IDE log (idelog-3.txt) from another time when the issue occurred. It also contains a logged NullPointerException in BasicTextUI.modelToView that could be related. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, > image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs can still be open without issues. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Attachment: idelog-3.txt > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, idelog-3.txt, > image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs can still be open without issues. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
[ https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4623: Description: Was testing 12.1 beta1 today, during my normal activity I noticed an error icon in the status bar at the bottom. The IDE was responsive and everything seemingly working so far. Upon clicking the icon, where the Notification panel would appear, only a blank space appears instead of it. If I try to open a file from Project or Files panels, similar things happen, editor tabs do open, but they are blank and gray. Other IDE dialogs can still be open without issues. !image-2020-07-23-14-53-04-101.png! See the attachment for the IDE log, this error can be seen repeated there multiple times. was: Was testing 12.1 beta1 today, during my normal activity I noticed an error icon in the status bar at the bottom. The IDE was responsive and everything seemingly working so far. Upon clicking the icon, where the Notification panel would appear, only a blank space appears instead of it. If I try to open a file from Project or Files panels, similar things happen, editor tabs do open, but they are blank and gray. !image-2020-07-23-14-53-04-101.png! See the attachment for the IDE log, this error can be seen repeated there multiple times. > NullPointerException in BasicTextUI.getPreferredSize > > > Key: NETBEANS-4623 > URL: https://issues.apache.org/jira/browse/NETBEANS-4623 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1-beta1 > Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 > Runtime: Java(TM) SE Runtime Environment 12.0.2+10 > System: Windows 10 version 10.0 running on amd64 >Reporter: Czukowski >Priority: Major > Attachments: idelog-2.txt, image-2020-07-23-14-53-04-101.png > > > Was testing 12.1 beta1 today, during my normal activity I noticed an error > icon in the status bar at the bottom. The IDE was responsive and everything > seemingly working so far. > Upon clicking the icon, where the Notification panel would appear, only a > blank space appears instead of it. If I try to open a file from Project or > Files panels, similar things happen, editor tabs do open, but they are blank > and gray. > Other IDE dialogs can still be open without issues. > !image-2020-07-23-14-53-04-101.png! > See the attachment for the IDE log, this error can be seen repeated there > multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4623) NullPointerException in BasicTextUI.getPreferredSize
Czukowski created NETBEANS-4623: --- Summary: NullPointerException in BasicTextUI.getPreferredSize Key: NETBEANS-4623 URL: https://issues.apache.org/jira/browse/NETBEANS-4623 Project: NetBeans Issue Type: Bug Affects Versions: 12.1 Environment: Product Version: Apache NetBeans IDE 12.1-beta1 Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 Runtime: Java(TM) SE Runtime Environment 12.0.2+10 System: Windows 10 version 10.0 running on amd64 Reporter: Czukowski Attachments: idelog-2.txt, image-2020-07-23-14-53-04-101.png Was testing 12.1 beta1 today, during my normal activity I noticed an error icon in the status bar at the bottom. The IDE was responsive and everything seemingly working so far. Upon clicking the icon, where the Notification panel would appear, only a blank space appears instead of it. If I try to open a file from Project or Files panels, similar things happen, editor tabs do open, but they are blank and gray. !image-2020-07-23-14-53-04-101.png! See the attachment for the IDE log, this error can be seen repeated there multiple times. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4620) NullPointerException - finding occurrences
Czukowski created NETBEANS-4620: --- Summary: NullPointerException - finding occurrences Key: NETBEANS-4620 URL: https://issues.apache.org/jira/browse/NETBEANS-4620 Project: NetBeans Issue Type: Bug Affects Versions: 12.1 Environment: Product Version: Apache NetBeans IDE 12.1-beta1 Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10 Runtime: Java(TM) SE Runtime Environment 12.0.2+10 Reporter: Czukowski Attachments: Annotation 2020-07-23 115255.png, idelog-1.txt, selfsampler.npss, uilog.xml Was testing 12.1 beta1 today, everything was great during my usual activity, but then this happened. An exception icon has appeared and the IDE became unresponsive for several minutes, not as much as to invoke the Windows' WerFault dialog though, the mouse cursor has changed according to the area (editor vs other UI), but I couldn't click anything, the UI appeared frozen otherwise. I don't know if it's related to the update, but it didn't happen before. I was looking for text occurrences in a file (using Ctrl+F), then I must have invoked some action shortcut by mistake because the content of the file have changed - there used to be a normal assignment (disregard the editor cursor position though, it has changed during my attempts to click anywhere): !Annotation 2020-07-23 115255.png! After some time the IDE became responsive again, but froze shortly after that for some more time. It has been in such state until I closed it. By then it has gradually consumed around 9 GB of RAM :) I was able to take a profiler snapshot and extract the exception details and UI/IDE logs during the moments when the IDE was responsive, see the attachments. Stack trace: {code} java.lang.NullPointerException at java.desktop/javax.swing.text.JTextComponent.write(JTextComponent.java:1655) at java.desktop/javax.swing.JEditorPane.getText(JEditorPane.java:1451) at org.netbeans.modules.editor.search.SearchBar.showNumberOfMatches(SearchBar.java:1039) at org.netbeans.modules.editor.search.SearchBar$13.caretUpdate(SearchBar.java:502) at java.desktop/javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:412) at java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4489) at java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.mouseReleased(JTextComponent.java:4545) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6397) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(AccessController.java:389) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(AccessController.java:389) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at org.netbeans.core.TimableEventQueue.disp
[jira] [Commented] (NETBEANS-2929) xdebug not working with NetBeans 11.1
[ https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120918#comment-17120918 ] Czukowski commented on NETBEANS-2929: - This may be the same issue as NETBEANS-2285. Thing is, setting {{xdebug.idekey=netbeans-xdebug}} makes it work, but it used to work without it. > xdebug not working with NetBeans 11.1 > - > > Key: NETBEANS-2929 > URL: https://issues.apache.org/jira/browse/NETBEANS-2929 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger >Affects Versions: 11.0, 11.1, 11.3 > Environment: Windows 10 64 bit >Reporter: Eduard Fekete >Priority: Major > Attachments: image-2019-09-04-20-51-37-754.png, > image-2019-09-04-20-59-59-909.png, image-2019-09-04-21-00-31-797.png, > image-2019-09-04-21-01-04-879.png, netbeans-2929-screenshot.png > > > I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server. > It does not start the debugger and says "Waiting for debugger > (netbeans-xdebug)" but nothing happens. > If I try it in NetBeans 8.2 then it works. > > The configuration is the same in both NetBeans (Port, IDE key) > Java: jdk1.8.0_172, jre1.8.0_181 > > *Reproduction:* > # Install xdebug 2.7.2 from source by following instructions from here > [https://github.com/xdebug/xdebug] > # Set the following in php.ini > {code:java} > [XDebug] > zend_extension = /usr/lib64/php7/extensions/xdebug.so > xdebug.remote_connect_back=0 > xdebug.force_display_errors=on > xdebug.force_error_reporting=on > xdebug.remote_enable=on > xdebug.remote_handler=dbgp > xdebug.remote_host=192.168.40.161 #replace with IP of your remote client > where netbeans runs > xdebug.remote_port=51234 > xdebug.remote_timeout=3000 > xdebug.remote_mode=req > xdebug.remote_log=/var/log/xdebug/xdebug.log > xdebug.idekey = netbeans-xdebug > xdebug.renite_enable = 1 > xdebug.max_nesting_level = 1000 > xdebug.profiler_enable_trigger = 1 > xdebug.profiler_output_dir = '/var/log/xdebug'{code} > 3. Restart apache2 service > 4. Check if xdebug is installed by checking phpinfo > 5. open Netbeans 11.1 > 6. Go to Tools > Options -> PHP -> Debugging > 7. set "Debugger Port" to 51234 > 8. set "Session ID" to netbeans-xdebug > 9. open a test script > 10. right click -> Debug File > 11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and > nothing happens. > */var/log/xdebug/xdebug.log:* > {code:java} > [22426] Log opened at 2019-08-01 07:01:46 > [22426] I: Connecting to configured address/port: 192.168.40.161:51234. > [22426] E: Time-out connecting to client (Waited: 3000 ms). :-( > [22426] Log closed at 2019-08-01 07:01:49{code} > > 12. Do the same on Netbeans 8.2 and notice that it works -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-3980) Improve Initialize Field hint for typed properties
[ https://issues.apache.org/jira/browse/NETBEANS-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116484#comment-17116484 ] Czukowski commented on NETBEANS-3980: - [~Kacer] whew, at least I'm not the only one 😅 How do you cope? The 'clean & build' lasts insane amount of time compared to just 'run'. Or do you just usually not work on the PHP Editor? > Improve Initialize Field hint for typed properties > -- > > Key: NETBEANS-3980 > URL: https://issues.apache.org/jira/browse/NETBEANS-3980 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 11.3 >Reporter: Czukowski >Priority: Minor > > Initialize Field hint should generate typed properties where possible. At the > same time, the doc comments become redundant so I think it should not > generate it anymore. > The change should only affect projects with PHP 7.4+ version settings. > The code in question: > {{php/php.editor/src/org/netbeans/modules/php/editor/verification/InitializeFieldSuggestion.java}} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4251) PHP: Zend 1 support
Czukowski created NETBEANS-4251: --- Summary: PHP: Zend 1 support Key: NETBEANS-4251 URL: https://issues.apache.org/jira/browse/NETBEANS-4251 Project: NetBeans Issue Type: Bug Components: php - Zend Affects Versions: 12.0 Reporter: Czukowski Synergy test case: [Create Zend project|https://netbeans-vm.apache.org/synergy/client/app/#/case/6258/suite/1741/v/1] There is no option in Create project wizard to enable Zend 1 support, although there are some configuration options in Tools | Options | PHP | Frameworks & Tools | Zend. Either the test case should be updated in Synergy with the up to date instructions how to proceed, or the appropriate option added back to the wizard, or the old framework version support removed from NetBeans, given how ancient it is. If Zend 1 needs to be supported still, the test case should be updated to clarify it's a legacy version and be more specific how to obtain it. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4250) PHP: Symfony 2/3 support - create new project wizard
Czukowski created NETBEANS-4250: --- Summary: PHP: Symfony 2/3 support - create new project wizard Key: NETBEANS-4250 URL: https://issues.apache.org/jira/browse/NETBEANS-4250 Project: NetBeans Issue Type: Bug Affects Versions: 12.0 Environment: Windows Reporter: Czukowski Synergy test case: [Create Symfony2 project|https://netbeans-vm.apache.org/synergy/client/app/#/case/6257/suite/1741/v/1] The installer usage is probably wrong. In New project wizard, if Symfony 2/3 PHP Web Framework is selected, the installer runs, but ends with error. An exception notification is shown and the wizard window is not closed. Clicking Finish again results in an error dialog with this message: "Project was not created because it already exists (maybe only in memory)". The project is not open at this point, but it opens when the dialog is dismissed. Output window contains the installer execution: {code} "C:\Xampp\htdocs\Symfony\symfony.exe" "--ansi" "--no-interaction" "new" "PhpProject16" "lts" Incorrect usage: Too many arguments Usage: symfony.exe local:new [options] [--] [] Arguments: directory Directory of the project to create Options: --dir=value Project directory --version=value The version of the Symfony skeleton (a version or one of "lts", "stable", "next", or "previous") --full Use github.com/symfony/website-skeleton --demo Use github.com/symfony/demo --book Clone the Symfony 5: The Fast Track book project --no-git Do not initialize Git --cloud Initialize SymfonyCloud --debug Display commands output --help, -h Show help Done. {code} Exception information: {code} java.lang.NullPointerException at org.netbeans.modules.php.symfony2.SymfonyPhpModuleExtender.copyFiles(SymfonyPhpModuleExtender.java:146) at org.netbeans.modules.php.symfony2.SymfonyPhpModuleExtender.extend(SymfonyPhpModuleExtender.java:122) at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.extendPhpModule(NewPhpProjectWizardIterator.java:584) at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.instantiate(NewPhpProjectWizardIterator.java:266) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1048) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602) at org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:228) at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(TemplateWizardIteratorWrapper.java:155) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1602) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546) at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67) [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {code} Also, test case steps need to be updated: for Windows, the default download option is a {{setup.exe}} file which unpacks the actual installer I used above ({{symfony.exe}}) and as such the {{setup.exe}} could be confused for the actual installed that is to be configured in NetBeans. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4248) Possible to select a project subdirectory as a copy location
[ https://issues.apache.org/jira/browse/NETBEANS-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4248: Affects Version/s: 12.0 > Possible to select a project subdirectory as a copy location > > > Key: NETBEANS-4248 > URL: https://issues.apache.org/jira/browse/NETBEANS-4248 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0 >Reporter: Czukowski >Priority: Minor > > Synergy test case: [Create empty Project and choose copy > location|https://netbeans-vm.apache.org/synergy/client/app/#/case/6255/suite/1741/v/1] > It is possible to select a subdirectory of project sources as a copy location > when creating a project (use checkbox Copy files from Sources Folder to > another location and append any directory name). > If Copy files on project open is selected, multiple recursive copies are > created and a warning dialog displayed with a prompt to disable copying. > If Copy files on project open is not selected, no warning is displayed as no > attempt has been made to copy the files right away. > In both cases, in Project properties (Sources panel) there is a red warning > 'Project Sources and Target Folder cannot be same directories or > subdirectories' and the OK button is disabled. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4249) PHP: Symfony 1 support
[ https://issues.apache.org/jira/browse/NETBEANS-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4249: Affects Version/s: 12.0 > PHP: Symfony 1 support > -- > > Key: NETBEANS-4249 > URL: https://issues.apache.org/jira/browse/NETBEANS-4249 > Project: NetBeans > Issue Type: Bug > Components: php - Symfony >Affects Versions: 12.0 >Reporter: Czukowski >Priority: Minor > > Synergy test case: [Create Symfony > project|https://netbeans-vm.apache.org/synergy/client/app/#/case/6256/suite/1741/v/1] > There is no option in Create project wizard to enable Symfony 1 support, > although there are some configuration options in Tools | Options | PHP | > Frameworks & Tools | Symfony. > Either the test case should be updated in Synergy with the up to date > instructions how to proceed, or the appropriate option added back to the > wizard, or the old framework version support removed from NetBeans, given how > ancient it is. > If Symfony 1 needs to be supported still, the test case should be updated to > clarify it's a legacy version and be more specific how to obtain it. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4249) PHP: Symfony 1 support
[ https://issues.apache.org/jira/browse/NETBEANS-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4249: Summary: PHP: Symfony 1 support (was: PHP: Symfony support) > PHP: Symfony 1 support > -- > > Key: NETBEANS-4249 > URL: https://issues.apache.org/jira/browse/NETBEANS-4249 > Project: NetBeans > Issue Type: Bug > Components: php - Symfony >Reporter: Czukowski >Priority: Minor > > Synergy test case: [Create Symfony > project|https://netbeans-vm.apache.org/synergy/client/app/#/case/6256/suite/1741/v/1] > There is no option in Create project wizard to enable Symfony 1 support, > although there are some configuration options in Tools | Options | PHP | > Frameworks & Tools | Symfony. > Either the test case should be updated in Synergy with the up to date > instructions how to proceed, or the appropriate option added back to the > wizard, or the old framework version support removed from NetBeans, given how > ancient it is. > If Symfony 1 needs to be supported still, the test case should be updated to > clarify it's a legacy version and be more specific how to obtain it. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4249) PHP: Symfony support
Czukowski created NETBEANS-4249: --- Summary: PHP: Symfony support Key: NETBEANS-4249 URL: https://issues.apache.org/jira/browse/NETBEANS-4249 Project: NetBeans Issue Type: Bug Components: php - Symfony Reporter: Czukowski Synergy test case: [Create Symfony project|https://netbeans-vm.apache.org/synergy/client/app/#/case/6256/suite/1741/v/1] There is no option in Create project wizard to enable Symfony 1 support, although there are some configuration options in Tools | Options | PHP | Frameworks & Tools | Symfony. Either the test case should be updated in Synergy with the up to date instructions how to proceed, or the appropriate option added back to the wizard, or the old framework version support removed from NetBeans, given how ancient it is. If Symfony 1 needs to be supported still, the test case should be updated to clarify it's a legacy version and be more specific how to obtain it. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4248) Possible to select a project subdirectory as a copy location
Czukowski created NETBEANS-4248: --- Summary: Possible to select a project subdirectory as a copy location Key: NETBEANS-4248 URL: https://issues.apache.org/jira/browse/NETBEANS-4248 Project: NetBeans Issue Type: Bug Reporter: Czukowski Synergy test case: [Create empty Project and choose copy location|https://netbeans-vm.apache.org/synergy/client/app/#/case/6255/suite/1741/v/1] It is possible to select a subdirectory of project sources as a copy location when creating a project (use checkbox Copy files from Sources Folder to another location and append any directory name). If Copy files on project open is selected, multiple recursive copies are created and a warning dialog displayed with a prompt to disable copying. If Copy files on project open is not selected, no warning is displayed as no attempt has been made to copy the files right away. In both cases, in Project properties (Sources panel) there is a red warning 'Project Sources and Target Folder cannot be same directories or subdirectories' and the OK button is disabled. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4247) PHP: Doctrine 2 support configuration
Czukowski created NETBEANS-4247: --- Summary: PHP: Doctrine 2 support configuration Key: NETBEANS-4247 URL: https://issues.apache.org/jira/browse/NETBEANS-4247 Project: NetBeans Issue Type: Improvement Affects Versions: 12.0 Reporter: Czukowski Options window contains a configuration setting for Doctrine2 script (typically doctrine or doctrine.bat) and a link to Doctrine project website. This is outdated as Doctrine should be installed using Composer as a project dependency, ie no global configuration should be necessary for Doctrine support at all. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4246) PHP: Nette 2 support configuration
Czukowski created NETBEANS-4246: --- Summary: PHP: Nette 2 support configuration Key: NETBEANS-4246 URL: https://issues.apache.org/jira/browse/NETBEANS-4246 Project: NetBeans Issue Type: Improvement Affects Versions: 12.0 Reporter: Czukowski Options window contains two configuration settings, one to select a directory with Nette Framework sources and another with Nette Framework sandbox. This is outdated as Nette should be installed using Composer as a project dependency, ie no global configuration should be necessary for Nette support at all. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4218) PHP Debugger should display nicer tooltips
Czukowski created NETBEANS-4218: --- Summary: PHP Debugger should display nicer tooltips Key: NETBEANS-4218 URL: https://issues.apache.org/jira/browse/NETBEANS-4218 Project: NetBeans Issue Type: Improvement Components: php - Debugger Affects Versions: 12.0 Reporter: Czukowski Tooltips with variables values displayed when Watches and Balloon Evaluations is enabled, are very basic, in comparison with Java where objects can be expanded, view pinned, etc. This is what PHP Debugger could really use 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] [Updated] (NETBEANS-4217) PHP Requested Urls window show incorrect URLs
[ https://issues.apache.org/jira/browse/NETBEANS-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4217: Description: While following [PHP Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] tests in Synergy, I ran into this issue. If a built-in PHP server is used, the URL includes a port number, for example: {code:java} http://localhost:8000/?XDEBUG_SESSION_START=netbeans-xdebug{code} Starting a debugging session or running the project opens the correct URL. Yet the PHP Requested Urls output window (visible after activating option Tools|Options|PHP|Debugging and check "Show Requested URLs") displays only this: {code:java} http://localhost/?XDEBUG_SESSION_START=netbeans-xdebug{code} was: While following [PHP Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] tests in Synergy, I ran into this issue. If a built-in PHP server is used, the URL includes a port number, for example: {code:java} http://localhost:8000/?XDEBUG_SESSION_START=netbeans-xdebug{code} Yet the PHP Requested Urls output window (visible after activating option Tools|Options|PHP|Debugging and check "Show Requested URLs") displays only this: {code:java} http://localhost/?XDEBUG_SESSION_START=netbeans-xdebug{code} > PHP Requested Urls window show incorrect URLs > - > > Key: NETBEANS-4217 > URL: https://issues.apache.org/jira/browse/NETBEANS-4217 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger >Affects Versions: 12.0 > Environment: PHP 7.4, XDebug 2.9.2 >Reporter: Czukowski >Priority: Minor > > While following [PHP > Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] > tests in Synergy, I ran into this issue. > If a built-in PHP server is used, the URL includes a port number, for example: > {code:java} > http://localhost:8000/?XDEBUG_SESSION_START=netbeans-xdebug{code} > Starting a debugging session or running the project opens the correct URL. > Yet the PHP Requested Urls output window (visible after activating option > Tools|Options|PHP|Debugging and check "Show Requested URLs") displays only > this: > {code:java} > http://localhost/?XDEBUG_SESSION_START=netbeans-xdebug{code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4217) PHP Requested Urls window show incorrect URLs
Czukowski created NETBEANS-4217: --- Summary: PHP Requested Urls window show incorrect URLs Key: NETBEANS-4217 URL: https://issues.apache.org/jira/browse/NETBEANS-4217 Project: NetBeans Issue Type: Bug Components: php - Debugger Affects Versions: 12.0 Environment: PHP 7.4, XDebug 2.9.2 Reporter: Czukowski While following [PHP Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] tests in Synergy, I ran into this issue. If a built-in PHP server is used, the URL includes a port number, for example: {code:java} http://localhost:8000/?XDEBUG_SESSION_START=netbeans-xdebug{code} Yet the PHP Requested Urls output window (visible after activating option Tools|Options|PHP|Debugging and check "Show Requested URLs") displays only this: {code:java} http://localhost/?XDEBUG_SESSION_START=netbeans-xdebug{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-1442) Maximum Depth of Structures won't working
[ https://issues.apache.org/jira/browse/NETBEANS-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089750#comment-17089750 ] Czukowski commented on NETBEANS-1442: - Just was testing [PHP Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] tests in Synergy and found this issue. On the other hand, why would anybody want to limit the amount of debugging information? Maybe this feature should go away completely, along with Maximum Number of Children... > Maximum Depth of Structures won't working > - > > Key: NETBEANS-1442 > URL: https://issues.apache.org/jira/browse/NETBEANS-1442 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger >Affects Versions: 10.0, 12.0 > Environment: Windows 10 / Debian 9 >Reporter: Rodrigo Teixeira Andreotti >Priority: Major > Labels: debugging, php-debug > Attachments: Max depth - Debian.PNG, Max depth - Windows.PNG, > NETBEANS-1442.png > > > Realizing the case that tests the "Maximum Depth of Structures" Netbeans > ignores the maximum depth configured. > As you can see in the attached image the property of the second class is > displayed even with the depth set to 1. > The problem is occurring in both Windows and Linux. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-1442) Maximum Depth of Structures won't working
[ https://issues.apache.org/jira/browse/NETBEANS-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-1442: Affects Version/s: 12.0 > Maximum Depth of Structures won't working > - > > Key: NETBEANS-1442 > URL: https://issues.apache.org/jira/browse/NETBEANS-1442 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger >Affects Versions: 10.0, 12.0 > Environment: Windows 10 / Debian 9 >Reporter: Rodrigo Teixeira Andreotti >Priority: Major > Labels: debugging, php-debug > Attachments: Max depth - Debian.PNG, Max depth - Windows.PNG, > NETBEANS-1442.png > > > Realizing the case that tests the "Maximum Depth of Structures" Netbeans > ignores the maximum depth configured. > As you can see in the attached image the property of the second class is > displayed even with the depth set to 1. > The problem is occurring in both Windows and Linux. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: 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-4216) PHP Debugger not stopping at some breakpoints
[ https://issues.apache.org/jira/browse/NETBEANS-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089739#comment-17089739 ] Czukowski commented on NETBEANS-4216: - Also, 1st time I tried, I've put a breakpoint at line 16 and it was 'valid', and the script even stopped there, but after that it did not stop at line 20. After restarting the debugging session and resetting breakpoints I was unable to reproduce it again, it behaves like described above now, not sure how I ended up there in the first place... > PHP Debugger not stopping at some breakpoints > - > > Key: NETBEANS-4216 > URL: https://issues.apache.org/jira/browse/NETBEANS-4216 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger >Affects Versions: 12.0 > Environment: Windows, PHP 7.4.2, XDebug 2.9.2-7.4-VC15-NTS-x86_64 >Reporter: Czukowski >Priority: Major > Attachments: image-2020-04-22-16-28-58-345.png > > > While following [PHP > Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] > tests in Synergy, I ran into this issue, see image below. Lines 14, 16, 20 > and 21 have breakpoints set, all deemed 'valid' except for line 16. Yet when > debugging this sample file, the only line the debugger stops at is 20, while > skipping other lines. > The debugger should stop at all 'valid' breakpoints (that is, if it cannot > stop at some line, it should not be considered valid, otherwise it should > stop on it). > !image-2020-04-22-16-28-58-345.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4216) PHP Debugger not stopping at some breakpoints
[ https://issues.apache.org/jira/browse/NETBEANS-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Czukowski updated NETBEANS-4216: Environment: Windows, PHP 7.4.2, XDebug 2.9.2-7.4-VC15-NTS-x86_64 > PHP Debugger not stopping at some breakpoints > - > > Key: NETBEANS-4216 > URL: https://issues.apache.org/jira/browse/NETBEANS-4216 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger >Affects Versions: 12.0 > Environment: Windows, PHP 7.4.2, XDebug 2.9.2-7.4-VC15-NTS-x86_64 >Reporter: Czukowski >Priority: Major > Attachments: image-2020-04-22-16-28-58-345.png > > > While following [PHP > Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] > tests in Synergy, I ran into this issue, see image below. Lines 14, 16, 20 > and 21 have breakpoints set, all deemed 'valid' except for line 16. Yet when > debugging this sample file, the only line the debugger stops at is 20, while > skipping other lines. > The debugger should stop at all 'valid' breakpoints (that is, if it cannot > stop at some line, it should not be considered valid, otherwise it should > stop on it). > !image-2020-04-22-16-28-58-345.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] [Created] (NETBEANS-4216) PHP Debugger not stopping at some breakpoints
Czukowski created NETBEANS-4216: --- Summary: PHP Debugger not stopping at some breakpoints Key: NETBEANS-4216 URL: https://issues.apache.org/jira/browse/NETBEANS-4216 Project: NetBeans Issue Type: Bug Components: php - Debugger Affects Versions: 12.0 Reporter: Czukowski Attachments: image-2020-04-22-16-28-58-345.png While following [PHP Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] tests in Synergy, I ran into this issue, see image below. Lines 14, 16, 20 and 21 have breakpoints set, all deemed 'valid' except for line 16. Yet when debugging this sample file, the only line the debugger stops at is 20, while skipping other lines. The debugger should stop at all 'valid' breakpoints (that is, if it cannot stop at some line, it should not be considered valid, otherwise it should stop on it). !image-2020-04-22-16-28-58-345.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