---
layout: post
status: publish
published: true
title: Better code completion for Miosix
author:
display_name: fedetft
login: fedetft
email: fede.tft@hotmail.it
url: http://fedetft.wordpress.com
author_login: fedetft
author_email: fede.tft@hotmail.it
author_url: http://fedetft.wordpress.com
excerpt: 'For those who are using Miosix with the Netbeans IDE, there is an interesting
new feature: support for configurations. Netbeans is the IDE I’m using to
develop Miosix, and the kernel comes with a folder containing a Netbeans project
to manage its sources. While code completion in Netbeans is good, the IDE often
got confused […]
'
wordpress_id: 3263
wordpress_url: http://fedetft.wordpress.com/?p=213
date: '2012-04-06 20:29:49 +0000'
date_gmt: '2012-04-06 19:29:49 +0000'
categories:
- PlanetPOuL
tags: []
comments: []
---
For those who are using Miosix with the Netbeans IDE, there is an interesting new feature: support for configurations. Netbeans is the IDE I’m using to develop Miosix, and the kernel comes with a folder containing a Netbeans project to manage its sources. While code completion in Netbeans is good, the IDE often got confused by the existence of multiple supported architectures, so code completion would not work for resolving symbols in the board support packages, at least until now.
Now a new configuration has been added for each supported board, with the predefined macros reflecting those in Makefile.inc, so that code completion now works also for board specific files.
To select the board you’re currently using, right click on the project, and select your board among those listed under “Set Configuration”. Note that this does not eliminate the need to edit the Makefile.inc to build the kernel for a specific board.