-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Manindra29 edited this page Oct 23, 2012
·
10 revisions
XQMode is a contributed Mode for Processing that reports syntax and compilation errors in code as you type, on the fly. Features include underlining error lines, tabular list of errors, click to scroll to error line and eclipse like error bar displaying positions of all errors in the tab.
## Installation
- You need Processing 2.0b5 or later (http://www.processing.org/download/)
- Download the latest version of XQMode from here.
- If not already present, create a folder named "modes" inside your Sketchbook folder. (The location of the sketchbook folder is shown in Processing's Preferences dialog)
- Extract the contents of XQMode .zip into the modes folder.
- Restart Processing.
- Click on the mode menu in the top right corner. Click on XQMode.
* That's it! Errors in code would be underlined as you type! Warnings would be underlined in yellow. * You can suspend warnings as well as error checking temporarily from the XQMode menu.

* You can view a scrollable list of all errors in the sketch at the bottom pane. * Clicking on any error in the list switches to its tab and highlights the error line. * You can toggle between the problems list and the console by using the buttons at the bottom.

* Markers for all errors and warnings in a tab are also shown in the problems bar on the right. * Hover over any marker to see the error description. * Click on a marker to scroll to its error location.

* You can also go to XQMode menu > Show Problems Window to view the errors list in a separate window. * The number next to the window title displays how much time is being taken per error check of the code.
- You can customize certain properties of XQMode by editing XQMode/theme/theme.txt