Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cmaglie opened this issue Nov 15, 2012 · 1 comment
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 755 moved from a Google Code project.
Added by 2011-12-21T22:13:49.000Z by dmel...@gmail.com.
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.

@ghost ghost assigned ffissore Feb 11, 2013
@cmaglie cmaglie modified the milestones: Release 1.5.7, Release 1.5.6 Feb 21, 2014
@ffissore ffissore added the New label Feb 27, 2014
@cmaglie cmaglie modified the milestones: Release 1.5.8, Release 1.5.7 Jul 2, 2014
@cmaglie cmaglie modified the milestones: Release 1.5.8, Release 1.5.9 Oct 1, 2014
@cmaglie cmaglie modified the milestones: Release 1.6.0, Release 1.6.1 Feb 18, 2015
@ffissore ffissore removed their assignment Apr 27, 2015
@ffissore ffissore modified the milestones: Release 1.6.1, Release 1.6.5 May 20, 2015
@ffissore ffissore modified the milestones: Release 1.6.5, Release 1.6.6 Jun 15, 2015
@ffissore ffissore self-assigned this Jul 1, 2015
@ffissore ffissore added the Component: IDE The Arduino IDE label Aug 5, 2015
@ffissore ffissore removed this from the Release 1.6.6 milestone Aug 5, 2015
@PaulStoffregen
Copy link
Contributor

I believe #3847 at least partially solves this issue. It provides keywords.txt at the architecture directory level, for all cores and variants within an architecture folder.

Perhaps that's good enough?

If not, at least it lays the groundwork to re-read keywords at runtime when boards change....

@per1234 per1234 added the feature request A request to make an enhancement (not a bug fix) label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

5 participants