Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LightTable: How to format code?

Tags:

lighttable

How do you format code in the LightTable IDE? I'm talking about the equivalent of Ctrl + Shift + F in Eclipse.

like image 650
Jire Avatar asked Sep 05 '13 23:09

Jire


People also ask

How do you run a code in Light Table?

###Evaluating with Python To let Light Table know your code is in Python, save the file with a . py extension or use the command pane to find Editor: Set current editor syntax and choose Python from the list. Once a file's syntax is set to Python, Light Table will use the Python interpreter to evaluate your code.

Does Light Table support Python?

What languages does Light Table support? Light Table's general editor capabilities will work with most languages out there, but it has deeper language integrations (things like inline eval) for Clojure, ClojureScript, Javascript, Python, HTML, and CSS. More languages are available via plugins in the future.

How do I install a Light Table in Windows?

Install a PluginOpen the command pane and find the command "Plugins: Show Plugin Manager". In the manager, search for a plugin. Hover over a search result and click its install button.


1 Answers

You can do this by holding CTRL + SPACE and then searching for "Smart Indent".

like image 172
Jire Avatar answered Sep 23 '22 04:09

Jire