jhass changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Crystal 0.35.1 | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
deavmi has quit [Read error: No route to host]
deavmi has joined #crystal-lang
postmodern has joined #crystal-lang
<FromGitter> <zhenfeng-zhu> hello, is there anyone using vscode-crystal-lang extention? I have a issue about it: https://github.com/crystal-lang-tools/vscode-crystal-lang/issues/117.
f1refly has joined #crystal-lang
f1reflyylmao has quit [Ping timeout: 264 seconds]
<FromGitter> <naqvis> Hi @zhenfeng-zhu
<FromGitter> <naqvis> have you tried removing the `.cache` folder?
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
alexherbo2 has joined #crystal-lang
<FromGitter> <zhenfeng-zhu> no, i didn't do anything.
<FromGitter> <zhenfeng-zhu> my home dir also have the .cache folder
<FromGitter> <naqvis> yes, Crystal also has `.cache` folder and its okay to remove Crystal `.cache` folder contents
<FromGitter> ... ta-Users-lucas-Documents-demos-crystals-for-ruby-fizzbuzz-Users-lucas-.cache-crysta-Users-lucas-Documents-demos-crystals-for-ruby-fizzbuzz-src-fizzbuzz.cr': File name too long (File::Error) ⏎ from raise<File::Error+>:NoReturn ⏎ from Crystal::System::File::info?<String, Bool>:(Crystal::System::FileInfo | Nil) ... [https://gitter.im/crystal-lang/crystal?at=5f0c12d146c75b1e5e410bb2]
<FromGitter> <zhenfeng-zhu> [Error - 3:52:20 PM] An error was found while searching diagnostics ⏎ Unexpected char 'U' at 1:1 ⏎ Unable to get file info: '/Users/lucas/Documents/demos/crystals/for-ruby/fizzbuzz/Users/lucas/.cache/crysta/Users-lucas-Documents-demos-crystals-for-ruby-fizzbuzz-Users-lucas-.cache-crysta-Users-lucas-Documents-demos-crystals-for-ruby-fizzbuzz-Users-lucas-.cache-crys
<FromGitter> <naqvis> ` File name too long (File::Error)` is the actual error
<FromGitter> <naqvis> path name is too long
<FromGitter> <zhenfeng-zhu> yep!
<FromGitter> <naqvis> so its okay to either rename or backup the `.cache` folder
<FromGitter> <zhenfeng-zhu> i think the crystal compiler should use home .cache folder instead the workspace .cache folder
<FromGitter> <naqvis> as that doesnt't do anything with Crystal compiler, it might be either vscode or some plugin cache repo
<FromGitter> <naqvis> yeah, Crystal compiler uses cache folder usually under home
<FromGitter> <naqvis> and you can check the location of the Crystal cache folder via `crystal env CRYSTAL_CACHE_DIR`
<FromGitter> <zhenfeng-zhu> > so its okay to either rename or backup the `.cache` folder ⏎ ⏎ no, it still create this folder
<FromGitter> <zhenfeng-zhu> /Users/lucas/.cache/crystal
<FromGitter> <naqvis> this is the Crystal cache folder
<FromGitter> <naqvis> other folder which you mentioned in your issue, is not Crystal related
<FromGitter> <naqvis> that might be either VSCode or some VSCode extension
<FromGitter> <zhenfeng-zhu> this is my vscode extension
<FromGitter> <naqvis> is this the only extension?
<FromGitter> <naqvis> i've never seen this extension creates such cache folder
<FromGitter> <naqvis> i'm also using this extension
<FromGitter> <zhenfeng-zhu> > is this the only extension? ⏎ ⏎ yes
<FromGitter> <zhenfeng-zhu> i do not install any other crystal extention
<FromGitter> <zhenfeng-zhu> "crystal-lang.completion": true, ⏎ "crystal-lang.hover": true, ⏎ "crystal-lang.implementations": true, ⏎ "crystal-lang.maxNumberOfProblems": 20, ⏎ "crystal-lang.server": "/Users/lucas/Documents/demos/crystals/scry/bin/scry", [https://gitter.im/crystal-lang/crystal?at=5f0c14757a4e99049e09a64f]
<FromGitter> <zhenfeng-zhu> this is the settings content
<FromGitter> <naqvis> then how come vscode is using the cache folder file?
<FromGitter> <naqvis> what if you remove the cache folder inside your code directory?
<FromGitter> <zhenfeng-zhu> > what if you remove the cache folder inside your code directory? ⏎ ⏎ it will be created after i drop the .cache folder
<FromGitter> <zhenfeng-zhu> again and again
<FromGitter> <naqvis> so there must be some other VSCode extension (not related to Crystal) that is creating that cache folder
<FromGitter> <naqvis> I would suggest, disabling all other VSCode extensions, then turn one by one on to find which one is causing this
<FromGitter> <zhenfeng-zhu> > so there must be some other VSCode extension (not related to Crystal) that is creating that cache folder ⏎ yeah, i'll try this way
<FromGitter> <zhenfeng-zhu> thanks for your help
<FromGitter> <naqvis> welcome 👍
oddp has joined #crystal-lang
<FromGitter> <nolyoi> hello all
<FromGitter> <naqvis> hi
yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
yxhuvud has joined #crystal-lang
<FromGitter> <zhenfeng-zhu> i think the scry maybe have some questions, when i do not use it, the folder does not appear again
<FromGitter> <naqvis> strange though, as I've both of these working without any `.cache` folder
<FromGitter> <naqvis> tbh, Crystal doesn't have very good editor support, so don't assume you will be able to enjoy the autocompletion
<FromGitter> <naqvis> so Crystal reference and api docs should be your best friend
Xeago has quit [Ping timeout: 240 seconds]
Xeago_ has joined #crystal-lang
Xeago_ is now known as Xeago
Xeago has quit [Quit: Xeago]
Xeago has joined #crystal-lang
deavmi has quit [Ping timeout: 256 seconds]
deavmi has joined #crystal-lang
postmodern has quit [Quit: Leaving]