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
2
votes
1 answer

Go to any file in Light Table

In Sublime Text you can go to any file using ctrl+p and entering a file name. Is there a similar functionality in Light Table? I understand how to edit user keymap; just couldn't find the relevant command.
Derek Chiang
  • 3,330
  • 6
  • 27
  • 34
2
votes
3 answers

How can I make Light Table automatically close curly braces and square brackets?

If I type ( I get () but that doesn't work for { or [. Any Idea why? What should I do to make it work? BTW, I am using a French Canadian keyboard (Mac OSX). Thanks!
leontalbot
  • 2,513
  • 1
  • 23
  • 32
2
votes
1 answer

Update browser when file change in LightTable

I start using LightTable and as I understand there is a way to automatically update the browser when my ClojureScript source is changing. But I cant figure it out how to achieve this.
Andreas Köberle
  • 106,652
  • 57
  • 273
  • 297
2
votes
1 answer

How do I override a default keybinding in LightTable?

The default.keymap has pmeta-shift-s bound to :save-as but I would like to rebind it to :save-all. I added the following to my user.keymap: ;; Remove the default keybinding {:- {:editor {"pmeta-shift-s" [:save-as]}}} ;; Add my keybinding {:+ {:app…
dOxxx
  • 1,540
  • 1
  • 12
  • 28
2
votes
2 answers

Clojure (range) and (iterate inc 0) difference on def -light table

This code works: (def n1 (range)) (println (->> n1 (take 30)) ) This code does not work: (def n2 (iterate inc 0)) (println (->> n2 (take 20)) ) A modified code (n2 is function) works: (def n2 #(iterate inc…
user1028880
2
votes
1 answer

Python Script not executing in Light Table

I made a python script game battleship, but I can't seem to execute it in Light Table. Is it supposed to pop up a terminal running my script? Here is the script: [script elided because it works under CPython2.7]
Dbz
  • 2,721
  • 4
  • 35
  • 53
2
votes
1 answer

How to connect Overtone through Light Table IDE

I'm using Windows 7 64 bit, light table 0.3.9, and lein 2.2.1, but I have problems connecting to Overtone from Light Table. clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: overtone.live
crazy_phage
  • 550
  • 9
  • 28
1
vote
1 answer

Font in Lighttable is not displaying properly

I have fresh installation of Lubuntu 18.04 and downloaded the newest version of Lighttable. When I open the editor, the displayed fonts has lots of artifacts, but is readable. The font in the file dialog is made up entirely of those unicode place…
Frederik Claus
  • 574
  • 4
  • 15
1
vote
1 answer

How to "remove exception" from Light Table editor using keyboard only?

In Light Table version 0.8.1, say I'll evaluate clojure code like (resolve inc) and get an exception like in the picture. Now I can't see anything else on the whole screen. I can right click it, choose "remove exception", but that means I have to…
Igand
  • 1,161
  • 1
  • 15
  • 25
1
vote
0 answers

Light Table editor can't eval defprotocol in cljs source file

I use Windows 10, first I create project via Lein new mies then I add some content in core.cljs (+ 1 2) (defprotocol MaybeMutable (mutable? [this] "Returns true if the value is mutable.")) I select code above and hit ctrl + enter to eval the…
1
vote
1 answer

How do I prompt the user for input using javascript in Light Tables?

When using Light Tables to run my JavaScript program, I am trying to prompt the user for input using the "prompt" command. I get the error Error: prompt() is and will not be supported. but I know it is possible because there are videos of people…
1
vote
1 answer

How to bind a key combination to a command?

I have recently run into the following use case in LightTable: I want to execute a command (for instance, duplicate a line) I press "Ctrl-Space" and a list of commands shows up I select the command I need I want to repeat this command often, but…
0x60
  • 3,104
  • 1
  • 15
  • 18
1
vote
1 answer

How do you 'jump to definition' in a fresh install of LightTable, without setting your hair on fire

I tried ctrl- which was suggested somewhere online, but that makes the font smaller. (ctrl+ though does not undo that, so I had to restart LightTable to get back to normal). Pressing ctrl enter I can manage to write and use "jump to definition", but…
matanster
  • 15,072
  • 19
  • 88
  • 167
1
vote
0 answers

Elm language documentation inside Atom editor like in LightTable

Is it possible to get documentation for Elm language like in this screencast, which uses LightTable? Specifically: panel for language documenation documentation for single function
rofrol
  • 14,438
  • 7
  • 79
  • 77
1
vote
1 answer

how to search for a string pattern in the current file and list the occurrences with lighttable?

I would like to search for a string pattern and also get the list of occurrences below it in the light-table. I can search the whole work-space and get the list for me of the occurrence but how do I do it for a single file? in a single file search,…
coolstoner
  • 719
  • 2
  • 9
  • 20