[Discussion] Install ghcup (optionally, on user request) via extension?

Aperta
#559 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@fendor ci sta già lavorando.

Dal 25/3/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

type: discussion

Currently we don't and refer the user to the ghcup download homepage, because:

  1. it forces them to get a basic understanding of what ghcup is and how they can use it outside of VSCode
  2. it requires them to set up PATH properly and understand how to run ghc/ghci outside of VSCode
  3. on windows, it also installs msys2 on demand (or lets them point to an existing msys2), sets up cabal config and environment variables
    • ghcup itself currently cannot install msys2, only the powershell bootstrap script

@wz1000 suggested that the extension may install ghcup. The main challenges here are:

  1. how to deal with msys2 on windows
  2. can we run the interactive bootstrap scripts on both linux and windows through the extension?
Lingua principale
TypeScript
Stelle
594
Fork
99
Merge medio
18h 19m
PR unite (30g)
4

Preparare l'ambiente

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 haskell/vscode-haskell

Tutte le issue di haskell/vscode-haskell

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.