ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | 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
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 268 seconds]
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #crystal-lang
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #crystal-lang
Flipez has quit [Quit: Ping timeout (120 seconds)]
Flipez has joined #crystal-lang
hightower2 has joined #crystal-lang
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #crystal-lang
hightower3 has quit [Ping timeout: 265 seconds]
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #crystal-lang
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 244 seconds]
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #crystal-lang
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #crystal-lang
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #crystal-lang
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #crystal-lang
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #crystal-lang
hightower2 has joined #crystal-lang
hightower3 has quit [Ping timeout: 264 seconds]
ur5us has quit [Ping timeout: 244 seconds]
<FromGitter> <spuun> A `Tuple` without any values is a `Enumerable(NoReturn)`
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 244 seconds]
ur5us has joined #crystal-lang
<FromGitter> <azurelmao> what's wrong here? https://carc.in/#/r/drwc
<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> ... or to start a test from the ide ... [https://gitter.im/crystal-lang/crystal?at=632471749d3c18629904598d]
<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
<FromGitter> <PricelessRabbit> nice explanation thanks, the sublime plugins is this one https://github.com/crystal-lang-tools/sublime-crystal right?
<FromGitter> <Blacksmoke16> yea, it works well enough for me. syntax highlighting, formats code on save, and basic go to. E.g. like that
<FromGitter> <PricelessRabbit> i'll give it a try. thank you very much :)
_ht has joined #crystal-lang
analogsalad has joined #crystal-lang
analogsalad has quit [Quit: bye]
jmdaemon has joined #crystal-lang
_ht has quit [Remote host closed the connection]
ur5us has joined #crystal-lang
ur5us has quit [Remote host closed the connection]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #crystal-lang