سؤال

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