Skip to content

Releases: BetterThanTomorrow/joyride

v0.0.14

31 May 20:25
@PEZ PEZ
Compare
Choose a tag to compare
  • Add some logging when Joyride starts and finishes activating

v0.0.13

30 May 08:02
@PEZ PEZ
Compare
Choose a tag to compare

v0.0.12

18 May 10:34
@PEZ PEZ
Compare
Choose a tag to compare

A demo showing how nice the Promesa API is:

paste-replaced-joyride-2.mp4

v0.0.11 - May 15 2022

v0.0.10 - May 15 2022

15 May 09:10
@PEZ PEZ
Compare
Choose a tag to compare

Here there is no Workspace script folder content, and two menu options for creating some content are offered.

image

A short demo of Getting Started:

  • Installing Joyride
  • Opening the User activate.cljs script
  • Editing it to not show the Joyride output channel on startup
  • Issuing the command Joyride: Run Workspace Script...
  • Selecting to create a ”Hello Workspace” script example, which also opens the file
  • Starting the Joyride REPL and connecting it (Calva assumed to be installed)
  • Using the REPL to evaluate code in the file, controlling VS Code
joyride-getting-started-content.mp4

v0.0.9 - May 11 2022 - Getting Started

v0.0.8

v0.0.7 - May 8 2022

08 May 16:46
@PEZ PEZ
Compare
Choose a tag to compare

What's Changed

  • Activation scripts by @PEZ in #35
  • Add get-extension-context to joyride.core by @PEZ in #34

Here's an example activation script (from the examples directory) that also uses the extension-context facility:

(ns activate
  (:require [joyride.core :as joyride]
            ["vscode" :as vscode]
            [promesa.core :as p]))

(println "Hello World, from Workspace activate.cljs script")

(defonce !db (atom {:disposables []}))

;; To make the activation script re-runnable we dispose of
;; event handlers and such that we might have registered
;; in previous runs.
(defn- clear-disposables! []
  (run! (fn [disposable]
          (.dispose disposable))
        (:disposables @!db))
  (swap! !db assoc :disposables []))

;; Pushing the disposables on the extension context's
;; subscriptions will make VS Code dispose of them when the
;; Joyride extension is deactivated.
(defn- push-disposable [disposable]
  (swap! !db update :disposables conj disposable)
  (-> (joyride/get-extension-context)
      .-subscriptions
      (.push disposable)))

(defn- my-main []
  (clear-disposables!)
  (push-disposable
   ;; It might surprise you to see how often and when this happens,
   ;; and when it doesn't happen.
   (vscode/workspace.onDidOpenTextDocument
    (fn [doc]
      (println "[Joyride example]" 
               (.-languageId doc) 
               "document opened:" 
               (.-fileName doc))))))

(when true
  (my-main))

Full Changelog: v0.0.5...v0.0.7

v0.0.6 May 8 2022

08 May 16:38
@PEZ PEZ
Compare
Choose a tag to compare

What's Changed

  • Add get-extension-context to joyride.core by @PEZ in #34

Full Changelog: v0.0.5...v0.0.6

v0.0.5 May 6 2022

06 May 20:14
@PEZ PEZ
Compare
Choose a tag to compare