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

2022-01-27 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-6422:


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

Attach an example project as a zip file.

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



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

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

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



[jira] [Updated] (NETBEANS-3746) [FlatLaF] Restartless theme changing for FlatLaF

2022-01-27 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-3746:
-
Labels: Look pull-request-available theme  (was: Look theme)

> [FlatLaF] Restartless theme changing for FlatLaF
> 
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, pull-request-available, theme
> Attachments: flat-laf-changing-theme.gif
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



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



[netbeans] branch master updated: Report real FULL/FULL_ONLINE status after load.

2022-01-27 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 91983a4  Report real FULL/FULL_ONLINE status after load.
91983a4 is described below

commit 91983a4c1fa0854f5ce7aca5636f28302b9ce34a
Author: Svata Dedic 
AuthorDate: Thu Jan 20 13:24:22 2022 +0100

Report real FULL/FULL_ONLINE status after load.
---
 .../modules/gradle/loaders/LegacyProjectLoader.java| 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/loaders/LegacyProjectLoader.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/loaders/LegacyProjectLoader.java
index bf25558..488b94d 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/loaders/LegacyProjectLoader.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/loaders/LegacyProjectLoader.java
@@ -23,6 +23,7 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.concurrent.Callable;
 import java.util.concurrent.ExecutionException;
+import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.concurrent.atomic.AtomicLong;
 import static java.util.logging.Level.FINE;
@@ -48,6 +49,7 @@ import static 
org.netbeans.modules.gradle.loaders.GradleDaemon.INIT_SCRIPT;
 import static org.netbeans.modules.gradle.loaders.GradleDaemon.TOOLING_JAR;
 import org.netbeans.modules.gradle.api.GradleBaseProject;
 import org.netbeans.modules.gradle.api.NbGradleProject;
+import org.netbeans.modules.gradle.api.NbGradleProject.Quality;
 import static 
org.netbeans.modules.gradle.api.NbGradleProject.Quality.EVALUATED;
 import static 
org.netbeans.modules.gradle.api.NbGradleProject.Quality.FULL_ONLINE;
 import static org.netbeans.modules.gradle.api.NbGradleProject.Quality.SIMPLE;
@@ -142,7 +144,8 @@ public class LegacyProjectLoader extends 
AbstractProjectLoader {
 try {
 
 errors.clear();
-info = retrieveProjectInfo(goOnline, pconn, cmd, token, pl);
+AtomicBoolean onlineResult = new AtomicBoolean();
+info = retrieveProjectInfo(goOnline, pconn, cmd, token, pl, 
onlineResult);
 
 if (!info.getProblems().isEmpty()) {
 errors.openNotification(
@@ -155,7 +158,8 @@ public class LegacyProjectLoader extends 
AbstractProjectLoader {
 // If we do not have exception, but seen some problems the 
we mark the quality as SIMPLE
 quality = SIMPLE;
 } else {
-quality = ctx.aim;
+// the project has been either fully loaded, or online 
checked
+quality = onlineResult.get() ? Quality.FULL_ONLINE : 
Quality.FULL;
 }
 } else {
 if (info.getProblems().isEmpty()) {
@@ -215,7 +219,7 @@ public class LegacyProjectLoader extends 
AbstractProjectLoader {
 return ret;
 }
 
-private static NbProjectInfo retrieveProjectInfo(GoOnline goOnline, 
ProjectConnection pconn, GradleCommandLine cmd, CancellationToken token, 
ProgressListener pl) throws GradleConnectionException, IllegalStateException {
+private static NbProjectInfo retrieveProjectInfo(GoOnline goOnline, 
ProjectConnection pconn, GradleCommandLine cmd, CancellationToken token, 
ProgressListener pl, AtomicBoolean wasOnline) throws GradleConnectionException, 
IllegalStateException {
 NbProjectInfo ret;
 
 GradleSettings settings = GradleSettings.getDefault();
@@ -235,6 +239,7 @@ public class LegacyProjectLoader extends 
AbstractProjectLoader {
 
 if (goOnline == GoOnline.NEVER || goOnline == GoOnline.ON_DEMAND) {
 BuildActionExecuter action = 
createInfoAction(pconn, offline, token, pl);
+wasOnline.set(!offline.hasFlag(GradleCommandLine.Flag.OFFLINE));
 try {
 ret = action.run();
 if (goOnline == GoOnline.NEVER || !ret.hasException()) {
@@ -246,8 +251,9 @@ public class LegacyProjectLoader extends 
AbstractProjectLoader {
 }
 }
 }
-
+
 BuildActionExecuter action = createInfoAction(pconn, 
online, token, pl);
+wasOnline.set(true);
 ret = action.run();
 return ret;
 }

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

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



[jira] [Resolved] (NETBEANS-6401) Newly created Micronau project is not open in NB

2022-01-27 Thread Jira


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

Matthias Bläsing resolved NETBEANS-6401.

Fix Version/s: NB13
   Resolution: Fixed

Fix was merged to delivery, so will make it into the release.

> Newly created Micronau project is not open in NB
> 
>
> Key: NETBEANS-6401
> URL: https://issues.apache.org/jira/browse/NETBEANS-6401
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Micronaut
>Affects Versions: 12.6
> Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39
> *Runtime:* Java(TM) SE Runtime Environment 17.0.1+12-LTS-39
> *System:* Mac OS X version 12.1 running on x86_64; UTF-8; en_GB (nb)
> *User directory:* /Users/mbalin/Library/Application Support/NetBeans/12.6
> *Cache directory:* /Users/mbalin/Library/Caches/NetBeans/12.6
>  
>Reporter: Martin Balin
>Assignee: Matthias Bläsing
>Priority: Major
> Fix For: NB13
>
>
> Select File | New project
> then Java with Maven > Micronaut Project OR Java with Gradle > Micronaut 
> Project
> Name it {{{}MicronautProject{}}}. Leave all defaults on MN v. is 3.2.7 Java 
> is 8 , step through and click Finish.
> Project is created on disk properly but it is not open in IDE.
> Structure on disk is: 
> {{{_}{_}/MicronautProject/MicronautProject }}then 
> there are \{{src }}and{{ pom.xml}}
> Open the project in NB and there is Resolve problems window shown "Unable to 
> properly load project" with details:
>  
> {code:java}
> Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-inject:jar is missing. @ line 34, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-validation:jar is missing. @ line 39, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-api:jar is missing. @ line 44, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-engine:jar is missing. @ line 49, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut.test:micronaut-test-junit5:jar is missing. @ line 54, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-client:jar is missing. @ line 59, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-server-netty:jar is missing. @ line 64, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-runtime:jar is missing. @ line 69, column 17
> [ERROR] 'dependencies.dependency.version' for 
> ch.qos.logback:logback-classic:jar is missing. @ line 74, column 17
>  
> {code}
> and Output window has in:
> {code:java}
> cd /Users/mbalin/Development/MicronautProject/MicronautProject; 
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home 
> /Users/mbalin/Development/MicronautProject/MicronautProject/mvnw 
> -DskipTests=true --fail-at-end package
> Cannot run program 
> "/Users/mbalin/Development/MicronautProject/MicronautProject/mvnw" (in 
> directory "/Users/mbalin/Development/MicronautProject/MicronautProject"): 
> error=13, Permission denied{code}
> {{mvnw}} is not executable by default. chmod +x for it and it can be built 
> and project is fixed. Not _unloadable_ anymore.
> Gradle project generated the same way can be open without errors in NB.
> When I create the Micronaut Maven project using NBLS (VSIX) 12.6.301 release 
> then I have mvnw executable and also directory structure is 
> {{{_}{_}/demomn2g/mvnw and}} pom.xml



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



[netbeans] branch delivery updated (b645e98 -> 9c08a45)

2022-01-27 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


from b645e98  Merge pull request #3521 from junichi11/gh-3486
 new 607de01  Micronaut Project: Inform user about execution of downloaded 
code
 new 43cda59  [NETBEANS-6401] Ensure mwnv and gradlew are executable after 
extraction from generated ZIP
 new 9c08a45  Merge pull request #3506 from matthiasblaesing/micronaut_fix

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


Summary of changes:
 .../micronaut}/licenseinfo.xml |   3 +-
 .../micronaut/newproject/BasePropertiesVisual.form | 102 +
 .../micronaut/newproject/BasePropertiesVisual.java |  77 +---
 .../modules/micronaut/newproject/Bundle.properties |   1 +
 .../newproject/MicronautProjectWizardIterator.java |  17 
 .../modules/micronaut}/resources/warning.png   | Bin
 .../modules/micronaut}/resources/warning.svg   |   0
 7 files changed, 131 insertions(+), 69 deletions(-)
 copy {harness/apisupport.harness => enterprise/micronaut}/licenseinfo.xml (86%)
 copy {websvccommon/websvc.saas.ui/src/org/netbeans/modules/websvc/saas/ui => 
enterprise/micronaut/src/org/netbeans/modules/micronaut}/resources/warning.png 
(100%)
 copy {websvccommon/websvc.saas.ui/src/org/netbeans/modules/websvc/saas/ui => 
enterprise/micronaut/src/org/netbeans/modules/micronaut}/resources/warning.svg 
(100%)

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

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



[netbeans] branch delivery updated: Fix code completion for parent's trait #3486

2022-01-27 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/delivery by this push:
 new 01639b6  Fix code completion for parent's trait #3486
 new b645e98  Merge pull request #3521 from junichi11/gh-3486
01639b6 is described below

commit 01639b6f44cb160cb899de31f7b99ed60b30104b
Author: Junichi Yamamoto 
AuthorDate: Thu Jan 27 15:53:44 2022 +0900

Fix code completion for parent's trait #3486
---
 .../php/editor/completion/PHPCodeCompletion.java   |  19 +++-
 .../php/editor/elements/IndexQueryImpl.java|   4 +
 .../testfiles/completion/lib/gh3486/gh3486.php | 103 +
 .../lib/gh3486/gh3486.php.testGH3486_01.completion |  16 
 .../lib/test207345/bar.php.testUseCase1.completion |   1 -
 .../completion/PHPCodeCompletionGH3486Test.java|  49 ++
 6 files changed, 188 insertions(+), 4 deletions(-)

diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java
 
b/php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java
index 309a774..3fb9e88 100644
--- 
a/php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java
+++ 
b/php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java
@@ -1347,6 +1347,7 @@ public class PHPCodeCompletion implements 
CodeCompletionHandler2 {
 List invalidProposalsForClsMembers = 
INVALID_PROPOSALS_FOR_CLS_MEMBERS;
 Model model = request.result.getModel();
 
+boolean parentContext = false;
 boolean selfContext = false;
 boolean staticLateBindingContext = false;
 boolean specialVariable = false;
@@ -1361,6 +1362,7 @@ public class PHPCodeCompletion implements 
CodeCompletionHandler2 {
 staticContext = true;
 instanceContext = true;
 specialVariable = true;
+parentContext = true;
 } else if (TokenUtilities.textEquals(varName, "static")) { // 
NOI18N
 staticContext = true;
 instanceContext = false;
@@ -1381,7 +1383,7 @@ public class PHPCodeCompletion implements 
CodeCompletionHandler2 {
 return;
 }
 final ElementFilter staticFlagFilter = 
!completeAccessPrefix
-? new StaticOrInstanceMembersFilter(staticContext, 
instanceContext, selfContext, staticLateBindingContext)
+? new StaticOrInstanceMembersFilter(staticContext, 
instanceContext, selfContext, staticLateBindingContext, parentContext)
 : new ElementFilter() { // NETBEANS-1855
 @Override
 public boolean isAccepted(PhpElement element) {
@@ -1495,6 +1497,7 @@ public class PHPCodeCompletion implements 
CodeCompletionHandler2 {
 List invalidProposalsForClsMembers = 
INVALID_PROPOSALS_FOR_CLS_MEMBERS;
 Model model = request.result.getModel();
 
+boolean parentContext = false;
 boolean selfContext = false;
 boolean staticLateBindingContext = false;
 boolean specialVariable = false;
@@ -1509,6 +1512,7 @@ public class PHPCodeCompletion implements 
CodeCompletionHandler2 {
 isStaticContext = true;
 isInstanceContext = true;
 specialVariable = true;
+parentContext = true;
 } else if (TokenUtilities.textEquals(varName, "static")) { // 
NOI18N
 isStaticContext = true;
 isInstanceContext = false;
@@ -1523,7 +1527,7 @@ public class PHPCodeCompletion implements 
CodeCompletionHandler2 {
 if (CancelSupport.getDefault().isCancelled()) {
 return;
 }
-final ElementFilter staticFlagFilter = new 
StaticOrInstanceMembersFilter(isStaticContext, isInstanceContext, selfContext, 
staticLateBindingContext);
+final ElementFilter staticFlagFilter = new 
StaticOrInstanceMembersFilter(isStaticContext, isInstanceContext, selfContext, 
staticLateBindingContext, true);
 final ElementFilter methodsFilter = ElementFilter.allOf(
 ElementFilter.forKind(PhpElementKind.METHOD),
 
ElementFilter.forName(NameKind.exact(functionName.text().toString())),
@@ -2321,15 +2325,17 @@ public class PHPCodeCompletion implements 
CodeCompletionHandler2 {
 private final boolean staticAllowed;
 private final boolean nonstaticAllowed;
 private final boolean forStaticLateBinding;
+private final boolean forParentContext;
 
 public 

[jira] [Commented] (NETBEANS-6401) Newly created Micronau project is not open in NB

2022-01-27 Thread Jira


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

Matthias Bläsing commented on NETBEANS-6401:


Should be fixed via:

[https://github.com/apache/netbeans/pull/3506]

[https://github.com/apache/netbeans/pull/3506/commits/43cda59de35bbb488c42bfb946f5ccf227ee2d43]

> Newly created Micronau project is not open in NB
> 
>
> Key: NETBEANS-6401
> URL: https://issues.apache.org/jira/browse/NETBEANS-6401
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Micronaut
>Affects Versions: 12.6
> Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39
> *Runtime:* Java(TM) SE Runtime Environment 17.0.1+12-LTS-39
> *System:* Mac OS X version 12.1 running on x86_64; UTF-8; en_GB (nb)
> *User directory:* /Users/mbalin/Library/Application Support/NetBeans/12.6
> *Cache directory:* /Users/mbalin/Library/Caches/NetBeans/12.6
>  
>Reporter: Martin Balin
>Assignee: Matthias Bläsing
>Priority: Major
>
> Select File | New project
> then Java with Maven > Micronaut Project OR Java with Gradle > Micronaut 
> Project
> Name it {{{}MicronautProject{}}}. Leave all defaults on MN v. is 3.2.7 Java 
> is 8 , step through and click Finish.
> Project is created on disk properly but it is not open in IDE.
> Structure on disk is: 
> {{{_}{_}/MicronautProject/MicronautProject }}then 
> there are \{{src }}and{{ pom.xml}}
> Open the project in NB and there is Resolve problems window shown "Unable to 
> properly load project" with details:
>  
> {code:java}
> Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-inject:jar is missing. @ line 34, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-validation:jar is missing. @ line 39, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-api:jar is missing. @ line 44, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-engine:jar is missing. @ line 49, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut.test:micronaut-test-junit5:jar is missing. @ line 54, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-client:jar is missing. @ line 59, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-server-netty:jar is missing. @ line 64, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-runtime:jar is missing. @ line 69, column 17
> [ERROR] 'dependencies.dependency.version' for 
> ch.qos.logback:logback-classic:jar is missing. @ line 74, column 17
>  
> {code}
> and Output window has in:
> {code:java}
> cd /Users/mbalin/Development/MicronautProject/MicronautProject; 
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home 
> /Users/mbalin/Development/MicronautProject/MicronautProject/mvnw 
> -DskipTests=true --fail-at-end package
> Cannot run program 
> "/Users/mbalin/Development/MicronautProject/MicronautProject/mvnw" (in 
> directory "/Users/mbalin/Development/MicronautProject/MicronautProject"): 
> error=13, Permission denied{code}
> {{mvnw}} is not executable by default. chmod +x for it and it can be built 
> and project is fixed. Not _unloadable_ anymore.
> Gradle project generated the same way can be open without errors in NB.
> When I create the Micronaut Maven project using NBLS (VSIX) 12.6.301 release 
> then I have mvnw executable and also directory structure is 
> {{{_}{_}/demomn2g/mvnw and}} pom.xml



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

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

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



[jira] [Assigned] (NETBEANS-6401) Newly created Micronau project is not open in NB

2022-01-27 Thread Jira


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

Matthias Bläsing reassigned NETBEANS-6401:
--

Assignee: Matthias Bläsing

> Newly created Micronau project is not open in NB
> 
>
> Key: NETBEANS-6401
> URL: https://issues.apache.org/jira/browse/NETBEANS-6401
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Micronaut
>Affects Versions: 12.6
> Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39
> *Runtime:* Java(TM) SE Runtime Environment 17.0.1+12-LTS-39
> *System:* Mac OS X version 12.1 running on x86_64; UTF-8; en_GB (nb)
> *User directory:* /Users/mbalin/Library/Application Support/NetBeans/12.6
> *Cache directory:* /Users/mbalin/Library/Caches/NetBeans/12.6
>  
>Reporter: Martin Balin
>Assignee: Matthias Bläsing
>Priority: Major
>
> Select File | New project
> then Java with Maven > Micronaut Project OR Java with Gradle > Micronaut 
> Project
> Name it {{{}MicronautProject{}}}. Leave all defaults on MN v. is 3.2.7 Java 
> is 8 , step through and click Finish.
> Project is created on disk properly but it is not open in IDE.
> Structure on disk is: 
> {{{_}{_}/MicronautProject/MicronautProject }}then 
> there are \{{src }}and{{ pom.xml}}
> Open the project in NB and there is Resolve problems window shown "Unable to 
> properly load project" with details:
>  
> {code:java}
> Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-inject:jar is missing. @ line 34, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-validation:jar is missing. @ line 39, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-api:jar is missing. @ line 44, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-engine:jar is missing. @ line 49, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut.test:micronaut-test-junit5:jar is missing. @ line 54, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-client:jar is missing. @ line 59, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-server-netty:jar is missing. @ line 64, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-runtime:jar is missing. @ line 69, column 17
> [ERROR] 'dependencies.dependency.version' for 
> ch.qos.logback:logback-classic:jar is missing. @ line 74, column 17
>  
> {code}
> and Output window has in:
> {code:java}
> cd /Users/mbalin/Development/MicronautProject/MicronautProject; 
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home 
> /Users/mbalin/Development/MicronautProject/MicronautProject/mvnw 
> -DskipTests=true --fail-at-end package
> Cannot run program 
> "/Users/mbalin/Development/MicronautProject/MicronautProject/mvnw" (in 
> directory "/Users/mbalin/Development/MicronautProject/MicronautProject"): 
> error=13, Permission denied{code}
> {{mvnw}} is not executable by default. chmod +x for it and it can be built 
> and project is fixed. Not _unloadable_ anymore.
> Gradle project generated the same way can be open without errors in NB.
> When I create the Micronaut Maven project using NBLS (VSIX) 12.6.301 release 
> then I have mvnw executable and also directory structure is 
> {{{_}{_}/demomn2g/mvnw and}} pom.xml



--
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-6423) SVN login always raise an exception, user password is never remembered

2022-01-27 Thread Marco Caciotti (Jira)
Marco Caciotti created NETBEANS-6423:


 Summary: SVN login always raise an exception, user password is 
never remembered
 Key: NETBEANS-6423
 URL: https://issues.apache.org/jira/browse/NETBEANS-6423
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Other
Affects Versions: 12.5
 Environment: SVN Collaboration
Reporter: Marco Caciotti


Every time I open an SVN connection to check source changes, an error is raised 
(see log below). Then I have to re-enter the user password at each login since 
it is never stored, even if the flag to "remember" it is selected.

---
>Log Session: Wednesday, January 26, 2022 at 8:27:02 AM Central European 
>Standard Time
>System Info: 
  Product Version         = Apache NetBeans IDE 12.5
  Operating System        = Mac OS X version 12.1 running on aarch64
  Java; VM; Vendor        = 17.0.1; OpenJDK 64-Bit Server VM 17.0.1+12; Eclipse 
Adoptium
  Runtime                 = OpenJDK Runtime Environment 17.0.1+12
  Java Home               = 
/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
  System Locale; Encoding = en_IT (nb); UTF-8
  Home Directory          = /Users/marco.caciotti
  Current Directory       = /
  User Directory          = /Users/marco.caciotti/Library/Application 
Support/NetBeans/12.5
  Cache Directory         = /Users/marco.caciotti/Library/Caches/NetBeans/12.5
  Installation            = /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/nb
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/ergonomics
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/ide
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/extide
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/java
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/apisupport
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/webcommon
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/websvccommon
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/enterprise
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/php
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/harness
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/cpplite
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/groovy
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/javafx
                            /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform
  Boot & Ext. Classpath   = 
  Application Classpath   = /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/lib/boot.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/lib/org-openide-modules.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/lib/org-openide-util-lookup.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/lib/org-openide-util-ui.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/lib/org-openide-util.jar
  Startup Classpath       = /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/core/asm-tree-9.2.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/core/org-netbeans-libs-asm.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/core/org-openide-filesystems-compat8.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/core/org-openide-filesystems.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/core/asm-9.2.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/platform/core/asm-commons-9.2.jar:/Applications/NetBeans/Apache
 NetBeans 

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

2022-01-27 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-6422:
--

Assignee: Junichi Yamamoto

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



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

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

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