Coder Social home page Coder Social logo

template_rust_vscode's Introduction

What even is this?

A thorough demo of everything you might want to configure for rust development in VS Code, along with a small hello world style program to test it out on.

Possible usage

git clone https://github.com/MaulingMonkey/template_rust_vscode.git
cargo new NEW_PROJECT --bin
robocopy template_rust_vscode\.vscode NEW_PROJECT\.vscode *.*
robocopy template_rust_vscode         NEW_PROJECT         Setup.md
  • Setup everything
  • Replace ${workspaceFolderBasename} throughout .vscode\launch.json with your new Cargo.toml package.name, so you can rename the folder locally.
  • Cull unused stuff from Setup.md

template_rust_vscode's People

Contributors

maulingmonkey avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

template_rust_vscode's Issues

New project script?

Might be worth writing a new_project.cmd script that can be dropped into your %PATH% to create a new project from the template per the current readme instructions.

*-pc-windows-gnu: Cannot use an internal console

launch.json sets "externalConsole": true to workaround this issue - allowing it to be false causes NullReferenceException s and kills the debugging session. Presumably a bug in ms-vscode.cpptools ?

*-pc-windows-gnu: MSYS2 GDB can't pause or add breakpoints while unpaused

While you can hit initially set breakpoints in GNU builds, vs code can't seem to set breakpoints while executing, nor pause execution, via the MSYS2 GDB. I'm guessing this has something to do with the MI interface or is just a GDB bug on windows, since VS code can pause WSL binaries just fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.