[jira] [Updated] (NETBEANS-297) Auto Code Formatting
[ https://issues.apache.org/jira/browse/NETBEANS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyeonwoo O updated NETBEANS-297: Description: 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 opened or matched (including code lines inside the block) Next, there are some options about blank line +before+ code blocks in Options->Formatting menu, but there aren't any options about blank line +after+ blocks. I hope they are added in the Option menu. ※ Blank line after blocks: * Class, Method, Function * if, if~else, while, do~while, for * swtich~case, enum * block header 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. was: 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 (also including code lines inside the block) Next, there are some options about blank line +before+ code blocks in Options->Formatting menu, but there aren't any options about blank line +after+ blocks. I hope they are added in the Option menu. ※ Blank line after blocks: * Class, Method, Function * if, if~else, while, do~while, for * swtich~case, enum * block header 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. > 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 >Assignee: Hyeonwoo O >Priority: Major > Fix For: Next > > > 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 opened or matched (including > code lines inside the block) > Next, there are some options about blank line +before+ code blocks in > Options->Formatting menu, but there aren't any options about blank line > +after+ blocks. I hope they are added in the Option menu. > ※ Blank line after blocks: > * Class, Method, Function > * if, if~else, while, do~while, for > * swtich~case, enum > * block header 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] [Updated] (NETBEANS-297) Auto Code Formatting
[ https://issues.apache.org/jira/browse/NETBEANS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyeonwoo O updated NETBEANS-297: Description: 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 (also including code lines inside the block) Next, there are some options about blank line +before+ code blocks in Options->Formatting menu, but there aren't any options about blank line +after+ blocks. I hope they are added in the Option menu. ※ Blank line after blocks: * Class, Method, Function * if, if~else, while, do~while, for * swtich~case, enum * block header 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. was: 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 code lines inside the block) Next, there are some options about blank line +before+ code blocks in Options->Formatting menu, but there aren't any options about blank line +after+ blocks. I hope they are added in the Option menu. ※ Blank line after blocks: * Class, Method, Function * if, if~else, while, do~while, for * swtich~case, enum * block header 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. > 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 >Assignee: Hyeonwoo O >Priority: Major > Fix For: Next > > > 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 (also including code > lines inside the block) > Next, there are some options about blank line +before+ code blocks in > Options->Formatting menu, but there aren't any options about blank line > +after+ blocks. I hope they are added in the Option menu. > ※ Blank line after blocks: > * Class, Method, Function > * if, if~else, while, do~while, for > * swtich~case, enum > * block header 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] [Commented] (NETBEANS-277) NPE at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
[ https://issues.apache.org/jira/browse/NETBEANS-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16332699#comment-16332699 ] Antonio Vieiro commented on NETBEANS-277: - Daniel, pull #373 does solve this issue, does it not? Thanks, Antonio > NPE at > org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100) > - > > Key: NETBEANS-277 > URL: https://issues.apache.org/jira/browse/NETBEANS-277 > Project: NetBeans > Issue Type: Bug > Components: java - Source > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20180106-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 >Priority: Major > Labels: pull-request-available > Attachments: TradeStream.java > > Time Spent: 20m > Remaining Estimate: 0h > > 1. Open attached file. > 2. Position caret on the first word of line 79 ("BigDecimal") > 3. Hit ALT+SHIFT+I > 4. Exception thrown: > {code} > java.lang.NullPointerException > at > javax.lang.model.util.ElementFilter.listFilter(ElementFilter.java:216) > at javax.lang.model.util.ElementFilter.typesIn(ElementFilter.java:154) > at > org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100) > at > org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:90) > at > org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422) > at > org.netbeans.modules.java.editor.imports.FastImportAction$2.run(FastImportAction.java:126) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146) > at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to > at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThreadImpl(RunOffEDTImpl.java:140) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:83) > at > org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90) > at > org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:67) > at > org.netbeans.modules.java.editor.imports.FastImportAction.actionPerformed(FastImportAction.java:122) > at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) > at > java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1805) > at > java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2901) > at > java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2949) > at > java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2863) > at
[jira] [Closed] (NETBEANS-277) NPE at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
[ https://issues.apache.org/jira/browse/NETBEANS-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Vieiro closed NETBEANS-277. --- Resolution: Fixed Excellent. Thanks, Daniel! > NPE at > org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100) > - > > Key: NETBEANS-277 > URL: https://issues.apache.org/jira/browse/NETBEANS-277 > Project: NetBeans > Issue Type: Bug > Components: java - Source > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20180106-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 >Priority: Major > Labels: pull-request-available > Attachments: TradeStream.java > > Time Spent: 20m > Remaining Estimate: 0h > > 1. Open attached file. > 2. Position caret on the first word of line 79 ("BigDecimal") > 3. Hit ALT+SHIFT+I > 4. Exception thrown: > {code} > java.lang.NullPointerException > at > javax.lang.model.util.ElementFilter.listFilter(ElementFilter.java:216) > at javax.lang.model.util.ElementFilter.typesIn(ElementFilter.java:154) > at > org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100) > at > org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:90) > at > org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422) > at > org.netbeans.modules.java.editor.imports.FastImportAction$2.run(FastImportAction.java:126) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146) > at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to > at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThreadImpl(RunOffEDTImpl.java:140) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:83) > at > org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90) > at > org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:67) > at > org.netbeans.modules.java.editor.imports.FastImportAction.actionPerformed(FastImportAction.java:122) > at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) > at > java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1805) > at > java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2901) > at > java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2949) > at > java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2863) > at
[incubator-netbeans] branch master updated: [NETBEANS-277] Fix a NullPointerException issue with FastImportAction (#373)
This is an automated email from the ASF dual-hosted git repository. vieiro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git The following commit(s) were added to refs/heads/master by this push: new 6b8e596 [NETBEANS-277] Fix a NullPointerException issue with FastImportAction (#373) 6b8e596 is described below commit 6b8e596e3c9b44bdb14364d176740c42b39d1d33 Author: Daniel TrebbienAuthorDate: Fri Jan 19 10:25:29 2018 -0800 [NETBEANS-277] Fix a NullPointerException issue with FastImportAction (#373) Merged. --- .../netbeans/modules/java/editor/imports/FastImportAction.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/java.editor/src/org/netbeans/modules/java/editor/imports/FastImportAction.java b/java.editor/src/org/netbeans/modules/java/editor/imports/FastImportAction.java index 22a5d56..81957d5 100644 --- a/java.editor/src/org/netbeans/modules/java/editor/imports/FastImportAction.java +++ b/java.editor/src/org/netbeans/modules/java/editor/imports/FastImportAction.java @@ -97,7 +97,15 @@ public class FastImportAction extends BaseAction { final JavaSource javaSource = parameter.getJavaSource(); Pair
[jira] [Created] (NETBEANS-168) The "Warning - could not install some modules" dialog hiding the true issue
Gilberto C Andrade created NETBEANS-168: --- Summary: The "Warning - could not install some modules" dialog hiding the true issue Key: NETBEANS-168 URL: https://issues-test.apache.org/jira/browse/NETBEANS-168 Project: NetBeans Issue Type: Bug Components: ide - UI Affects Versions: 9.0 Environment: openSUE Leap 42.3 java 1.8.0_152 Reporter: Gilberto C Andrade Fix For: 9.0 Attachments: Screenshot_20180119_143319.png, Screenshot_20180119_145342.png, Screenshot_20180119_145520.png I've downloaded the build #184 [1] and extracted it on /home/gilberto.andrade/bin/incubating-netbeans-Build #184/bin/ Starting the netbeans script shows the "Warning - could not install some modules" dialog[2] but hiding another one. Clicking in disable and continue shows the real issue dialog [3]. This one disappear quickly and the netbeans not start. I had to start it several times to get the screenshot[4] [2] !Screenshot_20180119_143319.png! [3] !Screenshot_20180119_145342.png! [4] !Screenshot_20180119_145520.png! [1] https://builds.apache.org/job/incubator-netbeans-release/lastBuild/ -- This message was sent by Atlassian JIRA (v7.6.0#76001) - 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
[ https://issues.apache.org/jira/browse/NETBEANS-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyeonwoo O reassigned NETBEANS-279: --- Assignee: Hyeonwoo O > Auto-Completion Issues > -- > > Key: NETBEANS-279 > URL: https://issues.apache.org/jira/browse/NETBEANS-279 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion Templates >Affects Versions: 9.0 > Environment: Windows 10 >Reporter: Hyeonwoo O >Assignee: Hyeonwoo O >Priority: Major > Labels: features > Fix For: 9.0 > > > Auto-completion doesn't work correctly in some situations. > - When removing header file declaration(<...>, "...") and write it again in > C/C++ files > - When typing global variables and global methods in Java files > - When typing text quickly > I'm using NetBeans for C, C++ and Java but other language files will have > same problems. > I think because the editor's text recognition speed is slow so it needs > improvement in next version. > Also adding an option like 'Auto activation delay' in Eclipse would be good. -- 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
[ https://issues.apache.org/jira/browse/NETBEANS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyeonwoo O reassigned NETBEANS-297: --- Assignee: 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 >Assignee: Hyeonwoo O >Priority: Major > Fix For: Next > > > 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 code lines > inside the block) > Next, there are some options about blank line +before+ code blocks in > Options->Formatting menu, but there aren't any options about blank line > +after+ blocks. I hope they are added in the Option menu. > ※ Blank line after blocks: > * Class, Method, Function > * if, if~else, while, do~while, for > * swtich~case, enum > * block header 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-294) Running project is impossible when C/C++ files is opened
[ https://issues.apache.org/jira/browse/NETBEANS-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyeonwoo O reassigned NETBEANS-294: --- Assignee: 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: 9.0 > Environment: Windows 10 >Reporter: Hyeonwoo O >Assignee: Hyeonwoo O >Priority: Major > Fix For: 9.0 > > > 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-276) Binaries wrongly included in source zip
[ https://issues.apache.org/jira/browse/NETBEANS-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyeonwoo O reassigned NETBEANS-276: --- Assignee: (was: Hyeonwoo O) > Binaries wrongly included in source zip > --- > > Key: NETBEANS-276 > URL: https://issues.apache.org/jira/browse/NETBEANS-276 > Project: NetBeans > Issue Type: Bug >Reporter: Antonio Vieiro >Priority: Blocker > Labels: pull-request-available > Attachments: diff.txt > > Time Spent: 1h 10m > Remaining Estimate: 0h > > The task that builds the zip file includes wrong jars. > See [the mailing list for more > info|http://mail-archives.apache.org/mod_mbox/incubator-netbeans-dev/201801.mbox/browser] > Differences are: > incubator-netbeans$ diff -qr . ../extracted-source-files > Only in .: .git > Only in .: .gitattributes > Only in .: .gitignore > Only in .: .travis.yml > Only in ../incubating: DEPENDENCIES > Files ./LICENSE and ../incubating/LICENSE differ > Files ./NOTICE and ../incubating/NOTICE differ > Only in .: form.binding > Only in .: hibernate > Only in .: hibernate4lib > Only in ../incubating/javahelp/external: jhall-2.0_05.jar > Only in ../incubating/libs.junit4/external: hamcrest-core-1.3.jar > Only in ../incubating/libs.junit4/external: junit-4.12.jar > Only in .: libs.svnClientAdapter.svnkit > Only in ../incubating/nbbuild: build > Only in ../incubating/nbbuild/external: apache-rat-0.12.jar > Only in ../incubating/nbbuild/external: apitest.jar > Only in ../incubating/nbbuild/external: langtools-9.zip > Only in ../incubating/nbbuild/external: vanilla-javac-api.jar > Only in ../incubating/nbbuild/external: vanilla-javac-impl.jar > Only in .: o.jdesktop.beansbinding > Only in .: travis-check-line-endings.sh -- 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-297) Auto Code Formatting
[ https://issues.apache.org/jira/browse/NETBEANS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyeonwoo O updated NETBEANS-297: Description: 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 code lines inside the block) Next, there are some options about blank line +before+ code blocks in Options->Formatting menu, but there aren't any options about blank line +after+ blocks. I hope they are added in the Option menu. ※ Blank line after blocks: * Class, Method, Function * if, if~else, while, do~while, for * swtich~case, enum * block header 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. was: 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 code lines inside the block) Next, there are some options about blank line +before+ code blocks in Options->Formatting menu, but there aren't any options about blank line +after+ blocks. I hope they are added in the Option menu. ※ Blank line after blocks * Class, Method, Function * if, if~else, while, do~while, for * swtich~case, enum * block header 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. > 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 > Fix For: Next > > > 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 code lines > inside the block) > Next, there are some options about blank line +before+ code blocks in > Options->Formatting menu, but there aren't any options about blank line > +after+ blocks. I hope they are added in the Option menu. > ※ Blank line after blocks: > * Class, Method, Function > * if, if~else, while, do~while, for > * swtich~case, enum > * block header 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] [Updated] (NETBEANS-133) Problems with JShell in NetBeans on Mac OSX
[ https://issues.apache.org/jira/browse/NETBEANS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic updated NETBEANS-133: - Attachment: org-netbeans-modules-jshell-support.nbm > Problems with JShell in NetBeans on Mac OSX > --- > > Key: NETBEANS-133 > URL: https://issues.apache.org/jira/browse/NETBEANS-133 > Project: NetBeans > Issue Type: Bug > Components: java - JShell > Environment: Mac OSX Sierra >Reporter: Geertjan Wielenga >Assignee: Svata Dedic >Priority: Major > Labels: pull-request-available > Attachments: org-netbeans-modules-jshell-support.nbm > > Time Spent: 10m > Remaining Estimate: 0h > > When launching JShell in > https://builds.apache.org/job/incubator-netbeans-linux/213/, the following > errors are thrown: > INFO [org.netbeans.modules.jshell.support.ShellSession]: Error in JSHell > java.util.concurrent.TimeoutException > at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204) > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.timedVirtualMachineCreation(JdiInitiator.java:244) > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:137) > Caused: java.lang.InternalError: Failed remote launch: > java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch > (defaults: home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, > options=, main=, suspend=true, quote=", vmexec=java) -- > {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, > options=options=-classpath > /Users/geertjanwielenga/Downloads/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:, > main=main=org.netbeans.lib.jshell.agent.AgentWorker 49340, > suspend=suspend=true, quote=quote=", vmexec=vmexec=java} > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300) > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:141) > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.(JdiInitiator.java:110) > at > org.netbeans.lib.nbjshell.LaunchJDIAgent.create(LaunchJDIAgent.java:217) > at > org.netbeans.lib.nbjshell.LaunchJDIAgent.access$000(LaunchJDIAgent.java:63) > at > org.netbeans.lib.nbjshell.LaunchJDIAgent$1.generate(LaunchJDIAgent.java:181) > at > org.netbeans.modules.jshell.tool.JShellLauncher$CaptureExecControl.generate(JShellLauncher.java:240) > at jdk.jshell/jdk.jshell.JShell.(JShell.java:126) > Caused: java.lang.IllegalStateException: Launching JShell execution engine > threw: Failed remote launch: java.util.concurrent.TimeoutException @ > com.sun.jdi.CommandLineLaunch (defaults: > home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=, > main=, suspend=true, quote=", vmexec=java) -- > {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, > options=options=-classpath > /Users/geertjanwielenga/Downloads/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:, > main=main=org.netbeans.lib.jshell.agent.AgentWorker 49340, > suspend=suspend=true, quote=quote=", vmexec=vmexec=java} > at jdk.jshell/jdk.jshell.JShell.(JShell.java:139) > at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:405) > at > org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:258) > at > org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628) > at > org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745) > at > org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207) > at > org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195) > at > org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201) > at > org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830) > at > org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314) > [catch] at > org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSession.java:519) > at > org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1104) > at > org.netbeans.modules.jshell.support.ShellSession.lambda$start$3(ShellSession.java:515) > at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (NETBEANS-133) Problems with JShell in NetBeans on Mac OSX
[ https://issues.apache.org/jira/browse/NETBEANS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16332304#comment-16332304 ] Svatopluk Dedic commented on NETBEANS-133: -- I've created a pull request with a possible fix. I wasn't able to attach convenience NBM for testing to github PR so I'll try to attach it here. It's important that *MAC* users test the NBM. > Problems with JShell in NetBeans on Mac OSX > --- > > Key: NETBEANS-133 > URL: https://issues.apache.org/jira/browse/NETBEANS-133 > Project: NetBeans > Issue Type: Bug > Components: java - JShell > Environment: Mac OSX Sierra >Reporter: Geertjan Wielenga >Assignee: Svata Dedic >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > When launching JShell in > https://builds.apache.org/job/incubator-netbeans-linux/213/, the following > errors are thrown: > INFO [org.netbeans.modules.jshell.support.ShellSession]: Error in JSHell > java.util.concurrent.TimeoutException > at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204) > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.timedVirtualMachineCreation(JdiInitiator.java:244) > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:137) > Caused: java.lang.InternalError: Failed remote launch: > java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch > (defaults: home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, > options=, main=, suspend=true, quote=", vmexec=java) -- > {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, > options=options=-classpath > /Users/geertjanwielenga/Downloads/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:, > main=main=org.netbeans.lib.jshell.agent.AgentWorker 49340, > suspend=suspend=true, quote=quote=", vmexec=vmexec=java} > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300) > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:141) > at > jdk.jshell/jdk.jshell.execution.JdiInitiator.(JdiInitiator.java:110) > at > org.netbeans.lib.nbjshell.LaunchJDIAgent.create(LaunchJDIAgent.java:217) > at > org.netbeans.lib.nbjshell.LaunchJDIAgent.access$000(LaunchJDIAgent.java:63) > at > org.netbeans.lib.nbjshell.LaunchJDIAgent$1.generate(LaunchJDIAgent.java:181) > at > org.netbeans.modules.jshell.tool.JShellLauncher$CaptureExecControl.generate(JShellLauncher.java:240) > at jdk.jshell/jdk.jshell.JShell.(JShell.java:126) > Caused: java.lang.IllegalStateException: Launching JShell execution engine > threw: Failed remote launch: java.util.concurrent.TimeoutException @ > com.sun.jdi.CommandLineLaunch (defaults: > home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=, > main=, suspend=true, quote=", vmexec=java) -- > {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, > options=options=-classpath > /Users/geertjanwielenga/Downloads/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:, > main=main=org.netbeans.lib.jshell.agent.AgentWorker 49340, > suspend=suspend=true, quote=quote=", vmexec=vmexec=java} > at jdk.jshell/jdk.jshell.JShell.(JShell.java:139) > at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:405) > at > org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:258) > at > org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628) > at > org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745) > at > org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207) > at > org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195) > at > org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201) > at > org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830) > at > org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314) > [catch] at > org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSession.java:519) > at > org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1104) > at > org.netbeans.modules.jshell.support.ShellSession.lambda$start$3(ShellSession.java:515) > at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at >
[jira] [Created] (NETBEANS-297) Auto Code Formatting
Hyeonwoo O created NETBEANS-297: --- Summary: 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 Fix For: Next Currently NetBeans doesn't support auto-formatting, and only manual formatting is possible with shortcut or right click->format option. 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 code lines inside the block) Next, there are some options about blank line +before+ code blocks in Options->Formatting menu, but there aren't any options about blank line +after+ blocks. I hope they are added in the Option menu. ※ Blank line after blocks * Class, Method, Function * if, if~else, while, do~while, for * swtich~case, enum * block header 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