This package provides utilities to compile, run and beautify the code in C, C++ and Python.
You can press F6 to compile your code, if there are errors a panel with details will open.
There is also a linter feature to find errors quickly.
You can press F8 to run your code, you can choose and customize the terminal to use.
By pressing shift-F8, your code will be executed on each file in the input
folder.
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.
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 . |