| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
execute code files with ease
Explore the docs »
Report Bug
·
Request Feature
This is a script, which compiles the code file and run it for you and delete other junk files if created during the process of compilation, all this with one command for all the languages supported by it. No more remembering different arguments for different compilers to compile, execut and debug the code.
To install and configure the project on your system locally, use suitable method:
Copy and run the following command to install the run binary on your system.
curl https://raw.githubusercontent.com/proffapt/code-runner/main/.setup/install.sh | bashRun the code
run my_code.cOR
run ~/path/to/my_code.cbrew tap proffapt/brewtap
brew install code-runnerTo uninstall the tool from your system execute the following command, depending upon your installation
curl https://raw.githubusercontent.com/proffapt/code-runner/main/.setup/uninstall.sh | bashbrew uninstall code-runnerCreate custom keybindings for vscode to use this script more conveniently in vscode, you can copy my keybindings from vscode-keybindings into your keybindings.json
alt+space
cmd+contextmenu -- use twice for execution
^ NOTE: Code execution is also possible even if the code file is not directly inside the folder opened in vscode.
cr-vscode-demo.mp4Stores previous execution history, as there is no new terminal created everytime, it's created only when not present else uses the same terminal
Create custom keybindings for {Neo}vim to use this script more conveniently in {Neo}vim, you can copy my keybindings from the following files to your vim configuration file.
rr
Doesn't store previous execution history, as there is a new buffer created everytime
ff
cr-vim-demo.mp4Stores previous execution history, as there is no new buffer created everytime, it's created only when not present else uses the same buffer
📫 Arpit Bhardwaj ( aka proffapt ) -
Do consider looking at other paradigms of this documentation
| Back | FazBrowse Home | New Git URL |