arduino / arduino/Arduino

Per-core and per-variant keywords.txt files (instead of a global one). [imported]

Open
#755 1 comment 0 reactions 0 assignees View on GitHub
Component: IDE feature request
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

This is [Issue 755](http://code.google.com/p/arduino/issues/detail?id=755) moved from a Google Code project.
Added by 2011-12-21T22:13:49.000Z by [dmel...@gmail.com](http://code.google.com/u/107726014984682000895/).
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium, Component-IDE
### Original description

**What change would like to see?**

The keywords.txt file should come from the active core and variant, rather than being globally defined. (Both in addition to the per-library keywords.txt files). That way, the syntax highlighting will be correct, even for cores with differing APIs.

Contributor guide

Open the contributing guide

Research direction

Locate the Arduino IDE 1.x code responsible for global and per-library keywords.txt loading and syntax highlighting; begin by tracing how the active core and variant are selected. Done means keywords are sourced from the active core and variant while per-library files continue to work and highlighting reflects differing APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.