[jira] [Created] (NETBEANS-423) Evaluation of lambdas and new classes fails: "Unsupported: can not create a new class"

2018-02-24 Thread Gili (JIRA)
Gili created NETBEANS-423:
-

 Summary: Evaluation of lambdas and new classes fails: 
"Unsupported: can not create a new class"
 Key: NETBEANS-423
 URL: https://issues.apache.org/jira/browse/NETBEANS-423
 Project: NetBeans
  Issue Type: Bug
  Components: debugger - Code
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-219-on-20180221)
Updates: Updates available
Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
Runtime: Java(TM) SE Runtime Environment 9.0.4+11
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
Reporter: Gili


This issue was originally reported and fixed by 
[https://netbeans.org/bugzilla/show_bug.cgi?id=253248] in version 8.2 but I can 
now reproduce it in the nightly builds.

Here are the original repro steps:
 # I place a breakpoint after this line of code: {{List 
responseForLanguages = new ArrayList<>(section.getLangs());}}
 # I enter the following in the Variables tab: 
{{responseForLanguages.stream().map(lang -> lang.getId())}}
 # Netbeans responds {{Unsupported: can not create a new class}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-423) Evaluation of lambdas and new classes fails: "Unsupported: can not create a new class"

2018-02-24 Thread Gili (JIRA)

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

Gili updated NETBEANS-423:
--
Labels: regression  (was: )

> Evaluation of lambdas and new classes fails: "Unsupported: can not create a 
> new class"
> --
>
> Key: NETBEANS-423
> URL: https://issues.apache.org/jira/browse/NETBEANS-423
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Code
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-219-on-20180221)
> Updates: Updates available
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>  Labels: regression
>
> This issue was originally reported and fixed by 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=253248] in version 8.2 but I 
> can now reproduce it in the nightly builds.
> Here are the original repro steps:
>  # I place a breakpoint after this line of code: {{List 
> responseForLanguages = new ArrayList<>(section.getLangs());}}
>  # I enter the following in the Variables tab: 
> {{responseForLanguages.stream().map(lang -> lang.getId())}}
>  # Netbeans responds {{Unsupported: can not create a new class}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-295) Create/Update Tests dialog updates pom.xml even if operation is aborted

2018-02-24 Thread Gili (JIRA)

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

Gili commented on NETBEANS-295:
---

Same here. That is odd. Why would this magically fix itself? :)

> Create/Update Tests dialog updates pom.xml even if operation is aborted
> ---
>
> Key: NETBEANS-295
> URL: https://issues.apache.org/jira/browse/NETBEANS-295
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180117-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Assignee: Anton V. Kirilchik
>Priority: Major
> Fix For: 9.0
>
>
> 1. Given a Maven project with a Java file open in the editor
> 2. The user mistakenly hits CTRL+SHIFT+U which opens the "Create/Update 
> Tests" dialog
> 3. User hits ESC to cancel the operation.
> 4. The following lines are added to pom.xml:
> {code}
>   
>   org.seleniumhq.selenium
>   selenium-java
>   test
>   2.44.0
>   
>   
>   com.opera
>   operadriver
>   test
>   1.5
>   
>   
>   
> org.seleniumhq.selenium
>   
> selenium-remote-driver
>   
>   
>   
>   
>   junit
>   junit
>   test
>   4.11
>   
> {code}
> Expected behavior: pom.xml should not be modified if operation is aborted



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-422) Special handling for slf4j LoggerFactory.getLogger(Class)

2018-02-24 Thread Gili (JIRA)
Gili created NETBEANS-422:
-

 Summary: Special handling for slf4j LoggerFactory.getLogger(Class)
 Key: NETBEANS-422
 URL: https://issues.apache.org/jira/browse/NETBEANS-422
 Project: NetBeans
  Issue Type: Improvement
  Components: editor - Completion  Templates
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-219-on-20180221)
Updates: Updates available
Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
Runtime: Java(TM) SE Runtime Environment 9.0.4+11
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
Reporter: Gili


slf4j is popular. Very popular. We could save developers countless hours if the 
auto-complete for {{LoggerFactory.getLogger(Class)}} would insert the enclosing 
class name instead of "clazz" as it currently does.

{{For example, given:}}
{code:java}
public class ThisIsFun
{
  private final LoggerFactory log = LoggerFactory.getLogger(***);
}{code}
{{We would auto-complete as:}}
{code:java}
public class ThisIsFun
{
  private final LoggerFactory log = LoggerFactory.getLogger(ThisIsFun.class);
}{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-421) Conditional breakpoints trigger when condition is false

2018-02-24 Thread Gili (JIRA)

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

Gili commented on NETBEANS-421:
---

Looking at {{com.sun.jdi.ObjectCollectedException}} this sounds like a bug in 
Netbeans. I don't understand how anything in the expression could have been 
garbage collected. The field {{symbol}} is on the method stack. The object 
{{CurrencyPair}} is an enum so it should never get garbage collected.

> Conditional breakpoints trigger when condition is false
> ---
>
> Key: NETBEANS-421
> URL: https://issues.apache.org/jira/browse/NETBEANS-421
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-219-on-20180221)
> Updates: Updates available
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> I set a conditional breakpoint which is triggering every time, even if the 
> condition is false. I opened the Debugger Console and saw:
> {code:java}
> Breakpoint hit at line 299 in class 
> com.holdmyspot.pyramid.binance.BinanceOrderStream$WebSocketListener by thread 
> WebSocketClient@1801942731-21.
> ***
> The object was collected.
> ***
> {code}
> I believe this is coming from 
> [https://github.com/apache/incubator-netbeans/blob/15bc442a91fa2be81488725b15c61386bf1d0b9b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/JavaEvaluator.java#L168]
>  but it isn't clear what this means.
> If I enter the conditional expression in the "Variables" tab, it evaluates 
> correctly, so I don't think there is anything wrong with the expression.
> My conditional expression is 
> {{symbol.equals(CurrencyPair.fromString("BNB/USD"))}} where {{symbol}} is a 
> local String variable and {{CurrencyPair.fromString()}} is a static method.
> Please clarify what is going wrong, and improve the IDE so it explains to the 
> user what is wrong.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-421) Conditional breakpoints trigger when condition is false

2018-02-24 Thread Gili (JIRA)

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

Gili updated NETBEANS-421:
--
Issue Type: Bug  (was: Improvement)

> Conditional breakpoints trigger when condition is false
> ---
>
> Key: NETBEANS-421
> URL: https://issues.apache.org/jira/browse/NETBEANS-421
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-219-on-20180221)
> Updates: Updates available
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> I set a conditional breakpoint which is triggering every time, even if the 
> condition is false. I opened the Debugger Console and saw:
> {code:java}
> Breakpoint hit at line 299 in class 
> com.holdmyspot.pyramid.binance.BinanceOrderStream$WebSocketListener by thread 
> WebSocketClient@1801942731-21.
> ***
> The object was collected.
> ***
> {code}
> I believe this is coming from 
> [https://github.com/apache/incubator-netbeans/blob/15bc442a91fa2be81488725b15c61386bf1d0b9b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/JavaEvaluator.java#L168]
>  but it isn't clear what this means.
> If I enter the conditional expression in the "Variables" tab, it evaluates 
> correctly, so I don't think there is anything wrong with the expression.
> My conditional expression is 
> {{symbol.equals(CurrencyPair.fromString("BNB/USD"))}} where {{symbol}} is a 
> local String variable and {{CurrencyPair.fromString()}} is a static method.
> Please clarify what is going wrong, and improve the IDE so it explains to the 
> user what is wrong.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-295) Create/Update Tests dialog updates pom.xml even if operation is aborted

2018-02-24 Thread Anton V. Kirilchik (JIRA)

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

Anton V. Kirilchik resolved NETBEANS-295.
-
   Resolution: Cannot Reproduce
Fix Version/s: 9.0

> Create/Update Tests dialog updates pom.xml even if operation is aborted
> ---
>
> Key: NETBEANS-295
> URL: https://issues.apache.org/jira/browse/NETBEANS-295
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180117-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Assignee: Anton V. Kirilchik
>Priority: Major
> Fix For: 9.0
>
>
> 1. Given a Maven project with a Java file open in the editor
> 2. The user mistakenly hits CTRL+SHIFT+U which opens the "Create/Update 
> Tests" dialog
> 3. User hits ESC to cancel the operation.
> 4. The following lines are added to pom.xml:
> {code}
>   
>   org.seleniumhq.selenium
>   selenium-java
>   test
>   2.44.0
>   
>   
>   com.opera
>   operadriver
>   test
>   1.5
>   
>   
>   
> org.seleniumhq.selenium
>   
> selenium-remote-driver
>   
>   
>   
>   
>   junit
>   junit
>   test
>   4.11
>   
> {code}
> Expected behavior: pom.xml should not be modified if operation is aborted



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-295) Create/Update Tests dialog updates pom.xml even if operation is aborted

2018-02-24 Thread Anton V. Kirilchik (JIRA)

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

Anton V. Kirilchik commented on NETBEANS-295:
-

Cannot reproduce with build from commit 
ccc9b5f92776c62e7e7b40e8429e09c30d20406c.

> Create/Update Tests dialog updates pom.xml even if operation is aborted
> ---
>
> Key: NETBEANS-295
> URL: https://issues.apache.org/jira/browse/NETBEANS-295
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180117-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Assignee: Anton V. Kirilchik
>Priority: Major
>
> 1. Given a Maven project with a Java file open in the editor
> 2. The user mistakenly hits CTRL+SHIFT+U which opens the "Create/Update 
> Tests" dialog
> 3. User hits ESC to cancel the operation.
> 4. The following lines are added to pom.xml:
> {code}
>   
>   org.seleniumhq.selenium
>   selenium-java
>   test
>   2.44.0
>   
>   
>   com.opera
>   operadriver
>   test
>   1.5
>   
>   
>   
> org.seleniumhq.selenium
>   
> selenium-remote-driver
>   
>   
>   
>   
>   junit
>   junit
>   test
>   4.11
>   
> {code}
> Expected behavior: pom.xml should not be modified if operation is aborted



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-403) Pressing Home/End scrolls to beginning/end of whole document if tooltip is open

2018-02-24 Thread Eirik Bakke (JIRA)

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

Eirik Bakke edited comment on NETBEANS-403 at 2/24/18 5:10 PM:
---

Doing a bit of research on this, the problem seems to be that 
javax.swing.text.DefaultEditorKit$EndAction.actionPerformed is called instead 
of org.netbeans.editor.BaseKit$EndLineAction.actionPerformed whenever a popup 
is open when the "End" key is pressed (and presumably the same for the Home 
key).

In the normal case, the stack trace is as follows:

{noformat}
at org.netbeans.editor.BaseKit$EndLineAction.actionPerformed(BaseKit.java:3539)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:347)
at 
org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:468)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
...standard AWT trace follows...
{noformat}

In the popup case, the stack trace is as follows:

{noformat}
at 
javax.swing.text.DefaultEditorKit$EndAction.actionPerformed(DefaultEditorKit.java:2134)
at 
org.netbeans.editor.PopupManager$PopupKeyListener.keyPressed(PopupManager.java:514)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
at java.awt.Component.processKeyEvent(Component.java:6491)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
...standard AWT trace follows, same as in the non-popup case...
{noformat}



was (Author: ebakke):
Doing a bit of research on this, the problem seems to be that 
javax.swing.text.DefaultEditorKit$EndAction.actionPerformed is called instead 
of org.netbeans.editor.BaseKit$EndLineAction.actionPerformed whenever a popup 
is open when the "End" key is pressed (and presumably the same for the Home 
key).

In the normal case, the stack trace is as follows:

{noformat}
at org.netbeans.editor.BaseKit$EndLineAction.actionPerformed(BaseKit.java:3539)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:347)
at 
org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:468)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
...standard AWT trace follows...
{noformat}

In the popup case, the stack trace is as follows:

{code:java}
at 
javax.swing.text.DefaultEditorKit$EndAction.actionPerformed(DefaultEditorKit.java:2134)
at 
org.netbeans.editor.PopupManager$PopupKeyListener.keyPressed(PopupManager.java:514)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
at java.awt.Component.processKeyEvent(Component.java:6491)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
...standard AWT trace follows, same as in the non-popup case...
{code}


> Pressing Home/End scrolls to beginning/end of whole document if tooltip is 
> open
> ---
>
> Key: NETBEANS-403
> URL: https://issues.apache.org/jira/browse/NETBEANS-403
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Key bindings
>Affects Versions: 8.2, 9.0
>Reporter: Eirik Bakke
>Priority: Major
> Attachments: HomeEndBug.png
>
>
> When a tooltip is shown in the Java editor, for instance because the mouse is 
> hovering over an error indication, pressing the Home or End keys on the 
> keyboard scrolls the entire document all the way to the top or end, 
> respectively instead of to the beginning or end of the current line. This is 
> extremely disruptive, and likely very confusing to users, as it only happens 
> in the stated situation.
> A workaround is to move the mouse pointer away from the editor to close the 
> popup after examining an error. Most users will not be able to discover this 
> workaround, though--for myself, it took two weeks to discover the correlation 
> between the tooltip being open and the bug occurring.
> This bug seems to have been introduced in 8.2, and I just confirmed that it 
> is still present on the new Apache NetBeans 9.0 beta release.
> This issue was first reported as issue #270842 by timothyrheider in the old 
> BugZilla tracker, on 2017-06-09:
> https://netbeans.org/bugzilla/show_bug.cgi?id=270842



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NETBEANS-403) Pressing Home/End scrolls to beginning/end of whole document if tooltip is open

2018-02-24 Thread Eirik Bakke (JIRA)

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

Eirik Bakke commented on NETBEANS-403:
--

Doing a bit of research on this, the problem seems to be that 
javax.swing.text.DefaultEditorKit$EndAction.actionPerformed is called instead 
of org.netbeans.editor.BaseKit$EndLineAction.actionPerformed whenever a popup 
is open when the "End" key is pressed (and presumably the same for the Home 
key).

In the normal case, the stack trace is as follows:

{noformat}
at org.netbeans.editor.BaseKit$EndLineAction.actionPerformed(BaseKit.java:3539)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:347)
at 
org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:468)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
...standard AWT trace follows...
{noformat}

In the popup case, the stack trace is as follows:

{code:java}
at 
javax.swing.text.DefaultEditorKit$EndAction.actionPerformed(DefaultEditorKit.java:2134)
at 
org.netbeans.editor.PopupManager$PopupKeyListener.keyPressed(PopupManager.java:514)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
at java.awt.Component.processKeyEvent(Component.java:6491)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
...standard AWT trace follows, same as in the non-popup case...
{code}


> Pressing Home/End scrolls to beginning/end of whole document if tooltip is 
> open
> ---
>
> Key: NETBEANS-403
> URL: https://issues.apache.org/jira/browse/NETBEANS-403
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Key bindings
>Affects Versions: 8.2, 9.0
>Reporter: Eirik Bakke
>Priority: Major
> Attachments: HomeEndBug.png
>
>
> When a tooltip is shown in the Java editor, for instance because the mouse is 
> hovering over an error indication, pressing the Home or End keys on the 
> keyboard scrolls the entire document all the way to the top or end, 
> respectively instead of to the beginning or end of the current line. This is 
> extremely disruptive, and likely very confusing to users, as it only happens 
> in the stated situation.
> A workaround is to move the mouse pointer away from the editor to close the 
> popup after examining an error. Most users will not be able to discover this 
> workaround, though--for myself, it took two weeks to discover the correlation 
> between the tooltip being open and the bug occurring.
> This bug seems to have been introduced in 8.2, and I just confirmed that it 
> is still present on the new Apache NetBeans 9.0 beta release.
> This issue was first reported as issue #270842 by timothyrheider in the old 
> BugZilla tracker, on 2017-06-09:
> https://netbeans.org/bugzilla/show_bug.cgi?id=270842



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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



[incubator-netbeans-website] branch multisite-test updated: Adding the "feature" component, to add images and features to the release page. (#6)

2018-02-24 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch multisite-test
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/multisite-test by this push:
 new 509a16a  Adding the "feature" component, to add images and features to 
the release page. (#6)
509a16a is described below

commit 509a16a0c25b20fb7895c79f5ea5151956412d33
Author: Antonio Vieiro 
AuthorDate: Sat Feb 24 11:37:11 2018 +0100

Adding the "feature" component, to add images and features to the release 
page. (#6)

- Features can be easily added in asciidoc documents, with floating images 
(and links to enlarged versions).
- Example page for some of the NetBeans 9.0 features.
---
 .../src/content/download/index.asciidoc|   5 +-
 .../src/content/download/nb90/index.asciidoc   | 137 +
 .../content/download/{ => nb90}/nb90-beta.asciidoc |   6 +-
 .../src/content/download/nb90/nb90-javashell.png   | Bin 0 -> 77386 bytes
 .../download/nb90/nb90-module-info-completion.png  | Bin 0 -> 153488 bytes
 .../src/content/download/nb90/nb90-module-info.png | Bin 0 -> 42458 bytes
 .../download/nb90/nb90-new-multi-module.png| Bin 0 -> 82100 bytes
 .../src/content/download/nb90/nb90-shell-agent.png | Bin 0 -> 47555 bytes
 .../src/content/download/nb90/nb90-shell-save.png  | Bin 0 -> 85728 bytes
 .../src/content/scss/components/_features.scss |  68 ++
 netbeans.apache.org/src/content/scss/netbeans.scss |   1 +
 .../src/content/templates/footer.gsp   |   3 +
 netbeans.apache.org/src/content/templates/news.gsp |   2 +-
 .../src/content/templates/slider.gsp   |  20 ++-
 14 files changed, 231 insertions(+), 11 deletions(-)

diff --git a/netbeans.apache.org/src/content/download/index.asciidoc 
b/netbeans.apache.org/src/content/download/index.asciidoc
index 66618fc..f0aba0f 100644
--- a/netbeans.apache.org/src/content/download/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/index.asciidoc
@@ -35,7 +35,10 @@ for important requirements for download pages for Apache 
projects.
 [[releases]]
 == Releases
 
-- link:nb90-beta.html[Apache NetBeans 9.0 Beta], released on the 22nd of 
February, 2018.
+=== Apache NetBeans 9.0
+
+- link:nb90/[Apache NetBeans 9.0 Features]
+- link:nb90/nb90-beta.html[Apache NetBeans 9.0 Beta], released on the 22nd of 
February, 2018.
 
 [[latest]]
 == Latest Builds
diff --git a/netbeans.apache.org/src/content/download/nb90/index.asciidoc 
b/netbeans.apache.org/src/content/download/nb90/index.asciidoc
new file mode 100644
index 000..3130b69
--- /dev/null
+++ b/netbeans.apache.org/src/content/download/nb90/index.asciidoc
@@ -0,0 +1,137 @@
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+= Apache NetBeans IDE 9.0 features
+:jbake-type: page
+:jbake-tags: 9.0 features
+:jbake-status: published
+:keywords: Apache NetBeans 9.0 IDE features
+:icons: font
+:description: Apache NetBeans 9.0 (incubating) features
+:toc: left
+:toc-title: 
+:toclevels: 4
+
+== Apache NetBeans IDE (incubating) 9.0 
+
+Apache NetBeans 9.0 is the first release of the Apache NetBeans IDE.
+
+The main goals for this release are
+
+- IP clearance of the Oracle code donation.
+- Java 9 Support.
+
+=== Downloads
+
+- See link:/download/nb90/nb90-beta.html[Apache NetBeans 9.0 Beta], released 
on february, 2018.
+
+=== Features
+
+NOTE: This is a list of the *proposed* features of Apache NetBeans 9.0. The 
beta release may provide a *subset* of these.
+
+
+To display a feature do as follows:
+
+Add a header title, and an anonymous asciidoc block (--) with the ".feature" 
metadata, and write text inside the block:
+
+== A title here
+[.feature]
+--
+This is a feature
+--
+
+You can add images to the feature by adding a png file along with the 
document, and adding a image: construct to the text.
+
+Use role="left" for left alignment or role="right" for right alignment.
+
+Examples:
+
+== An amazing feature
+[.feature]
+--
+Here goes some text
+
+image:nb90-module-info.png[Adding module-info.java, title="Adding 

[jira] [Assigned] (NETBEANS-294) Running project is impossible when C/C++ files is opened

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-294:
---

Assignee: (was: Hyeonwoo O)

> Running project is impossible when C/C++ files is opened
> 
>
> Key: NETBEANS-294
> URL: https://issues.apache.org/jira/browse/NETBEANS-294
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
>
> When NetBeans is opened with C/C++ files or changing project groups to C/C++ 
> group, 'Run Project' button is disabled.
> I can activate it with clicking empty spaces or other file tabs, but it needs 
> to be fixed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-302) Auto-Completion Issues in Java files

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-302:
---

Assignee: (was: Hyeonwoo O)

> Auto-Completion Issues in Java files
> 
>
> Key: NETBEANS-302
> URL: https://issues.apache.org/jira/browse/NETBEANS-302
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 8.2
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
>
> Auto-completion list doesn't pop up in following situations.
> - When typing global variables and global methods in Java files
> - When typing text quickly
> - When I typed one word incorrectly and deleted it
> I think because the editor's text recognition speed is quite slow. It needs 
> to be improved to be able to respond immediately while typing text or 
> sentences.
> Especially, please make Auto-completion list to doesn't disappear even if I 
> typed text incorrectly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-279) Auto-Completion Issues in C/C++ files

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-279:
---

Assignee: (was: Hyeonwoo O)

> Auto-Completion Issues in C/C++ files
> -
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 8.2
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
>
> Auto-completion list doesn't pop up in following situations.
> - When removing header file declaration(<...>, "...") and write it again in 
> C/C++ files
> - When typing text quickly
> - When I typed one word incorrectly and deleted it
> I think because the editor's text recognition speed is quite slow. It needs 
> to be improved to be able to respond immediately while typing text or 
> sentences.
> Especially, please make Auto-completion list to doesn't disappear even if I 
> typed text incorrectly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-325) Options about UTF-8 Encoding

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-325:
---

Assignee: (was: Hyeonwoo O)

> Options about UTF-8 Encoding
> 
>
> Key: NETBEANS-325
> URL: https://issues.apache.org/jira/browse/NETBEANS-325
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Options
>Affects Versions: 8.2
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
>
> Currently there are only one option for UTF-8 encoding.
> I think it would be better if it is divided into two options: UTF-8 with BOM 
> / UTF-8 without BOM.
> Also, even if I set source file to UTF-8 in project properties, still there 
> are encoding problems with non-English strings.
> I can fix it with editing netbeans.conf file but i think these problems 
> should be solved through options inside the IDE.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-361) Disassembly Error: !Source not found

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-361:

Description: 
I have a problem in disassembly.
I write a simple code, and clicked 'Step Into', but disassembly tab is empty.
If I click 'Call Stack', some disassembly code is appeared but error message 
also follows:

*!Source not found, file name: (file name).cpp, (line number)*

I tested it in NetBeans IDE Dev Build 201801230002.


  was:
I have a problem in disassembly.
I write a simple code, and clicked 'Step Into', but disassembly tab is empty.
If I click 'Call Stack', some disassembly code is appeared but error message 
also follows:

*!Source not found, file name: main.cpp, (line number)*

I tested it in NetBeans IDE Dev Build 201801230002.



> Disassembly Error: !Source not found
> 
>
> Key: NETBEANS-361
> URL: https://issues.apache.org/jira/browse/NETBEANS-361
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: build
>
> I have a problem in disassembly.
> I write a simple code, and clicked 'Step Into', but disassembly tab is empty.
> If I click 'Call Stack', some disassembly code is appeared but error message 
> also follows:
> *!Source not found, file name: (file name).cpp, (line number)*
> I tested it in NetBeans IDE Dev Build 201801230002.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-297) Auto Code Formatting

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-297:
---

Assignee: (was: Hyeonwoo O)

> Auto Code Formatting
> 
>
> Key: NETBEANS-297
> URL: https://issues.apache.org/jira/browse/NETBEANS-297
> Project: NetBeans
>  Issue Type: Wish
>  Components: editor - Formatting  Indentation
>Affects Versions: Next
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
>
> Currently NetBeans doesn't support auto-formatting, and only manual 
> formatting is possible with format option through shortcut or Right 
> click->Format. So I suggest auto code formatting like this:
> ※ Adding auto-format triggers:
>  * Only to edited lines, not entire code
>  * Operate when semicolon or enter key is presssed
>  * Operate when parentheses/braces/brackets are matched (including block 
> header and internal code lines)
> Next, Formatting->Blank Lines options about C & C++ & C/C++ Header are not 
> sufficient in comparison with other languages like Java. I hope following 
> options are added in the Blank Lines menu.
> ※ Blank line after blocks:
>  * Class, Method, Function
>  * if, if~else, while, do~while, for, try~catch~finally
>  * swtich~case, enum, and etc
> In addition, it would be better if there is additional option doesn't create 
> blank line if the block is End of parent block.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-351) Improvement in Unsaved File's Tab

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-351:
---

Assignee: (was: Hyeonwoo O)

> Improvement in Unsaved File's Tab
> -
>
> Key: NETBEANS-351
> URL: https://issues.apache.org/jira/browse/NETBEANS-351
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: Next
>
>
> Currently unsaved file's name is displayed with bold text on file tabs.
> I hope to asterisk('*') symbol is added next to the file name so user can 
> check unsaved files with file tabs easily.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-361) Disassembly Error: !Source not found

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-361:

Description: 
I have a problem in disassembly.
I write a simple code, and clicked 'Step Into', but disassembly tab is empty.
If I click 'Call Stack', some disassembly code is appeared but error message 
also follows:

*!Source not found, file name: main.cpp, (line number)*

I tested it in NetBeans IDE Dev Build 201801230002.


  was:
I have a problem in disassembly.
I write a simple code, and clicked 'Step Into', but disassembly tab is empty.
If I click 'Call Stack', some disassembly code is appeared but error message 
also follows:

*!Source not found, file name: main.cpp, line: 5*

I tested it in NetBeans IDE Dev Build 201801230002.



> Disassembly Error: !Source not found
> 
>
> Key: NETBEANS-361
> URL: https://issues.apache.org/jira/browse/NETBEANS-361
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: build
>
> I have a problem in disassembly.
> I write a simple code, and clicked 'Step Into', but disassembly tab is empty.
> If I click 'Call Stack', some disassembly code is appeared but error message 
> also follows:
> *!Source not found, file name: main.cpp, (line number)*
> I tested it in NetBeans IDE Dev Build 201801230002.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-366) Configuring white spaces in C/C++ files

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-366:
---

Assignee: (was: Hyeonwoo O)

> Configuring white spaces in C/C++ files
> ---
>
> Key: NETBEANS-366
> URL: https://issues.apache.org/jira/browse/NETBEANS-366
> Project: NetBeans
>  Issue Type: Wish
>  Components: editor - Formatting  Indentation
>Affects Versions: Next
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: feature
>
> *1. Configuring white space after closing braces of class and struct*
>  When create a class or struct, a white space is added automatically after 
> closing brace. This is cannot be configured so it need additional two options 
> like this:
>   1) White space after right braces of class/struct: Entering numbers
>   2) Keep current spaces: Whether the spaces are removed or added manually, 
> keep it.
> *2. Configuring white space after 'sizeof' keyword*
>  In 'Spaces Before Parentheses' option, 'sizeof' is grouped by the name of 
> 'Other Keywords'. But unlike other keywords like 'return', 'sizeof' is used 
> with no space before parenthesis in many cases. I think seperating 'sizeof' 
> from 'Other Keywords' would be better.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-331) Unexpected errors with Java

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-331:
---

Assignee: (was: Hyeonwoo O)

> Unexpected errors with Java
> ---
>
> Key: NETBEANS-331
> URL: https://issues.apache.org/jira/browse/NETBEANS-331
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Windows 10, JDK 9
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: errors
>
> When I'm configuring some options, following error messages came out.
> {noformat}
> java.lang.NullPointerException
> {noformat}
> or
> {noformat}
> javax.swing.text.BadLocationException
> {noformat}
> These messages came out suddenly so I couldn't reproduce it.
> It is occurred in Development Version and I wrote only simple test code like 
> this:
> {code:java}
> package javatest;
> public class MainClass {
> public static void main(String[] args) {
> System.out.println("Hello World!");
> }
> }
> {code}
> Build number is NetBeans IDE 201801230002.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-371) NullPointerException about Code Completion in C/C++ files

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-371:
---

Assignee: (was: Hyeonwoo O)

> NullPointerException about Code Completion in C/C++ files
> -
>
> Key: NETBEANS-371
> URL: https://issues.apache.org/jira/browse/NETBEANS-371
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: bug
>
> When I input some text and if there is no code completion entries for it, 
> NullPointerException is occurred.
> {code:java}
> NullPointerException at 
> org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType
> {code}
> This issue occurs when the text is entered in the line before main() function.
> I tested this in NetBeans IDE Dev Build 201802080002.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-368) Encoding option in C/C++ projects

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-368:
---

Assignee: (was: Hyeonwoo O)

> Encoding option in C/C++ projects
> -
>
> Key: NETBEANS-368
> URL: https://issues.apache.org/jira/browse/NETBEANS-368
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Options
>Affects Versions: Next
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: feature
>
> Currently 'Encoding' option is included in both 'Project Properties' and 
> 'Options->C/C++'. But even though I change encoding in Option menu, it 
> doesn't affect globally.
> Removing it and leaving one encoding option in Project Properties would be 
> better for setting clear option and avoiding confusion.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-367) Improvement in C/C++ Code Formatter

2018-02-24 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O reassigned NETBEANS-367:
---

Assignee: (was: Hyeonwoo O)

> Improvement in C/C++ Code Formatter
> ---
>
> Key: NETBEANS-367
> URL: https://issues.apache.org/jira/browse/NETBEANS-367
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation
>Affects Versions: Next
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: feature
>
> In C, C++ and C/C++ Header files, formatting features are insufficient 
> compared to Java files.
> I hope following improvements are made:
> *1. Indentation in first line of main() function*
> After creating new main file, the first line of main() function has no 
> indentation. It needs to apply indent in all lines of main() function as 
> default.
> *2. Removing blank lines after namespace/access modifier*
> I added a blank line before classes and functions, but I want to make an 
> exception about namespaces and access modifiers(public, private, protected, 
> and etc). I tried to remove blank line +after+ namespace/access modifier but 
> I couldn't find any options about it. It would be good if that options are 
> added.
> *3. Formatting block comments*
> Unlike Java files, there is no option about formatting block comments so It 
> is impossible to add Leading Star('*') automatically inside the block. I hope 
> that option to be added.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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