GithubHelp home page GithubHelp logo

amosyu2000 / st3-build-systems Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 16 KB

Sublime Text 3 build systems for a handful of file types.

License: MIT License

Batchfile 93.67% C 1.52% C++ 2.01% Java 2.33% Python 0.47%

st3-build-systems's Introduction

Sublime Text 3 Build Systems

https://github.com/amosyu2000/st3-build-systems
Amos Yu, amosyu2000.github.io

About

A Sublime Text 3 (ST3) Package containing scripts for compiling/executing a handful of file types. ST3's built-in build systems do not allow the user to give input at runtime. These Sublime build systems bypass this issue by opening a separate command prompt window to execute the program rather than executing in ST3's build output panel.
This package has a test directory containing test code files for each supported file type.
If you encounter any issues using this package, please open an issue.

Screenshot

Supported File Types

  • C .c
  • C++ .cpp
  • Java .java
  • Python .py

Tips and Tricks

  • Ctrl+B is the hotkey for building a file.
  • Change your build system to automatic so that ST3 remembers which build system to use for each file type. Go to Tools > Build System > Automatic.
  • Some of the build systems in this package have custom features (ex. Compiling a custom .exe file in C instead of the generic a.exe). The hotkey Ctrl+Shift+B will access these.
  • An important custom feature is the ability to run Python files under a virtual environment. There is support for the virtualenv and pipenv packages, however, it is HIGHLY recommended to use pipenv in your projects because it is more reliable and user-friendly.
  • You may want to disable the output panel in ST3 from appearing every time you run a file. Go to Preferences > Settings and add "show_panel_on_build": false to your Preferences.sublime-settings -- User file.

st3-build-systems's People

Contributors

amosyu2000 avatar

Watchers

James Cloos avatar  avatar

st3-build-systems's Issues

File names

It's better to use underscore to connect the words than to use space especially when you try to access the files through the command line.

Ex. Instead of My C Build.bat, use my_c_build.bat.

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.