<FromGitter>
<jrei:matrix.org> You want to compare, or append?
<FromGitter>
<jrei:matrix.org> It works with `<<`
<FromGitter>
<azurelmao> < compares?
<FromGitter>
<azurelmao> I thought it appended when doing against an array
<FromGitter>
<azurelmao> it worked with structs and ints
ur5us has quit [Ping timeout: 255 seconds]
hightower2 has quit [Ping timeout: 268 seconds]
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp has joined #crystal-lang
<FromGitter>
<jrei:matrix.org> `<` is the inferior than sign
<FromGitter>
<jrei:matrix.org> Append is `<<`
<FromGitter>
<jrei:matrix.org> You can look at the reference for more details
<FromGitter>
<PricelessRabbit> Hi all :) i introduce myself with a boring noob question about crystal ide's integratioons / dev tools: i tried both jetbrains plugin and vscode + crystal extension + crystalline but seems both soutions lacks basic functionality like "go to" and other standard ide shortcuts. So the question is: currenlty which is the best way to start developing with crystal beeing "productive" with a decent ide
<FromGitter>
... support? i'm trying crystal after 1 yer and a half buts seems the tooling is still prettty immature
jmdaemon has quit [Ping timeout: 265 seconds]
<FromGitter>
<Blacksmoke16> vscode + crystalline is prob your best bet, assuming you configured the latter correctly
<FromGitter>
<Blacksmoke16> but yes, the tooling side of things is prob never going to be as good as some other langs like Kotlin or something. May just be easier to keep a tab of https://crystal-lang.org/api/1.5.1/ open and reference that when needed
<FromGitter>
<PricelessRabbit> @Blacksmoke16 thanks for the answer. so basically i have crystalline and crystal extension (crystalline server starts correctly) but: ⏎ ⏎ 1) no "go to definition" or other stuff available (i need to remember the file where i put the class / type or go full text search ⏎ 2 crystalline often get stuck and stop performing the under-the.hood compilation ⏎ 3 no way to place a breakpoint and debug,
<FromGitter>
<Blacksmoke16> i dont use any IDE for crystal so i cant really speak for what all it can do. but from what i heard its the best you can get
<FromGitter>
<Blacksmoke16> imo its not really a huge deal, API reference is good and after a while you dont really need it as often
<FromGitter>
<Blacksmoke16> my cycle is like, write code till i think its good, run it, fix anything needing fixed, then move onto next thing
<FromGitter>
<PricelessRabbit> so basically you write the code in an editor from scartch and then manually launch compile / tests and check if its good
<FromGitter>
<Blacksmoke16> there are some tools you can use to recompile on save that help quite a bit as well `alias wcr='nodemon --exec crystal run --watch src'`
<FromGitter>
<Blacksmoke16> i run that alias in a terminal and code in sublime with crystal plugin
<FromGitter>
<Blacksmoke16> as is save the source files it recompiles the main program, e.g. `wcr src/foo.cr` and i can see any errors
<FromGitter>
<Blacksmoke16> i also have another alias for handling tests `alias wcr-spec='nodemon --ext * -I --exec crystal spec --watch spec --watch src -- --order=random'`, does the same thing but with running the specs