18 ms·
Light Table 0.4 released
- Scaevolus 13y agoAside: The 3d js demo (http://threejs.org/examples/webgl_buffergeometry.html http://threejs.org/examples/webgl_buffergeometry.html) is close to a worst-case input for a video encoder, which is why the youtube video looks so bad. Video codecs generally encode motion first ("move this rectangle left 10 pixels"), and then fix any residual errors ("apply this patch"). It is _far_ more efficient to transmit motions and residuals than an entire frame. This demo actively resists motion encoding, since a 3d volume shifting perspective is approximated poorly by a linear shift. Almost every pixel is changing each frame, in an unpredictable manner. Youtube doesn't allow the encoder enough bits to represent the actual image well, and the result is a blurry mess with occasional flashes of clarity when the encoder transmits a keyframe (an entire picture, added to allow fast seeking).
- rayiner 13y agoIt would be great to get a common lisp supported in Light Table...
- ibdknox 13y agoPeople still use common lisp? ducks In all seriousness, the plugin architecture will certainly allow for exactly that to happen. If you're interested in trying your hand at adding CL, I know a guy who could probably sneak you into the beta when it turns private ;)
- dman 13y agoI stopped serious use of common lisp about 5 years ago - but jokes about lisp not seeing serious use still hurt. :)
- ibdknox 13y agoI was actually suggesting that I can't believe people still use CL when Clojure exists... I await my lynching. :D
- pnathan 13y agoWell, since you threw that out there... ...I can't believe that people use Clojure-the-language over CL-the-language. It seems to have no reason to exist except as a "I hate parens" Lisp-1. The interesting parts of Clojure (i.e., the sequence abstraction design) are replicatable in CL as a library. Extant issues (e.g., cl's map not mapping over vectors)* can be abstracted over with other tools. While the JVM interop is compelling, I don't understand why the libraries and macros to create similarly compelling interop over ABCL weren't developed instead. Bluntly, I don't know why Clojure was created as a new language instead of an advanced library over Common Lisp. I appreciate the interest it's been able to drum up in the Lisp family, and I deeply appreciate the libraries people have written for it. *: I was wrong: map goes over a variety of types: mapcar, mapcan, etc, are common and only operate on lists. Ignorance uncovered and filled in by knowledge.
- gajomi 13y ago>Bluntly, I don't know why Clojure was created as a new language instead of an advanced library over Common Lisp I think you basically answered your own question :) >JVM interop is compelling
- pnathan 13y agoBut the thing is, Armed Bear Common Lisp (ABCL) already offers JVM interop. If someone sat down and really massaged it, the currently clunky interop there could be just as shiny as Clojure.
- loumf 13y agoRich Hickey's previous projects to clojure were all about Lisp<->JVM interop (see http://foil.sourceforge.net/ http://foil.sourceforge.net/, but there is at least one other) -- so I think he found limitations to what you can do.
- rayiner 13y agoI'll use Clojure when it gets LOOP.
- nickik 13y agoIsn't Loop just a big macro? Write it if you want it.
- samatman 13y agoWell here's where you might start: https://github.com/tayssir/cl-loop https://github.com/tayssir/cl-loop Although the community seems to prefer the port of Iterate: https://github.com/nathell/clj-iter https://github.com/nathell/clj-iter
- nefasti 13y agoIf you need someone to try a hand in supporting ruby, give me a hit, would gladly try to accomplish it.
- momo-reina 13y agoI can't wait for that to happen, I learned Emacs for the sake of CL development... I was actually thinking of learning Clojure just to check out LT.
- epaga 13y agoThis is a huge release - so many awesome new features. The Python integration alone has been one of the things I've been waiting for to really dive into Light Table and give it a spin for longer than 10 minutes. Congrats to the Light Table team!
- schabernakk 13y agoVery impressive demo. So happy to finally see python support. What is used for the javascript rendering? I assume since they are using the chrome dev tools they are embedding chromium into Lighttable?
- jiaaro 13y agoThey've written in the past that the UI is essentially a webview, so I think that's a fair assessment edit: also, I've successfully nuked the app at least once by evaluating document.write (or similar) in the IDE. heh
- zimbatm 13y agoHard to tell until they release the source code (which is supposed to happen after the 0.4 release). The whole UI is actually rendered HTML using WebKit or a derivative for sure.
- Historiopode 13y agoI am fairly sure that Light Table is a node-webkit[1] app, so your assumption should be correct. [1]https://github.com/rogerwang/node-webkit https://github.com/rogerwang/node-webkit
- jiaaro 13y agoI look forward to writing (essentially vim-) plugins for light table in javascript. Some day soon? Extensions were mentioned on the blog about a year ago (http://www.chris-granger.com/2012/04/15/light-tables-numbers/ http://www.chris-granger.com/2012/04/15/light-tables-numbers...), but as far as I can tell, they're still not here yet :(
- ibdknox 13y agoThe plugin architecture is something we have to be deliberate about given that it allows you to do literally anything we can do. I talk a little bit about the plan moving forward at the bottom of the post, but gist is that there's going to be one more public release, and then the private beta (for KS folks) is going to focus on really hammering out how we expose LT to plugins.
- Meai 13y agoIs there a way to preorder in order to get into the private beta as well? I wasn't with the Kickstarter crowd. If plugins are as powerful as you say they are, I'm very interested.
- smweber 13y agoYeah, I found myself visiting the Kickstarter page today hoping there was some way I could fund the project months after it completed. Needless to say I couldn't. Seems like it would be a useful feature for projects like this - I doubt they couldn't find a use for more money.
- Cogito 13y agoThe Double Fine Adventure guys are doing that, for an example of how it could work. They call the second round supporters 'slacker backers' [0]. I would also pre-order now if I could. [0] http://www.doublefine.com/dfapay/ http://www.doublefine.com/dfapay/
- mheathr 13y agoCan you comment in generalities on the scope of changes to LT's behaviour end users can expect to be possible by design, e.g. the entire stack is modifiable to the extent that Emacs (even the underlying elisp interpreter) is modifiable, only via a limited API like Sublime Text 2 has (which results in end users being reliant on major changes coming from the top down), or something else entirely?
- johncoltrane 13y agohmm… no mention of search/replace? Whatever, I'll try it anyway.
- deleted 13y ago[deleted]
- ibdknox 13y agoActually we haven't implemented replace yet. There's a few things like that that will either end up in 0.4.* releases or 0.5 at the latest.
- mattlivingston 13y agoAlso, multi-line selection, please? =) That's probably the main thing that's keeping me in ST2 right now...
- thomasahle 13y agoYeah, multi selection has pretty much replaced my use cases for find/replace. And I work faster that way too.
- KingMob 13y agoIf you're taking votes, I'd also like to vote for this. Having multiple cursors is like coding on crack.
- elyase 13y agoThis, Sublime Text is actually in my view a good looking and fast editor, with plugin support and multiselection. LT is now missing multiselection.
- johncoltrane 13y agoContrary to the others I don't care for multiselection. But search/replace… even notepad, textedit and nano have it. Anyway, I was initially convinced you'd never deliver and you consistently proved me wrong during the last months. Bravo and good luck!
- thomasahle 13y agoThe integration with Chrome is a nice way to get information about objects in JavaScript. Are you planning to similarly make run/debugging powered auto completion for python?
- moondowner 13y agoJust started digging in Clojure + ClojureScript, so definitely trying Light Table as well!
- voidlogic 13y agoI dream of the day Light Table has Go support.
- ibdknox 13y agoYou know, I looked into this briefly and based on the way go works, it's not clear to me how useful it would be. Go doesn't really have a good REPL, which is an indication. If there was a decent way to handle dynamic evaluation though, it could certainly be added, and without too much issue I would imagine :)
- voidlogic 13y agoGo compiles so fast you can just pretend there is dynamic eval. People sometimes use the "go run" command to compile and run Go source in one operation, that is not really too different from just invoking an interpreter. Go provides a lot of tools to parse Go source, I imagine between that, Go's fast compiler and GDB support it wouldn't be as hard as many compiled langs to support. Also if I am figuring out something OBO (off by one) prone sometimes I use this to double check myself: http://play.golang.org/ http://play.golang.org/
- ibdknox 13y agoThe big difference is that you lose state every time you do that, the main goal with the eval in LT is to prevent that :)
- voidlogic 13y agoIf there is a way to consistently inject the input to the program (to lead to the same state), I would be OK with editing a Go program to cause (behind the scenes): 1. moving a break point 2. recompile 3. run 4. stopping at new break point I think that happening behind the scenes could be made to appear like live editing in other languages. Go is fast enough compiling and fast enough executing that I think it could be pulled off as not appear laggy as well. But maybe I'm wrong and I don't understand well enough how LT handles other langs.
- podviaznikov 13y agoHuge changes. Can totally use LT as main dev env for JS and Clojure code now. Thank you Chris for this release
- adlpz 13y agoHoly shit, basically. I mostly do Python and JS, so this means that now Light Table is pretty much THE editor for me. Huge update. I can only hope for eventual PHP integration so it's useful to me also at work.
- antihero 13y agoIs there a way to have it evaluate all the Python in my file so I don't have to go and manually evaluate each function? Also my "return" is not updated automaticall.
- ibdknox 13y agoit should eval it all for you the first time you open the file, but cmd/ctrl+shift+enter should eval the whole file. Though it won't return results for each individual thing. Alternatively you can also select the entire file and press cmd/ctrl+enter to eval the selection.
- metaphorm 13y agolooking even more awesome. super excited to see Python support now.
- mintplant 13y agoNow that source maps are in CoffeeScript, any chance of future support? Also, vim bindings?
- dfj225 13y agoThere are vim bindings. From the docs: Use the "Vim: Toggle vim mode" command from the command tab.
- methehack 13y agoI wonder if will it be possible to associate user defined clojurescript commands with arbitrary vim keybindings? That would be great! Also, I wonder if there will be support for user defined vim like operators and motions... Or, alternatively, if the plugin architecture will be low level enough to support a vim "emulation" plugin. Also -- very, very exciting work overall -- visionary even. Kudos!
- celerity 13y agoI wonder how useful these are. It seems like a lot of the functionality of Light Table is accessed through mouse interactions. With that said, I could still use some emacs bindings :)
- juskrey 13y agoHmm, I can not find that neat functions drag-drop layout from video...
- cnp 13y agoAwesome... but PLEASE ditch that vertical side menu. It's one of the worst UX decisions I've ever seen and literally gives the user a headache. Pleaseeeeeee
- sravfeyn 13y agoI am very excited to play with Python eval on Light Table. I am on Windows. Python PATH is not set. So I had set it in Command-line. cmd was able to execute Python, but light-table is not able to detect Python PATH. How can I set Python PATH in Light Table on Windows?
- garg 13y agoYou can set the environment variables in windows 7 by right clicking Computer then click on properties > Advances system settings (on the left), and then click on Environment Variables. Scroll down in the System Variables box, and edit Path. Add ;C:\<path to python> at the very end.
- thecoffman 13y agoVery cool! Its great to see this progressing at such a fast rate, and I'm glad I got the chance to be a part of the Kickstarter. Are there any plans for Ruby support? I know Python was first as it was the stretch goal, but Ruby has been mentioned in passing a couple of times.
- james33 13y agoI really want to use this, but unfortunately the performance is still painfully lacking. Excited for this to get a little further along and more stable.
- amirmansour 13y agoI will be watching Light Table much more closely after finally seeing the Python support. Awesome work!
- duiker101 13y agoI have to admit it, I never expected Light Table to be able to reach this point. Kudos to anyone involved.
- steevdave 13y agoI'm not near any machines of mine that aren't Chromebooks. Does anyone know if the libudev.so.0 stuff is fixed? I don't see any mention of it in the change log, but I was really hoping they would have a fix for those of us not on Ubuntu so we don't have to symlink the new libudev.so.1 to so.0 just to use light table (yes other hacks exist, this was the most prevalent one...)
- ibdknox 13y agounforunately no. It's an issue carried over from node-webkit[1] and I'm not really a Linux guy :/ Someone could work on a fix for node-webkit, though and I'd pick it up in a heartbeat [1]: https://github.com/rogerwang/node-webkit https://github.com/rogerwang/node-webkit
- steevdave 13y agoThanks for the quick response. I'll try to find some time to look into this. I know Chromium links to libudev for input device support so that it can do things like gestures, but I don't know that LightTable supports (will support?) them. It may be possible to do away with that linking but I may have to dig into the chromium code to do it.
- ibdknox 13y agoI think Node uses it too and there's no way around that one I don't think.
- pjmlp 13y agoSmalltalk and Lisp Machines are back! Nice work.
- swah 13y agoI hoped ST3 would replace Emacs, but Light Table seems more like it now...
- mheathr 13y agoSublime Text will never be a plausible replacement for Emacs as its design does not encompass all of possibilities a lisp machine provides. Sublime Text is a plausible replacement for any tool which only targets text editing though. It has many converts or new users whose use case is only a text editor though, so to that extent Sublime Text has been successful.
- swah 13y agoI don't understand what you mean. ST3 is scripted in Python. If Python was as pervasive in ST3 as elisp is in Emacs, and provided similar concepts (buffers, regions, markers, modes, hooks, advices...), why couldn't it "replace"[1] Emacs? [1] replace here means "being as powerful as", not actually converting Emacs users, most which are happy with Emacs..
- mheathr 13y agoIn answering this I will ignore details specific to the two tools (such as how the implementations are modified), the merits of either, how they are used, and only compare their design goals. It is true that both tools are mutable and that hypothetically their potential use cases will overlap entirely. The reason this will not occur though is a consequence of one tool aiming to provide a general environment by design and the other tool aiming to provide a general environment for a specific use. Less abstractly, consider the difference between having a factory which produces a specific item and having a factory which can produce any factory. Possibly the specific item the factory produces is sufficient for the recipients of the specific item, and further that specific item may even make other items the recipient possessed moot. However, the factory which can produce any factory can still (and possibly already has done so) produce the specific item. Emacs' design (and Light Table's) is much more similar in breadth to the factory which produces other factories. Sublime Text is more similar in scope to a factory which produces a single item. The difference in design choice leads to Sublime Text and other text editors being comparable in features and it is also why Sublime Text can replace Emacs' text editing functions. At the same time the design choice also leads to Emacs being a RSS client but Sublime Text not also having that functionality (or being reasonable to expect), despite the potential for the functionality to exist in both tools. The difference between the two goals is why Light Table is much more intriguing to me than Sublime Text is despite the utility Sublime Text provides and how well executed Sublime Text is.
- jcarden 13y agoThis is awesome! Way to go LT.
- i-blis 13y agoThis is an impressive release. They move forwards at an amazing pace. I had already been using LT 0.3.9 almost exclusively for my ongoing Clojure projects during the last month, switching back to Emacs only for heavy editing tasks. I was really missing but the ability to (de-/re-)connect to a given client, which 0.4.0 provides. In my opinion LT is not just a code editor (editing features are pretty poor yet indeed) but a code experimenting platform. And there it rocks. Even in alpha, it compares pretty well with Emacs Live in terms of stability and usability. ClojureScript, Node and JS support is a terrific move. This means I may even soon use Brackets (another nice node-webkit project) less for live JS HTML coding and debugging and live mostly in LT. Congratulations Chris and Co!
- samatman 13y agoI would say, rather, that it is not a mature code editor. It aims in all seriousness to do anything we expect a code editor to do, and I have every reason to think the project will succeed. Chris is focusing on providing new functionality; the expected stuff can and should come later.
- i-blis 13y agoThis is my understanding too. (This is why I said yet). I am expecting a lot from the forthcoming plugin system. It will be nice to be able to script LT in ClojureScript (the language in which LT is mostly developed).
- sarnowski 13y agoDoesn't work with Ubuntu 13.04 :/ Binary is linked to libudev.0 but Ubuntu now uses libudev.1 Any chance me, as a non-tester and interested person, gets a "fix" for that? edit: linking 1 to 0 works so far, but please consider a migration to new version - e.g. chrome did the same some time ago ago[0]. [0] https://groups.google.com/a/chromium.org/forum/?fromgroups=#!topic/chromium-bugs/riSCcPebuk4 https://groups.google.com/a/chromium.org/forum/?fromgroups=#...
- netchaos 13y agoWhen trying to download using chrome, I'm getting a warning, saying "LightTableWin.zip is not commonly downloaded and could be dangerous." Guess it is a false positive.
- simonhughes22 13y agoThis is really cool. Are there plans for intellisense? Although I know that is hard to do well in dynamic languages. Also, any plans for instarepl in languages other than Clojure? Great work guys.
- jspiral 13y agoI'm interested in writing a simple rest API using compojure as a learning exercise. Can anyone experienced give an outline of what a reasonable workflow would be to do this using light table? I see that light table can "connect" to my project.clj...
- i-blis 13y ago1. make a new lein project 2. fill in the dependencies in project.clj 3. open your src/core.clj (or whatever) in LT 4. start coding LT will automatically launch a client and connect to it. In between lein will have seamlessly fetched the dependencies for you (this happens automatically each time you launch or relaunch a client). You can do manual (C-Enter) or live (Instarepl) inline evaluation in any of your project file or even connect a new fresh repl to the client to experiment from scratch.
- jspiral 13y agoWould you then recommend focusing development around some unit tests and eval-ing them as you do work? (that's what I am trying so far, seems ok)
- i-blis 13y agoPrecisely. This is at least how I do it. It is also pretty nice to have an Instarepl where you can see live changes, either in your source files or in a separate repl. Don't forget that if your paths and namespaces match you can require your namespaces at will.
- xaritas 13y agoI'm normally not a screencasts kind of guy, but is there a good one for using the REPL to assemble, oh, say a web app in Compojure? I started doing a Clojure/Compojure tutorial the other day and I thought I was doing way too much restarting to get changes to take effect (using emacs/nrepl).
- dtwwtd 13y agoThis is awesome, congrats on the release. I'm very excited with the Python integration. I'm going to try doing some web development with Light Table now. One thing that would be very handy would be support for virtualenvs or requirements files to integrate into workspaces so that we can work on projects without installing all dependancies globally.
- sandipagr 13y agoYeah, virtualenvs support is an absolute must have for it to be considered seriously for Python development.
- daemon 13y agoAbsolutely fantastic. I spend about 30% of my time in Python and 30% in Node.js, using WingIDE and Aptana, respectively. I'm not going to abandon my current IDEs, but this has the potential to change my workflow significantly.
- smosher 13y agoI wish there was some way to set it up for use with other languages (ones that have Read-Eval-Print facilities.) I can't get very interested until I see that. The UI font appears to be unchangeable. I can understand the motivation for that, but it renders pretty badly on my system.
- gajomi 13y ago@ibdknox- I wonder if you could comment on the the IPython frontend we see in this demo. I am very interested in the idea of inline javascript based plotting and am wondering if this was possible.
- davexunit 13y agoWhere is the source code?
- codygman 13y agoThis might be it: https://github.com/Kodowa/Light-Table-Playground https://github.com/Kodowa/Light-Table-Playground
- spenvo 13y agoThis editor has reached parity with Sublime Text in my workflow for these reasons: 1.) Vim bindings (less impressive accomplishment but necessary for me); 2.) fuzzy matching for files, commands, and settings (this concept really wins); 3.) having a browser as a tab(!, it makes working full screen a joy); 4.) object eval(!); 5.) and EXCELLENT autocomplete -- even in Coffeescript -- most likely a product of the eval stuff going on, but better than Sublime. Wow. GREAT WORK. My wishlist of generic "power user" features: macros support (for ex., I'd like to set Cmd-Del to delete up one line), configurable margins, more preloaded skins, a way to easily change the color palette of a skin, and tmux / real-time collaboration equivalent. I have gotten around certain quirks ~ add a tabset to simulate margins, also add a key binding for adding a tabset to mock the vsplit vim command After the Nifty Minidrive failure and others, I can surely say this is the best money I've spent on Kickstarter.
- mikeknoop 13y agoCan you elaborate a little on how Coffeescript works in your setup? I was thinking of trying 0.4 out but I wasn't sure how exactly that language (which I use daily) might fit in.
- spenvo 13y agoIt was plug-and-play! :D Here's a screenshot of it just working: http://www.fixpunk.com/notes/?attachment_id=78 http://www.fixpunk.com/notes/?attachment_id=78 My setup is nothing elaborate: I have set watch commands on my coffee directories and work with a node server running.
- mikeknoop 13y agoAwesome! I'm trying to visualize how some of the features from the Javascript video in OPs post (http://www.youtube.com/watch?v=gtXpOD6jFls http://www.youtube.com/watch?v=gtXpOD6jFls) would work. Are you using it as a straight editor or are you able to take advantage of the killer LightTable features in conjunction with Coffeescript (perhaps the new source-maps stuff takes care of it)?
- kragen 13y agoIt looks pretty nifty! It's kind of like what Subtext and Bicicleta wanted to do, but never did (or haven't done yet). You get live update of the code and, apparently, live inspection of all the values in the code. The missing piece would be inspecting values inside a function call. But it sounds like it's proprietary software? Why do you need that if you're getting funded through Kickstarter? Either way, it looks like a really inspiring project, and I hope we see many more like it.
- ibdknox 13y agoWhat happened with Bicicleta? I love the premises I saw listed in response to Perlis. LT will be open source, just want it to get a bit more stable first.
- kragen 13y agoOh, I've been pretty distracted with other (probably less important) things these, uh, years. embarrassed face My first prototype implementation, a tree-walking interpreter in OCaml I threw together in a few days, was discouragingly slow, so a lot of work may be needed to get it to run acceptably fast; and I haven't done the GUI work to realize the potential Light-Table-land advantages yet.
- munchor 13y agoIt will be open source? Can't wait to use it then.
- ericbb 13y ago> LT will be open source, ... The licensing situation is really unclear. The Kickstarter page says, "In order to download packaged distributions, you'll need a license". But I expect that, if it's open source, I can get a packaged distribution by saying (I'm using Arch Linux): # pacman -S lighttable
- kragen 13y agoMaybe he's figured out by now that most people now know better than to tie their programming career to a proprietary editor. The Kickstarter was about a year ago. (Still, how is he going to deliver on his "50 licenses" rewards if he makes it open source? At this point, he's put himself in a position where he has to break his promise to somebody.)
- zgm 13y agoFor those of us still stuck in the Dark Ages, I have patched Light Table so it can run on OS X 10.6.8 (Snow Leopard). You can download it here: https://s3-us-west-1.amazonaws.com/lighttable/LightTable0.4.app.zip https://s3-us-west-1.amazonaws.com/lighttable/LightTable0.4....
- ibdknox 13y agoThanks Zach, much appreciated.
- zgm 13y agoNo problem. :)
- qiemem 13y agoAwesome thanks! Any features that don't work?
- zgm 13y agoFrom what I can tell, everything's working as normal. Let me know if anything breaks though.
- Y0L0 13y agoAwesome thanks, any chance you could push this to GitHub?
- zgm 13y agoI don't actually have access to the Light Table source code. I'm actually just replacing the node-webkit libraries in Chris's release with ones compiled on Snow Leopard, so I don't think there would be much of an advantage to having it on GitHub.
- rargulati 13y agoGreatly appreciated! Would love to see how this was done incase there's a need to patch future versions.
- stephen 13y agoThis looks really awesome; looks like Hotswap for the JVM. I wonder how they handle updating anonymous function references--in the JVM, everything ends up being a class name (e.g. Foo$1 whatever), so even "anonymous" classes technically have an identifier to say "here's the new code". I wonder what that is for Light Table/the V8 VM. I'd love to see this hotswap behavior built into all JS wire/debugger protocols. Maybe a W3C spec? Light table is really awesome, and really driving the bleeding edge, but debugging/inspecting/hotswapping seems like something other editors could do as well.
- tharshan09 13y agoI am using OSX 10.8.3, and when I open the lighttable app, i see the lighttable logo/text and then it closes/crashes. Anyone had any similar issue? any know fix? EDIT: Fix - sudo rm -Rf ~/.lighttable/
- dchichkov 13y agoHow is it, if compared to IPython Notebook? Anyone familiar with both Light Table and IPython tried it yet? [I'm Light Table backer, just want to know, if it is time yet to try it out... ;) ]
- iooi 13y agoBeen waiting for Python support since I first heard of the project! Getting an error trying to connect to Python 3 process, works with Python 2.7 though. According to OP's post Python 3 should be compatible, but I get this error: Looks like there was an issue trying to connect to the project. Here's what we got: Traceback (most recent call last): File "C:\Users\way\.lighttable\plugins\python\ltmain.py", line 12, in <module> import ltipy File "C:\Users\way\.lighttable\plugins\python\ltipy.py", line 181 print "no proc" ^ SyntaxError: invalid syntax which looks like a typical error when running 2.7 code on 3+. Anyone else suffering from the same issue or is something messed up on my end? Running Windows 64-bit, Python 3.3, IPython 0.13.
- jaxbot 13y agoIf you're looking for the same kind of live reload web editing, I have such a plugin for Vim: https://github.com/jaxbot/brolink.vim https://github.com/jaxbot/brolink.vim
- BostX 13y agonice!
- nodesocket 13y agoHas anybody gotten the node.js connection working. I keep on getting 'In order to start a NodeJS client, you have to have node installed and on your system's PATH.' But, node is indeed installed, and in my $PATH. Running OSX with node v0.10.5
- FaisalAbid 13y agoYou have to set a global path. I followed this and got it working. http://serverfault.com/questions/16355/how-to-set-global-path-on-os-x http://serverfault.com/questions/16355/how-to-set-global-pat...
- jameswyse 13y agoI have node in my global path, but it still won't run. The node process exited. The node process you were connected to suddenly quit. Check the console for more information. And the console says: Error: No protocol method IDeref.-deref defined for type null
- JPKab 13y agoI have the same issue as you do. Node is in my global path. However, the console says a little more: rror: No protocol method IDeref.-deref defined for type null: at Error (<anonymous>) at cljs.core.missing_protocol (file:///Users/jk/.lighttable/js/bootstrap.js:1384:10) Additionally, I was able to get the node repl to successfully connect and launch whenever I directed it at a JS file which was compiled from Coffeescript.
- deleted 13y ago[deleted]
- cjh_ 13y agoThe author mentions [1] (at the bottom, under 'key bindings') that light table uses codemirror[2] as the editor. I am really amazed with how well codemirror emulates basic vim key bindings [3], as I prefer to use ctrl-c rather than escape and I often find that vim emulators either do not support ctrl-c or do not support it well. [1]http://www.chris-granger.com/2012/04/15/light-tables-numbers/ http://www.chris-granger.com/2012/04/15/light-tables-numbers... [2]http://codemirror.net/ http://codemirror.net/ [3]http://codemirror.net/demo/vim.html http://codemirror.net/demo/vim.html
- samspot 13y agoIt looks amazing, but I haven't been able to get it to work since 0.2. alert('foo'); Produces 'SyntaxError: Unexpected identifier'. I'm looking forward to the kinks being ironed out.
- ibdknox 13y agoThere's a bug for that one, https://github.com/Kodowa/Light-Table-Playground/issues/449 https://github.com/Kodowa/Light-Table-Playground/issues/449 will get fixed tomorrow.
- Osmium 13y agoStupid question: "import matplotlib" is failing despite matplotlib being installed on my system (OS X) and working fine when I run python from the command line. I'm guessing it's something to do with my PYTHONPATH not getting imported properly. Does anyone have any idea how to fix this? Edited to add: this is the first time I've properly tried LightTable and oh my god what a gorgeous piece of software. It's glorious. Just.. yeah. Job well done! :)
- ngoldbaum 13y agoI just filed an issue that might be related: https://github.com/Kodowa/Light-Table-Playground/issues/469 https://github.com/Kodowa/Light-Table-Playground/issues/469
- statik_42 13y agoThis is really cool, I love the Vim bindings. Well done, I look forward to following this project as it progresses.
- pwang 13y agoLooks great! Just confirmed matplotlib/pylab plotting working with Anaconda Python distribution. (To get LightTable to not use the system python, I had to go through some hoops... creating an environment.plist didn't seem to work.) The dot-completion seems like it still needs work, but it's pretty neat to have an alternative web-based REPL front-end to the IPython kernel than just IPython Notebook.
- gajomi 13y agoCan you elaborate on the "hoops"? I am trying to get a similar thing working.
- pwang 13y agoWell, it's not that much of a hoop. If you start LightTable from the command line, via "open /Applications/LightTable.app", then it gets your environment parameters, including PATH, which is the important one. I tried to create a ~/.MacOSX/environment.plist file per the instructions here[1], but that didn't seem to work and I haven't bothered to fiddle with it more. [1] https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html https://developer.apple.com/library/mac/#documentation/MacOS...
- gajomi 13y agoThanks for the tip. Got it working now.
- boyter 13y agoWow its really coming along. Only one thing is missing from me living in this full time with browser tabs and the like is that I use my screens in portrait mode and would prefer to be able to tear off a tab and have it live in another window and then on another screen. I realise I am an outlier. That said I can always just manually refresh the browser window on the other screen which I currently do anyway. I dont suppose anyone else has a method of dealing with this currently?
- ricardobeat 13y agoI do the same, plus a watch/live reload task.
- moneyrich 13y agohow do you get it to go into table mode, where you can drag-drop functions on a workspace? help - stuck in php;D theres no command,key shortcut, and that little menu in the right corner isnt there on windows.
- babby 13y agoI really want to improve/make new syntax languages for this and actually use it. Problem is that CodeMirror's docs for it are a tad confusing and I'm not even sure if it will be as flexable as Sublime/textmate .tmLanguage syntaxing. Anyone got a good resource or advice on this? For example, I want to highlight function calls in coffeescript, such as: obj.func '100', () -> Where "func" is highlighted differently. I've accomplished this with a .tmLanguage with relative strife, so I am wondering how easy it will be to do things like this with CodeMirror. Once this thing goes open source I'd be happy to revamp all of the syntax highlighting for js/cs/css/stylus/html etc. should this make any sense, though technically as it uses CodeMirror I'd be revamping for them instead. Of course this would mean editing the .css files provided by LightTable though, so I'm half right.
- marijn 13y ago> Problem is that CodeMirror's docs for it are a tad confusing and I'm not even sure if it will be as flexable as Sublime/textmate .tmLanguage syntaxing. Anyone got a good resource or advice on this? They are more flexible, but a bit harder to get going with. Basically, you get to implement a full parser, if you want, or just a tokenizer (optionally keeping some minimal state).
- nickv 13y agoI might be missing something, but I feel like this is just reinventing IDEs that exist today (but are boo'ed by Sublime Text/TextMate guys.) For instance, when it comes to Python, PyCharm (http://www.jetbrains.com/pycharm/features/index.html http://www.jetbrains.com/pycharm/features/index.html) seems far more powerful -- it provides live debugging/breakpoints (with the ability to change attributes of running code -- even for server code), code introspection, documentation browsing, refactoring, JavaScript debugging (integrated in FireFox), VirtualEnv support, tight integration with Django/Flask for templates, etc... And it's fast So aside from the look and feel, what does LT have to offer? The more tools the better, but I just wonder if anybody who has used a modern robust IDE can offer a comparison?
- seanmcdirmid 13y agoFix and continue isn't live; its a start, but you still have lots of work to do in UX to display evaluation. I would try using LightTable before passing judgement.
- ricardobeat 13y agoI'm getting a "Couldn't find node.js" error when trying to connect to a node app. node is at /usr/local/bin/node
- mattdawson 13y agoYep, me too - it's a known issue. https://github.com/Kodowa/Light-Table-Playground/issues/448 https://github.com/Kodowa/Light-Table-Playground/issues/448
- maratd 13y agoMaybe I'm doing things wrong and I haven't seen anybody mention this, but ... ... all of my code is on remote machines. Either in a VM or on a server, far, far away. Is there a way to use SFTP to open files for editing?
- killerpopiller 13y agoyou probably have to mount those.
- laumars 13y agoIt's easily done in Linux and UNIX via sshfs (it's what I use in the same situation as yourself): http://en.wikipedia.org/wiki/SSHFS http://en.wikipedia.org/wiki/SSHFS
- sc0rb 13y agoPlease please please support Java in all of its glory and let me get rid of Eclipse!!!!!!
- zozu 13y agoPython support! Thank you Chris. Will certainly give it a shot.
- manish_gill 13y agoI keep getting - Failed to load resource: .lighttable/img/connectingloader.gif when I try to evaluate Python code. :(
- ajitk 13y agoThis is awesome! I haven't used an IDE for a long time now but LT has shown enough to convince me to use one.
- edwinyzh 13y agoIt's really amazing, glad that I'm one of the backers when it's on kickstarter. And I know it's shameless, but my LIVEditor project also allows you to "navigate to any page you want and start live modifying the it", I just made a 1-minute demo video here: http://youtu.be/t91IoDxo9aY http://youtu.be/t91IoDxo9aY