Visual Studio Code – All the Git Features!!!

Visual Studio Code supports Git… like a BOSS!!! VS Code gets Git!   Let’s look at the features! Git version control Commit, diff, pull and push Embrace modern workflows with the power and flexibility of Git. See changed files, diffs, and make commits right from within the editor. Connect with the entire Git universe by…


Visual Studio Code – NEW FEATURES: 3 Big Improvements (File Picker, Fuzzy Search, & Persisted Zoom Level)

The 0.10.5 December release features a plethora of improvements, including… File Picker improvements and fuzzy search The file picker (“Quick Open”) is now able to search on file paths when you include slash (Mac/Linux) or backslash (Windows) in the search term. This allows you to list all the files of a directory easily. A new…


Visual Studio Code – NEW FEATURES: 4 Language Improvements (JavaScript, TypeScript, JSX, & TSX)

The 0.10.5 December release features a plethora of improvements, including… ES6 is the new default We have made ES6 the default for JavaScript files. This means you don’t need to create jsconfig.jsonfiles to enable new syntax and by default you get suggestions for ES6-types, like Promise, Set, Map,String.startsWith and much more. Thanks to a community contribution. At the same time, the…


Program your Lego Mindstorms EV3 Robots with actual Text-Based Coding!

Using the EV3 extension for Small Basic 1.2, you can use Small Basic to program your Lego Mindstorm EV3 robots! This is a great next step for teachers and parents looking to lay the groundwork on their kids’ futures and careers. Lego Mindstorms is a big step toward engineering and computer development, and programming your robots on…


Small Basic: Strings and Characters in Non-English Languages

Strings and Character Encodings in Non-English Languages Many of the strings you deal with are likely English characters. For example, you might write this: treasureChest = “My booty!” That creates the string “My booty!” and assigns it to the treasureChest variable. When you use this variable in your program, you didn’t have to think or worry…


Small Basic: Three Ways to Validate Input

Validate Your User Input When you create a program that reads data from your user, always check the input data right away! We call this process validation, and it’s a regular programming practice. Here are three ways you can handle invalid input values: 1)     Display an error message and end the application. 2)     Override the…


Small Basic: Multiplication Table Example

In this example, you’ll create a program that displays the multiplication table for numbers 1 through 5. See the complete program in the Listing. Trace through the program to understand how it works! (Tracing is where you write down the values on a paper and follow the logic of the code.) Listing:  1 ‘ Multiplication.sb…


Small Basic – Nesting Subroutines

This blog post continues what you learned in the Triangle Area Calculator, here: Small Basic – The Triangle Area Calculator Nesting Subroutines Overview A subroutine might call other subroutines, like in Figure 1. In that figure, the main program calls a subroutine, SubA(), which in turn calls another subroutine, SubC(). Subroutines called from other subroutines…


Small Basic – The Triangle Area Calculator

The Three Triangles What: This blog post teaches you how to write interactive programs. The advantages of using subroutines aren’t very obvious if you started by writing simple programs. In this blog post, you’ll look at an example that uses subroutines to break down a problem into smaller pieces. This program can find the area of all…


Small Basic Files

When you click Run after editing your file, Small Basic creates a new version of each one of these four files: FileName.sb – Your source code file that you open to edit your code FileName.exe – Your executable file that runs your program FileName.dll – Your Dynamic Link Library file includes code that your exe…