arduino:code_completion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
arduino:code_completion [2015/10/26 10:11] – [Directories to include by default] mithat | arduino:code_completion [2016/09/19 01:14] – [Arduino Code Completion Directories] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Arduino Code Completion Directories ====== | ====== Arduino Code Completion Directories ====== | ||
+ | After you've set up new tool collection in Netbeans for Arduino along the lines of the figure below, you'll want to specify directories Arduino projects should look for code completion. | ||
+ | |||
+ | {{: | ||
===== The directories ===== | ===== The directories ===== | ||
+ | ==== How to use these lists ==== | ||
+ | |||
+ | * If your IDE lets you configure custom toolsets and you've configured an Arduino toolset, you can add the directories to the Arduino toolset' | ||
+ | * If your IDE is organized around workspaces and you use separate workspaces for Arduino development, | ||
+ | * If you use your IDE onlyfor Arduino development, | ||
+ | * Most IDEs let you add a list of additional directories to check for code completion to the IDE's project. This is the approach you'll want to take for adding project-specific libraries. If you take this approach for default libraries (or if it's your only option), then you'll have to repeat this for every Arduino project you create. | ||
==== Directories to include by default ==== | ==== Directories to include by default ==== | ||
Line 17: | Line 26: | ||
{path-to-arduino}/ | {path-to-arduino}/ | ||
{path-to-arduino}/ | {path-to-arduino}/ | ||
- | {path-to-arduino}/ | + | {path-to-arduino}/ |
- | {path-to-arduino}/ | + | {path-to-arduino}/ |
+ | </ | ||
+ | |||
+ | ==== Including official libraries ==== | ||
+ | Add any of the following libraries that ship with Ardunio to your IDE project' | ||
+ | |||
+ | < | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
+ | {path-to-arduino}/ | ||
</ | </ | ||
- | With this list, you'll want to do one of the following: | + | You can add //all// of these to the default configuration, |
- | * If your IDE lets you configure custom toolsets and you've configured an Arduino toolset, | + | |
- | * If your IDE is workspace based and you use separate workspaces for Arduino development, | + | |
- | * Add the list to your IDE's global list of of additional directories for code completion---which means the directories will be parsed for //every// project, not just Arduino ones. | + | |
- | * Add the list to the IDE project' | + | |
- | ==== Including libraries ==== | + | ==== Including |
- | In addition to the above, you should add any libraries used by your project to the IDE project' | + | In addition to the above, you should add any libraries |
< | < | ||
../ | ../ | ||
</ | </ | ||
arduino/code_completion.txt · Last modified: 2017/04/22 01:30 by mithat