[jira] [Resolved] (NETBEANS-4444) The selected text is not removed in the Find Combobox when text is input via IME

2020-07-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-.

Fix Version/s: 12.1
   Resolution: Fixed

PR: [https://github.com/apache/netbeans/pull/2188]

> The selected text is not removed in the Find Combobox when text is input via 
> IME
> 
>
> Key: NETBEANS-
> URL: https://issues.apache.org/jira/browse/NETBEANS-
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search
>Affects Versions: 12.0
> Environment: Ubuntu 20.04
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 12.1
>
> Attachments: find-combobox-with-ime.gif, find-combobox-without-ime.gif
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> h2. Steps to reproduce
>  * Show the search bar [Ctrl] + [F]
>  * Input something
>  * Select all text
>  * Type something via IME
>  * Selected text is not removed
> h3. Without IME
> !find-combobox-without-ime.gif!
> h3. With IME
> !find-combobox-with-ime.gif!
>  
> I used the mozc as an IME: [https://github.com/google/mozc]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-3900) Using netbeans to profile a Play1 app crashes the app after a while

2020-07-16 Thread David Costanzo (Jira)


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

David Costanzo commented on NETBEANS-3900:
--

I tried using Net Beans 12 because it includes the fix for NETBEANS-1248, but 
profiling still crashed my web application.  I'm going to continue to use the 
private build of the profiling library that you created for me in the meantime.

 

> Using netbeans to profile a Play1 app crashes the app after a while
> ---
>
> Key: NETBEANS-3900
> URL: https://issues.apache.org/jira/browse/NETBEANS-3900
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 11.0, 11.2
> Environment: JDK: OpenJDK 11 or HotSpot Java 8.
> OS: 64-bit Ubuntu or OpenSUSE
>Reporter: David Costanzo
>Priority: Major
> Attachments: hs_err_pid24234.log, hs_err_pid24980.log
>
>
> When I use NetBeans 11.2 to profile a stand alone web application that is 
> based on the Play 1 framework, the profiling works for a little while, then 
> the JVM that's being profiled crashes.
> I cannot reproduce a crash when using a java command-line tool, only my web 
> apps crash.
> I am able to profile using visualvm.
> If I use Java 8 for both the target app's JVM and netbean's JVM, I can still 
> reproduce the crash.  (Mixing a Java 8 app with a Java 11 netbeans makes it 
> so that the profiler cannot attach).
> If I drop down to NetBeans 9, I can still reproduce the crash.  (NetBeans 8.2 
> cannot attach a profiler).
> Unfortunately, I have been unsuccessful at creating a small, isolated repro.  
> All of our applications rely heavily our corporate file system, our corporate 
> databases, and ancillary services that are only available on our LAN.  When I 
> try to remove these dependencies, I also lose the repro.
> Also unfortunate is that I don't understand how a Java profiler is 
> implemented, so I don't know how to investigate this.  I also don't know how 
> to build a profiler with symbols, which I assume would help.
> A possibly relevant bit for one log is (included for searchability): 
> {noformat}
> ---  T H R E A D  ---
> Current thread (0x7fae40021000):  JavaThread "*** Profiler Agent 
> Communication Thread" daemon [_thread_in_vm, id=5892, 
> stack(0x7fad2b68b000,0x7fad2b78c000)]
> Stack: [0x7fad2b68b000,0x7fad2b78c000],  sp=0x7fad2b78a560,  free 
> space=1021k
> Native frames: (J=compiled Java code, A=aot compiled Java code, 
> j=interpreted, Vv=VM code, C=native code)
> V  [libjvm.so+0xb8a836]  Method::checked_resolve_jmethod_id(_jmethodID*)+0x26
> V  [libjvm.so+0x9ac918]  jvmti_GetMethodDeclaringClass+0x1d8
> 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
> siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 
> 0x00020010
> Register to memory mapping:
> RAX=0x0002 is an unknown value
> RBX=0x7fae0020 points into unknown readable memory: 00 00 00 00 02 00 
> 00 00
> RCX=0x7fad2b8954c0:  in 
> /local/netbeans_11_2/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
>  at 0x7fad2b78c000
> RDX=0x7faed95ee300:  in 
> /scharp/xapps/fw/share/jdk-11.0.5_10-hotspot/lib/server/libjvm.so at 
> 0x7faed8f72000
> RSP=0x7fad2b78a560 is pointing into the stack for thread: 
> 0x7fae40021000
> RBP=0x7fad2b78a570 is pointing into the stack for thread: 
> 0x7fae40021000
> RSI=0x7fae40021000 is a thread
> RDI=0x7fae points into unknown readable memory: 20 00 00 00 ae 7f 
> 00 00
> R8 =0x0002 is an unknown value
> R9 =0x00ad is an unknown value
> R10=0x0011 is an unknown value
> R11=0x7faeda5ae4c0:  in 
> /lib/x86_64-linux-gnu/libc.so.6 at 0x7faeda3ff000
> R12=0x7fae3401cdc0 points into unknown readable memory: 60 49 38 da ae 7f 
> 00 00
> R13=0x7fad2b78a650 is pointing into the stack for thread: 
> 0x7fae40021000
> R14=0x7fae points into unknown readable memory: 20 00 00 00 ae 7f 
> 00 00
> R15=0x7fad2b78a5a0 is pointing into the stack for thread: 
> 0x7fae40021000
> {noformat}
> I have opened this bug at the suggestion of [~pete

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

2020-07-16 Thread Benjamin Xiao (Jira)


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

Benjamin Xiao commented on NETBEANS-1428:
-

This is still happening on Netbeans 12 LTS, Oracle JDK 14.0.1, and Windows 10 
64-bit.

> 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, 11.0
> Environment: Windows 10, JDK11 (OpenJDK 11.0+28)
>Reporter: Peter Hull
>Priority: Major
>  Labels: netcat, pull-request-available
> Attachments: hs_err_pid38528.log
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4594) Hibernation Configuration Issues

2020-07-16 Thread George Thomas Jenkins (Jira)
George Thomas Jenkins created NETBEANS-4594:
---

 Summary: Hibernation Configuration Issues
 Key: NETBEANS-4594
 URL: https://issues.apache.org/jira/browse/NETBEANS-4594
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Code
Affects Versions: 11.3
 Environment: Windows 10
Reporter: George Thomas Jenkins
 Attachments: Capture.JPG, Netbeans.log

I'm stepping through the tutorial found at: 
[https://netbeans.org/kb/docs/java/hibernate-java-se.html]

The first thing I ran into was in the step Create Hibernate Reverse Engineering 
file. I am using an existing SQLite database. The wizard marked a couple of 
tables as not having primary keys when I verified that they do. 

Wanting to just complete the tutorial, I ignored that and moved on. The next 
step, Create the Hibernate Mapping Files and POJOs hit a snag that I can't get 
past. When I selected the New->Other->Hibernate->Hibernate Mapping Files and 
POJOs from Database, I get the attached screen (Capture.jpg). I have also 
attached the full contents of the IDE log. 

Let me know and I can send you other files if you think it might help. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[netbeans] branch master updated: [NETBEANS-4444] The selected text is not removed in the Find Combobox when text is input via IME

2020-07-16 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new a44b5b2  [NETBEANS-] The selected text is not removed in the Find 
Combobox when text is input via IME
 new b8441cf  Merge pull request #2188 from 
junichi11/netbeans--editor-search
a44b5b2 is described below

commit a44b5b225f4cf1fc72a5a82416e58a0b7cde3fa9
Author: Junichi Yamamoto 
AuthorDate: Sun Jun 14 20:47:53 2020 +0900

[NETBEANS-] The selected text is not removed in the Find Combobox when 
text is input via IME

Selection is not removed when text is input via IME. So, just remove it 
when the caret is changed.
---
 .../modules/editor/search/SearchComboBoxEditor.java   | 19 +++
 1 file changed, 19 insertions(+)

diff --git 
a/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java
 
b/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java
index b5d8f03..45d303f 100644
--- 
a/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java
+++ 
b/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java
@@ -123,6 +123,25 @@ public class SearchComboBoxEditor implements 
ComboBoxEditor {
 DocumentUtilities.addDocumentListener(newDoc, 
manageViewListener, DocumentListenerPriority.AFTER_CARET_UPDATE);
 }
 }
+// NETBEANS-
+// selection is not removed when text is input via IME
+// so, just remove it when the caret is changed
+if ("caret".equals(evt.getPropertyName())) { // NOI18N
+if (evt.getOldValue() instanceof Caret) {
+Caret oldCaret = (Caret) evt.getOldValue();
+if (oldCaret != null) {
+int dotPosition = oldCaret.getDot();
+int markPosition = oldCaret.getMark();
+if (dotPosition != markPosition) {
+try {
+
editorPane.getDocument().remove(Math.min(markPosition, dotPosition), 
Math.abs(markPosition - dotPosition));
+} catch (BadLocationException ex) {
+LOG.log(Level.WARNING, "Invalid removal 
offset: {0}", ex.offsetRequested()); // NOI18N
+}
+}
+}
+}
+}
 }
 });
 }


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

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



[netbeans] branch master updated: [NETBEANS-3989]:Code Modifications related to finalisation of TextBlocks in JDK15

2020-07-16 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new c847b1f  [NETBEANS-3989]:Code Modifications related to finalisation of 
TextBlocks in JDK15
 new 33e4d51  Merge pull request #2136 from Mohan-Sarilla/netbeans-3989
c847b1f is described below

commit c847b1fb1c50f44a6b0204149343f87f907cf979
Author: Mohan-Sarilla 
AuthorDate: Thu May 14 11:15:35 2020 +0530

[NETBEANS-3989]:Code Modifications related to finalisation of TextBlocks in 
JDK15
---
 .../netbeans/modules/java/hints/jdk/ConvertToTextBlock.java  |  6 +-
 .../modules/java/hints/jdk/ConvertToTextBlockTest.java   | 12 
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToTextBlock.java
 
b/java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToTextBlock.java
index 35f0917..cda4485 100644
--- 
a/java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToTextBlock.java
+++ 
b/java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToTextBlock.java
@@ -24,8 +24,10 @@ import com.sun.source.tree.Tree;
 import com.sun.source.tree.Tree.Kind;
 import com.sun.source.util.TreePath;
 import java.util.List;
+import javax.lang.model.SourceVersion;
 import org.netbeans.api.java.queries.CompilerOptionsQuery;
 import org.netbeans.api.java.source.CompilationInfo;
+import org.netbeans.modules.java.hints.errors.Utilities;
 import org.netbeans.spi.editor.hints.ErrorDescription;
 import org.netbeans.spi.editor.hints.Fix;
 import org.netbeans.spi.java.hints.ConstraintVariableType;
@@ -45,10 +47,12 @@ import org.openide.util.NbBundle.Messages;
 })
 public class ConvertToTextBlock {
 
+private static final int TEXT_BLOCK_PREVIEW_JDK_VERSION = 14;
+
 @TriggerTreeKind(Kind.PLUS)
 @Messages("ERR_ConvertToTextBlock=Can be converted to text block")
 public static ErrorDescription computeWarning(HintContext ctx) {
-if 
(!CompilerOptionsQuery.getOptions(ctx.getInfo().getFileObject()).getArguments().contains("--enable-preview"))
+if (Utilities.isJDKVersionLower(TEXT_BLOCK_PREVIEW_JDK_VERSION) && 
!CompilerOptionsQuery.getOptions(ctx.getInfo().getFileObject()).getArguments().contains("--enable-preview"))
 return null;
 if (ctx.getPath().getParentPath() != null && 
getTextOrNull(ctx.getPath().getParentPath()) != null) {
 return null;
diff --git 
a/java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertToTextBlockTest.java
 
b/java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertToTextBlockTest.java
index 91749bd..9289ec2 100644
--- 
a/java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertToTextBlockTest.java
+++ 
b/java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertToTextBlockTest.java
@@ -27,7 +27,7 @@ public class ConvertToTextBlockTest {
 @Test
 public void testFixWorking() throws Exception {
 try {
-SourceVersion.valueOf("RELEASE_13");
+SourceVersion.valueOf("RELEASE_15");
 } catch (IllegalArgumentException ex) {
 //OK, skip test
 return ;
@@ -42,7 +42,6 @@ public class ConvertToTextBlockTest {
"}\n" +
"}\n")
 .sourceLevel(SourceVersion.latest().name())
-.options("--enable-preview")
 .run(ConvertToTextBlock.class)
 .findWarning("3:30-3:37:verifier:" + 
Bundle.ERR_ConvertToTextBlock())
 .applyFix()
@@ -62,7 +61,7 @@ public class ConvertToTextBlockTest {
 @Test
 public void testNewLineAtEnd() throws Exception {
 try {
-SourceVersion.valueOf("RELEASE_13");
+SourceVersion.valueOf("RELEASE_15");
 } catch (IllegalArgumentException ex) {
 //OK, skip test
 return ;
@@ -77,7 +76,6 @@ public class ConvertToTextBlockTest {
"}\n" +
"}\n")
 .sourceLevel(SourceVersion.latest().name())
-.options("--enable-preview")
 .run(ConvertToTextBlock.class)
 .findWarning("3:30-3:37:verifier:" + 
Bundle.ERR_ConvertToTextBlock())
 .applyFix()
@@ -98,7 +96,7 @@ public class ConvertToTextBlockTest {
 @Test
 public void testNewLinesAtEnd() throws Exception {
 try {
-SourceVersion.valueOf("RELEASE_13");
+SourceVersion.valueOf("RELEASE_15");
 } catch (IllegalArgumentException ex) {
 //OK, skip test
 return ;
@@ -113,7 +111,6 @@ public class ConvertToTextBlockTest {
"}\n" +
"}\n")
 .sourceLevel(SourceVersion.latest

[jira] [Updated] (NETBEANS-3490) Incorrect time interval between downloads of maven index

2020-07-16 Thread Alexander (Jira)


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

Alexander updated NETBEANS-3490:

Description: NetBeans downloads maven index every time when I open NetBeans 
althrough I set interval of 7 days in properties.  (was: NetBeans downloads 
maven index every time when I open NetBeans althrough I set interval in 7 days 
in properties.)

> Incorrect time interval between downloads of maven index
> 
>
> Key: NETBEANS-3490
> URL: https://issues.apache.org/jira/browse/NETBEANS-3490
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2, 11.3
>Reporter: Alexander
>Priority: Major
>
> NetBeans downloads maven index every time when I open NetBeans althrough I 
> set interval of 7 days in properties.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-3490) Incorrect time interval between downloads of maven index

2020-07-16 Thread Alexander (Jira)


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

Alexander commented on NETBEANS-3490:
-

Not resolved in 12.0.

 

> Incorrect time interval between downloads of maven index
> 
>
> Key: NETBEANS-3490
> URL: https://issues.apache.org/jira/browse/NETBEANS-3490
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2, 11.3
>Reporter: Alexander
>Priority: Major
>
> NetBeans downloads maven index every time when I open NetBeans althrough I 
> set interval in 7 days in properties.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-3490) Incorrect time interval between downloads of maven index

2020-07-16 Thread Alexander (Jira)


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

Alexander updated NETBEANS-3490:

Affects Version/s: 12.0

> Incorrect time interval between downloads of maven index
> 
>
> Key: NETBEANS-3490
> URL: https://issues.apache.org/jira/browse/NETBEANS-3490
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2, 11.3
>Reporter: Alexander
>Priority: Major
>
> NetBeans downloads maven index every time when I open NetBeans althrough I 
> set interval in 7 days in properties.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Comment Edited] (NETBEANS-4593) src、href attribute values which contain character @ lose underline and correct syntax highlighting

2020-07-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-4593 at 7/16/20, 12:35 PM:
---

Thanks for reporting it.

PR: [https://github.com/apache/netbeans/pull/2258]


was (Author: junichi11):
PR: [https://github.com/apache/netbeans/pull/2258]

> src、href attribute values which contain character @ lose underline and 
> correct syntax highlighting
> --
>
> Key: NETBEANS-4593
> URL: https://issues.apache.org/jira/browse/NETBEANS-4593
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Other
>Affects Versions: 12.0
>Reporter: 高浩
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: image-2020-07-16-17-54-24-018.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Given the html code below:
> {code:html}
> https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js";>
> 
> {code}
> The underline is missing after character *@*
> !image-2020-07-16-17-54-24-018.png!
> HTML comments have this problem too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-4593) src、href attribute values which contain character @ lose underline and correct syntax highlighting

2020-07-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4593:


PR: [https://github.com/apache/netbeans/pull/2258]

> src、href attribute values which contain character @ lose underline and 
> correct syntax highlighting
> --
>
> Key: NETBEANS-4593
> URL: https://issues.apache.org/jira/browse/NETBEANS-4593
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Other
>Affects Versions: 12.0
>Reporter: 高浩
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: image-2020-07-16-17-54-24-018.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Given the html code below:
> {code:html}
> https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js";>
> 
> {code}
> The underline is missing after character *@*
> !image-2020-07-16-17-54-24-018.png!
> HTML comments have this problem too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Assigned] (NETBEANS-4593) src、href attribute values which contain character @ lose underline and correct syntax highlighting

2020-07-16 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-4593:
--

Component/s: (was: web - HTML Editor)
 editor - Other
   Assignee: Junichi Yamamoto

> src、href attribute values which contain character @ lose underline and 
> correct syntax highlighting
> --
>
> Key: NETBEANS-4593
> URL: https://issues.apache.org/jira/browse/NETBEANS-4593
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Other
>Affects Versions: 12.0
>Reporter: 高浩
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: image-2020-07-16-17-54-24-018.png
>
>
> Given the html code below:
> {code:html}
> https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js";>
> 
> {code}
> The underline is missing after character *@*
> !image-2020-07-16-17-54-24-018.png!
> HTML comments have this problem too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-1823) JavaFX Scene Builder Integration is still broken (Since Java SE 8u40)

2020-07-16 Thread John Green (Jira)


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

John Green commented on NETBEANS-1823:
--

Replicated on MacOS Catalina; NetBeans 12.0 running on OpenJDK 14.0.1 as well.

> JavaFX Scene Builder Integration is still broken (Since Java SE 8u40)
> -
>
> Key: NETBEANS-1823
> URL: https://issues.apache.org/jira/browse/NETBEANS-1823
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Editor
>Affects Versions: 10.0
> Environment: MacOS High Sierra; NetBeans 10.vc5 running on JDK 10.0.1 
>  
>Reporter: r-go
>Priority: Major
>  Labels: 10.0-vc5
>
> NetBeans -> Preferences (Options) -> Java ->JavaFX 
> The only path supported is one that refers to long abandoned (since Java SE 
> 8u40) Oracle's Scene Builder. JavaFX Scene Builder provided by Gluon can not 
> be registered and used in NetBeans - which is kind of nonsense as its in fact 
> the only maintained version of JavaFX scene builder, recommended even by 
> oracle. 
> As JavaFX scene builder is effectively "just" an external .fxml file editor - 
>  the integration with NB  is trivial (but for some strange reasons it is 
> missing from NB for years now) - please fix it if possible. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4593) src、href attribute values which contain character @ lose underline and correct syntax highlighting

2020-07-16 Thread Jira


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

高浩 updated NETBEANS-4593:
-
Summary: src、href attribute values which contain character @ lose underline 
and correct syntax highlighting  (was: src、href attributes which contain 
character @ lose underline and correct syntax highlighting)

> src、href attribute values which contain character @ lose underline and 
> correct syntax highlighting
> --
>
> Key: NETBEANS-4593
> URL: https://issues.apache.org/jira/browse/NETBEANS-4593
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 12.0
>Reporter: 高浩
>Priority: Major
> Attachments: image-2020-07-16-17-54-24-018.png
>
>
> Given the html code below:
> {code:html}
> https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js";>
> 
> {code}
> The underline is missing after character *@*
> !image-2020-07-16-17-54-24-018.png!
> HTML comments have this problem too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4593) src、href attributes which contain character @ lose underline and correct syntax highlighting

2020-07-16 Thread Jira
高浩 created NETBEANS-4593:


 Summary: src、href attributes which contain character @ lose 
underline and correct syntax highlighting
 Key: NETBEANS-4593
 URL: https://issues.apache.org/jira/browse/NETBEANS-4593
 Project: NetBeans
  Issue Type: Improvement
  Components: web - HTML Editor
Affects Versions: 12.0
Reporter: 高浩
 Attachments: image-2020-07-16-17-54-24-018.png

Given the html code below:
{code:html}
https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js";>

{code}

The underline is missing after character *@*


!image-2020-07-16-17-54-24-018.png!

HTML comments have this problem too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4592) Support JavaScript private methods and properties

2020-07-16 Thread Lobzek (Jira)
Lobzek created NETBEANS-4592:


 Summary: Support JavaScript private methods and properties
 Key: NETBEANS-4592
 URL: https://issues.apache.org/jira/browse/NETBEANS-4592
 Project: NetBeans
  Issue Type: Improvement
  Components: javascript - Editor
Affects Versions: 12.0
Reporter: Lobzek


It's almost [2 
years|[https://github.com/tc39/notes/blob/master/meetings/2019-01/jan-30.md#private-fields-and-methods-refresher]]
 since private properties and methods are added to ECMA standard. Starting 
Chrome 84 we are allowed to use both natively in the browser (without Babel). 
Private properties are available in Chrome even starting version 74 (released 
2019-04-23).

Code example:
{code:javascript}
class A {
#privateProp = 0;

#privateMethod() {
return 0;
}
}
{code}
 But in both cases we get parsing error in NetBeans.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4591) Java Maven项目文本配置文件打开乱码

2020-07-16 Thread luke (Jira)


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

luke updated NETBEANS-4591:
---
Attachment: 20200716151959.png
20200716151559.png
20200716151325.png

> Java Maven项目文本配置文件打开乱码
> --
>
> Key: NETBEANS-4591
> URL: https://issues.apache.org/jira/browse/NETBEANS-4591
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 + JDK 8u201 + Apache NetBeans IDE 12.0 LTS
>Reporter: luke
>Priority: Major
> Attachments: 20200716150036.png, 20200716151325.png, 
> 20200716151559.png, 20200716151959.png
>
>
> 在Java Maven项目中,项目编码为UTF-8(项目上右键Propties - 
> Resource设置编码为UTF-8),resource目录下存在一个config.txt,文件编码为UTF-8,No BOM,Windows 
> CRLF,直接打开config.txt,文件乱码,提示错误信息:The file config.txt cannot be safely opened 
> with encoding GBK.Do you want to continue opening it?
> 如果在NetBeans 
> 安装目录/etc/netbeans.conf中配置启动参数【-J-Dfile.encoding=UTF-8】,文件打开正常,没有乱码,但是项目启动后,控制台输出中文信息则会出现乱码。



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4591) Java Maven项目文本配置文件打开乱码

2020-07-16 Thread luke (Jira)


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

luke updated NETBEANS-4591:
---
Attachment: 20200716150036.png

> Java Maven项目文本配置文件打开乱码
> --
>
> Key: NETBEANS-4591
> URL: https://issues.apache.org/jira/browse/NETBEANS-4591
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 + JDK 8u201 + Apache NetBeans IDE 12.0 LTS
>Reporter: luke
>Priority: Major
> Attachments: 20200716150036.png
>
>
> 在Java Maven项目中,项目编码为UTF-8(项目上右键Propties - 
> Resource设置编码为UTF-8),resource目录下存在一个config.txt,文件编码为UTF-8,No BOM,Windows 
> CRLF,直接打开config.txt,文件乱码,提示错误信息:The file config.txt cannot be safely opened 
> with encoding GBK.Do you want to continue opening it?
> 如果在NetBeans 
> 安装目录/etc/netbeans.conf中配置启动参数【-J-Dfile.encoding=UTF-8】,文件打开正常,没有乱码,但是项目启动后,控制台输出中文信息则会出现乱码。



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4591) Java Maven项目文本配置文件打开乱码

2020-07-16 Thread luke (Jira)
luke created NETBEANS-4591:
--

 Summary: Java Maven项目文本配置文件打开乱码
 Key: NETBEANS-4591
 URL: https://issues.apache.org/jira/browse/NETBEANS-4591
 Project: NetBeans
  Issue Type: Bug
 Environment: Windows 10 + JDK 8u201 + Apache NetBeans IDE 12.0 LTS
Reporter: luke


在Java Maven项目中,项目编码为UTF-8(项目上右键Propties - 
Resource设置编码为UTF-8),resource目录下存在一个config.txt,文件编码为UTF-8,No BOM,Windows 
CRLF,直接打开config.txt,文件乱码,提示错误信息:The file config.txt cannot be safely opened 
with encoding GBK.Do you want to continue opening it?
如果在NetBeans 
安装目录/etc/netbeans.conf中配置启动参数【-J-Dfile.encoding=UTF-8】,文件打开正常,没有乱码,但是项目启动后,控制台输出中文信息则会出现乱码。



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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