[netbeans] branch master updated: [NETBEANS-3973] Fixed double space before lambda arrow

2020-05-04 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 e5aab95  [NETBEANS-3973] Fixed double space before lambda arrow
 new 02bea2d  Merge pull request #2127 from mgraciano/NETBEANS-3973
e5aab95 is described below

commit e5aab95b7c6ec2aa6bd720c388a2a3056ecfa657
Author: Michel Graciano 
AuthorDate: Sun May 3 14:17:38 2020 -0300

[NETBEANS-3973] Fixed double space before lambda arrow
---
 .../org/netbeans/modules/java/source/save/Reformatter.java   |  3 +--
 .../org/netbeans/modules/java/source/save/FormatingTest.java | 12 
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git 
a/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
 
b/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
index 916ac4f..799e173 100644
--- 
a/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
+++ 
b/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
@@ -2864,6 +2864,7 @@ public class Reformatter implements ReformatTask {
 if(statements != null)
 accept(COLON);
 else {
+space();
 accept(ARROW);
 caseBody = TreeShims.getBody(node);
 if (caseBody instanceof StatementTree)
@@ -3468,8 +3469,6 @@ public class Reformatter implements ReformatTask {
 ? getIndent()
 : after == 2 //after javadoc comment
 ? getNewlines(1) + getIndent()
-: id == ARROW
-? SPACE
 : null;
 if (lastWSToken != null) {
 if (spaces == null || 
!spaces.contentEquals(lastWSToken.text()))
diff --git 
a/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/save/FormatingTest.java
 
b/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/save/FormatingTest.java
index 613864a..fa1fd2e 100644
--- 
a/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/save/FormatingTest.java
+++ 
b/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/save/FormatingTest.java
@@ -46,6 +46,7 @@ import org.netbeans.junit.NbTestSuite;
 import org.netbeans.modules.java.JavaDataLoader;
 import org.netbeans.modules.java.source.BootClassPathUtil;
 import org.netbeans.modules.java.source.usages.IndexUtil;
+import org.netbeans.modules.java.ui.FmtOptions;
 import org.netbeans.spi.java.classpath.ClassPathProvider;
 import org.netbeans.spi.java.classpath.support.ClassPathSupport;
 import org.openide.cookies.EditorCookie;
@@ -4830,7 +4831,18 @@ public class FormatingTest extends NbTestCase {
 + "java.util.Arrays.asList(args).map((val) -> 
val.length());\n"
 + "}\n"
 + "}\n";
+// Testing with wrapping lambda arrow deactivated
 reformat(doc, content, golden);
+
+final String wrapAfterLambdaArrow = FmtOptions.wrapAfterLambdaArrow;
+Preferences preferences = 
MimeLookup.getLookup(JavaTokenId.language().mimeType()).lookup(Preferences.class);
+preferences.putBoolean(wrapAfterLambdaArrow, true);
+
+// Testing with wrapping lambda arrow activated
+reformat(doc, content, golden);
+
+// Returning the setting to the default value
+preferences.putBoolean(wrapAfterLambdaArrow, 
FmtOptions.getDefaultAsBoolean(wrapAfterLambdaArrow));
 }
 
 public void testForNoCondition() throws Exception {


-
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: Mark included 3rd-party update centre as trusted and don't sign bundled nbms.

2020-05-04 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 5cdea8f  Mark included 3rd-party update centre as trusted and don't 
sign bundled nbms.
 new a5b65e7  Merge pull request #2109 from 
neilcsmith-net/third-party-uc-trust
5cdea8f is described below

commit 5cdea8f247853219f7856ab3ca88c3290bec69cc
Author: Neil C Smith 
AuthorDate: Tue Apr 28 11:43:05 2020 +0100

Mark included 3rd-party update centre as trusted and don't sign bundled 
nbms.
---
 nb/updatecenters/build.xml| 4 
 .../src/org/netbeans/modules/updatecenters/resources/mf-layer.xml | 1 +
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/nb/updatecenters/build.xml b/nb/updatecenters/build.xml
index b9a6577..f91f4c0 100644
--- a/nb/updatecenters/build.xml
+++ b/nb/updatecenters/build.xml
@@ -41,8 +41,6 @@
   />
   
   
-  
-  
   
   
   
@@ -56,8 +54,6 @@
   
   
   
-  
-  
   
   
   
diff --git 
a/nb/updatecenters/src/org/netbeans/modules/updatecenters/resources/mf-layer.xml
 
b/nb/updatecenters/src/org/netbeans/modules/updatecenters/resources/mf-layer.xml
index b57d7a8..bacad2f 100644
--- 
a/nb/updatecenters/src/org/netbeans/modules/updatecenters/resources/mf-layer.xml
+++ 
b/nb/updatecenters/src/org/netbeans/modules/updatecenters/resources/mf-layer.xml
@@ -62,6 +62,7 @@
   
   
   
+  
   
   
   


-
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: Fix ConvertToPatternInstanceOf hint always showing.

2020-05-04 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 ffb0a35  Fix ConvertToPatternInstanceOf hint always showing.
 new 1496c64  Merge pull request #2112 from 
neilcsmith-net/instanceof-hint-fix
ffb0a35 is described below

commit ffb0a353e6a69cd696f1dab9677c4d8238dfd336
Author: Neil C Smith 
AuthorDate: Thu Apr 30 14:25:12 2020 +0100

Fix ConvertToPatternInstanceOf hint always showing.

Add minSourceVersion = 14 to ConvertToPatternInstanceOf hint.
Disable hint in HintMetadata if lookup of SourceVersion by name fails.
---
 .../netbeans/modules/java/hints/jdk/ConvertToPatternInstanceOf.java| 3 ++-
 .../org/netbeans/modules/java/hints/providers/spi/HintMetadata.java| 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToPatternInstanceOf.java
 
b/java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToPatternInstanceOf.java
index 90699b4..e397ed8 100644
--- 
a/java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToPatternInstanceOf.java
+++ 
b/java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToPatternInstanceOf.java
@@ -64,7 +64,8 @@ import org.openide.util.NbBundle;
 "ERR_ConvertToPatternInstanceOf=instanceof  can be used here",
 "FIX_ConvertToPatternInstanceOf=Use instanceof "
 })
-@Hint(displayName="#DN_ConvertToPatternInstanceOf", 
description="#DESC_ConvertToPatternInstanceOf", category="rules15")
+@Hint(displayName="#DN_ConvertToPatternInstanceOf", 
description="#DESC_ConvertToPatternInstanceOf", category="rules15",
+minSourceVersion = "14")
 public class ConvertToPatternInstanceOf {
 
 @TriggerPatterns({
diff --git 
a/java/spi.java.hints/src/org/netbeans/modules/java/hints/providers/spi/HintMetadata.java
 
b/java/spi.java.hints/src/org/netbeans/modules/java/hints/providers/spi/HintMetadata.java
index e98893a..4b3651e 100644
--- 
a/java/spi.java.hints/src/org/netbeans/modules/java/hints/providers/spi/HintMetadata.java
+++ 
b/java/spi.java.hints/src/org/netbeans/modules/java/hints/providers/spi/HintMetadata.java
@@ -175,6 +175,7 @@ public class HintMetadata {
 this.sourceVersion = SourceVersion.valueOf("RELEASE_" + 
version);
 } catch (IllegalArgumentException ex) {
 this.sourceVersion = SourceVersion.RELEASE_3;
+setEnabled(false);
 }
 }
 return this;


-
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 commit_validation updated (1c9ebd4 -> 0378694)

2020-05-04 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

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


from 1c9ebd4  Commit author validation
 add 0378694  Update action version

No new revisions were added by this update.

Summary of changes:
 .github/workflows/commits.yml | 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] branch commit_validation updated (0378694 -> d86af49)

2020-05-04 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

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


from 0378694  Update action version
 add d86af49  Update action version

No new revisions were added by this update.

Summary of changes:
 .github/workflows/commits.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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

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



[jira] [Created] (NETBEANS-4303) Widescreen window layout: newly opened files appear right to different kind of tabs instead of next to other files

2020-05-04 Thread dennis lucero (Jira)
dennis lucero created NETBEANS-4303:
---

 Summary: Widescreen window layout: newly opened files appear right 
to different kind of tabs instead of next to other files
 Key: NETBEANS-4303
 URL: https://issues.apache.org/jira/browse/NETBEANS-4303
 Project: NetBeans
  Issue Type: Improvement
  Components: platform - Window System
Affects Versions: 11.3
Reporter: dennis lucero
 Attachments: NetBeans Widescreen Window Layout.png

(Please see the attached screenshot for a quick overview of the problem)

I try to make reasonable use of a wide screen (2560x1440 pixels) with NetBeans 
maximized. I moved some parts of the UI (Output, Search Results, Usages) to the 
right with opened files in the center. While this basically works, all newly 
opened files open in the right area instead of the center column so I have to 
move them to the center manually, which is time-consuming and annoying. All 
files should open in the same area. That way, the other tabs (Output etc.) can 
be accessed quickly even after opening a lot of files.



--
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-4301) Multiline string literals show with wrong background colour when using dark LAF

2020-05-04 Thread Rahul (Jira)


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

Rahul updated NETBEANS-4301:

Attachment: image-2020-05-04-23-52-17-918.png

> Multiline string literals show with wrong background colour when using dark 
> LAF
> ---
>
> Key: NETBEANS-4301
> URL: https://issues.apache.org/jira/browse/NETBEANS-4301
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Windows 10 Pro
> Java 14.0.1
>Reporter: Scott Palmer
>Priority: Major
>  Labels: Look&Feel
> Attachments: image-2020-05-04-23-52-17-918.png
>
>
> Using the new multiline strings literals in JDK-14 with a dark look and feel 
> like either "Dark Nimbis" or "FlatLaf Dark" on Windows 10, the text in the 
> multiline string has a white background.



--
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-4301) Multiline string literals show with wrong background colour when using dark LAF

2020-05-04 Thread Rahul (Jira)


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

Rahul commented on NETBEANS-4301:
-

!image-2020-05-04-23-52-17-918.png!

> Multiline string literals show with wrong background colour when using dark 
> LAF
> ---
>
> Key: NETBEANS-4301
> URL: https://issues.apache.org/jira/browse/NETBEANS-4301
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Windows 10 Pro
> Java 14.0.1
>Reporter: Scott Palmer
>Priority: Major
>  Labels: Look&Feel
> Attachments: image-2020-05-04-23-52-17-918.png
>
>
> Using the new multiline strings literals in JDK-14 with a dark look and feel 
> like either "Dark Nimbis" or "FlatLaf Dark" on Windows 10, the text in the 
> multiline string has a white background.



--
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-4301) Multiline string literals show with wrong background colour when using dark LAF

2020-05-04 Thread Rahul (Jira)


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

Rahul edited comment on NETBEANS-4301 at 5/4/20, 6:24 PM:
--

!image-2020-05-04-23-52-17-918.png!

 

Added a screenshot here.
Look and Feel - Flatlaf Dark

Profile - Flatlaf Dark

 

Do we actually need that background color?


was (Author: rahul.khandelwal):
!image-2020-05-04-23-52-17-918.png!

> Multiline string literals show with wrong background colour when using dark 
> LAF
> ---
>
> Key: NETBEANS-4301
> URL: https://issues.apache.org/jira/browse/NETBEANS-4301
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Windows 10 Pro
> Java 14.0.1
>Reporter: Scott Palmer
>Priority: Major
>  Labels: Look&Feel
> Attachments: image-2020-05-04-23-52-17-918.png
>
>
> Using the new multiline strings literals in JDK-14 with a dark look and feel 
> like either "Dark Nimbis" or "FlatLaf Dark" on Windows 10, the text in the 
> multiline string has a white background.



--
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-4232) Have to restart NetBeans to Change JDK

2020-05-04 Thread Jira


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

高浩 updated NETBEANS-4232:
-
Environment: Windows 10

> Have to restart NetBeans to Change JDK
> --
>
> Key: NETBEANS-4232
> URL: https://issues.apache.org/jira/browse/NETBEANS-4232
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
> Environment: Windows 10
>Reporter: 高浩
>Priority: Major
> Attachments: change java dependencies.png
>
>
> To change the Jave Dependencies of a Maven project, choose another JDK via 
> Options > Java > Maven > Default JDK, but it doesn't work at once. I must 
> restart the IDE, which is annoying! 



--
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-4301) Multiline string literals show with wrong background colour when using dark LAF

2020-05-04 Thread Scott Palmer (Jira)


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

Scott Palmer edited comment on NETBEANS-4301 at 5/4/20, 6:51 PM:
-

At first I wondered if we needed that colour as well, but I believe we do.

The key is that it shows you where the beginning of each line actually is, so 
you know what amount of whitespace is trimmed from the start of the lines.  
This makes it easy to identify a misaligned closing """.


was (Author: swpalmer):
At first I wondered if we needed that colour as well, but I believe we do.

The key is that it shows you were the beginning of each line actually is, so 
you know what amount of whitespace is trimmed from the start of the lines.  
This makes it easy to identify a misaligned closing """.

> Multiline string literals show with wrong background colour when using dark 
> LAF
> ---
>
> Key: NETBEANS-4301
> URL: https://issues.apache.org/jira/browse/NETBEANS-4301
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Windows 10 Pro
> Java 14.0.1
>Reporter: Scott Palmer
>Priority: Major
>  Labels: Look&Feel
> Attachments: image-2020-05-04-23-52-17-918.png
>
>
> Using the new multiline strings literals in JDK-14 with a dark look and feel 
> like either "Dark Nimbis" or "FlatLaf Dark" on Windows 10, the text in the 
> multiline string has a white background.



--
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-4301) Multiline string literals show with wrong background colour when using dark LAF

2020-05-04 Thread Scott Palmer (Jira)


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

Scott Palmer commented on NETBEANS-4301:


At first I wondered if we needed that colour as well, but I believe we do.

The key is that it shows you were the beginning of each line actually is, so 
you know what amount of whitespace is trimmed from the start of the lines.  
This makes it easy to identify a misaligned closing """.

> Multiline string literals show with wrong background colour when using dark 
> LAF
> ---
>
> Key: NETBEANS-4301
> URL: https://issues.apache.org/jira/browse/NETBEANS-4301
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Windows 10 Pro
> Java 14.0.1
>Reporter: Scott Palmer
>Priority: Major
>  Labels: Look&Feel
> Attachments: image-2020-05-04-23-52-17-918.png
>
>
> Using the new multiline strings literals in JDK-14 with a dark look and feel 
> like either "Dark Nimbis" or "FlatLaf Dark" on Windows 10, the text in the 
> multiline string has a white background.



--
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-4303) Widescreen window layout: newly opened files appear right to different kind of tabs instead of next to other files

2020-05-04 Thread dennis lucero (Jira)


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

dennis lucero commented on NETBEANS-4303:
-

After moving the right column (with Output, Search Results, Usages) back to the 
bottom, new documents opened at the bottom. I had to reset the window layout to 
get back to a usable state.

> Widescreen window layout: newly opened files appear right to different kind 
> of tabs instead of next to other files
> --
>
> Key: NETBEANS-4303
> URL: https://issues.apache.org/jira/browse/NETBEANS-4303
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Window System
>Affects Versions: 11.3
>Reporter: dennis lucero
>Priority: Major
>  Labels: layout, screen, window
> Attachments: NetBeans Widescreen Window Layout.png
>
>
> (Please see the attached screenshot for a quick overview of the problem)
> I try to make reasonable use of a wide screen (2560x1440 pixels) with 
> NetBeans maximized. I moved some parts of the UI (Output, Search Results, 
> Usages) to the right with opened files in the center. While this basically 
> works, all newly opened files open in the right area instead of the center 
> column so I have to move them to the center manually, which is time-consuming 
> and annoying. All files should open in the same area. That way, the other 
> tabs (Output etc.) can be accessed quickly even after opening a lot of files.



--
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-4303) Widescreen window layout: newly opened files appear right to different kind of tabs instead of next to other files

2020-05-04 Thread dennis lucero (Jira)


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

dennis lucero edited comment on NETBEANS-4303 at 5/4/20, 7:19 PM:
--

After moving the right column (with Output, Search Results, Usages) back to the 
bottom, new files opened at the bottom. I had to reset the window layout to get 
back to a usable state (with files opening at the top).


was (Author: striderapache):
After moving the right column (with Output, Search Results, Usages) back to the 
bottom, new documents opened at the bottom. I had to reset the window layout to 
get back to a usable state.

> Widescreen window layout: newly opened files appear right to different kind 
> of tabs instead of next to other files
> --
>
> Key: NETBEANS-4303
> URL: https://issues.apache.org/jira/browse/NETBEANS-4303
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Window System
>Affects Versions: 11.3
>Reporter: dennis lucero
>Priority: Major
>  Labels: layout, screen, window
> Attachments: NetBeans Widescreen Window Layout.png
>
>
> (Please see the attached screenshot for a quick overview of the problem)
> I try to make reasonable use of a wide screen (2560x1440 pixels) with 
> NetBeans maximized. I moved some parts of the UI (Output, Search Results, 
> Usages) to the right with opened files in the center. While this basically 
> works, all newly opened files open in the right area instead of the center 
> column so I have to move them to the center manually, which is time-consuming 
> and annoying. All files should open in the same area. That way, the other 
> tabs (Output etc.) can be accessed quickly even after opening a lot of files.



--
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-4304) Incorrect return type on "Refactor->Create Method" inside lambda

2020-05-04 Thread Austin Stephens (Jira)
Austin Stephens created NETBEANS-4304:
-

 Summary: Incorrect return type on "Refactor->Create Method" inside 
lambda
 Key: NETBEANS-4304
 URL: https://issues.apache.org/jira/browse/NETBEANS-4304
 Project: NetBeans
  Issue Type: Bug
  Components: java - Refactoring
Affects Versions: 11.2, 11.3
Reporter: Austin Stephens


Using the following source code:
{code:java}
public class BugKiller {
public static void kill(){
Function> logic;
logic = item->doThingWithString(item, 5, true);
}
}
{code}
Invoking "Create Method" on `doThingWithString` will create a method with the 
return type of "Function>" instead of "List"



--
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-3973) Code auto formatting for lambda arrows

2020-05-04 Thread Michel Graciano (Jira)


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

Michel Graciano updated NETBEANS-3973:
--
Labels: pull-request-available  (was: )

> Code auto formatting for lambda arrows
> --
>
> Key: NETBEANS-3973
> URL: https://issues.apache.org/jira/browse/NETBEANS-3973
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Arch Linux and the included "jdk11-openjdk" package, 
> official NB 11.3 bin download
>Reporter: Bernd Michaely
>Assignee: Michel Graciano
>Priority: Major
>  Labels: pull-request-available
> Attachments: image-2020-05-02-17-52-49-898.png
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Since NB 11.3, code auto formatting for lambda errors is broken. NB adds an 
> additional space before the lambda arrow. To reproduce the problem choose
> Menu Tools -> Options -> Editor -> Formatting ->
> Language: Java
> Category: Wrapping ->
> - "Lambda Arrow" : Never
> - Check "Wrap After Lambda Arrow"
> Category: Spaces -> Around Operators
> -> "Lambda Arrow" unchecked:
> {{11.2: BinaryOperator plus = (a, b)->a+b;}}
> {{11.3: BinaryOperator plus = (a, b)_->a+b;}}{{}}
> -> or "Lambda Arrow" checked:
> {{11.2: BinaryOperator plus = (a, b) -> a+b;}}
> {{11.2: BinaryOperator plus = (a, b)_ -> a+b;}}{{}}
> ... the underscore chars indicating the additional space char.
> Note, that the additional space only appears, if "Wrap After Lambda Arrow" is 
> checked.
> (This problem causes a lot of noise in Diff and VCS for existing code, so 
> this is pretty annoying and currently prevents me from upgrading to NB 11.3)
>  



--
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-4305) cleanup dead hardware support

2020-05-04 Thread Brad Walker (Jira)
Brad Walker created NETBEANS-4305:
-

 Summary: cleanup dead hardware support
 Key: NETBEANS-4305
 URL: https://issues.apache.org/jira/browse/NETBEANS-4305
 Project: NetBeans
  Issue Type: Bug
Affects Versions: Next
Reporter: Brad Walker
Assignee: Brad Walker
 Fix For: Next


Sun Microsystems has not produced a 32-bit microprocessor in years. In 
addition, Solaris is now strictly 64-bit and has been that way for a LONG time.

So cleanup the platform support to remove support for 32-bit SPARC processors 
and Solaris.

Java doesn't even run on this equipment.




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