You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2023/09/22 11:31:00 UTC

[jira] [Commented] (CASSANDRA-18865) Enable unnecessary import from the same package check in IDEs

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

Maxim Muzafarov commented on CASSANDRA-18865:
---------------------------------------------

[~smiklosovic], [~Bereng]

I've updated the configuration for IntelliJ IDEA in order to reflect redundant imports at the "error" level. I have also tried to do the same for NetBeans configuration that stored in the  {{ide/nbproject}} directory, but these options are only available at the global level and can't be saved at the per-project level.

 !Screenshot 2023-09-22 at 13.13.23.png! 

Can you take a look at these changes?



> Enable unnecessary import from the same package check in IDEs
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-18865
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18865
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Normal
>             Fix For: 5.x
>
>         Attachments: Screenshot 2023-09-22 at 13.13.23.png, image-2023-09-18-10-19-15-531.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, the unnecessary imports are disabled by the code style and are not displayed by the IDE with the configuration stored in the project root. See the screenshot below. 
> It seems the following needs to be done:
> - enable this check in the IDE configuration for all supported IDEs;
> - update the documentation;



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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