[jira] [Commented] (NETBEANS-6114) Code completion for new Classname constructors broken in 12.5

2021-10-13 Thread Michael Bien (Jira)


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

Michael Bien commented on NETBEANS-6114:


i tried to narrow down the issue by reverting completion related code to the 
12.2 tag, then tried to make it compile against HEAD, but I either missed the 
important spot or this issue comes from other side effects.

to find the commit i probably going to have to do a git bisection but this can 
take a while since the whole project needs to be rebuild on every step - i 
don't have time for that atm. Maybe someone with better knowledge of the auto 
completion code has a better idea where to look. If someone could do the bisect 
and post which commit is the cause would help progress this too most likely.

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Minor
> Attachments: code_complete.png
>
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-13 Thread Mitch Claborn (Jira)


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

Mitch Claborn commented on NETBEANS-6114:
-

nb-javac is installed.

The auto complete preferences were imported from 12.0 by the installer. I have 
not changed them since. A screen shot is attached as code_complete.png.

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Minor
> Attachments: code_complete.png
>
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-13 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-6114:
---

Is nb-javac installed?

Have any of the Autocomplete preferences been changed in any way?

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Minor
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-11 Thread Michael Bien (Jira)


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

Michael Bien commented on NETBEANS-6114:


then we are not talking about the same issue. If you have no completion results 
at all, please open a new issue and provide details how to reproduce it. 
Including which JDK version NB is running on and which JDK version / language 
level the project is using. Thanks.

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Minor
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-11 Thread Peter Hendriks (Jira)


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

Peter Hendriks commented on NETBEANS-6114:
--

[~mbien] Actually _"Its just an inconvenience to press ctrl+space again."_  
This I cannot reproduce. On Mac (OSX 11.6) I can press ctrl-space 100 times but 
nothing happens now.

So also typing the name of a class / function / instance half and pressing 
ctrl-space does nothing and you only find out if you spelled correctly after 
you finished typing and see a red line below or not. 

I'd say this is some basic functionality of a good IDE that preferred users to 
start using NB over Notepad++

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Minor
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-11 Thread Michael Bien (Jira)


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

Michael Bien commented on NETBEANS-6114:


please leave this issue at minor priority. Its just an inconvenience to press 
ctrl+space again. The actual completion is working fine.

I can't reproduce 12.4 working fine, I leave it at 12.3 causing the regression.

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Major
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-11 Thread Peter Hendriks (Jira)


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

Peter Hendriks commented on NETBEANS-6114:
--

What is the procedure for getting this on the agenda? Voting in the top-right 
menu?

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Major
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-11 Thread Peter Hendriks (Jira)


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

Peter Hendriks commented on NETBEANS-6114:
--

I would even say since 12.5, in 12.4 it worked fine for me (on mac)

Issue: ctrl-space does not trigger autocomplete anymore. Autocomplete is 
working though when pressing . after a class name. 

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Minor
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-11 Thread Michael Bien (Jira)


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

Michael Bien commented on NETBEANS-6114:


regression since 12.3. 12.2 still worked fine.

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3, 12.4, 12.5
>Reporter: Mitch Claborn
>Priority: Minor
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-10 Thread Michael Bien (Jira)


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

Michael Bien commented on NETBEANS-6114:


completion of
{code:java}
new Array{code}
->
{code:java}
new ArrayList<>{code}
causes the popup to disappear while it should suggest the next completion for 
the constructors. Would be good to know from which version this behavior 
started, to take a look at the PRs or do a git bisect, unless [~jlahoda] can 
tell right away where to look for this :)

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
>Reporter: Mitch Claborn
>Priority: Minor
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-09 Thread Mitch Claborn (Jira)


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

Mitch Claborn commented on NETBEANS-6114:
-

I did try clearing the cache - had no effect.

I did not find any similar tickets, nor did I receive any relevant comments on 
the user mailing list.

I don't understand the question about Refactoring context - not sure how that 
applies here.

I'm not referring to creating a new class, but to typing Java code in an 
existing file. Here is a more step by step of what happens.

The final code will be

{{PartnerFunctions stuff = new PartnerFunctions(this);}}

I type *PartnerFunctions stuff = new Partner* and then press ctrl + space. A 
code completion pop up appears.  I use the arrow keys to select the correct one 
and press Enter. At this point, the 12.0 behavior was to automatically show a 
code completion pop up listing the constructors of PartnerFunctions. In 12.5 I 
have to press ctrl + space for the list of constructors to appear.

It's not a huge problem, but it definitely throws off the rhythm of my coding.

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
>Reporter: Mitch Claborn
>Priority: Minor
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



--
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-6114) Code completion for new Classname constructors broken in 12.5

2021-10-09 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-6114:
---

Did you try clearing out the user cache folders and try it then?

Are any other similar tickets?  I see a lot of ones on “slow code completion” 
in previous issues.  Could this be related to any of these?  

Are these new elements those included in “Refactoring” context?  

When clicking a “New Class” from a given package or project, which brings up 
dialog to do so, do the options there provide some of the needed constructor 
features needed?

> Code completion for new Classname constructors broken in 12.5
> -
>
> Key: NETBEANS-6114
> URL: https://issues.apache.org/jira/browse/NETBEANS-6114
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
>Reporter: Mitch Claborn
>Priority: Minor
>
> I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in 
> the middle of the class name to finish the class name, I'm pretty sure that 
> NB 12.0 was automatically showing the various constructors in a code 
> completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. 
> The behavior from 12.0 should be restored, or at least create an option to 
> control this behavior.



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