<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> 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