mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
130 lines
3.3 KiB
JSON
130 lines
3.3 KiB
JSON
{
|
|
"version": "0.2",
|
|
"language": "en",
|
|
"languageSettings": [
|
|
{
|
|
"languageId": "rust",
|
|
"words": [
|
|
"ARGB",
|
|
"bbox",
|
|
"bindgen",
|
|
"builtins",
|
|
"canonicalize", // std::path::Path::canonicalize
|
|
"codemap",
|
|
"concat",
|
|
"Consts",
|
|
"evenodd",
|
|
"FBOs", // plural of FBO (frame buffer object)
|
|
"femtovg",
|
|
"fontdb",
|
|
"fullscreen",
|
|
"glutin",
|
|
"glutin's",
|
|
"maxx",
|
|
"maxy",
|
|
"minx",
|
|
"miny",
|
|
"peekable",
|
|
"Realloc",
|
|
"refcell",
|
|
"Rgba",
|
|
"rtti",
|
|
"subspan",
|
|
"uninit",
|
|
"unmap",
|
|
"unsync",
|
|
"vsync",
|
|
"winit"
|
|
],
|
|
"ignoreRegExpList": [
|
|
"/#\\[cfg\\b.+\\]/",
|
|
"/#\\[repr\\b.+\\]/",
|
|
// Exclude crate paths
|
|
"/(\\b|::)[a-z0-9_]+::/",
|
|
"/::[a-z0-9_]+(\\b|::)/",
|
|
// Qt things:
|
|
"/\\bQt_[a-zA-Z0-9_]+/"
|
|
]
|
|
},
|
|
{
|
|
"languageId": "restructuredtext",
|
|
"words": ["genindex", "modindex", "toctree"],
|
|
"ignoreRegExpList": ["/:.+:/"]
|
|
},
|
|
{
|
|
"languageId": "markdown",
|
|
"words": ["rustup", "SUBDIR", "Yocto"],
|
|
"ignoreRegExpList": [
|
|
// Ignore simple code blocks
|
|
"`[^`]+`"
|
|
]
|
|
}
|
|
],
|
|
"words": [
|
|
"Bezier",
|
|
"cbindgen",
|
|
"cmake",
|
|
"colspan",
|
|
"datastructures",
|
|
"dealloc",
|
|
"flickable",
|
|
"focusable", // common term in UI (css, dom, toolkits)
|
|
"Goffart",
|
|
"gradians",
|
|
"Hausmann",
|
|
"Helvetica",
|
|
"layouting", // This would be worth renaming in the ItemVTable to layout_info
|
|
"linebreak",
|
|
"listview",
|
|
"lvalue",
|
|
"microcontroller",
|
|
"microcontrollers",
|
|
"MSVC",
|
|
"ogoffart",
|
|
"opengl",
|
|
"pixmap",
|
|
"rowspan",
|
|
"rustc",
|
|
"rvalue",
|
|
"SDK",
|
|
"sixtyfps",
|
|
"slint",
|
|
"slintpad",
|
|
"SPDX",
|
|
"streetsidesoftware",
|
|
"struct",
|
|
"structs",
|
|
"tabwidget",
|
|
"testcase",
|
|
"textedit",
|
|
"tmpobj",
|
|
"toolchain",
|
|
"tronical",
|
|
"uncompiled",
|
|
"unmapping", // present participle of unmap
|
|
"untracked",
|
|
"viewbox",
|
|
"vtable",
|
|
"wasm",
|
|
"webassembly",
|
|
"windowrc", // use in slint_windowrc_foo FFI functions
|
|
"xtask"
|
|
],
|
|
"ignorePaths": [
|
|
"api/cpp/docs/conf.py",
|
|
"Cargo.toml",
|
|
"CHANGELOG.md",
|
|
"cspell.json",
|
|
".github/workflows/*.yaml"
|
|
],
|
|
"ignoreRegExpList": [
|
|
// Color encodings in all languages:
|
|
"/(\\b|0x|#|_)?[argbARGB][argbARGB][argbARGB]+(\\b|_|Color)/"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"filename": "**/*.rst",
|
|
"languageId": "restructuredtext"
|
|
}
|
|
]
|
|
}
|