Rust Cargo command bindings

Related tags

IDEs vim-cargo
Overview

Vim Cargo

Simple vim command bindings to quickly run cargo stuff from vim.

Commands Available, mapping with their Cargo equivalant:

  • CargoBench
  • CargoBuild
  • CargoClean
  • CargoDoc
  • CargoNew
  • CargoRun
  • CargoTest
  • CargoUpdate

Installation

It's recommended to use a plugin manager to manage your vim plugins. A few examples:

Vundle

Plugin 'timonv/vim-cargo'

Plug

Plug 'timonv/vim-cargo'

NeoBundle

NeoBundle 'timonv/vim-cargo'

Usage

Simply run one of the commands. By default it just delegates to cargo.

You can overwrite g:cargo_command to, for instance, support dispatch:

let g:cargo_command = "Dispatch cargo {cmd}"

Contribute

  • Fork
  • Code
  • Test
  • Pull-request
You might also like...
An IDE for Rust
An IDE for Rust

Introduction SolidOak is a simple IDE for Rust. See the website for binary releases. It has the following features: An embedded copy of Neovim as its

The official Sublime Text 3 package for the Rust Programming Language
The official Sublime Text 3 package for the Rust Programming Language

Rust Enhanced About This is a Sublime Text 3 package which supports Rust starting with version 1.0, it makes no attempt at supporting earlier incompat

Vim configuration for Rust.

rust.vim Description This is a Vim plugin that provides Rust file detection, syntax highlighting, formatting, Syntastic integration, and more. It requ

Visual Studio extension for Rust
Visual Studio extension for Rust

Visual Studio extension for Rust Currently in development, and not feature complete. Stable versions are available on the Visual Studio extension gall

Rust extension for Visual Studio 2017 with RLS support

Rust support for Visual Studio 2017 Preview Adds language support for Rust to Visual Studio 2017. Supports: code completion goto definition find all r

crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).
crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).

crates Hello Rust & VSCode lovers, This is crates, an extension for crates.io dependencies. Aims helping developers to manage dependencies while using

Rust On the FLY completion for neovim

rofl.nvim Rust On the FLy completion engine for Neovim. Why Rust? It's 2021. I think the question you should be asking yourself is "Why NOT Rust?!?? (

A *seriously* no-bullshit Neovim GUI written in Rust and Tauri

Looking for a shareable component template? Go here -- sveltejs/component-template svelte app This is a project template for Svelte apps. It lives at

A simple, plug-and-play Rust-implementation of D3vd/Meme_API

🌃 Rua A simplified Rust-implementation of D3vd/Meme_API. You can self-host this with ease through Docker, but you can also opt to use our free servic

Comments
  • Fix error running various commands.

    Fix error running various commands.

    This should be fixing errors like:

    error: a bin target must be available for `cargo run`
    
    :!cargo run check
    
    shell returned 101
    

    when running, for example,

    :CargoCheck
    
    opened by jarovo 4
  • :CargoTest does not run tests

    :CargoTest does not run tests

    Thanks for the plugin! I'm trying :CargoTest and it triggers :!cargo run test, I'm expecting :!cargo test instead, It seems to me "run" is added twice, could it be something with my local env?

    opened by sebosp 1
  • doesn't work with 1.17.0-nightly

    doesn't work with 1.17.0-nightly

    hi,

    I manage to get things more or less working by

    • incorporating changes from rust-vim
    • changing cargo's flags

    it is not perfect though because

    • i build the lib only
    • even without errors I always get an empty error on line 0

    see my modified file below

    cargo.txt

    opened by wagnerf42 0
  • Add super versions of cargo commands

    Add super versions of cargo commands

    This searches up the parent directories for the 'outer' most Cargo.toml, useful for building the entire project from a nested crate.


    Note that I had problems using this plugin as-is.

    The paths as reported in the quickfix window were relative to the Cargo.toml, not the pwd.

    While the build worked, cycling through the errors didn't open the proper files.

    This PR passes the Cargo.toml location to cargo, and adds support for building the parent-most Cargo.toml, which I needed when using creates in subdirectories of other crates.

    opened by ideasman42 3
Owner
Timon Vonk
Timon Vonk
Rust IDE support for Atom, powered by the Rust Language Server (RLS)

IDE-Rust Rust language support for Atom-IDE, powered by rust-analyzer. Features Auto-completion Diagnostics (errors and warnings from rustc) Document

The Rust Programming Language 239 Dec 14, 2022
rust-analyzer is a modular compiler frontend for the Rust language

rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.

null 11.2k Jan 8, 2023
Rust language support in Atom - LOOKING FOR MAINTAINER, see #144

Rust language support in Atom Adds syntax highlighting and snippets to Rust files in Atom. Install Install the package language-rust in Atom (Preferen

Andreas Neuhaus 118 Oct 11, 2022
Eclipse Corrosion - Rust edition in Eclipse IDE

Eclipse Corrosion Rust edition and debug in Eclipse IDE Corrosion is a Rust development plugin for the Eclipse IDE, providing a rich edition experienc

Eclipse Foundation 194 Dec 23, 2022
RustDT is an Eclipse based IDE for the Rust programming language:

Project website: http://rustdt.github.io/ As of 2017, RustDT is no longer actively maintained, see this blog post for more information. If you are int

null 351 Aug 20, 2022
Emacs configuration for Rust

Table of Contents Introduction Installation Melpa Manual installation Feature guide Indentation Code formatting Running / testing / compiling code Cli

The Rust Programming Language 919 Jan 4, 2023
Rust development environment for Emacs

Rustic Table of Contents Rustic Intro Installation straight Compilation Faces rustc errors Rustfmt edition 2018 LSP Server Client eglot lsp-mode lsp-e

null 612 Dec 30, 2022
NetBeans Rust plugin

Rust NetBeans Plugin A NetBeans plugin for Rust. Linux / OSX Windows Requirements NetBeans 8.2.x Java 8+ Rust Cargo Rustup Features So far, it include

drrb 52 Oct 10, 2022
Rust plugin for the IntelliJ Platform

Rust plugin for the IntelliJ Platform Build Status Check Stable Beta Nightly Installation & Usage Available installation options and features are desc

IntelliJ Rust 4.2k Jan 2, 2023
Rust IDE

This branch contains the development of a "new ride" that maintain a small impact on the ui library. This is for a few reasons. Can customize the colo

Gustav Jansson 171 Dec 24, 2022