IntelliJ doesn't like import actions.`8398a7`.ActionSlackV3

Aperta
#350 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions, kotlin

Direzione di ricerca

Reproduce the issue in IntelliJ IDEA 2022.1.3 using the import for it.krzeminski.githubactions.actions.8398a7.ActionSlackV3 and let Collecting Imports run. Compare the rewritten import with the original and determine whether the library's generated package or the IDE behavior is responsible. Done means the ActionSlackV3 import remains usable after import collection, or the limitation is documented.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

problem

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)

Lingua principale
Kotlin
Stelle
664
Fork
30
Merge medio
4g 19h
PR unite (30g)
5

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di typesafegithub/github-workflows-kt

Tutte le issue di typesafegithub/github-workflows-kt

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.