kdl-org / vscode-kdl Goto Github PK
View Code? Open in Web Editor NEWVS Code syntax highlighting for KDL
VS Code syntax highlighting for KDL
If I under the spec correctly, I believe the whole thing of /-"comment ull"
should be commented out instead of just until the space (since slashdot should be for the whole node / value).
Can you please provide a license for this repo?
We have icons! I just don't know how to get them in as the extension icon. Help with this would be fantastic.
VSCode recognizes +10
as a entity.name.tag
but 10
as constant.numeric.integer.decimal.rust
This ultimately occurs because +10
is both a valid node name, and entry. Ideally +10
should be highlighted differently in the document +10 +10
, but I don't thing this is achievable with regex's. But I think if +10
can only be a number or identifier, it's more likely to be a number.
I have literally no idea how to do this using the tm stuff. I would love some help on this.
I wrote a tree-sitter grammar for kdl here, it'd be cool to see it integrated into vscode for highlighting since it can provide much more info, as it is for neovim.
I'm using an open source build of VSCode called code-oss
. This and most other OSS versions of VSCode use the OpenVSX plugin marketplace. It would be great if it was available there: https://open-vsx.org
KDL 2.0.0-draft.3 is now generally available (kdl-org/kdl#286), and with it, we've decided to encourage existing implementations to start working towards 2.0 support and send feedback and suggestions for anything you might run into, so I'm making this tracking issue. :)
P.S. We might want to just wait until #12 happens and that grammar is updated for 2.0.
KDL 1.0 is out! Let's make sure this extension is up to speed.
example text:
/-command "twitter" "tw" {
rules {
// profiles (format: @username)
custom "https://twitter.com/{/username}" \
regexp="^@(?P<username>[A-Za-z_]+)$"
noargs "https://twitter.com"
freeform "https://twitter.com/search?q={ARGS}"
}
tests {
case "tw" "https://twitter.com"
case "tw @sargunv" "https://twitter.com/sargunv"
case "tw sargun vohra" "https://twitter.com/search?q=sargun%20vohra"
}
}
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.