Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: IntelliJ IDEA not detected on macOS when the Toolbox app bundle has a version in its name

Aperta Adatta ai principianti
#15,933 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Sypher760-gif ci sta già lavorando.

Dal 5/10/2026.

  • #16246 di @Sypher760-gif — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
75/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
macos, typescript
Ambito
desktop

Direzione di ricerca

Inizia da packages/shared/src/editor.ts, in particolare da resolveEditorCommand e dalla gestione esistente in Windows delle cartelle di installazione con versioni. Controlla come vengono risolti i percorsi macOS per IntelliJ IDEA, PyCharm e Rider. Il lavoro è completato quando vengono rilevate le installazioni Toolbox con nomi di bundle applicativi versionati e gli script shell rinominati, così che T3 Code possa aprire il progetto.

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

Descrizione

bug via-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

packages/contracts or packages/shared

Steps to reproduce
  1. On macOS, install IntelliJ IDEA through JetBrains Toolbox so the app bundle is named with its version, e.g. ~/Applications/IntelliJ IDEA 2026.1.4.app.
  2. Have the Toolbox shell script named anything other than idea. Toolbox generated idea1 for me.
  3. In T3 Code, try to open a project in IntelliJ IDEA.
Expected behavior

IntelliJ IDEA is detected and opens the project.

Actual behavior

T3 Code reports that IntelliJ IDEA can't be found, even though it's installed.

resolveEditorCommand in packages/shared/src/editor.ts first checks for idea on PATH. On macOS, it then only tries these exact paths:

  • {~/Applications,/Applications}/{IntelliJ IDEA,IntelliJ IDEA CE,IntelliJ IDEA Ultimate}.app/Contents/MacOS/idea (L42–L45)
  • ~/Library/Application Support/JetBrains/Toolbox/scripts/idea (L58)

A Toolbox bundle with the version in its name doesn't match the first check, and a renamed script doesn't match the second. The Windows branch already handles versioned folders by listing the install directories and matching entry === name || entry.startsWith(`${name} `) (L75). macOS doesn't do this. PyCharm and Rider have the same problem.

Impact

Minor bug or occasional failure

Version or commit

T3 Code (Nightly) 0.0.46-nightly.20261005.2667. I confirmed the code path on main @ f391794a.

Environment

macOS 26.6.1, JetBrains Toolbox 3.6.2, IntelliJ IDEA 2026.1.4 (installed through Toolbox)

Workaround

In Toolbox, open IntelliJ IDEA's ⋮ menu, go to Settings → Configuration → Shell script name, and set it to idea. Then restart T3 Code.

Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
7h 14m
PR unite (30g)
201

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 pingdotgg/t3code

Tutte le issue di pingdotgg/t3code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.