netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John McDonnell (Jira)" <j...@apache.org>
Subject [jira] [Commented] (NETBEANS-2914) Fix imports not working properly
Date Wed, 04 Sep 2019 22:13:00 GMT

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

John McDonnell commented on NETBEANS-2914:
------------------------------------------

I've definitely seen this issue before but maybe only on my work laptop.  On my home one
I'm not able to reproduce.  

 

 
{noformat}
Product Version: Apache NetBeans IDE 11.1
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
Runtime: OpenJDK Runtime Environment 12.0.1+12
System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb)
User directory: /Users/john/Library/Application Support/NetBeans/11.1
Cache directory: /Users/john/Library/Caches/NetBeans/11.1
{noformat}
 

 

I'll double check in the office tomorrow.

> Fix imports not working properly
> --------------------------------
>
>                 Key: NETBEANS-2914
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2914
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Editor
>    Affects Versions: 11.1
>            Reporter: Eduard Catala
>            Priority: Major
>         Attachments: Captura de pantalla de 2019-07-29 18-55-06.png
>
>
> Steps to reproduce:
> Create a simple project (maven)
> Include a dependency:
> {\{ <dependency>}}
>  {{   <groupId>io.reactivex.rxjava2</groupId>}}
>  {{   <artifactId>rxjava</artifactId>}}
>  {{   <version>2.2.10</version>}}
>  \{{ </dependency>}}
>  
> Create a main method:
>  
> {{public class Main {}}
>  {{   public static void main(String[] args) {}}
>  {{     Single<String> s;}}
>  {{   }}}
>  {{}}}
>  
> Fix imports (works)
> Fix imports twice: The fix imports dialog is shown with incorrect import proposal (view
attached screenshot).
>  
> Having the option "fix imports on save" is a nigthmare!
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

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


Mime
View raw message