Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
/ borto-pack Public archive

Atom package to compile, run and beautify code in C, C++ and Python

License

Notifications You must be signed in to change notification settings

bortoz/borto-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Borto's Package

This package provides utilities to compile, run and beautify the code in C, C++ and Python.

Feature

Compiler error parser and linter

You can press F6 to compile your code, if there are errors a panel with details will open.

Compiler panel

There is also a linter feature to find errors quickly.

Support of different terminals

You can press F8 to run your code, you can choose and customize the terminal to use.

Teminals

Running multiple inputs in parallel

By pressing shift-F8, your code will be executed on each file in the input folder.

Testcase panel

Installation

To compile and run the code you need to install the compiler and add it to your PATH.

Language Compilers
C gcc, clang
C++ g++, clang++
Python python, pypy

To beautify python code you need to install yapf beautifier.

Usage

This package provides five different commands:

Command Keybinding Use
borto-pack:beautify F5 Beautify the current file.
borto-pack:build F6 Compile the current file.
borto-pack:build-and-run F7 Build current file and run the executable.
borto-pack:run F8 Run the executable file corresponding to the current file.
borto-pack:multi-run shift-F8 Run the executable file on each file in the directory input and saves the outputs in the directory output.