3 ms·
Like you I need something like NumPy and SciPy for my work. I'd also like an IDE. An IDE goes a long way to helping me feel comfortable to use a language.
by gravypod 10y ago
Like you I need something like NumPy and SciPy for my work. I'd also like an IDE. An IDE goes a long way to helping me feel comfortable to use a language.
- empath75 10y agohttps://internals.rust-lang.org/t/introducing-rust-language-server-source-release/4209 https://internals.rust-lang.org/t/introducing-rust-language-...
- gravypod 10y agoI don't care about the backend and how it's implemented. I don't write IDEs. I write software in IDEs. If the IDE is good, and by good I mean provide autocomplete and features on par with Eclipse for Java,and it needs to be fast and easy to use. Fast and easy to use are UI tricks that can't be handled by a server. Edit: I just realized that this may be read in a negative connotion and I didn't mean it like that. I just mean that I'm not the person who should be looking at those. I just know it doesn't exist yet and I'd like it to. Telling me of the Rust Server thing gives me no information as to how close the IDE is to being done.
- mmstick 10y agoThe only thing the RLS is going to provide is just faster completion for the most part. All the IDE's in existence right now are making use of racer for completion and clippy for linting quite well without it, especially Atom.
- Manishearth 10y agoThe point of that comment was to say "It's being worked on, actively"
- mmstick 10y agoRust's had great IDE support for more than a year now. - There's Atom with Tokamak, which you must also install racer and clippy via cargo to get rapid in-line linting. - Then there's Visual Studio Code with RustyCode which you can also integrate with racer and clippy, that provides faster code completion and hovering over items will show a tooltip that documents that items. - Some people like IntelliJ Rust, but I've not tried it myself. As for installing racer and clippy, it's been made a lot easier recently via rustup: rustup component add rust-src rustup component add rust-docs rustup toolchain install nightly rustup run nightly cargo install clippy rustup run nightly cargo install racer Now you're good to go. As for NumPy, there's official crates like the `num` family, which provides a plethora of useful numerics capabilities. It's not my forte though so others would know more about the best numerics crates outside of the `num` family. If you know what functionality you are looking for, it may already be created and is searchable at Crates.io.
- gravypod 10y agoI've still not been able to get Rust to work with work in IntellJ or Eclipse. I've not tried Atom but that doesn't support "Projects" or "Solutions" in the way I'd like. From what I understand there is no "go" button.
- steveklabnik 10y agoHave you tried https://intellij-rust.github.io/ https://intellij-rust.github.io/ and http://rustdt.github.io/ http://rustdt.github.io/ ? If they don't work, I'm sure their maintainers would appreciate bug reports.
- tupshin 10y agorustdt has been my daily rust environment for months. has some warts, but mostly just works
- mmstick 10y agoAtom does support Projects. The left panel is where you add your projects, which is created via cargo and has integration within Atom. You can hide the projects panel by pressing Ctrl + '\'. There's an integrated terminal if you install the tokamak terminal. I'm not sure what you mean by a 'go' button though.
- Manishearth 10y agoI don't really consider this to be "great IDE support", I consider this to be a start at IDE support. I love Rust, and I'm productive even without racer or YCM -- but I think there's a large gap between what Rust has and what many IDEs get you. Most Java/C# IDEs will get you: - Type-based autocomplete (racer/YCM/etc have this for Rust) - Jump-to-definition / documentation (YCM/etc has this) - Autoimport - Non-grep-based refactoring - Auto-boilerplating: for example, type `impl Trait for MyType` and have it tab-complete to a skeleton trait impl - Some error integration (not just fileline jump-to), with tooltips and stuff asking you how you want the IDE to auto-fix the error - A bunch of other smaller useful things which I can't remember at the moment Now, autocomplete is a major chunk of this, but nowhere near being all of it. The way I see it there are two camps on this issue. There's the "text editor" camp who use vim/emacs/sublime and when they are asking for IDE support they just mean autocomplete and jump-to that works from their editor. Then there's the camp coming from Eclipse or VS who want the whole deal. The Rust Language Server project (https://github.com/jonathandturner/rls https://github.com/jonathandturner/rls) is working on exposing this info from the compiler in a structured form so that IDEs and "text editor"s alike can get IDE features.