Вопрос

In the command prompt the following directories have been created:

                $ mkdir -p src-cljs/webviz
                $ mkdir -p resources/js

I am trying to create the file:

                src-cljs/webviz/core.cljs

containing

               (ns webviz.core)
               (defn ^:export hello [world]
               (js/alert (str "Hello, " world)))

in Sublime Text 2.

If I try to save the file I don't have an option for .cljs.

Это было полезно?

Решение

Try this? How do I save as certain file type in sublime text 2?

Try just typing the full filename you want when you save it, e.g. filename.lua

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top