Giter Club home page Giter Club logo

c-cpp-compile-run's Introduction

Logo

C/C++ Compile Run extension

Buy Me A Coffee Support via PayPal

Github CI Marketplace Version Downloads Rating

An extension running on Visual Studio Code to Compile & Run single c/c++ files easily

Features

Compile & Run C/C++ opened file directly from the command palette or by pressing 'f6' or 'f7'

Requirements

How to use

Make sure you have .c or .cpp file open. Press "F6", this will compile and run the file using default arguments in settings. Or press "F7", this will use the arguments you specify for the program. If you want to register gcc/g++ path manually, you can set it under settings. You can also set to save file before compiling.

Configurations

Key Description
c-cpp-compile-run.c-compiler The C compiler path (e.g: /usr/bin/gcc or C:\TDM-GCC-64\bin\gcc.exe)
c-cpp-compile-run.cpp-compiler The Cpp compiler path (e.g: /usr/bin/g++ C:\TDM-GCC-64\bin\gcc.exe)
c-cpp-compile-run.save-before-compile Whether should save the file before compiling
c-cpp-compile-run.c-flags The C flags: e.g. -Wall. default: -Wall -Wextra
c-cpp-compile-run.cpp-flags The Cpp flags: e.g. -Wall. default: -Wall -Wextra
c-cpp-compile-run.run-args The run arguments
c-cpp-compile-run.run-in-external-terminal Whether should run in an external terminal
c-cpp-compile-run.should-show-notifications Whether should show notifications
c-cpp-compile-run.output-location Custom output location for the compiled file

Keybindings

Linux Windows Mac Description
f6 f6 cmd+r Compiles and runs the file
crtl+6 ctrl+6 cmd+6 Compiles and runs the file
f8 f8 cmd+y Compiles and run the file in external console
f7 f7 cmd+t Compiles and run the file specifying custom arguments and flags

Release Notes

Refer to CHANGELOG

c-cpp-compile-run's People

Contributors

66leo66 avatar andylizf avatar aprilnea avatar danielpinto8zz6 avatar dependabot-preview[bot] avatar dependabot[bot] avatar lazyren avatar mapleccc avatar msaaddev avatar

Stargazers

 avatar

Watchers

 avatar

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.