Integrated Development Environments For Mac



  1. Integrated Development Environment For Mac
  2. Php Development Environment Mac

Contents

Integrated Development Environment For Mac

Mac OS 7 (v2.x-v4.x only), Linux: C and C#: Yes Yes Yes Yes Yes Yes Yes Yes Yes 2019-04 Yes Yes Yes (also plugin) Microsoft Visual Studio Code: MIT. Game Integrated Development Environments; References This page was last edited on 13 September 2020, at 22:01 (UTC). Text is available under the Creative Commons. Dev-C A free, portable, fast and simple C/C IDE. A new and improved fork of Bloodshed Dev.

  • Install a text editor
  • Step 2 – “Hello World” in Python

Back up your computer

Mac users can take advantage of the Time Machine for this.

Install Python v.3

You may already have Python 2 installed on your machine. This version of Python will be deprecated at the end of 2019, so you will have to install Python 3. Download the lateststable release of the Python programming language (Version 3.8 as ofNovember 2019) and install it by following the instructions on the Pythonwebsite.

Create a Directory

To stay organized, it’s best to have a dedicated directory (folder) onyour computer where you will keep your Python programs (e.g.,programming-historian). Save it anywhere you like on your harddrive.

Install a text editor

There are many text editors that you can use to write, store, and run Python commands. Komodo Edit is the one used in this lesson. It is a free and open source code editor. If you prefer to useanother editor, there are many other text editing options. Some of ourtesters prefer a program called TextWrangler. Which you use is up toyou, but for the sake of consistency in our lessons, we will be usingKomodo Edit. You can download a copy of Komodo Edit from the KomodoEdit website. Install it from the .DMG file

Make a “Run Python” Command in Komodo Edit

Now you need to set up the editor so that you can run Pythonprograms.

If you don’t see the Toolbox pane on the right hand side, chooseView->Tabs & Sidebars ->Toolbox. In the Toolbox window, click on the gear icon and select“New Command…“. This will open a new dialog window. Rename yourcommand to “Run Python” and feel free to change the icon if youlike. In the “Command” box, type

and on the Advanced Options tab under “Start in,” enter

Click OK. Your new Run Python command should appear in the Toolboxpane.

Step 2 – “Hello World” in Python

It is traditional to begin programming in a new language by trying tocreate a program that says ‘hello world’ and terminates. We will showyou how to do this in Python and HTML.

Python is a good programming language for beginners because it is veryhigh-level. It is possible, in other words, to write short programs thataccomplish a lot. The shorter the program, the more likely it is for thewhole thing to fit on one screen, and the easier it is to keep track ofall of it in your mind.

Python is an ‘interpreted’ programming language. This means thatthere is a special computer program (known as an interpreter) that knowshow to follow instructions written in that language. One way to use theinterpreter is to store all of your instructions in a file, and then runthe interpreter on the file. A file that contains programming languageinstructions is known as a program. The interpreter will execute each ofthe instructions that you gave it in your program and then stop. Let’stry this.

Mac

In your text editor, create a new file, enter the following two-lineprogram and save it to your programming-historian directory ashello-world.py

Your chosen text editor should have a “Run” button that will allow youto execute your program. If you are using TextWrangler, click on the“#!” button and Run. If all went well, it should look something likethis:

Php Development Environment Mac

“Hello World” in Python on a Mac

Integrated Development Environments For Mac

Interacting with a Python shell

Another way to interact with an interpreter is to use what is known as ashell. You can type in a statement and press the Enter key, and theshell will respond to your command. Using a shell is a great way to teststatements to make sure that they do what you think they should. This isdone slightly differently on Mac, Linux and Windows.

You can run a Python shell by launching the ‘terminal’. On the Mac, openthe Finder and double-click on Applications -> Utilities -> Terminalthen typing “python3” into the window that opens on your screen. At thePython shell prompt, type

and press Enter. The computer will respond with

When we want to represent an interaction with the shell, we will use-> to indicate the shell’s response to your command, as shown below:

On your screen, it will look more like this:

Python Shell in Mac Terminal

Now that you and your computer are up and running, we can move onto somemore interesting tasks. If you are working through the Python lessons inorder, we suggest you next try ‘Understanding Web Pages and HTML.’

-->

This guide will help you get started with installing and setting up the languages and tools you need to develop on Windows or Windows Subsystem for Linux.

Development paths


Get started with NodeJS
Install NodeJS and get your development environment setup on Windows or Windows Subsystem for Linux.


Get started with Python
Install Python and get your development environment setup on Windows or Windows Subsystem for Linux.


Get started with Android
Install Android Studio, or choose a cross-platform solution like Xamarin, React, or Cordova, and get your development environment setup on Windows.


Get started with Windows Desktop
Get started building desktop apps for Windows 10 using UWP, Win32, WPF, Windows Forms, or updating and deploying existing desktop apps with MSIX and XAML Islands.


Get started with C++ and C
Get started with C++, C, and assembly to develop apps, services, and tools.


Get started with C#
Get started building apps using C# and .NET Core.


Get started with Docker Desktop for Windows
Create remote development containers with support from Visual Studio, VS Code, .NET, Windows Subsystem for Linux, or a variety of Azure services.


Get started with PowerShell
Get started with cross-platform task automation and configuration management using PowerShell, a command-line shell and scripting language.

Tools and platforms


Windows Subsystem for Linux
Use your favorite Linux distribution fully integrated with Windows (no more need for dual-boot).
Install WSL

Integrated


Windows Terminal
Customize your terminal environment to work with multiple command line shells.
Install Terminal


Windows Package Manager
Use the winget.exe client, a comprehensive package manager, with your command line to install applications on Windows 10.
Install Windows Package Manager (public preview)


Windows PowerToys
Tune and streamline your Windows experience for greater productivity with this set of power user utilities.
Install PowerToys (public preview)


VS Code
A lightweight source code editor with built-in support for JavaScript, TypeScript, Node.js, a rich ecosystem of extensions (C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).
Install VS Code


Visual Studio
An integrated development environment that you can use to edit, debug, build code, and publish apps, including compilers, intellisense code completion, and many more features.
Install Visual Studio


Azure
A complete cloud platform to host your existing apps and streamline new development. Azure services integrate everything you need to develop, test, deploy, and manage your apps.
Set up an Azure account


.NET
An open source development platform with tools and libraries for building any type of app, including web, mobile, desktop, gaming, IoT, cloud, and microservices.
Install .NET


Run Windows and Linux

Windows Subsystem for Linux (WSL) allows developers to run a Linux operating system right alongside Windows. Both share the same hard drive (and can access each other’s files), the clipboard supports copy-and-paste between the two naturally, there's no need for dual-booting. WSL enables you to use BASH and will provide the kind of environment most familiar to Mac users.

  • Learn more in the WSL docs or via WSL videos on Channel 9.

You can also use Windows Terminal to open all of your favorite command line tools in the same window with multiple tabs, or in multiple panes, whether that's PowerShell, Windows Command Prompt, Ubuntu, Debian, Azure CLI, Oh-my-Zsh, Git Bash, or all of the above.

Learn more in the Windows Terminal docs or via Windows Terminal videos on Channel 9.

Transitioning between Mac and Windows

Check out our guide to transitioning between between a Mac and Windows (or Windows Subsystem for Linux) development environment. It can help you map the difference between:

Additional resources