Skip to content

IntelliJ doesn't like import actions.8398a7.ActionSlackV3 #350

Open

Description

@jmfayard

Action

I'm using ActionSlackV3 which is inside a weirdly named package:

import it.krzeminski.githubactions.actions.8398a7.ActionSlackV3

Everw now and then when I open the script in IntelliJ, it does a Collecting Imports action automatically
and breaks the script by converting it to

import it.krzeminski.githubactions.actions

ActionSlackV3 is then not available anymore

Workaround, if exists

Manually reverting the import or using a typealias

typealias ActionSlackV3 = it.krzeminski.githubactions.actions.`8398a7`.ActionSlackV3
typealias ActionSlackV3Always = it.krzeminski.githubactions.actions.`8398a7`.ActionSlackV3.MentionStatus.Always
typealias ActionSlackV3Custom = it.krzeminski.githubactions.actions.`8398a7`.ActionSlackV3.Status.Custom

Library version

IntelliJ IDEA 2022.1.3 (Ultimate Edition)

Activity

  1. changed the title [-][Bug] IntelliJ doesn[/-] [+][Bug] IntelliJ doesn't like import actions.`8398a7`.ActionSlackV3[/+] on Jul 18, 2022
  2. krzema12 commented on Jul 19, 2022

    @krzema12
    Member

    One thing that comes to my mind is preventing having a digit in front of the package name, e.g. owner8398a7 or u8398a7.

    Anyway, looks like an IntelliJ bug right? Not sure if we should track it here, at least as a library bug - maybe as a problem.
    TODO: browse for such bug in IntelliJ's YouTrack or create such bug.

  3. added
    problemNot really a bug, but something isn't right.
    and removed
    bugSomething isn't working
    on Jul 19, 2022
  4. changed the title [-][Bug] IntelliJ doesn't like import actions.`8398a7`.ActionSlackV3[/-] [+]IntelliJ doesn't like import actions.`8398a7`.ActionSlackV3[/+] on Jul 19, 2022
  5. krzema12 commented on Jul 19, 2022

    @krzema12
    Member
  6. krzema12 commented on Jun 22, 2024

    @krzema12
    Member

    TODO: check if it's still broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    problemNot really a bug, but something isn't right.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions