Giter Club home page Giter Club logo

jackcompilervscodeextension's Introduction

A Jack Compiler Extension For Visual Studio Code

A Save & Compile button for Jack programming in Visual Studio Code

Prerequisites

  1. Download and install Power Tools and macros extensions for VS Code.
  2. Download and install Java. Make sure Java is added to PATH.

Installation:

Download this .rar file, and extract its contents into your Jack project's folder.
After that, your Jack project's folder should have a .vscode folder, like shown here:


Usage:

Open your Jack project using VSCode by clicking File -> Open Folder... and then selecting your Jack project's folder.
After a few seconds of VSCode loading your project, you'll notice a small Save & Compile button at the bottom-left corner of the IDE:





Clicking the Save & Compile button will save your entire project and will try to compile it. If the compiler encountered errors, it will pop-up error messages. Clicking each error message will redirect you to the problematic line of code in a specific file (problematic - by the compiler's prespective):




If compilation was succesful - the following message will pop-up:




Notes:

As for now, you need to repeat these steps for each Jack project you create if you want to enjoy this functionality.
A Jack project's folder that doesn't have this specific .vscode folder in it - won't be able to be compiled in VS Code like described above.

The Nand2Tetris - Jack Language Syntax Highlighting extension is extemely recommended.

Contact:

If you have any questions, you can send me an email to [email protected]

jackcompilervscodeextension's People

Contributors

elyasaf755 avatar

Watchers

 avatar

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.