portal

Eric Uitbeijerse 2022-12-24T06:49:19.293779Z

Trying to run portal in VS Code (on Windows). When I use the below it opens portal in the browser instead of VS Code. Any tips on how to get it to open it inside VS Code itself?

(ns aoc22-day8.core
  (:gen-class)
  (:require [clojure.string :as str]
            [portal.api :as p]))

(def portal (p/open {:launcher :vscode}))

skylize 2022-12-24T13:28:26.030379Z

Did you install the Code extension? https://marketplace.visualstudio.com/items?itemName=djblue.portal

djblue 2022-12-24T21:24:01.438809Z

I think the keyword is :vs-code

Eric Uitbeijerse 2022-12-24T23:02:17.309439Z

Yep, I did install the extension and thx djblue, that did the trick (I should have checked more carefully). Thx for the help.