[jira] [Created] (NETBEANS-1655) Java project without explicit module-info opens only a set of modules to Libraries/JDK view

2018-11-09 Thread Benjamin Graf (JIRA)
Benjamin Graf created NETBEANS-1655:
---

 Summary: Java project without explicit module-info opens only a 
set of modules to Libraries/JDK view
 Key: NETBEANS-1655
 URL: https://issues.apache.org/jira/browse/NETBEANS-1655
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Affects Versions: 10.0
Reporter: Benjamin Graf


I created a simple java project to test Netbeans 10vc3 with OpenJDK 11. I tried 
to use new JDK HttpClient introduced with JDK11. Everything works (compile/run) 
if importing all packages manually but there is no code completion etc. support 
in editor for packages of module java.net.http. I actually found no way to get 
it into the list of "supported" jdk modules without explictly creating 
module-info 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



[incubator-netbeans] 01/01: Merge pull request #1018 from junichi11/netbeans-792-php-cc-return-type

2018-11-09 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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

commit b54acfa82d2bc32ee63841191939a044fa0fbcd1
Merge: 0b002fa cc1b1be
Author: Tomáš Myšík 
AuthorDate: Sat Nov 10 07:25:26 2018 +0100

Merge pull request #1018 from junichi11/netbeans-792-php-cc-return-type

[NETBEANS-792] Return type CC does not work correctly when arguments have a 
default value

 .../editor/completion/CompletionContextFinder.java | 19 -
 .../data/testfiles/completion/lib/nb792/nb792.php  | 42 ++
 .../lib/nb792/nb792.php.testNb792_01.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_02.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_03.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_04.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_05.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_06.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_07.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_08.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_09.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_10.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_11.completion|  5 ++
 .../completion/PHPCodeCompletionNb792Test.java | 89 ++
 14 files changed, 204 insertions(+), 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



[incubator-netbeans] branch master updated (0b002fa -> b54acfa)

2018-11-09 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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


from 0b002fa  [NETBEANS-1419] Fix assertion error on Java Projects when 
Edit JDK from popup menu.
 add cc1b1be  [NETBEANS-792] Return type CC does not work correctly when 
arguments have a default value
 new b54acfa  Merge pull request #1018 from 
junichi11/netbeans-792-php-cc-return-type

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


Summary of changes:
 .../editor/completion/CompletionContextFinder.java | 19 -
 .../data/testfiles/completion/lib/nb792/nb792.php  | 42 ++
 .../lib/nb792/nb792.php.testNb792_01.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_02.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_03.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_04.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_05.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_06.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_07.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_08.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_09.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_10.completion|  5 ++
 .../lib/nb792/nb792.php.testNb792_11.completion|  5 ++
 .../completion/PHPCodeCompletionNb792Test.java | 89 ++
 14 files changed, 204 insertions(+), 1 deletion(-)
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_01.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_02.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_03.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_04.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_05.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_06.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_07.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_08.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_09.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_10.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb792/nb792.php.testNb792_11.completion
 create mode 100644 
php/php.editor/test/unit/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletionNb792Test.java


-
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-1376) PHP settings, browse should open project directories.

2018-11-09 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto resolved NETBEANS-1376.

Resolution: Not A Problem

Maybe, correct behavior.

> PHP settings, browse should open project directories.
> -
>
> Key: NETBEANS-1376
> URL: https://issues.apache.org/jira/browse/NETBEANS-1376
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project
>Affects Versions: 10.0
>Reporter: Alexander Romanenko
>Priority: Major
>
> When configuring Frameworks & Tools in PHP options, Browse buttons open file 
> system browser to My Documents folder, instead of project directory where 
> _vendor_ is.



--
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-1419) AssertionError when edit JDK

2018-11-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi resolved NETBEANS-1419.
---
   Resolution: Fixed
Fix Version/s: Next

The corresponding PR has been merged.

> AssertionError when edit JDK
> 
>
> Key: NETBEANS-1419
> URL: https://issues.apache.org/jira/browse/NETBEANS-1419
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 880, Java 11.0.1
>Reporter: Michal Rama
>Assignee: Sarvesh Kesharwani
>Priority: Minor
>  Labels: JDK, pull-request-available
> Fix For: Next
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Hello,
> When I right-click on jdk (any version) and choose edit, it will throw an 
> error.
> *A org.openide.util.RequestProcessor$SlowItem exception has occurred.*
> Clicking Show Details will appear
> {code:java}
> java.lang.AssertionError
>  at org.openide.awt.HtmlRendererImpl.reset(HtmlRendererImpl.java:78)
>  at 
> org.openide.awt.HtmlRendererImpl.getTreeCellRendererComponent(HtmlRendererImpl.java:122)
>  at 
> org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:131)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:3155)
>  at 
> java.desktop/javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:493)
>  at 
> java.desktop/javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1344)
>  at 
> java.desktop/javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:903)
>  at 
> java.desktop/javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:371)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:465)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3816)
>  at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
>  at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
>  at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
>  at java.desktop/java.awt.Component.firePropertyChange(Component.java:8728)
>  at java.desktop/javax.swing.JTree.setCellRenderer(JTree.java:775)
>  at org.openide.explorer.view.TreeView.initializeTree(TreeView.java:281)
>  at org.openide.explorer.view.TreeView.(TreeView.java:213)
>  at org.openide.explorer.view.TreeView.(TreeView.java:203)
>  at org.openide.explorer.view.BeanTreeView.(BeanTreeView.java:73)
>  at 
> org.netbeans.modules.java.platform.ui.PlatformsCustomizer$PlatformsView.(PlatformsCustomizer.java:527)
>  at 
> org.netbeans.modules.java.platform.ui.PlatformsCustomizer.initComponents(PlatformsCustomizer.java:153)
>  at 
> org.netbeans.modules.java.platform.ui.PlatformsCustomizer.(PlatformsCustomizer.java:94)
>  at 
> org.netbeans.api.java.platform.PlatformsCustomizer.showCustomizer(PlatformsCustomizer.java:41)
>  at 
> org.netbeans.modules.java.api.common.project.ui.PlatformNode$PlatformEditable.edit(PlatformNode.java:292)
>  at 
> org.netbeans.modules.java.api.common.project.ui.EditRootAction.performAction(EditRootAction.java:41)
>  at 
> org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:561)
>  at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>  at 
> org.openide.util.actions.ActionInvoker$ActionRunnable.actionPerformed(ActionInvoker.java:137)
>  at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:84)
>  at 
> org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:35)
>  at 
> org.openide.util.actions.ActionInvoker$ActionRunnable.doRun(ActionInvoker.java:128)
>  at org.openide.util.actions.ActionInvoker$2.run(ActionInvoker.java:85)
>  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.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:89)
>  at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>  at 
> org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:558)
>  at 
> 

[incubator-netbeans] branch master updated: [NETBEANS-1419] Fix assertion error on Java Projects when Edit JDK from popup menu.

2018-11-09 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 0b002fa  [NETBEANS-1419] Fix assertion error on Java Projects when 
Edit JDK from popup menu.
0b002fa is described below

commit 0b002fa641aea7cfd707a9ff5f08d19a18431971
Author: Laszlo Kishalmi 
AuthorDate: Sat Nov 3 13:47:35 2018 -0700

[NETBEANS-1419] Fix assertion error on Java Projects when Edit JDK from 
popup menu.
---
 .../netbeans/modules/java/api/common/project/ui/EditRootAction.java  | 5 +
 1 file changed, 5 insertions(+)

diff --git 
a/java/java.api.common/src/org/netbeans/modules/java/api/common/project/ui/EditRootAction.java
 
b/java/java.api.common/src/org/netbeans/modules/java/api/common/project/ui/EditRootAction.java
index c926291..4cd4996 100644
--- 
a/java/java.api.common/src/org/netbeans/modules/java/api/common/project/ui/EditRootAction.java
+++ 
b/java/java.api.common/src/org/netbeans/modules/java/api/common/project/ui/EditRootAction.java
@@ -64,6 +64,11 @@ final class EditRootAction extends NodeAction {
 return new HelpCtx(PlatformNode.class);
 }
 
+@Override
+protected boolean asynchronous() {
+return false;
+}
+
 }
 
 


-
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-1627) Automated confirmation of the main class setting dialog box.

2018-11-09 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1627:
--
Summary: Automated confirmation of the main class setting dialog box.  
(was: Automatically set the main class if there is only one.)

> Automated confirmation of the main class setting dialog box.
> 
>
> Key: NETBEANS-1627
> URL: https://issues.apache.org/jira/browse/NETBEANS-1627
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Project, javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 899, Java 11.0.1
>Reporter: Michal Rama
>Priority: Minor
>  Labels: Main, class, project
> Attachments: obrázek30.png, obrázek46.png
>
>
> Hello,
> If I create a new Java / JavaFX project without Main Class.
> Then I create the package and create the Main Class in it.
> When I run the project, it will appear in both cases:
> !obrázek30.png!
> !obrázek46.png!
> I find it ridiculous to offer you a choice of only one option.
> When NetBeans detects that there is only one class with the main method in 
> the project, it automatically sets it up and runs the project.
> Of course he should inform you about it, but it is useless to have to choose 
> it.
> I would be grateful for this function.
> Thank you



--
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-1654) Slow Code Completion Detected under JDK 12

2018-11-09 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1654:
--
Description: 
Hello,

When I start typing the code or press CTRL + SPACE, it starts searching the 
libraries and then offers me the possibility of writing / completing the code.

Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
of writing / completing the code,  but it also displays the notification.

!picture1.png!

The three notifications captured in the image showed it within a very short 
time.

Additionally, the first took 11 seconds, the second took 6 seconds and the 
third took an incredible 36 seconds.

This bug does not block me and the notification can be deleted, but it slows 
down enough.

I would be grateful for the repair.

Thank you.

  was:
Hello,

When I start typing the code or press CTRL + SPACE, it starts searching the 
libraries and then offers me the possibility of writing / completing the code.

Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
of writing / completing the code, but also discards the notification.

!picture1.png!

The three notifications captured in the image showed it within a very short 
time.

Additionally, the first took 11 seconds, the second took 6 seconds and the 
third took an incredible 36 seconds.

This bug does not block me and the notification can be deleted, but it slows 
down enough.

I would be grateful for the repair.

Thank you.


> Slow Code Completion Detected under JDK 12
> --
>
> Key: NETBEANS-1654
> URL: https://issues.apache.org/jira/browse/NETBEANS-1654
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 909, Java 12 
> Early-Access 19
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start typing the code or press CTRL + SPACE, it starts searching the 
> libraries and then offers me the possibility of writing / completing the code.
> Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
> of writing / completing the code,  but it also displays the notification.
> !picture1.png!
> The three notifications captured in the image showed it within a very short 
> time.
> Additionally, the first took 11 seconds, the second took 6 seconds and the 
> third took an incredible 36 seconds.
> This bug does not block me and the notification can be deleted, but it slows 
> down enough.
> I would be grateful for the repair.
> Thank you.



--
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-1654) Slow Code Completion Detected under JDK 12

2018-11-09 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1654:
--
Description: 
Hello,

When I start typing the code or press CTRL + SPACE, it starts searching the 
libraries and then offers me the possibility of writing/completing the code.

Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
of writing / completing the code,  but it also displays the notification.

!picture1.png!

The three notifications captured in the image showed it within a very short 
time.

Additionally, the first took 11 seconds, the second took 6 seconds and the 
third took an incredible 36 seconds.

This bug does not block me and the notification can be deleted, but it slows 
down enough.

I would be grateful for the repair.

Thank you.

  was:
Hello,

When I start typing the code or press CTRL + SPACE, it starts searching the 
libraries and then offers me the possibility of writing / completing the code.

Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
of writing / completing the code,  but it also displays the notification.

!picture1.png!

The three notifications captured in the image showed it within a very short 
time.

Additionally, the first took 11 seconds, the second took 6 seconds and the 
third took an incredible 36 seconds.

This bug does not block me and the notification can be deleted, but it slows 
down enough.

I would be grateful for the repair.

Thank you.


> Slow Code Completion Detected under JDK 12
> --
>
> Key: NETBEANS-1654
> URL: https://issues.apache.org/jira/browse/NETBEANS-1654
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 909, Java 12 
> Early-Access 19
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start typing the code or press CTRL + SPACE, it starts searching the 
> libraries and then offers me the possibility of writing/completing the code.
> Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
> of writing / completing the code,  but it also displays the notification.
> !picture1.png!
> The three notifications captured in the image showed it within a very short 
> time.
> Additionally, the first took 11 seconds, the second took 6 seconds and the 
> third took an incredible 36 seconds.
> This bug does not block me and the notification can be deleted, but it slows 
> down enough.
> I would be grateful for the repair.
> Thank you.



--
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-1654) Slow Code Completion Detected under JDK 12

2018-11-09 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1654:
--
Description: 
Hello,

When I start typing the code or press CTRL + SPACE, it starts searching the 
libraries and then offers me the possibility of writing / completing the code.

Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
of writing / completing the code, but also discards the notification.

!picture1.png!

The three notifications captured in the image showed it within a very short 
time.

Additionally, the first took 11 seconds, the second took 6 seconds and the 
third took an incredible 36 seconds.

This bug does not block me and the notification can be deleted, but it slows 
down enough.

I would be grateful for the repair.

Thank you.

  was:
Hello,

When I start typing the code or press CTRL + SPACE, it starts searching the 
libraries and then offers me the possibility of writing / completing the code.

Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
of writing / completing the code, but also discards the notification.

 

The three notifications captured in the image showed it within a very short 
time.

Additionally, the first took 11 seconds, the second took 6 seconds and the 
third took an incredible 36 seconds.

This bug does not block me and the notification can be deleted, but it slows 
down enough.

I would be grateful for the repair.

Thank you.


> Slow Code Completion Detected under JDK 12
> --
>
> Key: NETBEANS-1654
> URL: https://issues.apache.org/jira/browse/NETBEANS-1654
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 909, Java 12 
> Early-Access 19
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start typing the code or press CTRL + SPACE, it starts searching the 
> libraries and then offers me the possibility of writing / completing the code.
> Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
> of writing / completing the code, but also discards the notification.
> !picture1.png!
> The three notifications captured in the image showed it within a very short 
> time.
> Additionally, the first took 11 seconds, the second took 6 seconds and the 
> third took an incredible 36 seconds.
> This bug does not block me and the notification can be deleted, but it slows 
> down enough.
> I would be grateful for the repair.
> Thank you.



--
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-1654) Slow Code Completion Detected under JDK 12

2018-11-09 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1654:
--
Attachment: picture1.png

> Slow Code Completion Detected under JDK 12
> --
>
> Key: NETBEANS-1654
> URL: https://issues.apache.org/jira/browse/NETBEANS-1654
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 909, Java 12 
> Early-Access 19
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start typing the code or press CTRL + SPACE, it starts searching the 
> libraries and then offers me the possibility of writing / completing the code.
> Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
> of writing / completing the code, but also discards the notification.
>  
> The three notifications captured in the image showed it within a very short 
> time.
> Additionally, the first took 11 seconds, the second took 6 seconds and the 
> third took an incredible 36 seconds.
> This bug does not block me and the notification can be deleted, but it slows 
> down enough.
> I would be grateful for the repair.
> Thank you.



--
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-1654) Slow Code Completion Detected under JDK 12

2018-11-09 Thread Michal Rama (JIRA)
Michal Rama created NETBEANS-1654:
-

 Summary: Slow Code Completion Detected under JDK 12
 Key: NETBEANS-1654
 URL: https://issues.apache.org/jira/browse/NETBEANS-1654
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Completion  Templates
Affects Versions: 10.0
 Environment: Windows 10, Incubator NetBeans Linux 909, Java 12 
Early-Access 19
Reporter: Michal Rama


Hello,

When I start typing the code or press CTRL + SPACE, it starts searching the 
libraries and then offers me the possibility of writing / completing the code.

Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
of writing / completing the code, but also discards the notification.

 

The three notifications captured in the image showed it within a very short 
time.

Additionally, the first took 11 seconds, the second took 6 seconds and the 
third took an incredible 36 seconds.

This bug does not block me and the notification can be deleted, but it slows 
down enough.

I would be grateful for the repair.

Thank you.



--
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-1428) Fatal error when profiling

2018-11-09 Thread Eirik Bakke (JIRA)


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

Eirik Bakke commented on NETBEANS-1428:
---

I've observed this profiler crash on Windows 10 as well. In my case I was using 
"Attach to External Process" in a Maven-based project. The crash occurs 
consistently on Java 9.0.7.1, Java 10.0.2, and Java 12-ea, but did _not_ occur 
on Java 8.0.181.

> Fatal error when profiling
> --
>
> Key: NETBEANS-1428
> URL: https://issues.apache.org/jira/browse/NETBEANS-1428
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0, 10.0
> Environment: Windows 10, JDK11 (OpenJDK 11.0+28)
>Reporter: Peter Hull
>Priority: Major
>  Labels: netcat
> Attachments: hs_err_pid38528.log
>
>
> Attempting to profile a Java freeform project (Netcat 10, Profiling FreeForm, 
> Step 2)
> I get the following error
> {{#}}
> {{# A fatal error has been detected by the Java Runtime Environment:}}
> {{#}}
> {{#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7ff8e831c775, 
> pid=38528, tid=38596}}
> {{#}}
> {{# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)}}
> {{# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed 
> oops, g1 gc, windows-amd64)}}
> {{# Problematic frame:}}
> {{# V  [jvm.dll+0x5ec775]}}
> {{#}}
> {{# No core dump will be written. Minidumps are not enabled by default on 
> client versions of Windows}}
> {{#}}
> {{# An error report file with more information is saved as:}}
> {{# D:\Libraries\Downloads\TS_Profiler_freeform\freeform\hs_err_pid38528.log}}
> {{#}}
> {{# If you would like to submit a bug report, please visit:}}
> {{#   http://bugreport.java.com/bugreport/crash.jsp}}
> {{#}}
> Seems reproducible, I have attached the crash log.



--
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-53) PHP7.1 Setter/Getter code generation static types

2018-11-09 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto updated NETBEANS-53:
-
Affects Version/s: (was: Next)
  Component/s: (was: php - Code)
   php - Editor

Could you please write an example code?

> PHP7.1 Setter/Getter code generation static types
> -
>
> Key: NETBEANS-53
> URL: https://issues.apache.org/jira/browse/NETBEANS-53
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Ádám Turcsán
>Priority: Major
>
> The Insert code... / Setters/getters... functionality works great and uses 
> the docblock typehints as well but with static types (int, string) it 
> generates the setters and getter without argument types or return types.
> It would be great if it could work with static types as well.



--
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-1291) PHP DOC : autocomplete array of static dosen't work

2018-11-09 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto updated NETBEANS-1291:
---
Component/s: (was: php - PHPDoc)
 (was: cnd - Code Completion)
 php - Editor

> PHP DOC : autocomplete array of static dosen't work
> ---
>
> Key: NETBEANS-1291
> URL: https://issues.apache.org/jira/browse/NETBEANS-1291
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: rd_v_s
>Priority: Minor
>  Labels: autocomplete, documentation, php, phpdoc
>
> Hi,
> the autocomplete dosen't work on array of static.
> That doesn't support self and $this too.
> And there is 2 way for document return of table : array or T[]
> The phpdoc documentation : http://docs.phpdoc.org/guides/types.html
> See exemple below :
> {code:java}
> abstract class A {
>   /**
>    * return array of class
>    * @return static[]
>    */
>   function returnArrayOfClass() {
>   }
> }
> class B extends A {
>   public $b;
>   /**
>    * return array of class
>    * @return B[]
>    */
>   function returnArrayOfClassB() {
>   }
> }
> $oB = new B();
> $aB = $oB->returnArrayOfClass();
> foreach ($aB as $b) {
>   $b->b;//dosen't autocomplete b
> }
> $aB2 = $oB->returnArrayOfClassB();
> foreach ($aB2 as $b2) {
>   $b2->b; //autocomplete b
> }
> {code}
> Regards,



--
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-1653) NPE when doing Refactor Move on a class

2018-11-09 Thread Luca Mambretti (JIRA)
Luca Mambretti created NETBEANS-1653:


 Summary: NPE when doing Refactor Move on a class
 Key: NETBEANS-1653
 URL: https://issues.apache.org/jira/browse/NETBEANS-1653
 Project: NetBeans
  Issue Type: Bug
  Components: java - Refactoring
Affects Versions: 10.0
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-360-on-20181029)
Java: 11; Java HotSpot(TM) 64-Bit Server VM 11+28
Runtime: Java(TM) SE Runtime Environment 11+28
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\luca.mambretti.BZDOMAIN\AppData\Roaming\NetBeans\10.0
Cache directory: 
C:\Users\luca.mambretti.BZDOMAIN\AppData\Local\NetBeans\Cache\10.0
Reporter: Luca Mambretti


Sorry for the bad description but I'm really short on time

 

When doing a simple refactor move operation via drag and drop I got the 
following exception:

java.lang.NullPointerException
    at 
org.netbeans.api.java.source.ElementUtilities.enclosingTypeElementImpl(ElementUtilities.java:143)
    at 
org.netbeans.api.java.source.ElementUtilities.enclosingTypeElement(ElementUtilities.java:132)
    at 
org.netbeans.modules.refactoring.java.plugins.MoveTransformer.visitMemberSelect(MoveTransformer.java:126)
    at 
org.netbeans.modules.refactoring.java.plugins.MoveTransformer.visitMemberSelect(MoveTransformer.java:47)
    at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2118)
    at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192)
    at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:76)
    at 
jdk.compiler/com.sun.source.util.TreeScanner.visitRequires(TreeScanner.java:880)
    at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCRequires.accept(JCTree.java:2852)
    at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192)
    at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:76)
    at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
    at 
jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
    at 
jdk.compiler/com.sun.source.util.TreeScanner.visitModule(TreeScanner.java:853)
    at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCModuleDecl.accept(JCTree.java:2701)
    at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192)
    at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:76)
    at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
    at 
jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
    at 
jdk.compiler/com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)
    at 
org.netbeans.modules.refactoring.java.plugins.MoveTransformer.visitCompilationUnit(MoveTransformer.java:320)
    at 
org.netbeans.modules.refactoring.java.plugins.MoveTransformer.visitCompilationUnit(MoveTransformer.java:47)
    at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
    at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192)
    at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:443)
    at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:408)
    at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672)
    at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662)
    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$MultiUserTaskAction.run(ParserManager.java:166)
    at 
org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138)
    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 

[jira] [Created] (NETBEANS-1652) java.lang.ClassCastException: org.netbeans.modules.gsf.testrunner.api.Testcase cannot be cast to bv.offa.netbeans.cnd.unittest.api.CndTestCase

2018-11-09 Thread Alex Tomb (JIRA)
Alex Tomb created NETBEANS-1652:
---

 Summary: java.lang.ClassCastException: 
org.netbeans.modules.gsf.testrunner.api.Testcase cannot be cast to 
bv.offa.netbeans.cnd.unittest.api.CndTestCase
 Key: NETBEANS-1652
 URL: https://issues.apache.org/jira/browse/NETBEANS-1652
 Project: NetBeans
  Issue Type: Bug
  Components: utilities - Test Runner
Affects Versions: 9.0
 Environment: Product Version: Apache NetBeans IDE 9.0 (Build 
incubator-netbeans-release-334-on-20180708)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 10.0.2; Java HotSpot(TM) 64-Bit Server VM 10.0.2+13
Runtime: Java(TM) SE Runtime Environment 10.0.2+13
System: Linux version 4.15.0-38-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/devuser/.netbeans/9.0
Cache directory: /home/devuser/.cache/netbeans/9.0
Reporter: Alex Tomb
 Attachments: IDElog.txt, UIlog.txt

The error appears when the c++ unit test runs.



--
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-1453) Cannot connect to MySQL

2018-11-09 Thread Alexander Romanenko (JIRA)


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

Alexander Romanenko commented on NETBEANS-1453:
---

What is your MySQL version?

I have 10.1

> Cannot connect to MySQL
> ---
>
> Key: NETBEANS-1453
> URL: https://issues.apache.org/jira/browse/NETBEANS-1453
> Project: NetBeans
>  Issue Type: Bug
>  Components: db - MySQL
>Affects Versions: 10.0
>Reporter: Alexander Romanenko
>Priority: Critical
> Attachments: image-2018-10-18-12-07-56-560.png, 
> image-2018-10-18-12-08-10-462.png
>
>
> Running test 
> [http://netbeans-vm.apache.org/synergy/client/app/#/specification/391/v/2]
> step 4:
> !image-2018-10-18-12-08-10-462.png!



--
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-1628) can not get exclusive access [...] probably opened for reading error...

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz resolved NETBEANS-1628.
--
Resolution: Incomplete

> can not get exclusive access [...] probably opened for reading error...
> ---
>
> Key: NETBEANS-1628
> URL: https://issues.apache.org/jira/browse/NETBEANS-1628
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project, java - Source
>Affects Versions: 9.0
>Reporter: tralala
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: java error.jpg
>
>
> NetBeans is giving me a bloody headache. First I cannot see clearly all the 
> widgets as I have a 4k screen, now this. Can someone please help me?
> Thanks



--
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-1628) can not get exclusive access [...] probably opened for reading error...

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1628:
--

Not clear what the exact problem is. First I think of your 4k monitor, please 
use NetBeans 10.0 VC3 it will look normal on HiDPI Monitors. The rest is not 
clear what you have, please give exact problem description and reopen the 
ticket.

> can not get exclusive access [...] probably opened for reading error...
> ---
>
> Key: NETBEANS-1628
> URL: https://issues.apache.org/jira/browse/NETBEANS-1628
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project, java - Source
>Affects Versions: 9.0
>Reporter: tralala
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: java error.jpg
>
>
> NetBeans is giving me a bloody headache. First I cannot see clearly all the 
> widgets as I have a 4k screen, now this. Can someone please help me?
> Thanks



--
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-663) Shortcuts using "alt/option" on the mac do not work.

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-663:

Component/s: editor - Key bindings

> Shortcuts using "alt/option" on the mac do not work.
> 
>
> Key: NETBEANS-663
> URL: https://issues.apache.org/jira/browse/NETBEANS-663
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Key bindings, platform - Action Items
>Affects Versions: 9.0, 10.0
>Reporter: Austin Stephens
>Priority: Critical
>
> The menu item flashes like it was activated, but nothing happens. This might 
> be because the key is interpreted like "alt altGraph pressed \{Key}" or 
> because it is never added to the binding map. I do note that "alt + F11" was 
> in the map, but that didn't work either (probably for the first reason). All 
> of the others are just not in the map. See NbKeymap.getAction.



--
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-1556) Show which plugin is new and which not

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz reassigned NETBEANS-1556:


Assignee: Christian Lenz

> Show which plugin is new and which not
> --
>
> Key: NETBEANS-1556
> URL: https://issues.apache.org/jira/browse/NETBEANS-1556
> Project: NetBeans
>  Issue Type: New Feature
>  Components: platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>
> For some days, I went to the "available plugin" and saw about 73 plugins, 
> today I saw 93 plugins, but I have to scroll and have to remember which 
> plugin was still available within the 73 plugins and which one is new. This 
> is horrible. Is it possible to add a new column or maybe colors for plugins 
> and a legend to see this plugin is really new and this is not new or this has 
> an update or smth like that? I now the updates tab but updates are not a 
> problem, new plugins can't be recognized as them.
> Regards
> Chris



--
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-663) Shortcuts using "alt/option" on the mac do not work.

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-663:
-

This is really annoying and doesn't make much sense, in every other application 
it worked as before. It is a default key.

> Shortcuts using "alt/option" on the mac do not work.
> 
>
> Key: NETBEANS-663
> URL: https://issues.apache.org/jira/browse/NETBEANS-663
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Action Items
>Affects Versions: 9.0, 10.0
>Reporter: Austin Stephens
>Priority: Critical
>
> The menu item flashes like it was activated, but nothing happens. This might 
> be because the key is interpreted like "alt altGraph pressed \{Key}" or 
> because it is never added to the binding map. I do note that "alt + F11" was 
> in the map, but that didn't work either (probably for the first reason). All 
> of the others are just not in the map. See NbKeymap.getAction.



--
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] [Closed] (NETBEANS-1244) Alt + Gr key is used as ctrl only

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz closed NETBEANS-1244.

Resolution: Duplicate

Duplicate of: NETBEANS-663

> Alt + Gr key is used as ctrl only
> -
>
> Key: NETBEANS-1244
> URL: https://issues.apache.org/jira/browse/NETBEANS-1244
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Key bindings, platform - Keyring, platform - 
> Other
>Affects Versions: 9.0
> Environment: NetBeans 9.0, Windows 10 64Bit
>Reporter: Christian Lenz
>Priority: Major
>
> When I search for a key inside the keymap options, I hit the combined key 
> *Alt gr* which is a shortcut for ctrl + alt. This is not possible anymore in 
> NetBeans 9.0. Alt Gr will used as ctrl which is completely wrong.
> Worked in NetBeans 8.2 as expected and in all other Applications.
> Cheers
> Chris



--
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-663) Shortcuts using "alt/option" on the mac do not work.

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-663:
-

Yes, can confirm that it is not working anymore in NetBeans 10.0 VC3 too.

> Shortcuts using "alt/option" on the mac do not work.
> 
>
> Key: NETBEANS-663
> URL: https://issues.apache.org/jira/browse/NETBEANS-663
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Action Items
>Affects Versions: 9.0
>Reporter: Austin Stephens
>Priority: Critical
>
> The menu item flashes like it was activated, but nothing happens. This might 
> be because the key is interpreted like "alt altGraph pressed \{Key}" or 
> because it is never added to the binding map. I do note that "alt + F11" was 
> in the map, but that didn't work either (probably for the first reason). All 
> of the others are just not in the map. See NbKeymap.getAction.



--
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-663) Shortcuts using "alt/option" on the mac do not work.

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-663:

Affects Version/s: 10.0

> Shortcuts using "alt/option" on the mac do not work.
> 
>
> Key: NETBEANS-663
> URL: https://issues.apache.org/jira/browse/NETBEANS-663
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Action Items
>Affects Versions: 9.0, 10.0
>Reporter: Austin Stephens
>Priority: Critical
>
> The menu item flashes like it was activated, but nothing happens. This might 
> be because the key is interpreted like "alt altGraph pressed \{Key}" or 
> because it is never added to the binding map. I do note that "alt + F11" was 
> in the map, but that didn't work either (probably for the first reason). All 
> of the others are just not in the map. See NbKeymap.getAction.



--
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-31) Context menu key does not work anymore in Projects, Files, Services etc. panes

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-31:
---
Component/s: editor - Key bindings

> Context menu key does not work anymore in Projects, Files, Services etc. panes
> --
>
> Key: NETBEANS-31
> URL: https://issues.apache.org/jira/browse/NETBEANS-31
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Key bindings, ide - UI
>Affects Versions: 9.0, 10.0
> Environment: Windows
>Reporter: Niklas Matthies
>Priority: Major
>  Labels: A11Y
>
> Pressing the CONTEXT_MENU key (or Shift+F10, or whatever key is bound to the 
> "Popup" action) to open the context menu does not work anymore in Projects, 
> Files, Services etc. (It does work in the editor.) It was working fine up to 
> 8.2, but stopped working in the dev builds after 8.2. (It still does work 
> using a mouse.)
> This is an accessibility problem, as some actions (for example Run Maven) are 
> only available via the context menu.



--
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-31) Context menu key does not work anymore in Projects, Files, Services etc. panes

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-31:


Can confirm, But for me it also not works in editor. My context key on the 
keyboard is not working anymore.

> Context menu key does not work anymore in Projects, Files, Services etc. panes
> --
>
> Key: NETBEANS-31
> URL: https://issues.apache.org/jira/browse/NETBEANS-31
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0, 10.0
> Environment: Windows
>Reporter: Niklas Matthies
>Priority: Major
>  Labels: A11Y
>
> Pressing the CONTEXT_MENU key (or Shift+F10, or whatever key is bound to the 
> "Popup" action) to open the context menu does not work anymore in Projects, 
> Files, Services etc. (It does work in the editor.) It was working fine up to 
> 8.2, but stopped working in the dev builds after 8.2. (It still does work 
> using a mouse.)
> This is an accessibility problem, as some actions (for example Run Maven) are 
> only available via the context menu.



--
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-31) Context menu key does not work anymore in Projects, Files, Services etc. panes

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-31:
---
Affects Version/s: 10.0

> Context menu key does not work anymore in Projects, Files, Services etc. panes
> --
>
> Key: NETBEANS-31
> URL: https://issues.apache.org/jira/browse/NETBEANS-31
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0, 10.0
> Environment: Windows
>Reporter: Niklas Matthies
>Priority: Major
>  Labels: A11Y
>
> Pressing the CONTEXT_MENU key (or Shift+F10, or whatever key is bound to the 
> "Popup" action) to open the context menu does not work anymore in Projects, 
> Files, Services etc. (It does work in the editor.) It was working fine up to 
> 8.2, but stopped working in the dev builds after 8.2. (It still does work 
> using a mouse.)
> This is an accessibility problem, as some actions (for example Run Maven) are 
> only available via the context menu.



--
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-1649) Adding syntax highlighing and code completion of different languages inside strings (JS)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1649:
-
Summary: Adding syntax highlighing and code completion of different 
languages inside strings (JS)  (was: Support for adding syntax highlighing and 
code completion of different languages inside strings (JS))

> Adding syntax highlighing and code completion of different languages inside 
> strings (JS)
> 
>
> Key: NETBEANS-1649
> URL: https://issues.apache.org/jira/browse/NETBEANS-1649
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in JavaScript, it is really 
> hard to "debug" or to figure out what you have forgotton and not really 
> readable because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In 
> JavaScript I can have HTML, XML, JS, SQL and whatever inside of a string, I 
> should change it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:javascript}
> var testSQL = "SELECT * FROM"; // Could be inside a node script
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:javascript}
> var myWhatever = "Nice"; // Inline templates or smth for the view
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1650) Support for adding syntax highlighing and code completion of different languages inside strings (PHP)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1650:
-
Component/s: (was: javascript - Editor)
 php - Editor

> Support for adding syntax highlighing and code completion of different 
> languages inside strings (PHP)
> -
>
> Key: NETBEANS-1650
> URL: https://issues.apache.org/jira/browse/NETBEANS-1650
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, php - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in JavaScript, it is really 
> hard to "debug" or to figure out what you have forgotton and not really 
> readable because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In 
> JavaScript I can have HTML, XML, JS, SQL and whatever inside of a string, I 
> should change it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:javascript}
> var testSQL = "SELECT * FROM"; // Could be inside a node script
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like JavaScript, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:javascript}
> var myWhatever = "Nice"; // Inline templates or smth for the view
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1650) Adding syntax highlighing and code completion of different languages inside strings (PHP)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1650:
-
Summary: Adding syntax highlighing and code completion of different 
languages inside strings (PHP)  (was: Support for adding syntax highlighing and 
code completion of different languages inside strings (PHP))

> Adding syntax highlighing and code completion of different languages inside 
> strings (PHP)
> -
>
> Key: NETBEANS-1650
> URL: https://issues.apache.org/jira/browse/NETBEANS-1650
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, php - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in php, it is really hard to 
> "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In php I can 
> have HTML, XML, JS, SQL and whatever inside of a string, I should change it 
> via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:php}
> $testSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:php}
> $myWhatever = "Nice"; // Inline templates or smth for the view
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1648) Adding syntax highlighing and code completion of different languages inside strings (Java)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1648:
-
Summary: Adding syntax highlighing and code completion of different 
languages inside strings (Java)  (was: Support for adding syntax highlighing 
and code completion of different languages inside strings (Java))

> Adding syntax highlighing and code completion of different languages inside 
> strings (Java)
> --
>
> Key: NETBEANS-1648
> URL: https://issues.apache.org/jira/browse/NETBEANS-1648
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in Java, it is really hard 
> to "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In Java I 
> can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
> it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:java}
> String TestSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:java}
> String MyWhatever = "Nice";
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1651) Adding syntax highlighing and code completion of different languages inside strings (C/C++)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1651:
--

And not only syntax highlighting should be possible, code completion too but 
only after changing the supported language.

> Adding syntax highlighing and code completion of different languages inside 
> strings (C/C++)
> ---
>
> Key: NETBEANS-1651
> URL: https://issues.apache.org/jira/browse/NETBEANS-1651
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Editor, editor - Other
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in C++, it is really hard to 
> "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In C++ I can 
> have HTML, XML, JS, SQL and whatever inside of a string, I should change it 
> via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:cpp}
> string testSQL = "SELECT * FROM"; // Database access
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like SQL, C/C++, Java, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:cpp}
> string myWhatever = "Nice"; // To render HTML ins a gui or smth like 
> that
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/c/c++storm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.
> I don't know whether C makes sense but C++.



--
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-1651) Adding syntax highlighing and code completion of different languages inside strings (C/C++)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1651:
-
Description: 
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in C++, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In C++ I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:cpp}
string testSQL = "SELECT * FROM"; // Database access
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like SQL, C/C++, Java, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:cpp}
string myWhatever = "Nice"; // To render HTML ins a gui or smth like 
that
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/c/c++storm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.

I don't know whether C makes sense but C++.

  was:
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in php, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In php I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:php}
$testSQL = "SELECT * FROM";
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:php}
$myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.


> Adding syntax highlighing and code completion of different languages inside 
> strings (C/C++)
> ---
>
> Key: NETBEANS-1651
> URL: https://issues.apache.org/jira/browse/NETBEANS-1651
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Editor, editor - Other
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in C++, it is really hard to 
> "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In C++ I can 
> have HTML, XML, JS, SQL and whatever inside of a string, I should change it 
> via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:cpp}
> string testSQL = "SELECT * FROM"; // Database access
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like SQL, 

[jira] [Updated] (NETBEANS-1651) Adding syntax highlighing and code completion of different languages inside strings (C/C++)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1651:
-
Component/s: (was: php - Editor)
 cnd - Editor

> Adding syntax highlighing and code completion of different languages inside 
> strings (C/C++)
> ---
>
> Key: NETBEANS-1651
> URL: https://issues.apache.org/jira/browse/NETBEANS-1651
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Editor, editor - Other
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in php, it is really hard to 
> "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In php I can 
> have HTML, XML, JS, SQL and whatever inside of a string, I should change it 
> via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:php}
> $testSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:php}
> $myWhatever = "Nice"; // Inline templates or smth for the view
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1651) Adding syntax highlighing and code completion of different languages inside strings (C/C++)

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1651:


 Summary: Adding syntax highlighing and code completion of 
different languages inside strings (C/C++)
 Key: NETBEANS-1651
 URL: https://issues.apache.org/jira/browse/NETBEANS-1651
 Project: NetBeans
  Issue Type: New Feature
  Components: editor - Other, php - Editor
Affects Versions: Next
Reporter: Christian Lenz


As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in php, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In php I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:php}
$testSQL = "SELECT * FROM";
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:php}
$myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.



--
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-1649) Support for adding syntax highlighing and code completion of different languages inside strings (JS)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1649:
-
Description: 
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in JavaScript, it is really 
hard to "debug" or to figure out what you have forgotton and not really 
readable because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In JavaScript 
I can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
it via a hint inside of the editor.

So when I have a java file with code like this:

{code:javascript}
var testSQL = "SELECT * FROM"; // Could be inside a node script
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:javascript}
var myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.

  was:
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in JavaScript, it is really 
hard to "debug" or to figure out what you have forgotton and not really 
readable because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In JavaScript 
I can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
it via a hint inside of the editor.

So when I have a java file with code like this:

{code:javascript}
var testSQL = "SELECT * FROM"; // Could be inside a node script
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like JavaScript, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:javascript}
var myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.


> Support for adding syntax highlighing and code completion of different 
> languages inside strings (JS)
> 
>
> Key: NETBEANS-1649
> URL: https://issues.apache.org/jira/browse/NETBEANS-1649
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in JavaScript, it is really 
> hard to "debug" or to figure out what you have forgotton and not really 
> readable because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In 
> JavaScript I can have HTML, XML, JS, SQL and whatever inside of a string, I 
> should change it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:javascript}
> var testSQL = "SELECT * FROM"; // Could be inside a node script
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog 

[jira] [Updated] (NETBEANS-1650) Support for adding syntax highlighing and code completion of different languages inside strings (PHP)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1650:
-
Description: 
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in php, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In php I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:php}
$testSQL = "SELECT * FROM";
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:php}
$myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.

  was:
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in php, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In php I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:php}
$testSQL = "SELECT * FROM";
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like php, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:php}
$myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.


> Support for adding syntax highlighing and code completion of different 
> languages inside strings (PHP)
> -
>
> Key: NETBEANS-1650
> URL: https://issues.apache.org/jira/browse/NETBEANS-1650
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, php - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in php, it is really hard to 
> "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In php I can 
> have HTML, XML, JS, SQL and whatever inside of a string, I should change it 
> via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:php}
> $testSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a 

[jira] [Commented] (NETBEANS-1650) Support for adding syntax highlighing and code completion of different languages inside strings (PHP)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1650:
--

And not only syntax highlighting should be possible, code completion too but 
only after changing the supported language.

> Support for adding syntax highlighing and code completion of different 
> languages inside strings (PHP)
> -
>
> Key: NETBEANS-1650
> URL: https://issues.apache.org/jira/browse/NETBEANS-1650
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, php - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in php, it is really hard to 
> "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In php I can 
> have HTML, XML, JS, SQL and whatever inside of a string, I should change it 
> via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:php}
> $testSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like php, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:php}
> $myWhatever = "Nice"; // Inline templates or smth for the view
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1649) Support for adding syntax highlighing and code completion of different languages inside strings (JS)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1649:
--

And not only syntax highlighting should be possible, code completion too but 
only after changing the supported language.

> Support for adding syntax highlighing and code completion of different 
> languages inside strings (JS)
> 
>
> Key: NETBEANS-1649
> URL: https://issues.apache.org/jira/browse/NETBEANS-1649
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in JavaScript, it is really 
> hard to "debug" or to figure out what you have forgotton and not really 
> readable because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In 
> JavaScript I can have HTML, XML, JS, SQL and whatever inside of a string, I 
> should change it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:javascript}
> var testSQL = "SELECT * FROM"; // Could be inside a node script
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like JavaScript, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:javascript}
> var myWhatever = "Nice"; // Inline templates or smth for the view
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1648) Support for adding syntax highlighing and code completion of different languages inside strings (Java)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz edited comment on NETBEANS-1648 at 11/9/18 2:35 PM:
---

And not only syntax highlighting should be possible, code completion too but 
only after changing the supported language.


was (Author: chrizzly):
And not only syntax highlighting should be possible, code completion too.

> Support for adding syntax highlighing and code completion of different 
> languages inside strings (Java)
> --
>
> Key: NETBEANS-1648
> URL: https://issues.apache.org/jira/browse/NETBEANS-1648
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in Java, it is really hard 
> to "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In Java I 
> can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
> it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:java}
> String TestSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:java}
> String MyWhatever = "Nice";
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1650) Support for adding syntax highlighing and code completion of different languages inside strings (PHP)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1650:
-
Description: 
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in php, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In php I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:php}
$testSQL = "SELECT * FROM";
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like php, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:php}
$myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.

  was:
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in JavaScript, it is really 
hard to "debug" or to figure out what you have forgotton and not really 
readable because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In JavaScript 
I can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
it via a hint inside of the editor.

So when I have a java file with code like this:

{code:javascript}
var testSQL = "SELECT * FROM"; // Could be inside a node script
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like JavaScript, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:javascript}
var myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.


> Support for adding syntax highlighing and code completion of different 
> languages inside strings (PHP)
> -
>
> Key: NETBEANS-1650
> URL: https://issues.apache.org/jira/browse/NETBEANS-1650
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, php - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in php, it is really hard to 
> "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In php I can 
> have HTML, XML, JS, SQL and whatever inside of a string, I should change it 
> via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:php}
> $testSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like php, SQL, PHP, HTML, 

[jira] [Created] (NETBEANS-1650) Support for adding syntax highlighing and code completion of different languages inside strings (PHP)

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1650:


 Summary: Support for adding syntax highlighing and code completion 
of different languages inside strings (PHP)
 Key: NETBEANS-1650
 URL: https://issues.apache.org/jira/browse/NETBEANS-1650
 Project: NetBeans
  Issue Type: New Feature
  Components: editor - Other, javascript - Editor
Affects Versions: Next
Reporter: Christian Lenz


As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in JavaScript, it is really 
hard to "debug" or to figure out what you have forgotton and not really 
readable because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In JavaScript 
I can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
it via a hint inside of the editor.

So when I have a java file with code like this:

{code:javascript}
var testSQL = "SELECT * FROM"; // Could be inside a node script
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like JavaScript, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:javascript}
var myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.



--
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-1649) Support for adding syntax highlighing and code completion of different languages inside strings (JS)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1649:
-
Description: 
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in JavaScript, it is really 
hard to "debug" or to figure out what you have forgotton and not really 
readable because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In JavaScript 
I can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
it via a hint inside of the editor.

So when I have a java file with code like this:

{code:javascript}
var testSQL = "SELECT * FROM"; // Could be inside a node script
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like JavaScript, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:javascript}
var myWhatever = "Nice"; // Inline templates or smth for the view
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.

  was:
As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in Java, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In Java I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:java}
String TestSQL = "SELECT * FROM";
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:java}
String MyWhatever = "Nice";
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.


> Support for adding syntax highlighing and code completion of different 
> languages inside strings (JS)
> 
>
> Key: NETBEANS-1649
> URL: https://issues.apache.org/jira/browse/NETBEANS-1649
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in JavaScript, it is really 
> hard to "debug" or to figure out what you have forgotton and not really 
> readable because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In 
> JavaScript I can have HTML, XML, JS, SQL and whatever inside of a string, I 
> should change it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:javascript}
> var testSQL = "SELECT * FROM"; // Could be inside a node script
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> 

[jira] [Updated] (NETBEANS-1649) Support for adding syntax highlighing and code completion of different languages inside strings (JS)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1649:
-
Component/s: (was: java - Editor)
 javascript - Editor

> Support for adding syntax highlighing and code completion of different 
> languages inside strings (JS)
> 
>
> Key: NETBEANS-1649
> URL: https://issues.apache.org/jira/browse/NETBEANS-1649
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in Java, it is really hard 
> to "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In Java I 
> can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
> it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:java}
> String TestSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:java}
> String MyWhatever = "Nice";
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1648) Support for adding syntax highlighing and code completion of different languages inside strings (Java)

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1648:
-
Summary: Support for adding syntax highlighing and code completion of 
different languages inside strings (Java)  (was: Support for adding syntax 
highlighing and code completion of different languages inside strings)

> Support for adding syntax highlighing and code completion of different 
> languages inside strings (Java)
> --
>
> Key: NETBEANS-1648
> URL: https://issues.apache.org/jira/browse/NETBEANS-1648
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in Java, it is really hard 
> to "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In Java I 
> can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
> it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:java}
> String TestSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:java}
> String MyWhatever = "Nice";
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1649) Support for adding syntax highlighing and code completion of different languages inside strings (JS)

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1649:


 Summary: Support for adding syntax highlighing and code completion 
of different languages inside strings (JS)
 Key: NETBEANS-1649
 URL: https://issues.apache.org/jira/browse/NETBEANS-1649
 Project: NetBeans
  Issue Type: New Feature
  Components: editor - Other, java - Editor
Affects Versions: Next
Reporter: Christian Lenz


As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in Java, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In Java I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:java}
String TestSQL = "SELECT * FROM";
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:java}
String MyWhatever = "Nice";
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.



--
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-1648) Support for adding syntax highlighing and code completion of different languages inside strings

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1648:
--

And not only syntax highlighting should be possible, code completion too.

> Support for adding syntax highlighing and code completion of different 
> languages inside strings
> ---
>
> Key: NETBEANS-1648
> URL: https://issues.apache.org/jira/browse/NETBEANS-1648
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Other, java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As of today, we can have a lot of languages inside strings like SQL or JS or 
> HTML. If we have to add such code inside strings in Java, it is really hard 
> to "debug" or to figure out what you have forgotton and not really readable 
> because it is still a string.
> For this, NetBeans has embedded languages support and to not say I want exact 
> this language inside a string, which doesn't make sense, because In Java I 
> can have HTML, XML, JS, SQL and whatever inside of a string, I should change 
> it via a hint inside of the editor.
> So when I have a java file with code like this:
> {code:java}
> String TestSQL = "SELECT * FROM";
> {code}
> I would expect, that the code looks like a normal string, but when I click 
> inside the string, I should get a hint where I can "Choose embedded 
> language". After running this hint, a very small not disturbing dialog (Like 
> the insert code dialog from java) should come up and should show me all 
> supported languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.
> This is a dynamic approach because setting it to a default language is not 
> right. In the next line maybe you have this code:
> {code:java}
> String MyWhatever = "Nice";
> {code}
> And it should not look like SQL, it should still looks like a string, until I 
> want to change it to HTML.
> This is the same approach as IntelliJ does and it works very well: 
> https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif
> Maybe not every language makes sense there and an option for that is needed 
> as well but for an MVP all is ok. IMHO.



--
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-1648) Support for adding syntax highlighing and code completion of different languages inside strings

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1648:


 Summary: Support for adding syntax highlighing and code completion 
of different languages inside strings
 Key: NETBEANS-1648
 URL: https://issues.apache.org/jira/browse/NETBEANS-1648
 Project: NetBeans
  Issue Type: New Feature
  Components: editor - Other, java - Editor
Affects Versions: Next
Reporter: Christian Lenz


As of today, we can have a lot of languages inside strings like SQL or JS or 
HTML. If we have to add such code inside strings in Java, it is really hard to 
"debug" or to figure out what you have forgotton and not really readable 
because it is still a string.

For this, NetBeans has embedded languages support and to not say I want exact 
this language inside a string, which doesn't make sense, because In Java I can 
have HTML, XML, JS, SQL and whatever inside of a string, I should change it via 
a hint inside of the editor.

So when I have a java file with code like this:

{code:java}
String TestSQL = "SELECT * FROM";
{code}

I would expect, that the code looks like a normal string, but when I click 
inside the string, I should get a hint where I can "Choose embedded language". 
After running this hint, a very small not disturbing dialog (Like the insert 
code dialog from java) should come up and should show me all supported 
languages like Java, SQL, PHP, HTML, XML, CSS, JS, Regex, etc.

This is a dynamic approach because setting it to a default language is not 
right. In the next line maybe you have this code:

{code:java}
String MyWhatever = "Nice";
{code}

And it should not look like SQL, it should still looks like a string, until I 
want to change it to HTML.

This is the same approach as IntelliJ does and it works very well: 
https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2018/09/DQL_inject.gif

Maybe not every language makes sense there and an option for that is needed as 
well but for an MVP all is ok. IMHO.



--
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-1647) Formatting options for LESS & SCSS

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1647:
-
Component/s: web - CSS Preprocessors (SASS, LESS, ...)

> Formatting options for LESS & SCSS
> --
>
> Key: NETBEANS-1647
> URL: https://issues.apache.org/jira/browse/NETBEANS-1647
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Formatting  Indentation, web - CSS Editor, 
> web - CSS Preprocessors (SASS, LESS, ...)
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> Unfortunately, there are no options to formatting CSS but they should. I 
> would like to have formatting options for my CSS files, where I can add rules 
> how they look like.
> Cheers
> Chris



--
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-1645) Adding real formatting/beautifier for LESS and SCSS

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1645:
-
Component/s: web - CSS Preprocessors (SASS, LESS, ...)

> Adding real formatting/beautifier for LESS and SCSS
> ---
>
> Key: NETBEANS-1645
> URL: https://issues.apache.org/jira/browse/NETBEANS-1645
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor, web - CSS Preprocessors (SASS, LESS, 
> ...)
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I try to format CSS code which looks like this:
> {code:css}
> .animateColor {background: green;}
> {code}
> It will not expand the expand/beautify it.
> Expected behaviour is this:
> {code:css}
> .animateColor {
> background: green;
> }
> {code}
> indented and formatted based on the rules from the options.



--
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-1647) Formatting options for LESS & SCSS

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1647:


 Summary: Formatting options for LESS & SCSS
 Key: NETBEANS-1647
 URL: https://issues.apache.org/jira/browse/NETBEANS-1647
 Project: NetBeans
  Issue Type: New Feature
  Components: editor - Formatting  Indentation, web - CSS Editor
Affects Versions: 8.2, 10.0
Reporter: Christian Lenz


Unfortunately, there are no options to formatting CSS but they should. I would 
like to have formatting options for my CSS files, where I can add rules how 
they look like.


Cheers

Chris



--
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-1647) Formatting options for LESS & SCSS

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1647:
-
Description: 
Unfortunately, there are no options to formatting LESS or SCSS but they should. 
I would like to have formatting options for my LESS & SCSS files, where I can 
add rules how they look like.


Cheers

Chris

  was:
Unfortunately, there are no options to formatting CSS but they should. I would 
like to have formatting options for my CSS files, where I can add rules how 
they look like.


Cheers

Chris


> Formatting options for LESS & SCSS
> --
>
> Key: NETBEANS-1647
> URL: https://issues.apache.org/jira/browse/NETBEANS-1647
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Formatting  Indentation, web - CSS Editor, 
> web - CSS Preprocessors (SASS, LESS, ...)
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> Unfortunately, there are no options to formatting LESS or SCSS but they 
> should. I would like to have formatting options for my LESS & SCSS files, 
> where I can add rules how they look like.
> Cheers
> Chris



--
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-1646) Formatting options for CSS

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1646:


 Summary: Formatting options for CSS
 Key: NETBEANS-1646
 URL: https://issues.apache.org/jira/browse/NETBEANS-1646
 Project: NetBeans
  Issue Type: New Feature
  Components: editor - Formatting  Indentation, web - CSS Editor
Affects Versions: 8.2, 10.0
Reporter: Christian Lenz


Unfortunately, there are no options to formatting CSS but they should. I would 
like to have formatting options for my CSS files, where I can add rules how 
they look like.


Cheers

Chris



--
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-1643) Formatting in JS files for nested objects is wrong

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1643:
-
Issue Type: Bug  (was: Improvement)

> Formatting in JS files for nested objects is wrong
> --
>
> Key: NETBEANS-1643
> URL: https://issues.apache.org/jira/browse/NETBEANS-1643
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, javascript - Formatting  
> Indentation
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I have nested objects with objects and arrays it should indent like from 
> the rules which is working, if you always create a new line inside of an 
> object or inside of an array.
> But if you opening an array and adding the opening curly bracket right after 
> your array bracket "[{" w/o adding new line, it will break the formatting, 
> for the next new line.
> Right:
> {code:javascript}
> var test = {
> foo: [
> {
> bar: 2
> }
> ]
> };
> {code}
> Wrong:
> {code:javascript}
> var test2 = {
> foo: [{
> bar: 3
> }],
> bar: [{a: {
> bar: 3
> }}]
> };
> var test3 = {
> foo: {test: {
> tt: 3
> }}
> };
> {code}
> Of course the argument is, ok do it like the first one, but no, I want an 
> object inside of an array starting right after the opening array because it 
> looks nicer.
> Expected formatting:
> {code:javascript}
> var test = {
> foo: [{
> bar: 3
> }],
> bar: [{
> a: {
> bar: 3
> }
> }]
> };
> var test3 = {
> foo: {
> test: {
> tt: 3
> }
> }
> };
> {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] [Updated] (NETBEANS-1645) Adding real formatting/beautifier for LESS and SCSS

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1645:
-
Description: 
When I try to format SCSS code which looks like this:
{code:css}
.animateColor {background: green;}
{code}

It will not expand the expand/beautify it.

Expected behaviour is this:

{code:css}
.animateColor {
background: green;
}
{code}

indented and formatted based on the rules from the options.

I guess this will happen for LESS too.

  was:
When I try to format SCSS code which looks like this:
{code:scss}
.animateColor {background: green;}
{code}

It will not expand the expand/beautify it.

Expected behaviour is this:

{code:scss}
.animateColor {
background: green;
}
{code}

indented and formatted based on the rules from the options.

I guess this will happen for LESS too.


> Adding real formatting/beautifier for LESS and SCSS
> ---
>
> Key: NETBEANS-1645
> URL: https://issues.apache.org/jira/browse/NETBEANS-1645
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor, web - CSS Preprocessors (SASS, LESS, 
> ...)
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I try to format SCSS code which looks like this:
> {code:css}
> .animateColor {background: green;}
> {code}
> It will not expand the expand/beautify it.
> Expected behaviour is this:
> {code:css}
> .animateColor {
> background: green;
> }
> {code}
> indented and formatted based on the rules from the options.
> I guess this will happen for LESS too.



--
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-1645) Adding real formatting/beautifier for LESS and SCSS

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1645:
-
Description: 
When I try to format SCSS code which looks like this:
{code:scss}
.animateColor {background: green;}
{code}

It will not expand the expand/beautify it.

Expected behaviour is this:

{code:scss}
.animateColor {
background: green;
}
{code}

indented and formatted based on the rules from the options.

I guess this will happen for LESS too.

  was:
When I try to format CSS code which looks like this:
{code:css}
.animateColor {background: green;}
{code}

It will not expand the expand/beautify it.

Expected behaviour is this:

{code:css}
.animateColor {
background: green;
}
{code}

indented and formatted based on the rules from the options.


> Adding real formatting/beautifier for LESS and SCSS
> ---
>
> Key: NETBEANS-1645
> URL: https://issues.apache.org/jira/browse/NETBEANS-1645
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor, web - CSS Preprocessors (SASS, LESS, 
> ...)
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I try to format SCSS code which looks like this:
> {code:scss}
> .animateColor {background: green;}
> {code}
> It will not expand the expand/beautify it.
> Expected behaviour is this:
> {code:scss}
> .animateColor {
> background: green;
> }
> {code}
> indented and formatted based on the rules from the options.
> I guess this will happen for LESS too.



--
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-1645) Adding real formatting/beautifier for LESS and SCSS

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1645:


 Summary: Adding real formatting/beautifier for LESS and SCSS
 Key: NETBEANS-1645
 URL: https://issues.apache.org/jira/browse/NETBEANS-1645
 Project: NetBeans
  Issue Type: Improvement
  Components: web - CSS Editor
Affects Versions: 8.2, 10.0
Reporter: Christian Lenz


When I try to format CSS code which looks like this:
{code:css}
.animateColor {background: green;}
{code}

It will not expand the expand/beautify it.

Expected behaviour is this:

{code:css}
.animateColor {
background: green;
}
{code}

indented and formatted based on the rules from the options.



--
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-1644) Adding real formatting/beautifier for CSS

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1644:


 Summary: Adding real formatting/beautifier for CSS
 Key: NETBEANS-1644
 URL: https://issues.apache.org/jira/browse/NETBEANS-1644
 Project: NetBeans
  Issue Type: Improvement
  Components: web - CSS Editor
Affects Versions: 8.2, 10.0
Reporter: Christian Lenz


When I try to format CSS code which looks like this:
{code:css}
.animateColor {background: green;}
{code}

It will not expand the expand/beautify it.

Expected behaviour is this:

{code:css}
.animateColor {
background: green;
}
{code}

indented and formatted based on the rules from the options.



--
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-1643) Formatting in JS files for nested objects is wrong

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1643:
--

The wrong code is really what I typed and called the formatting action 
afterwards.

> Formatting in JS files for nested objects is wrong
> --
>
> Key: NETBEANS-1643
> URL: https://issues.apache.org/jira/browse/NETBEANS-1643
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Editor, javascript - Formatting  
> Indentation
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I have nested objects with objects and arrays it should indent like from 
> the rules which is working, if you always create a new line inside of an 
> object or inside of an array.
> But if you opening an array and adding the opening curly bracket right after 
> your array bracket "[{" w/o adding new line, it will break the formatting, 
> for the next new line.
> Right:
> {code:javascript}
> var test = {
> foo: [
> {
> bar: 2
> }
> ]
> };
> {code}
> Wrong:
> {code:javascript}
> var test2 = {
> foo: [{
> bar: 3
> }],
> bar: [{a: {
> bar: 3
> }}]
> };
> var test3 = {
> foo: {test: {
> tt: 3
> }}
> };
> {code}
> Of course the argument is, ok do it like the first one, but no, I want an 
> object inside of an array starting right after the opening array because it 
> looks nicer.
> Expected formatting:
> {code:javascript}
> var test = {
> foo: [{
> bar: 3
> }],
> bar: [{
> a: {
> bar: 3
> }
> }]
> };
> var test3 = {
> foo: {
> test: {
> tt: 3
> }
> }
> };
> {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] [Created] (NETBEANS-1643) Formatting in JS files for nested objects is wrong

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1643:


 Summary: Formatting in JS files for nested objects is wrong
 Key: NETBEANS-1643
 URL: https://issues.apache.org/jira/browse/NETBEANS-1643
 Project: NetBeans
  Issue Type: Improvement
  Components: javascript - Editor, javascript - Formatting  
Indentation
Affects Versions: 8.2, 10.0
Reporter: Christian Lenz


When I have nested objects with objects and arrays it should indent like from 
the rules which is working, if you always create a new line inside of an object 
or inside of an array.

But if you opening an array and adding the opening curly bracket right after 
your array bracket "[{" w/o adding new line, it will break the formatting, for 
the next new line.

Right:
{code:javascript}
var test = {
foo: [
{
bar: 2
}
]
};
{code}

Wrong:
{code:javascript}
var test2 = {
foo: [{
bar: 3
}],
bar: [{a: {
bar: 3
}}]
};

var test3 = {
foo: {test: {
tt: 3
}}
};
{code}

Of course the argument is, ok do it like the first one, but no, I want an 
object inside of an array starting right after the opening array because it 
looks nicer.

Expected formatting:
{code:javascript}
var test = {
foo: [{
bar: 3
}],
bar: [{
a: {
bar: 3
}
}]
};

var test3 = {
foo: {
test: {
tt: 3
}
}
};
{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] [Updated] (NETBEANS-168) Background scanning process needs a rethink

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-168:

Attachment: go-to-file.gif

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, 9.0, 10.0
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: ca_survey
> Attachments: go-to-file.gif, messages - 10.0 vc3.log, messages 10.0 
> vc2.log, messages.log, puls.7z, ui.log, uigestures 10.0 vc, wp-dms.7z
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-1642) Adding closing brace } right after the opening one {

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1642:


 Summary: Adding closing brace } right after the opening one {
 Key: NETBEANS-1642
 URL: https://issues.apache.org/jira/browse/NETBEANS-1642
 Project: NetBeans
  Issue Type: Improvement
  Components: javascript - Editor, javascript - JSON
Affects Versions: 8.2, 10.0
Reporter: Christian Lenz
 Attachments: opening-brackets.gif

In a JS file, when I type ( or [ it immediately adds a closing ) or ], but this 
is not working for {. So for single and double quotes it is also working well.

See my little screencast, for what I mean.

Expected behaviour, everything what can be closed should come up immediately 
for this opening brace {.

IMHO there is no real reason to make it not the same for every brace/bracket, 
whatever.
This ticket was initial created for the JS editor, but it happens in JSON too.



--
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-168) Background scanning process needs a rethink

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-168:
-

I also added a little screen capture, where you can see, that while the 
background scanning is running, I can't search for a file but the project 
window is showing it.

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, 9.0, 10.0
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: ca_survey
> Attachments: go-to-file.gif, messages - 10.0 vc3.log, messages 10.0 
> vc2.log, messages.log, puls.7z, ui.log, uigestures 10.0 vc, wp-dms.7z
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-1640) Adding real formatting for HTML

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1640:
-
Issue Type: Improvement  (was: New Feature)

> Adding real formatting for HTML
> ---
>
> Key: NETBEANS-1640
> URL: https://issues.apache.org/jira/browse/NETBEANS-1640
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> As you can see it in the external ticket and in this one: 
> https://netbeans.org/bugzilla/show_bug.cgi?id=249760 it is not possible to 
> format a one line, minifed HTML back to the original one. Or any other code 
> snippets, that you copied from somewhere else.
> In JSON this is working great, a one line JSON, will format and beautify the 
> JSON to a more readable one.
> In HTML it will only fix indentation but will not beautify minified HTML.
> So this: {code:html}{code}
> Should expand to:
> {code:html}
> 
> 
> 
> 
> 
> 
> 
> {code}
> Please let me know whether you need more information.
> Cheers
> Chris



--
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-1641) Adding real formatting/beautifier for JS

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1641:
-
Issue Type: Improvement  (was: New Feature)

> Adding real formatting/beautifier for JS
> 
>
> Key: NETBEANS-1641
> URL: https://issues.apache.org/jira/browse/NETBEANS-1641
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Editor, javascript - Formatting  
> Indentation
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Major
>
> When I try to format JS code which looks like this:
> {code:javascript}var test = {foo: [{bar: 3}]};var test2 = {foo: [{bar: 
> 3}]};var test3 = {foo: {bar: [4]}};{code}
> It will format it like this:
> {code:javascript}
> var test = {foo: [{bar: 3}]};
> var test2 = {foo: [{bar: 3}]};
> var test3 = {foo: {bar: [4]}};
> {code}
> But expected behavior is a well formatted/beautified JS code, which should 
> look like this:
> {code:javascript}
> var test = {
> foo: [
> {
> bar: 3
> }
> ]
> };
> var test2 = {
> foo: [{
> bar: 3
> }]
> };
> var test3 = {
> foo: {
> bar: [4]
> }
> };
> {code}
> Based on the formatting rules.



--
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-1641) Adding real formatting/beautifier for JS

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1641:


 Summary: Adding real formatting/beautifier for JS
 Key: NETBEANS-1641
 URL: https://issues.apache.org/jira/browse/NETBEANS-1641
 Project: NetBeans
  Issue Type: New Feature
  Components: javascript - Editor, javascript - Formatting  
Indentation
Affects Versions: 8.2, 10.0
Reporter: Christian Lenz


When I try to format JS code which looks like this:
{code:javascript}var test = {foo: [{bar: 3}]};var test2 = {foo: [{bar: 3}]};var 
test3 = {foo: {bar: [4]}};{code}

It will format it like this:
{code:javascript}
var test = {foo: [{bar: 3}]};
var test2 = {foo: [{bar: 3}]};
var test3 = {foo: {bar: [4]}};
{code}

But expected behavior is a well formatted/beautified JS code, which should look 
like this:

{code:javascript}
var test = {
foo: [
{
bar: 3
}
]
};

var test2 = {
foo: [{
bar: 3
}]
};

var test3 = {
foo: {
bar: [4]
}
};
{code}

Based on the formatting rules.



--
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-1640) Adding real formatting for HTML

2018-11-09 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-1640:


 Summary: Adding real formatting for HTML
 Key: NETBEANS-1640
 URL: https://issues.apache.org/jira/browse/NETBEANS-1640
 Project: NetBeans
  Issue Type: New Feature
  Components: web - HTML Editor
Affects Versions: 8.2, 10.0
Reporter: Christian Lenz


As you can see it in the external ticket and in this one: 
https://netbeans.org/bugzilla/show_bug.cgi?id=249760 it is not possible to 
format a one line, minifed HTML back to the original one. Or any other code 
snippets, that you copied from somewhere else.

In JSON this is working great, a one line JSON, will format and beautify the 
JSON to a more readable one.

In HTML it will only fix indentation but will not beautify minified HTML.

So this: {code:html}{code}

Should expand to:
{code:html}







{code}

Please let me know whether you need more information.


Cheers

Chris



--
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-792) Return type CC does not work correctly when arguments have a default value

2018-11-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated NETBEANS-792:

Labels: pull-request-available  (was: )

> Return type CC does not work correctly when arguments have a default value
> --
>
> Key: NETBEANS-792
> URL: https://issues.apache.org/jira/browse/NETBEANS-792
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 8.2
> Environment: win10
>Reporter: Titum
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
>
> The autocompletion of return type declaration for a function give bad list of 
> options when at least an argument has a default value.
> Example:
> {code:java}
> function makeSomething($arg):a {}
> {code}
> typing ":a" give "array" which is good.
> {code:java}
> function makeSomething($arg=''):a {}
> {code}
> typing ":a" give "abstract" which is bad.



--
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-1639) Inconsistent behaviour with java.net.http.HttpClient in Netbeans10-vc2

2018-11-09 Thread Dell Green (JIRA)
Dell Green created NETBEANS-1639:


 Summary: Inconsistent behaviour with java.net.http.HttpClient in 
Netbeans10-vc2
 Key: NETBEANS-1639
 URL: https://issues.apache.org/jira/browse/NETBEANS-1639
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Editor
Affects Versions: 10.0
 Environment: NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/;
SUPPORT_URL="http://help.ubuntu.com/;
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial


Netbeans10-vc2
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

Reporter: Dell Green


Netbeans initially failed to autocomplete any of the new 
java.net.http.HttpClient classes when trying to import them. I had to manually 
type the import in full before it started working, however then I was then not 
able to ctrl-click on the class names to see the source code of HttpClient etc, 
other classes i could, like Duration

final var client = HttpClient.newBuilder()
 .version(HttpClient.Version.HTTP_1_1)
 .followRedirects(HttpClient.Redirect.NORMAL)
 .connectTimeout(Duration.ofSeconds(20))
.build();

 

 

it builds and runs fine.



--
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-792) Return type CC does not work correctly when arguments have a default value

2018-11-09 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto updated NETBEANS-792:
--
Summary: Return type CC does not work correctly when arguments have a 
default value  (was: Return type declaration not functionning when arguments 
have a default value)

> Return type CC does not work correctly when arguments have a default value
> --
>
> Key: NETBEANS-792
> URL: https://issues.apache.org/jira/browse/NETBEANS-792
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 8.2
> Environment: win10
>Reporter: Titum
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> The autocompletion of return type declaration for a function give bad list of 
> options when at least an argument has a default value.
> Example:
> {code:java}
> function makeSomething($arg):a {}
> {code}
> typing ":a" give "array" which is good.
> {code:java}
> function makeSomething($arg=''):a {}
> {code}
> typing ":a" give "abstract" which is bad.



--
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-792) Return type declaration not functionning when arguments have a default value

2018-11-09 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto updated NETBEANS-792:
--
Component/s: (was: php - Code)
 php - Editor

> Return type declaration not functionning when arguments have a default value
> 
>
> Key: NETBEANS-792
> URL: https://issues.apache.org/jira/browse/NETBEANS-792
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 8.2
> Environment: win10
>Reporter: Titum
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> The autocompletion of return type declaration for a function give bad list of 
> options when at least an argument has a default value.
> Example:
> {code:java}
> function makeSomething($arg):a {}
> {code}
> typing ":a" give "array" which is good.
> {code:java}
> function makeSomething($arg=''):a {}
> {code}
> typing ":a" give "abstract" which is bad.



--
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-792) Return type declaration not functionning when arguments have a default value

2018-11-09 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto reassigned NETBEANS-792:
-

Assignee: Junichi Yamamoto

> Return type declaration not functionning when arguments have a default value
> 
>
> Key: NETBEANS-792
> URL: https://issues.apache.org/jira/browse/NETBEANS-792
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 8.2
> Environment: win10
>Reporter: Titum
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> The autocompletion of return type declaration for a function give bad list of 
> options when at least an argument has a default value.
> Example:
> {code:java}
> function makeSomething($arg):a {}
> {code}
> typing ":a" give "array" which is good.
> {code:java}
> function makeSomething($arg=''):a {}
> {code}
> typing ":a" give "abstract" which is bad.



--
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-653) Menus don't open on all screens for a multi-monitor (> 2) setup when using JDK > 8

2018-11-09 Thread Dell Green (JIRA)


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

Dell Green commented on NETBEANS-653:
-

Also a problem on ubuntu 16.04 running Netbeans10-vc2 on openjdk11. I have 4 
monitors.

The problem seems to be a jdk issue rather than Netbeans with little progress 
since june.

[https://bugs.openjdk.java.net/browse/JDK-8204646]

The workaround to run Netbeans on jdk8 is becoming less viable if you want to 
use all the features in Netbeans when developing for java, 9/10/11

 

> Menus don't open on all screens for a multi-monitor (> 2) setup when using 
> JDK > 8
> --
>
> Key: NETBEANS-653
> URL: https://issues.apache.org/jira/browse/NETBEANS-653
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2, 9.0
> Environment: Ubuntu 17.10
> OracleJDK / OpenJDK > 8
> more than two attached monitors
>Reporter: René Kraneis
>Priority: Major
>
> When running Netbeans 8.2 or any development snapshot on JDK 9 or 10 with 
> more than two monitors attached menus will not open on all of the monitors. 
> When moving the NetBeans window back to a screen where the menus open, the 
> error reporter opens instead. The stack trace is:
> {code}
> SEVERE [global]
> java.lang.IllegalArgumentException: Window must not be zero
>   at java.desktop/sun.awt.X11.XAtom.checkWindow(XAtom.java:774)
>   at java.desktop/sun.awt.X11.XAtom.getAtomData(XAtom.java:465)
>   at java.desktop/sun.awt.X11.XToolkit.getWorkArea(XToolkit.java:805)
>   at java.desktop/sun.awt.X11.XToolkit.getInsets(XToolkit.java:881)
>   at java.desktop/sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:869)
>   at java.desktop/java.awt.Window.init(Window.java:518)
>   at java.desktop/java.awt.Window.(Window.java:448)
>   at java.desktop/java.awt.Window.(Window.java:603)
>   at java.desktop/java.awt.Dialog.(Dialog.java:664)
>   at java.desktop/java.awt.Dialog.(Dialog.java:408)
>   at java.desktop/javax.swing.JDialog.(JDialog.java:273)
>   at 
> org.netbeans.core.windows.services.NbPresenter.(NbPresenter.java:178)
>   at org.netbeans.core.windows.services.NbDialog.(NbDialog.java:42)
>   at 
> org.netbeans.core.windows.services.DialogDisplayerImpl$1.run(DialogDisplayerImpl.java:133)
>   at 
> org.netbeans.core.windows.services.DialogDisplayerImpl$1.run(DialogDisplayerImpl.java:94)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:115)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:75)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:71)
>   at org.openide.util.Mutex.readAccess(Mutex.java:193)
>   at 
> org.netbeans.core.windows.services.DialogDisplayerImpl.createDialog(DialogDisplayerImpl.java:94)
>   at 
> org.netbeans.core.windows.services.DialogDisplayerImpl.createDialog(DialogDisplayerImpl.java:86)
>   at org.netbeans.core.NotifyExcPanel.(NotifyExcPanel.java:175)
>   at org.netbeans.core.NotifyExcPanel.(NotifyExcPanel.java:81)
>   at org.netbeans.core.NotifyExcPanel$2.run(NotifyExcPanel.java:332)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> SEVERE [null]: Last record repeated more than 10 times, further logs of this 
> record are ignored until the log record changes.
> 

[jira] [Updated] (NETBEANS-1428) Fatal error when profiling

2018-11-09 Thread Peter Hull (JIRA)


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

Peter Hull updated NETBEANS-1428:
-
Affects Version/s: 9.0

> Fatal error when profiling
> --
>
> Key: NETBEANS-1428
> URL: https://issues.apache.org/jira/browse/NETBEANS-1428
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0, 10.0
> Environment: Windows 10, JDK11 (OpenJDK 11.0+28)
>Reporter: Peter Hull
>Priority: Major
>  Labels: netcat
> Attachments: hs_err_pid38528.log
>
>
> Attempting to profile a Java freeform project (Netcat 10, Profiling FreeForm, 
> Step 2)
> I get the following error
> {{#}}
> {{# A fatal error has been detected by the Java Runtime Environment:}}
> {{#}}
> {{#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7ff8e831c775, 
> pid=38528, tid=38596}}
> {{#}}
> {{# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)}}
> {{# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed 
> oops, g1 gc, windows-amd64)}}
> {{# Problematic frame:}}
> {{# V  [jvm.dll+0x5ec775]}}
> {{#}}
> {{# No core dump will be written. Minidumps are not enabled by default on 
> client versions of Windows}}
> {{#}}
> {{# An error report file with more information is saved as:}}
> {{# D:\Libraries\Downloads\TS_Profiler_freeform\freeform\hs_err_pid38528.log}}
> {{#}}
> {{# If you would like to submit a bug report, please visit:}}
> {{#   http://bugreport.java.com/bugreport/crash.jsp}}
> {{#}}
> Seems reproducible, I have attached the crash log.



--
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-1621) OSGi dependencies not loaded/installed together with (maven-based) module

2018-11-09 Thread Peter Nabbefeld (JIRA)


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

Peter Nabbefeld commented on NETBEANS-1621:
---

Closing this in favour of NETBEANS-1638 which just focusses on the outdated 
library.

> OSGi dependencies not loaded/installed together with (maven-based) module
> -
>
> Key: NETBEANS-1621
> URL: https://issues.apache.org/jira/browse/NETBEANS-1621
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 10.0
> Environment: Arch Linux
> JDK 11
> NetBeans 10.0vc3 
>Reporter: Peter Nabbefeld
>Priority: Major
> Attachments: Bildschirmfoto_2018-11-07_10-09-14.png
>
>
> Loading a module with OSGi dependencies does not work, the dependent modules 
> are missing.
> For an example, build and try to install this module:
> https://github.com/pnabbefeld/NbProjectManagement



--
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] [Closed] (NETBEANS-1621) OSGi dependencies not loaded/installed together with (maven-based) module

2018-11-09 Thread Peter Nabbefeld (JIRA)


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

Peter Nabbefeld closed NETBEANS-1621.
-
Resolution: Invalid

> OSGi dependencies not loaded/installed together with (maven-based) module
> -
>
> Key: NETBEANS-1621
> URL: https://issues.apache.org/jira/browse/NETBEANS-1621
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 10.0
> Environment: Arch Linux
> JDK 11
> NetBeans 10.0vc3 
>Reporter: Peter Nabbefeld
>Priority: Major
> Attachments: Bildschirmfoto_2018-11-07_10-09-14.png
>
>
> Loading a module with OSGi dependencies does not work, the dependent modules 
> are missing.
> For an example, build and try to install this module:
> https://github.com/pnabbefeld/NbProjectManagement



--
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-168) Background scanning process needs a rethink

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-168:
-

Yes it scans the whole node_modules folder too, because I didn't add the 
node_modules and bower_components to the ignored files after starting a fresh 
new NetBeans instance.

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, 9.0, 10.0
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: ca_survey
> Attachments: messages - 10.0 vc3.log, messages 10.0 vc2.log, 
> messages.log, puls.7z, ui.log, uigestures 10.0 vc, wp-dms.7z
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-168) Background scanning process needs a rethink

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-168:

Attachment: messages - 10.0 vc3.log

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, 9.0, 10.0
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: ca_survey
> Attachments: messages - 10.0 vc3.log, messages 10.0 vc2.log, 
> messages.log, puls.7z, ui.log, uigestures 10.0 vc, wp-dms.7z
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-168) Background scanning process needs a rethink

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-168:
-

I added 2 PHP projects that I opened in NetBeans 10.0 VC3. First it tooks ~15s 
- 20s until NetBeans opens the projects.
The projects have 51.519 Files and 8.126 Folders and are ~500 MB big.

I can't add the IDE log, because the background scanning AND the checking for 
external changes scanning started 10-15min ago.
I Use brand new 10.0 VC3, deleted the AppData/Roaming/NetBeans/10 folder and 
started NetBeans.

Will attach the messages.log after it is finished scanning :D.

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, 9.0, 10.0
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: ca_survey
> Attachments: messages 10.0 vc2.log, messages.log, puls.7z, ui.log, 
> uigestures 10.0 vc, wp-dms.7z
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-168) Background scanning process needs a rethink

2018-11-09 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-168:

Attachment: wp-dms.7z
puls.7z

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, 9.0, 10.0
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: ca_survey
> Attachments: messages 10.0 vc2.log, messages.log, puls.7z, ui.log, 
> uigestures 10.0 vc, wp-dms.7z
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-1428) Fatal error when profiling

2018-11-09 Thread Peter Hull (JIRA)


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

Peter Hull commented on NETBEANS-1428:
--

Relevant bit of the crash log suggests it's in the native code for 
profilerinterface.dll

{noformat}
Current thread (0x016d8802a800):  JavaThread "*** Profiler Agent 
Communication Thread" daemon [_thread_in_vm, id=38596, 
stack(0x0002a8f0,0x0002a900)]

Stack: [0x0002a8f0,0x0002a900],  sp=0x0002a8ffeec0,  free 
space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x5ec775]
V  [jvm.dll+0x4b1560]
C  [profilerinterface.dll+0x34da]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  
org.netbeans.lib.profiler.server.system.Stacks.getMethodNamesForJMethodIds(I[I[I)[B+0
j  
org.netbeans.lib.profiler.server.ProfilerInterface.getMethodNamesForJMethodIds([I)Lorg/netbeans/lib/profiler/wireprotocol/MethodNamesResponse;+20
j  
org.netbeans.lib.profiler.server.ProfilerServer.handleClientCommand(Lorg/netbeans/lib/profiler/wireprotocol/Command;)V+691
j  org.netbeans.lib.profiler.server.ProfilerServer.listenToClient()V+48
j  org.netbeans.lib.profiler.server.ProfilerServer.run()V+22
v  ~StubRoutines::call_stub
{noformat}


> Fatal error when profiling
> --
>
> Key: NETBEANS-1428
> URL: https://issues.apache.org/jira/browse/NETBEANS-1428
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 10.0
> Environment: Windows 10, JDK11 (OpenJDK 11.0+28)
>Reporter: Peter Hull
>Priority: Major
>  Labels: netcat
> Attachments: hs_err_pid38528.log
>
>
> Attempting to profile a Java freeform project (Netcat 10, Profiling FreeForm, 
> Step 2)
> I get the following error
> {{#}}
> {{# A fatal error has been detected by the Java Runtime Environment:}}
> {{#}}
> {{#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7ff8e831c775, 
> pid=38528, tid=38596}}
> {{#}}
> {{# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)}}
> {{# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed 
> oops, g1 gc, windows-amd64)}}
> {{# Problematic frame:}}
> {{# V  [jvm.dll+0x5ec775]}}
> {{#}}
> {{# No core dump will be written. Minidumps are not enabled by default on 
> client versions of Windows}}
> {{#}}
> {{# An error report file with more information is saved as:}}
> {{# D:\Libraries\Downloads\TS_Profiler_freeform\freeform\hs_err_pid38528.log}}
> {{#}}
> {{# If you would like to submit a bug report, please visit:}}
> {{#   http://bugreport.java.com/bugreport/crash.jsp}}
> {{#}}
> Seems reproducible, I have attached the crash log.



--
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-1428) Fatal error when profiling

2018-11-09 Thread Peter Hull (JIRA)


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

Peter Hull commented on NETBEANS-1428:
--

Windows is affected and not MacOS 
([link|http://mail-archives.apache.org/mod_mbox/netbeans-netcat/201811.mbox/%3CCACkjAxTyQL8aLCwKQiJjedCqXdE_Yk%3DE3ftV4pfOmXtC6eQrpA%40mail.gmail.com%3E])
Status of other platforms is not known.

> Fatal error when profiling
> --
>
> Key: NETBEANS-1428
> URL: https://issues.apache.org/jira/browse/NETBEANS-1428
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 10.0
> Environment: Windows 10, JDK11 (OpenJDK 11.0+28)
>Reporter: Peter Hull
>Priority: Major
>  Labels: netcat
> Attachments: hs_err_pid38528.log
>
>
> Attempting to profile a Java freeform project (Netcat 10, Profiling FreeForm, 
> Step 2)
> I get the following error
> {{#}}
> {{# A fatal error has been detected by the Java Runtime Environment:}}
> {{#}}
> {{#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7ff8e831c775, 
> pid=38528, tid=38596}}
> {{#}}
> {{# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)}}
> {{# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed 
> oops, g1 gc, windows-amd64)}}
> {{# Problematic frame:}}
> {{# V  [jvm.dll+0x5ec775]}}
> {{#}}
> {{# No core dump will be written. Minidumps are not enabled by default on 
> client versions of Windows}}
> {{#}}
> {{# An error report file with more information is saved as:}}
> {{# D:\Libraries\Downloads\TS_Profiler_freeform\freeform\hs_err_pid38528.log}}
> {{#}}
> {{# If you would like to submit a bug report, please visit:}}
> {{#   http://bugreport.java.com/bugreport/crash.jsp}}
> {{#}}
> Seems reproducible, I have attached the crash log.



--
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-1638) OSGi support is broken

2018-11-09 Thread Peter Nabbefeld (JIRA)


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

Peter Nabbefeld updated NETBEANS-1638:
--
Description: 
The included Felix jar (in module lib.felix) is outdated and does not work with 
JDK > 9.

Included version: 4.2.1

Current version: 6.0.1

For a short discussion of the problem see: 
https://github.com/mojohaus/nbm-maven-plugin/issues/52

  was:
The included Felix jar (in module lib.felix) is outdated and does not work with 
JDK > 9.

Included version: 4.2.1

Current version: 6.0.1


> OSGi support is broken
> --
>
> Key: NETBEANS-1638
> URL: https://issues.apache.org/jira/browse/NETBEANS-1638
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
>Affects Versions: 9.0, 10.0
>Reporter: Peter Nabbefeld
>Priority: Critical
>
> The included Felix jar (in module lib.felix) is outdated and does not work 
> with JDK > 9.
> Included version: 4.2.1
> Current version: 6.0.1
> For a short discussion of the problem see: 
> https://github.com/mojohaus/nbm-maven-plugin/issues/52



--
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-1638) OSGi support is broken

2018-11-09 Thread Peter Nabbefeld (JIRA)
Peter Nabbefeld created NETBEANS-1638:
-

 Summary: OSGi support is broken
 Key: NETBEANS-1638
 URL: https://issues.apache.org/jira/browse/NETBEANS-1638
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Module System
Affects Versions: 9.0, 10.0
Reporter: Peter Nabbefeld


The included Felix jar (in module lib.felix) is outdated and does not work with 
JDK > 9.

Included version: 4.2.1

Current version: 6.0.1



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