GHCi error when running .tidal file on VSCode IDE

Hello team,

I am trying to run my first .tidal file but I am having an issue.

Context:

  • On SuperCollider IDE, I run SuperDirt.start; then s.makeGui;, as I am following this tutorial.

  • These are the quarks I have installed on SuperCollider IDE:

  1. BatLib

  2. Dirt-Samples

  3. FoxDot

  4. SuperDirt

  5. Vowel

  • On VSCode, I have the TidalCycles for VSCodev1.4.1 extension.

  • On VSCode Tidalcycles settings I have the following ghci path set:
    The path or command used to run GHCi.
    /home/milan/.ghcup/bin/ghci

  • I have version 9.4.8 of ghci

milan@milan:~$ pwd
/home/milan
milan@milan:~$ ./.ghcup/bin/ghci
GHCi, version 9.4.8: https://www.haskell.org/ghc/  :? for help
  • On VSCode, I try to run a .tidal file with the following code:
    d1 $ sound 'cp'

  • And I get the following error:

GHCi, version 9.4.8: https://www.haskell.org/ghc/  :? for help
ghci> ghci> Warning: GHCi | 
Warning: GHCi | <no location info>: error:
Warning: GHCi |     Could not find module ‘Sound.Tidal.Context’
Warning: GHCi |     It is not a module in the current program, or in any known package.
Warning: GHCi | 
Warning: GHCi | <interactive>:6:39: error: Not in scope: ‘oLatency’
Warning: GHCi | 
Warning: GHCi | <interactive>:6:55: error: Not in scope: ‘oAddress’
Warning: GHCi | 
Warning: GHCi | <interactive>:6:79: error: Not in scope: ‘oPort’
Warning: GHCi | 
Warning: GHCi | <interactive>:6:111: error: Not in scope: ‘cFrameTimespan’
Warning: GHCi | 
Warning: GHCi | <interactive>:21:38: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.xfadeIn’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:22:42: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.xfadeIn’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:23:42: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.histpan’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:24:39: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.wait’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:25:42: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.waitT’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:26:37: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.jump’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:27:41: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.jumpIn’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:28:42: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.jumpIn'’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:29:42: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.jumpMod’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:30:56: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.mortal’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:31:44: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.interpolate’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:32:48: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.interpolateIn’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:33:39: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.clutch’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:34:43: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.clutchIn’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:35:43: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.anticipate’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:36:47: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.anticipateIn’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:37:41: error:
Warning: GHCi |     Not in scope: ‘Sound.Tidal.Transition.mortalOverlay’
Warning: GHCi |     NB: no module named ‘Sound.Tidal.Transition’ is imported.
Warning: GHCi | 
Warning: GHCi | <interactive>:56:12: error:
Warning: GHCi |     Variable not in scope: streamSetI :: t4 -> t
Warning: GHCi | 
Warning: GHCi | <interactive>:56:23: error: Variable not in scope: tidal
Warning: GHCi | 
Warning: GHCi | <interactive>:57:12: error:
Warning: GHCi |     Variable not in scope: streamSetF :: t3 -> t
Warning: GHCi | 
Warning: GHCi | <interactive>:57:23: error: Variable not in scope: tidal
Warning: GHCi | 
Warning: GHCi | <interactive>:58:12: error:
Warning: GHCi |     Variable not in scope: streamSetS :: t2 -> t
Warning: GHCi | 
Warning: GHCi | <interactive>:58:23: error: Variable not in scope: tidal
Warning: GHCi | 
Warning: GHCi | <interactive>:59:12: error:
Warning: GHCi |     Variable not in scope: streamSetI :: t1 -> t
Warning: GHCi | 
Warning: GHCi | <interactive>:59:23: error: Variable not in scope: tidal
Warning: GHCi | 
Warning: GHCi | <interactive>:60:12: error:
Warning: GHCi |     Variable not in scope: streamSetB :: t0 -> t
Warning: GHCi | 
Warning: GHCi | <interactive>:60:23: error: Variable not in scope: tidal
tidal> Warning: GHCi | 
Warning: GHCi | <interactive>:64:12: error:
Warning: GHCi |     • Syntax error on 'cp'
Warning: GHCi |       Perhaps you intended to use TemplateHaskell or TemplateHaskellQuotes
Warning: GHCi |     • In the Template Haskell quotation 'cp'
tidal> 
  • I see that although I have the TidalCycles for VSCode extension installed, the code from .tidal files do not appear marked, it appears displayed as plain text.

  • I already tried reinstalling the TidalCycles for VSCode extension and restarting the IDE.

Can someone please assist?