Skip to content

pez-gh-test/pirated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calva in GitPod

This is a test/demo project for using Calva in GitPod.

Usage

Installation: Just kidding, there is no installation!

  1. Click the ”Use this Template” button, name and create your copy of this project.
  2. Reading this from your newly created copy? Awesome. Open this link: https://gitpod.io/from-referrer/
    • Using Safari?Then the link probably won't work. Instead prepend the repository URL with `https://gitpod.io/#` and load that page.
    • This will open the repository in a Gitpod workspace in the browser. There will be an instance of VS Code and a VNC window there.
    • NB: If you don't have a Gitpod account, use the option to Sign-up with GitHub.
  3. In the VS Code instance open the VS Code command palette and use the command Start a REPL in your Project and Connect (aka Jack-in).
    • Choose the deps.edn project type.
  4. Hack away! If this is all new and confusing, see New to Clojure below first. Even if you are not new to Clojure, that guide will introduce you to Calva enough to figure this project out.

See a demo first?

Fair enough!

gitpod-vnc-clojure-swing.mp4

javax.swing Example

When you start this as a Gitpod workspace, it automatically starts a VNC server, so that you can hack out desktup GUI apps. By default it opens a VNC viewer integrated in VS Code. You can pop it out to a separate browser window, if you like.

There's a small swing Hello World example in src/pez/lab/swing_example.clj. You can also just do something like this to open a Swing window:

(comment
  (require 'clojure.inspector)
  (clojure.inspector/inspect (range 7))
)

New to Clojure?

There is not much guidance in this repository for Clojure beginners. You might want to check out this guide first: https://calva.io/get-started-with-clojure/

License

The code in this project is open and free. 🍺🗽

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published