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

2021-12-06 Thread Jayce (Jira)


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

Jayce commented on NETBEANS-5599:
-

This one is one of the most important for 8.1 (IMO)

https://wiki.php.net/rfc/enumerations

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



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

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

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



[jira] [Created] (NETBEANS-6264) PHP Menu Source->Fix uses ignored strict_types line

2021-12-06 Thread Jayce (Jira)
Jayce created NETBEANS-6264:
---

 Summary: PHP Menu Source->Fix uses ignored strict_types line
 Key: NETBEANS-6264
 URL: https://issues.apache.org/jira/browse/NETBEANS-6264
 Project: NetBeans
  Issue Type: Bug
  Components: php - Editor
Affects Versions: 12.5, 12.6
Reporter: Jayce
Assignee: Junichi Yamamoto


As asked here: https://issues.apache.org/jira/browse/NETBEANS-4978

Scenario:

Netbeans 12.5 (old) created a *bad* php file with the Fix Use command, let says 
this one:
{code:java}
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



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

2021-12-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5449:


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

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



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

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

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



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

2021-12-06 Thread Jeroen (Jira)


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

Jeroen reopened NETBEANS-5449:
--

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



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

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

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



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

2021-12-06 Thread Jeroen (Jira)


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

Jeroen commented on NETBEANS-5449:
--

[~matthiasblaesing] unfortunately I didn't get a notification for your comment 
so at the time I didn't test with the test build.

I have just installed version 12.6 and it does not look like it's resolved I'm 
afraid.

Point 1 from my initial description is gone now, but the other 2 still apply.
After the first appearance of a namespaced variable within a selector, 
everything after that has no syntax highlighting, code completion, etc. Error 
message still says "Unexpected token DOT found".

See attached screenshot.

I have also tried with a very minimal case, with 1 SCSS file, '_vars.scss' with 
just 1 var in it, for example $someColor: #282828; and another SCSS file, 
importing the file with @use, and then 1 CSS selector with color: 
vars.$someColor; and the issue then occurs as well.

Currently used versions:
NetBeans 12.6
OpenJDK 17.0.1
Dart Sass 1.44.0
Windows 10 21H2 Build 19044.1387

 

!NetBeans.PNG!

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



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

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

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



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

2021-12-06 Thread Jeroen (Jira)


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

Jeroen updated NETBEANS-5449:
-
Attachment: NetBeans.PNG

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



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

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

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



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

2021-12-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4978:


Report it as a new issue with your exact steps to reproduce it.

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



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

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

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



[netbeans] branch master updated: LSP: attempt to speed up open type action. (#3354)

2021-12-06 Thread dbalek
This is an automated email from the ASF dual-hosted git repository.

dbalek 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 fa4b0f7  LSP: attempt to speed up open type action. (#3354)
fa4b0f7 is described below

commit fa4b0f70def0573f9675fc06108e13b8b6c49c0e
Author: Dusan Balek 
AuthorDate: Mon Dec 6 21:25:10 2021 +0100

LSP: attempt to speed up open type action. (#3354)
---
 .../modules/java/lsp/server/protocol/Server.java   |   2 +
 .../lsp/server/protocol/WorkspaceServiceImpl.java  | 107 ++---
 .../java/lsp/server/protocol/ServerTest.java   |   8 +-
 java/java.lsp.server/vscode/src/extension.ts   |  19 +++-
 .../netbeans/api/java/source/ui/ElementOpen.java   |  42 +---
 .../maven/queries/MavenSourceJavadocAttacher.java  |   2 +-
 6 files changed, 128 insertions(+), 52 deletions(-)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/Server.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/Server.java
index 8d19542..ccaf4c5 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/Server.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/Server.java
@@ -709,6 +709,7 @@ public final class Server {
 JAVA_NEW_PROJECT,
 JAVA_PROJECT_CONFIGURATION_COMPLETION,
 JAVA_SUPER_IMPLEMENTATION,
+JAVA_SOURCE_FOR,
 JAVA_CLEAR_PROJECT_CACHES,
 NATIVE_IMAGE_FIND_DEBUG_PROCESS_TO_ATTACH));
 for (CodeActionsProvider codeActionsProvider : 
Lookup.getDefault().lookupAll(CodeActionsProvider.class)) {
@@ -854,6 +855,7 @@ public final class Server {
 public static final String JAVA_GET_PROJECT_PACKAGES = 
"java.get.project.packages";
 public static final String JAVA_LOAD_WORKSPACE_TESTS =  
"java.load.workspace.tests";
 public static final String JAVA_SUPER_IMPLEMENTATION =  
"java.super.implementation";
+public static final String JAVA_SOURCE_FOR =  "java.source.for";
 public static final String GRAALVM_PAUSE_SCRIPT =  "graalvm.pause.script";
 
 /**
diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java
index 19f1fff..e1bfe88 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java
@@ -26,7 +26,11 @@ import com.sun.source.util.TreePath;
 import java.io.IOException;
 import java.lang.reflect.Method;
 import java.net.MalformedURLException;
+import java.net.URI;
 import java.net.URL;
+import java.net.URLDecoder;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
@@ -57,6 +61,7 @@ import org.eclipse.lsp4j.ExecuteCommandParams;
 import org.eclipse.lsp4j.Location;
 import org.eclipse.lsp4j.Position;
 import org.eclipse.lsp4j.Range;
+import org.eclipse.lsp4j.ShowDocumentParams;
 import org.eclipse.lsp4j.SymbolInformation;
 import org.eclipse.lsp4j.WorkspaceSymbolParams;
 import org.eclipse.lsp4j.services.LanguageClient;
@@ -90,6 +95,7 @@ import org.netbeans.modules.java.lsp.server.LspServerState;
 import org.netbeans.modules.java.lsp.server.Utils;
 import 
org.netbeans.modules.java.lsp.server.debugging.attach.AttachConfigurations;
 import 
org.netbeans.modules.java.lsp.server.debugging.attach.AttachNativeConfigurations;
+import org.netbeans.modules.java.source.ElementHandleAccessor;
 import org.netbeans.modules.java.source.ui.JavaSymbolProvider;
 import org.netbeans.modules.java.source.ui.JavaTypeProvider;
 import org.netbeans.modules.java.source.usages.ClassIndexImpl;
@@ -261,7 +267,50 @@ public final class WorkspaceServiceImpl implements 
WorkspaceService, LanguageCli
 String uri = ((JsonPrimitive) 
params.getArguments().get(0)).getAsString();
 Position pos = 
gson.fromJson(gson.toJson(params.getArguments().get(1)), Position.class);
 return 
(CompletableFuture)((TextDocumentServiceImpl)server.getTextDocumentService()).superImplementations(uri,
 pos);
-
+case Server.JAVA_SOURCE_FOR: {
+CompletableFuture result = new CompletableFuture<>();
+try {
+String sourceUri = ((JsonPrimitive) 
params.getArguments().get(0)).getAsString();
+if (sourceUri == null || 
!sourceUri.startsWith(SOURCE_FOR)) {
+throw new IllegalArgumentException("Invalid uri: " + 
sourceUri);
+}
+

[netbeans-website] branch master updated (361cfdf -> 44f9edf)

2021-12-06 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


from 361cfdf  Update index.asciidoc
 add a3e24e7  Fix incorrect references to 12.5
 new 44f9edf  Merge pull request #572 from apache/neilcsmith-fixnb125-ref

The 1 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:
 netbeans.apache.org/src/content/download/nb126/nb126.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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



[netbeans-website] 01/01: Merge pull request #572 from apache/neilcsmith-fixnb125-ref

2021-12-06 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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

commit 44f9edfd9dc6ad699e955dda342c834eecc907b7
Merge: 361cfdf a3e24e7
Author: Neil C Smith 
AuthorDate: Mon Dec 6 17:51:40 2021 +

Merge pull request #572 from apache/neilcsmith-fixnb125-ref

Fix incorrect references to 12.5

 netbeans.apache.org/src/content/download/nb126/nb126.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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



[netbeans-website] 01/01: Fix incorrect references to 12.5

2021-12-06 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a commit to branch neilcsmith-fixnb125-ref
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit a3e24e7d33ea9099c9bc13e6f250f7f9b26ca3ee
Author: Neil C Smith 
AuthorDate: Mon Dec 6 17:47:03 2021 +

Fix incorrect references to 12.5
---
 netbeans.apache.org/src/content/download/nb126/nb126.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/download/nb126/nb126.asciidoc 
b/netbeans.apache.org/src/content/download/nb126/nb126.asciidoc
index e4b6658..6ab1bd7 100644
--- a/netbeans.apache.org/src/content/download/nb126/nb126.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb126/nb126.asciidoc
@@ -86,7 +86,7 @@ To build Apache NetBeans 12.6 from source you need:
 
 Once you have everything installed then:
 
-1. Unzip 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.5/netbeans-12.5-source.zip[netbeans-12.5-source.zip]
+1. Unzip 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.6/netbeans-12.6-source.zip[netbeans-12.6-source.zip]
 in a directory of your liking.
 
 [start=2]

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-website] branch neilcsmith-fixnb125-ref created (now a3e24e7)

2021-12-06 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a change to branch neilcsmith-fixnb125-ref
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at a3e24e7  Fix incorrect references to 12.5

This branch includes the following new commits:

 new a3e24e7  Fix incorrect references to 12.5

The 1 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.


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

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



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

2021-12-06 Thread Jayce (Jira)


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

Jayce commented on NETBEANS-4978:
-

Tested with official 12.6. Still wrong.

It ignores "declare(strict_types=1);" line position.

As a result if you have a "use" line, followed by declare(strict_types=1); (let 
say it's bad because of previous version of Netbeans), "Fix uses" will insert 
the new use line after the existing use line, ignoring declare(strict_types=1);.

declare(strict_types=1); *MUST* *always* *be the FIRST line.*

Just reorder them properly:

1) declare(strict_types=1);
2) namespace XXX
3) use yyy

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



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

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

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



[jira] [Created] (NETBEANS-6263) Node js not found

2021-12-06 Thread Jayce (Jira)
Jayce created NETBEANS-6263:
---

 Summary: Node js not found
 Key: NETBEANS-6263
 URL: https://issues.apache.org/jira/browse/NETBEANS-6263
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 12.5, 12.6
Reporter: Jayce


On launch, an annoying popup is displayed warning about NodeJS not found, 
Typescript . 

Why? I don't use NodeJs or Typescript, so its's normal it's not found.



--
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-website] branch master updated: Update index.asciidoc

2021-12-06 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 361cfdf  Update index.asciidoc
361cfdf is described below

commit 361cfdffe41f59f0163d09bdb5a9717e417502f7
Author: Geertjan Wielenga 
AuthorDate: Mon Dec 6 16:44:32 2021 +0100

Update index.asciidoc
---
 netbeans.apache.org/src/content/download/nb126/index.asciidoc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/netbeans.apache.org/src/content/download/nb126/index.asciidoc 
b/netbeans.apache.org/src/content/download/nb126/index.asciidoc
index 5cbfe4d..7a6aa65 100644
--- a/netbeans.apache.org/src/content/download/nb126/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb126/index.asciidoc
@@ -40,6 +40,7 @@ The full list of pull requests integrated in the 12.6 
timeframe link:https://git
 == Java Enhancements
 
 === Java Editor
+- nbjavac-upgrade-to-jdk-17: https://github.com/apache/netbeans/pull/3112
 - Auto completion for "record" is now prefix aware: 
https://github.com/apache/netbeans/pull/3227
 - Add support for Pattern Matching for switch (Preview): 
https://github.com/apache/netbeans/pull/3007
 - When java.lang is not available, avoid throwing a FatalError: 
https://github.com/apache/netbeans/pull/2947

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

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



svn commit: r51207 - in /release/netbeans: netbeans-platform/12.0/ netbeans-platform/12.5/ netbeans/12.0-u1/ netbeans/12.0-u2/ netbeans/12.0/ netbeans/12.5/

2021-12-06 Thread neilcsmith
Author: neilcsmith
Date: Mon Dec  6 15:43:15 2021
New Revision: 51207

Log:
Archive Apache NetBeans 12.0 and 12.5

Removed:
release/netbeans/netbeans-platform/12.0/
release/netbeans/netbeans-platform/12.5/
release/netbeans/netbeans/12.0/
release/netbeans/netbeans/12.0-u1/
release/netbeans/netbeans/12.0-u2/
release/netbeans/netbeans/12.5/


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-website] branch master updated: Fix up archive links for NB 12.6 announcement; change banner link text.

2021-12-06 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 71a8156  Fix up archive links for NB 12.6 announcement; change banner 
link text.
 new 4a5cf1b  Merge pull request #571 from neilcsmith-net/lts-eol
71a8156 is described below

commit 71a815645ed1d17faf2ab84d94e2a07c334ecf6f
Author: Neil C Smith 
AuthorDate: Mon Dec 6 14:15:52 2021 +

Fix up archive links for NB 12.6 announcement; change banner link text.
---
 .../src/content/download/archive/index.asciidoc| 24 ++
 .../src/content/download/index.asciidoc|  2 +-
 .../src/content/download/nb120/nb120.asciidoc  | 22 ++--
 .../src/content/download/nb123/nb123.asciidoc  | 22 ++--
 .../src/content/download/nb124/nb124.asciidoc  | 22 ++--
 .../src/content/download/nb125/nb125.asciidoc  | 22 ++--
 netbeans.apache.org/src/content/templates/news.gsp |  2 +-
 7 files changed, 61 insertions(+), 55 deletions(-)

diff --git a/netbeans.apache.org/src/content/download/archive/index.asciidoc 
b/netbeans.apache.org/src/content/download/archive/index.asciidoc
index 259a57b..5098520 100644
--- a/netbeans.apache.org/src/content/download/archive/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/archive/index.asciidoc
@@ -29,59 +29,65 @@
 Older Apache NetBeans releases and pre-Apache NetBeans releases can still be
 downloaded, but are no longer supported.
 
+== Apache NetBeans 12.5
+
+Apache NetBeans 12.5 was released on September 13, 2021.
+
+link:/download/nb125/[Features, role="button"] 
link:/download/nb125/nb125.html[Download, role="button success"]
+
 == Apache NetBeans 12.4
 
 Apache NetBeans 12.4 was released on May 19, 2021.
 
-link:/download/nb124/index.html[Features, role="button"] 
link:/download/nb124/nb124.html[Download, role="button success"]
+link:/download/nb124/[Features, role="button"] 
link:/download/nb124/nb124.html[Download, role="button success"]
 
 == Apache NetBeans 12.3
 
 Apache NetBeans 12.3 was released on March 3, 2021.
 
-link:/download/nb123/index.html[Features, role="button"] 
link:/download/nb123/nb123.html[Download, role="button success"]
+link:/download/nb123/[Features, role="button"] 
link:/download/nb123/nb123.html[Download, role="button success"]
 
 == Apache NetBeans 12.2
 
 Apache NetBeans 12.2 was released on December 5, 2020.
 
-link:/download/nb122/index.html[Features, role="button"] 
link:/download/nb122/nb122.html[Download, role="button success"]
+link:/download/nb122/[Features, role="button"] 
link:/download/nb122/nb122.html[Download, role="button success"]
 
 == Apache NetBeans 12.1
 
 Apache NetBeans 12.1 was released on September 5, 2020.
 
-link:/download/nb121/index.html[Features, role="button"] 
link:/download/nb121/nb121.html[Download, role="button success"]
+link:/download/nb121/[Features, role="button"] 
link:/download/nb121/nb121.html[Download, role="button success"]
 
 == Apache NetBeans 12.0
 
 Apache NetBeans 12.0 LTS was released on June 4, 2020.
 
-link:/download/nb120/index.html[Features, role="button"] 
link:/download/nb120/nb120.html[Download, role="button success"]
+link:/download/nb120/[Features, role="button"] 
link:/download/nb120/nb120.html[Download, role="button success"]
 
 == Apache NetBeans 11.3
 
 Apache NetBeans 11.3 was released on February 24, 2020.
 
-link:/download/nb113/index.html[Features, role="button"] 
link:/download/nb113/nb113.html[Download, role="button success"]
+link:/download/nb113/[Features, role="button"] 
link:/download/nb113/nb113.html[Download, role="button success"]
 
 == Apache NetBeans 11.2
 
 Apache NetBeans 11.2 was released on October 25, 2019.
 
-link:/download/nb112/index.html[Features, role="button"] 
link:/download/nb112/nb112.html[Download, role="button success"]
+link:/download/nb112/[Features, role="button"] 
link:/download/nb112/nb112.html[Download, role="button success"]
 
 == Apache NetBeans 11.1
 
 Apache NetBeans 11.1 was released on July 22, 2019.
 
-link:/download/nb111/index.html[Features, role="button"] 
link:/download/nb111/nb111.html[Download, role="button success"]
+link:/download/nb111/[Features, role="button"] 
link:/download/nb111/nb111.html[Download, role="button success"]
 
 == Apache NetBeans 11.0
 
 Apache NetBeans 11 LTS version of the IDE, released on April 4, 2019.
 
-link:/download/nb110/index.html[Features, role="button"] 
link:/download/nb110/nb110.html[Download, role="button success"]
+link:/download/nb110/[Features, role="button"] 
link:/download/nb110/nb110.html[Download, role="button success"]
 
 == Apache NetBeans 10.0
 
diff --git a/netbeans.apache.org/src/content/download/index.asciidoc 
b/netbeans.apache.org/src/content/download/index.asciidoc
index 1b7429a..f3715e5 100644
--- a/netbeans.apach

[netbeans] branch master updated (f6634f9 -> 88d66a9)

2021-12-06 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


from f6634f9  Merge pull request #3347 from neilcsmith-net/apis-nb126
 new cba62c6  Use ToolProvider from libs.javacapi, not from bootclasspath
 new e1856df  Updating to 17.0.1-ga javac
 new 3e595b9  No need for ToolProvider hacks in java.hints.declarative when 
using latest nb-javac@17.0.1
 new 88d66a9  Merge pull request #3355 from 
JaroslavTulach/jtulach/NoSuchMethodGetPackage

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


Summary of changes:
 java/java.hints.declarative/nbproject/project.xml| 12 ++--
 .../org/netbeans/modules/java/hints/declarative/Hacks.java   |  9 +
 java/java.j2seplatform/nbproject/project.xml |  8 
 java/libs.javacapi/external/binaries-list|  4 ++--
 ...-17+35-license.txt => nb-javac-jdk-17.0.1-ga-license.txt} |  4 ++--
 java/libs.javacapi/nbproject/project.properties  |  2 +-
 java/libs.javacapi/nbproject/project.xml |  4 ++--
 java/libs.nbjavacapi/external/binaries-list  |  4 ++--
 ...-17+35-license.txt => nb-javac-jdk-17.0.1-ga-license.txt} |  4 ++--
 java/libs.nbjavacapi/manifest.mf |  2 +-
 java/libs.nbjavacapi/nbproject/project.properties|  4 ++--
 java/libs.nbjavacapi/nbproject/project.xml   |  2 +-
 nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps |  4 ++--
 13 files changed, 32 insertions(+), 31 deletions(-)
 rename java/libs.javacapi/external/{nb-javac-jdk-17+35-license.txt => 
nb-javac-jdk-17.0.1-ga-license.txt} (99%)
 rename java/libs.nbjavacapi/external/{nb-javac-jdk-17+35-license.txt => 
nb-javac-jdk-17.0.1-ga-license.txt} (99%)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-website] branch master updated: Update for 12.6

2021-12-06 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 27daead  Update for 12.6
27daead is described below

commit 27daead3210b13ab70ac7d1d65ff7824f509fede
Author: Geertjan Wielenga 
AuthorDate: Mon Dec 6 10:40:19 2021 +0100

Update for 12.6
---
 netbeans.apache.org/src/content/templates/news.gsp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/netbeans.apache.org/src/content/templates/news.gsp 
b/netbeans.apache.org/src/content/templates/news.gsp
index 5870a6b..972da22 100644
--- a/netbeans.apache.org/src/content/templates/news.gsp
+++ b/netbeans.apache.org/src/content/templates/news.gsp
@@ -23,8 +23,8 @@
 
 
 Latest release
-Apache NetBeans 12.5
-Find out more
+Apache NetBeans 12.6
+Find out more
 
 
 

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

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