![]() ![]() Here’s a picture (click on it to see it larger): But these tools aren’t simple they are more of a way of life, and all I’m wanting to do at the moment is play with Clojure.Īnd then I tried Nightcode. There are a number of these both Eclipse and IntelliJ (two of the most popular Java IDEs) have Clojure plugins, for example. Once I realized this, I went looking for the next killer Clojure app: a simple “IDE” (Integrated Development Environment) that supports Leiningen directly. Copying text out of the command shell is equally annoying. ![]() Instead, you have to select a menu item of a submenu of the window menu, which gets old really fast. The command shell window is designed to let you run old programs like that and since those programs expect to handle the standard Control-X, Control-V and Control-C keys themselves, you can’t use them to paste text into the command-line. Those of you of a certain age will remember running DOS programs like WordStar and WordPerfect and Lotus 123. The second problem is that pasting text into a command shell window is too annoying for words. In order to use it, I need to pop up a Windows command shell window in addition to my usual bash shell window. Unfortunately, the Leiningen “lein.bat” file doesn’t work properly when executed in a bash environment. Using MinGW also happens to be the easiest way to perform some of the development tasks we need to perform on Windows. The UNIX programming environment is a delightful place to work, and I’ve been using it on one platform or another for decades (including the Mac-OS X is UNIX underneath). First, on Windows I use an environment called MinGW which gives me a terminal window with a UNIX-like “bash” shell. Leiningen is a command-line tool and on Windows it’s accessed via a batch file designed to run in a normal Windows “command shell”-what we used to call a DOS window. It’s not ideal-I’d like better integration between the editor and the REPL-but it’s workable. ![]() I can use any editor I like, and easily paste my edits into a Leiningen REPL running in a Terminal window. When working with a REPL, I often find myself fixing bugs and making other changes in the editor and then pasting them into the REPL. I’m looking for a solution that works well on both platforms. At home I use a Mac but at work I use a Windows machine. But wait! All is not rainbows and unicorns. INTELLIJ'S LA CLOJURE La Clojure is an IntelliJ plugin for Clojure development.It is probably the most used tool for Clojure development right now, and it's the most mature Clojure plugin for a major IDE right now.So at the end of Part II, it looked like I had a solution: Leiningen gives me the REPL and I can use any editor I happen to like. (Does not need any previous Clojure installation) Hope this gets better and better with everybody's help, because Nightcode is open source at GitHub. It's still a new project (current version is 0.0.1) so the IDE itself is pretty simple for now, the available options are pretty basic, but it looks very promising, specially for focusing on such a future language as Clojure. The IDE offers several options for a new project: It is itself is a JAR file made mostly in Clojure, with some Java parts. A very very interesting project, Nightcode aims at creating an IDE for Clojure (and Java too, but really the Clojure part is what is interesting). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |