Skip to content

Multiple white spaces can not be used in keywords.txt #2435

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

Closed
Myriads opened this issue Nov 10, 2014 · 7 comments
Closed

Multiple white spaces can not be used in keywords.txt #2435

Myriads opened this issue Nov 10, 2014 · 7 comments
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)
Milestone

Comments

@Myriads
Copy link

Myriads commented Nov 10, 2014

If multiple white spaces are used to align KEYWORDs in keywords.txt file, then KEYWORDs are not recognized and not working in Arduino IDE.

@matthijskooijman matthijskooijman added Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix) labels Nov 10, 2014
@ffissore
Copy link
Contributor

keywords columns are tab separated

@ffissore ffissore added the Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature label May 12, 2015
@Myriads
Copy link
Author

Myriads commented May 12, 2015

I know that keywords columns are tab separated.

If PApplet.splitTokens(line) is used instead of PAapplet.split(line, '\t'),
then any white space can be used in Keywords.

2015-05-12 17:09 GMT+09:00 Federico Fissore [email protected]:

keywords columns are tab separated


Reply to this email directly or view it on GitHub
#2435 (comment).

@ffissore
Copy link
Contributor

IMHO tabs are a far safer separator, whatever the contents of the file is (almost)

@Myriads
Copy link
Author

Myriads commented May 14, 2015

If multiple tabs are used for indentation, Keywords do not work.

@BrentWilkins
Copy link
Contributor

@ffissore Will you please expand on the issue with splitting on white-space? Makefiles are the only other example I can come up with that requires tabs. I feel the problem isn't as bad as the way the single-tab-only files look.

@ffissore ffissore modified the milestone: Release 1.6.5 May 20, 2015
@bperrybap
Copy link

bperrybap commented Jul 22, 2016

Why is this a won't fix item?
This seems very silly.
The separator should be white space rather than tab and white space is white space.
tab or space should not matter.
The older IDEs would not accept more than a single tab. Someone went in and modified the IDE to support multiple tabs, and that would have been a good time to support using the space as a separator.

At this point, it seems like it is more of an issue obstinacy than a technical issue.

@per1234
Copy link
Collaborator

per1234 commented Oct 14, 2017

See #6693

@per1234 per1234 removed the Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature label Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

6 participants