g0hl1n / language-bb Goto Github PK
View Code? Open in Web Editor NEWBitBake recipe language support in Atom
License: MIT License
BitBake recipe language support in Atom
License: MIT License
The following bbclass snipped causes the highlighting to go all wrong. Note how the FOO=bar assignments are coloured differently under language-bb.
FOO = "bar"
def some_python_function(d):
bb.warn(u"PE = %s", "epoch")
FOO = "bar"
The highlighting parser sees PE = in the python block and decides that its a bitbake variable assignment.
Add some kind of hover/click mechanism to known/predefined variables which links to or shows the corresponding documentation.
For example the FILES
variable should link to/show https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-FILES.
It should be possible to enable/disable this feature using the "Settings"
Improve the used regex'es to use character groups and correct quantifiers.
For example:
'begin': '^[ ]*(fakeroot)?[ ]*(python)[ ]*([a-z_]+)*[ ]*(\\([a-zA-Z_\\,\\ ]*\\))?[ ]*(\\{)'
Should be something like:
'begin': '^\\s*(fakeroot)?\\s*(python)\\s+([a-zA-Z0-9-_]+)+\\s+(\\([a-zA-Z_\\,\\ ]*\\))?\\s*(\\{)'
This repository doesn't have a license, which makes contributing more difficult. Please add a license as I've implemented the two features from the TODO.
language-perl and language-make both seem to have a MIT-like license, which seems like a fine choice ๐
Hi,
when there is:
SRC_URI = "file://<path>"
everything in quotes is printed in purple.
But when used the git fetcher:
SRC_URI = "git://<address>"
text inside quotes is printed in green, like a variable assignment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.