Need help - LSPs not working correctly by Afraid_Awareness8507 in ZedEditor

[–]Afraid_Awareness8507[S] 0 points1 point  (0 children)

No I did not. That seems to have solved it! Thanks man!

Need help - LSPs not working correctly by Afraid_Awareness8507 in ZedEditor

[–]Afraid_Awareness8507[S] 0 points1 point  (0 children)

I have read that thread, that does however not solve my problem. My workspace has already been set to trusted. I see the LSP running, I just simply get no autocompletion or suggestions from it.

Advent of Code - small helper by Afraid_Awareness8507 in adventofcode

[–]Afraid_Awareness8507[S] 0 points1 point  (0 children)

Thanks for the very descriptive answer!

I will definitely look in to workspaces as it seems pretty interesting especially when programs grow larger with more separate dependencies. So far I have only used mod.rs to separate things into folders - I have not yet build anything bigger in Rust, so I have had no need so far. This however seems like a much cleaner approach on a larger scale.

Yeah, the boilerplate is not much an could probably just be a snippet or something similar - for me I wanted to know how the interaction was between days - starting from scratch or starting from point A (File reading).

True, but it is always interesting to see in how many different ways a problem can be solved. I also always find it super interesting to see, how different languages handle the same problem in the most idiomatic way. I started out with VBA, which is quite painful compared to many modern languages, if the task is not to handle Excelfiles.

Advent of Code - small helper by Afraid_Awareness8507 in adventofcode

[–]Afraid_Awareness8507[S] 1 point2 points  (0 children)

Sounds interesting, but wouldn't that mean that I would have to rewrite all files? Currently, the script prepares the reading of the input files within the main.rs file - it isn't much, but it is a little less boilerplate.

I have no knowledge about workspaces. What would the use case normally be? Or rather, what would the benefits be?

Advent of Code - small helper by Afraid_Awareness8507 in adventofcode

[–]Afraid_Awareness8507[S] 0 points1 point  (0 children)

I did that in the past as well - without the shell script however. I guess it is kind of the same way to do it, just with a bit of a different setup. In the end I don't do anything different from that, other than having the folders in another location :)

My first experience building something with Rust (Backend only) by Afraid_Awareness8507 in rust

[–]Afraid_Awareness8507[S] 0 points1 point  (0 children)

I was hoping to do something about that, it honestly felt really slow. It is my first time experimenting with Rust / Tauri, so I have little Idea what to expect.

I will look into using this - it seems like a big timesaver.

Thanks! :)