<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged vscode</title>
<link>https://ask.clojure.org/index.php/tag/vscode</link>
<description></description>
<item>
<title>cant call function from clojure.core, dont know what's messed</title>
<link>https://ask.clojure.org/index.php/12498/cant-call-function-from-clojure-core-dont-know-whats-messed</link>
<description>&lt;p&gt;So, i've been refreshing the language a bit since im still trying to make my clojure knowledge permanent on long-term memory. Had setup a Remote WSL 2.0 connection to an Arch Linux using VSCode on the host: Windows 11 since i default to developing in Linux for everything.&lt;/p&gt;
&lt;p&gt;Problem is simple i guess, but im unable to pinpoint.&lt;/p&gt;
&lt;p&gt;trying to call  (read-line) from clojure.core renders an &lt;code&gt;Could not resolve symbol: read-line&lt;/code&gt; in my Calva's output, which is using Joyride to start the REPL.&lt;/p&gt;
&lt;p&gt;isn't core loaded by default? what's going on &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;;checking if ns is the problem
(ns encoder)

;repl output check
(defn queue [] 0)
(println str (queue))

(def files-list)
;test
(do (print &quot;Name yourself now: &quot;)
    (flush)
    (read-line)) =&amp;gt; Could not resolve symbol: read-line

;debug test
(println &quot;Enter (literal) filename to encode&amp;gt; &quot;)
(def input (read-line)) =&amp;gt; Could not resolve symbol: read-line
(println (str &quot;File to encode: &quot; input))
;cant call read-line from core? wtf

;finish this
(defn add-queue-confirm [filenames]
  (println &quot;Files to process: &quot; filenames))
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>REPL</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12498/cant-call-function-from-clojure-core-dont-know-whats-messed</guid>
<pubDate>Fri, 23 Dec 2022 14:26:05 +0000</pubDate>
</item>
<item>
<title>Is there a way to place the elements of a collection vertically with Calva?</title>
<link>https://ask.clojure.org/index.php/12126/there-way-place-elements-collection-vertically-with-calva</link>
<description>&lt;p&gt;I would like to know if i can pass from this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[[1 2 3] [4 5 6] [7 8 9]]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;..to this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[[1 2 3]&lt;/code&gt;&lt;br&gt;
&lt;code&gt;[4 5 6]&lt;/code&gt;&lt;br&gt;
&lt;code&gt;[7 8 9]]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;with Calva or another vscode shortcut instead of having to press enter in each item?&lt;/p&gt;
&lt;p&gt;Thanks in advance! :)&lt;/p&gt;
</description>
<category>Calva</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12126/there-way-place-elements-collection-vertically-with-calva</guid>
<pubDate>Thu, 25 Aug 2022 02:22:23 +0000</pubDate>
</item>
<item>
<title>How to get Clojurescript REPL in Calva (Lein + Figwheel main)</title>
<link>https://ask.clojure.org/index.php/11759/how-to-get-clojurescript-repl-in-calva-lein-figwheel-main</link>
<description>&lt;p&gt;Hi, I trying to setup editor for Clojure, currently struggling with Calva. I have fullstack project (cljs via Figwheel main) and whe I run repl (jack-in) then both repls get started (Lein + Figwheel Main config), but I cant switch to cljs repl, geting error &quot;Cannot read properties of null (reading 'switchNS')&quot;&lt;/p&gt;
</description>
<category>Calva</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11759/how-to-get-clojurescript-repl-in-calva-lein-figwheel-main</guid>
<pubDate>Tue, 12 Apr 2022 04:27:18 +0000</pubDate>
</item>
<item>
<title>need help with compiler error &quot;unresolved symbol&quot;</title>
<link>https://ask.clojure.org/index.php/11564/need-help-with-compiler-error-unresolved-symbol</link>
<description>&lt;p&gt;Hi &lt;br&gt;
I cloned &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/unclebob/Euler&quot;&gt;this&lt;/a&gt; project, and used VScode to open it. I added Calva, and am half way through the tutorial. I do know what &quot;unresolved symbol&quot; means, but do not know how to fix in a Clojure project especially that this was a working project. I know that the author used Intellij, and I believe it was the ultimate edition. I have the community ( I am ware of the eval, and will use it if I do not have other option. I just like to know how to fix this myself). I am able to run the fire-up tutorial that Calvo comes with, but the compiler error is still there. &lt;/p&gt;
</description>
<category>Compiler</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11564/need-help-with-compiler-error-unresolved-symbol</guid>
<pubDate>Fri, 11 Feb 2022 17:59:34 +0000</pubDate>
</item>
</channel>
</rss>