Code Monkey home page Code Monkey logo

exec-in-cmd's Introduction

Exec in cmd

Make it more convenient for running code in Atom. Instead of command line or other IDEs, you just need to press F12 to run your code.

preview

Notice for Linux & MacOS

Please type Exec in cmd: init in command-palette for Linux user and macOS user when the first time use to avoid permission denied.

Or, you can type these in terminal:

cd {root of atom}/packages/exec-in-cmd/lib
sudo chmod -R 4777 ./
sudo chown -R root ./
sudo chmod -R u+s ./

Manual

Hot Key

F12 Normal ( Run code )

Ctrl + Shift +F12 Open command line in windows or open terminal in linux or macOS

Shift + F12 Advance Mode ( For windows user now )

Ctrl + F12 Initialize ( for Linux user and macOS user when the first time use )

permission_denied If you get Permission denied , please press Ctrl + F12

Support

Language Windows x64 Linux x86_64 MacOS
Assembly NASM NASM + ld
C gcc gcc gcc
C++ g++ g++ g++
dart dart dart dart
go go run / gofmt go run go run
java java / javac java / javac java / javac
js node node node
coffee coffeescript coffeescript
ts tsc tsc
php browser / php -f browser / php -f browser / php -f
rb ruby ruby ruby
rs rustc rustc rustc
py python / python3 python / python3 python / python3
R Rscript Rscript Rscript
sh terminal
bat command line

Made by Hadname Online

exec-in-cmd's People

Contributors

ksw2000 avatar

Stargazers

 avatar

Watchers

 avatar

exec-in-cmd's Issues

Support for Bison/Yacc & Flex/lex execution

For windows - https://github.com/drbeco/hellex

I tried hacking into the windows.h in the plugin folder. But the stuff got too much confusing. Else I would have submitted PR.

So, I request you to please introduce support for Bison/Yacc & Flex/lex files, at least for windows.

Execution command is given in the same link above.
Still for proper reference -

flex hello.l

This generates a file called lex.yy.c which can be then executed using gcc compiler.

bison -dy hello.y

This also generates a .c file similar to above case & finally can be executed using gcc compiler. Or any C compiler

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.