Hacker News new | past | comments | ask | show | jobs | submit login
Intellij-Rust Rust Plugin for IntelliJ IDEA (intellij-rust.github.io)
136 points by adamnemecek on July 11, 2016 | hide | past | favorite | 27 comments



Great to see that one of the key contributors looks to be an employee at JetBrains (https://github.com/alexeykudinkin), increasing the chance that this may already be or may grow to be an official project.


The Erlang plugin for IntelliJ is also developed by a JetBrains employee. I'm always very impressed how much passion the guys have for their product.


Does the completion engine handle macros? So that:

  let x = vec![1]
  x.//auto complete here 
Will work? If it beats Emacs for Rust overall (I assume IntelliJ has full Vim support) I'd definitely buy it.


IntelliJ has great Vim support, and the community edition is free. I've used IntelliJ for Scala for 4 months, which has been excellent, but never found any need for the paid features, so I'd say go ahead and download it today.


IntelliJ has great Vim support

Are ex commands supported too?


ex mode is not supported (Q or q:), but I never really used that anyways.

Many of the command line mode commands are supported (:s, :map, :his), but others are not (sadly not :r or :w).


:w seems to work fine for me in IdeaVim.


:w is kindof weird in itself in IntelliJ as IntelliJ saves automatically. I just tested it and :w in IdeaVim does not seem to update the timestamp like it does in vim if there are no changes to the file.

I was specifically thinking about :w <filename> which I find quite useful in vim.


And macro recording works quite well.


I'm not a rust programmer but I installed the tools and the plugin to Intelij (latest version) and when I typed the x. auto completion was not shown.



did you install Racer? https://github.com/phildawes/racer


Racer is not required for this plugin.


You likely don't need to. Almost all the community plugins work with the free version of IntelliJ.


Unfortunately they don't let you "buy" anymore. It's a yearly fee a la adobe creative cloud and as soon as you stop paying they "de-update" you a year.


I assume this works fine with intellij community edition, which is free and apache licenced OSS.


Their website seems to indicate that if you pay for 12 months in a row, then you get a perpetual fallback license.


The "fallback" means downgrading. E.g., if you pay for a year now, you get updates for a year. If you don't pay again in July 2017, then you have to downgrade to the July 2016 version, which you may use in perpetuity.

It's designed such that not only do you stop getting new things when you stop paying, you lose some of what you already have.


no, it wouldn't work. But this plugin is free and can be used with free version of IDEA :)


Think they both use racer


The intellij plugin doesn't use racer, it's custom.


I added PoC racer support in the plugin one evening, but got bored and did not pursue it further. It's just calling racer and parsing the output.

The built-in completion is a bit rudimentary at the moment.


Apparently Eclipse has a great Rust plugin: https://www.reddit.com/r/programming/comments/4qmr3t/state_o...


How do I make autocomplete work? I installed the plugin, let it download and install rust sources from zip, but no autocomplete suggestions work, even after ctrl+space. Should it work out of box?


I'm pumped. IntelliJ is a great IDE with a sufficient VIM plugin -- this will be much better than dealing with a mishmash of plugins for VIM that usually don't work on windows.


I can't wait to try this out. I'm already writing a ton of Rust in my free time. When the tooling improves, I'm going to start advocating for it everywhere.


Just this Sunday, I was looking for an IDE that I could use to start experimenting with Rust. Happened to find https://plugins.jetbrains.com/plugin/8182?pr=idea which is what got released more officially today. But I also then found this on the Rust site https://www.rust-lang.org/ides.html which talks about lack of on-the-fly, quick compilation support within the Rust compiler itself, a feature that's a major requirement for IDEs. I haven't yet started using this plugin (plan to do over the weekend), but I'm curious if this plugin supports on-the-fly compilation and error detection.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: