Common Tools & Facilities of an IDE

An IDE, or Integrated Development Environment is used by a programmer to write and test their program code (also known as source code). Although different programs have a variety of features, there are a number that are seen in most IDEs.

An example of an IDE

Integrated development environments range from very simple code developement programs like Python IDLE, to educational IDEs such as NetBeans and Larazrus, to professional IDEs such as Visual Studio.

Code Editor

The code editor ofCode Editor an IDE is a text editor that shows your programming syntax. Often this will have more features than a simple text editor such as colour coding of the syntax to help the programmer spot errors as they are writing code.

Sometimes, this will also include familiar features like automatic spell checking where a red line will appear under any spelling or grammar errors in the code (although this won’t work inside strings).

Translators

IDE TranslatorA translator converts high level programming syntax into machine code. An IDE will have at least one translator to allow you to run your code and check for syntax and logic errors.

Most IDEs will also have a translator that will allow you to package up and distribute your code, although this depends on the programming language that you are using.

For more information about the different types of translator, visit the High Level Languages page.

Debugging Tools

Code highlighting

Tools of an IDE - code highlightingWhen an IDE detects an syntax error, it will often help you by highlighting the section of code where it has detected the error.

It’s useful to remember that the IDE may not always highlight the actual error. In this example, the variable name has been highlighted, but the error is actually the extra key word before it (that isn’t used in Python).

Tip: if you see code highlighted, check the previous line of code for an error.

Breakpoints

Tools of an IDE - breakpointA breakpoint in an IDE is a useful tool that allows you to pause a program at a specific line of code to check the value of variables.

Usually, a breakpoint can be inserted into the code editor by clicking on the line number on the left. They are generally identified as red circles over the line number.

Steppers

Steppers are similar to breakpoints as they will pause the running of the code at a specific line, but they also allow you to keep running the code line by line by pressing a specific key on the keyboard.

This allows you as a programmer to check the value of variables at each step of the code (very similar to creating a trace table for a variable).

Runtime vs Development

When we talk about the runtime environment of an IDE, what we are actually referring to is the code editor or the translated code running within the IDE.

Tools of an IDE - Runtime vs Development

In the example above, the screen on the right is the text editor, so this is where the actual source code is written. When the code is run inside the IDE an interpreter alllows the code to run in the runtime environment, which in this case is the Shell on the left.

Looking For More?

Lesson Plan

Presentation

Homework

Revision

Quiz

Not a member yet? Sign Up Here

Or log in below to access more resources on this page

Sign Up For Membership Today

Computer Science Student

Individual Site License
Topic Introduction Pages
Additional Revision Resources
Revision Videos
Exam Question Walkthroughs
Discounted Group Lessons
£2.50 per Month. After your initial payment, your first payment is Free.

Whole School

Whole School Site License (teacher access)
Up to 50 student accounts (£3 per student, per annum for additional students)
Online Topic Lesson Plans
Differentiated Homework Tasks
Monthly Bundle of Downloadable Resources
Discounted Live Lessons
£12.50 per Month.
Number of courses10
iGCSE Computer Science (0984) – Distance Learning
GET IT NOW GET IT NOW