Questions tagged [lighttable]

Light Table is a multi-platform interactive IDE that lets you modify running programs.

Light Table is a multi-platform interactive IDE that lets you modify running programs.

It provides the real time feedback to not only answer questions about code, but to understand how programs really work.

Website : http://www.lighttable.com/

137 questions
4
votes
1 answer

How can I dynamically develop interactively against a HTML page in LightTable?

I have tried the LightTable and I can run Clojure commands just fine, but I can't figure out how to show a webpage within the IDE and execute ClojureScript commands against the DOM of the webpage interactively. Update I will start to make a video…
yazz.com
  • 57,320
  • 66
  • 234
  • 385
3
votes
3 answers

How to execute clojure function with no arguments

I have a clojure function defined which takes no arguments. example (defn m [] ...) How do I execute this function in light table.. (m) or(m nil) or anyway. using (m) and (m nil) I didn't get any output
joey
  • 259
  • 1
  • 13
3
votes
1 answer

Difference between time of completion in LightTable and lein REPL

I'm facing strange difference within time of completion between lein repl and LightTable Instarepl(LTIR). For example the following code: (defn lazy-primes ([] (cons 2 (lazy-seq (lazy-primes 3 [ 2 ])))) ([current calculated-primes] (loop […
Roman Makhlin
  • 973
  • 1
  • 11
  • 27
3
votes
4 answers

Clojure - get data inside vector of vectors

I have a vector of vectors that contains some strings and ints: (def data [ ["a" "title" "b" 1] ["c" "title" "d" 1] ["e" "title" "f" 2] ["g" "title" "h" 1] ]) I'm trying to iterate through the vector and return(?) any rows that contain a certain…
Touchdown
  • 494
  • 4
  • 19
3
votes
1 answer

How to open Command window in light table while in editor?

I am using light table for python development. While typing in the editor if I want to open the command window using ctrl-space, it doesn't work. I have to first press Alt-V to open the command window from the menubar at the top. Is there another…
Shaun
  • 313
  • 3
  • 9
3
votes
1 answer

Clojure: having difficulty applying protocol to 2 types successfully

Other is a more complex version (wrapping) of What. It does what What does but much more. I took care to define 2 namespaces. (ns what) (defprotocol IWhatever (whatever [this])) (deftype What [] IWhatever (whatever [this] (str…
Mario
  • 6,572
  • 3
  • 42
  • 74
3
votes
1 answer

How to stop light table using spaces instead of tabs

How do I stop Light Table IDE from replacing tabs with spaces? I have tried adding the following line the editor behaviours in user.behaviours but it hasn't worked. (:lt.objs.editor/tab-settings true 4 4) I would like to know what I am doing wrong.
Pete
  • 33
  • 4
3
votes
1 answer

LightTable Set on-change inline eval for javascript

How can I set on-change behavior in light table to be inline evaluation for JavaScript ? The auto-complete in user settings behavior page has appended ((:lt.objs.editor/on-change )) but I need to know how to make light table do on-change inline…
Sameh K. Mohamed
  • 2,323
  • 4
  • 29
  • 55
3
votes
1 answer

trying to use lighttable with clojure offline - windows 7 w/o internet

LightTable seems to setup its own clojure lein and maven system to be a REPL. The computer I am trying to use it on does not have internet access. Is there a way for me to manually download the needed plugins and include them in light table…
user1026169
  • 5,345
  • 5
  • 21
  • 35
2
votes
1 answer

Cannot connect via Lighttable to clojure

Just started up with clojure and am a really beginner at clojure. I have downloaded leiningen and i am able to compile source code. However, I am trying to follow a tutorial using lighttable and when i am trying to connect (ns…
2
votes
1 answer

Why are consecutive spaces in the result of an evaluated expression collapsed in Light Table?

Light Table appears to collapse multiple consecutive spaces. Expected behavior: (str "hello " "there") => "hello there" Actual behavior: (str "hello " "there") => "hello there"
Atte Juvonen
  • 4,922
  • 7
  • 46
  • 89
2
votes
3 answers

Turn off autocomplete in Light Table

How do I turn off autocomplete in Light Table? Might user.behaviors looks as so [ [:app :lt.objs.style/set-skin "dark"] ;; Automagically closes parentheses [:app :lt.objs.settings/pair-keymap-diffs] [:editor :lt.objs.editor/wrap] [:editor…
Astrid
  • 1,846
  • 4
  • 26
  • 48
2
votes
1 answer

Is it possible to enable MathJax in Light Table MarkDown?

I'm using Light Table to edit MarkDown, using the lt-markdown plugin. It doesn't seem to support MathJax. Is there a way to enable it?
Ólavur
  • 410
  • 4
  • 15
2
votes
1 answer

How to tie a string replace to a command in Light Table

My work wants us to use left and right double quotes while typing documentation. I want to use the LaTeX style ones because I write papers in LaTeX often and I already type them automatically. I am new to clojure but did manage to find this: (def…
Darrell
  • 46
  • 5
2
votes
1 answer

LightTable REPL returns nil instead function return value

Why LightTable does not show the functions results instead it returns nil? (defn greet ([] (greet "you")) ([name] (print "Hello" name))) #'user/greet (greet) nil (greet "World") nil
user977828
  • 7,259
  • 16
  • 66
  • 117
1 2
3
9 10