summaryrefslogtreecommitdiffstats
path: root/yql/essentials/tools/yql_highlight
Commit message (Collapse)AuthorAgeFilesLines
* YQL-20095: Enable modernize-use-designated-initializersvitya-smirnov2026-03-171-13/+13
| | | | | https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-designated-initializers.html commit_hash:d73eb463c7bec2bda4c362aab10af49979a7ddd3
* YQL-20095: Enable modernize-avoid-c-arraysvitya-smirnov2026-02-191-2/+2
| | | | commit_hash:da491ee93c4f4d3c885c7908a22b4d5d66c80388
* YQL-20519: Fix multiline ID_QUOTED highlightingvitya-smirnov2025-12-032-3/+9
| | | | | | | | There were patches to fix multiline `STRING_VALUE`s, but `ID_QUOTED`, was untouched, but actually is able be multiline, so this change fixes it. Now unclosed `ID_QUOTED` highlightes the whole suffix of a source until the end or closing `BACKTICK`. commit_hash:d1262172c798fd4b06cc39980cceb74681d5dd40
* Intermediate changesrobot-piglet2025-12-011-0/+1
| | | | commit_hash:d45a6dead0f9bc3427f5ab0d6b7fb28bdd97f940
* YQL-20086: Add yql/essentials Clang Tidy configvitya-smirnov2025-11-211-4/+4
| | | | | | | | | This patch introduces an extension configuration for the Clang Tidy. It is merged with Arcadia Clang Tidy configuration. To begin with, more checks for identifiers naming are added. Documentation: https://nda.ya.ru/t/AhbDZbiF7MKe3M. commit_hash:3481da4c8df0a4d23a991d4a660ae050d2dc5d33
* YQL-20496: Fix highlighting againvitya-smirnov2025-11-104-40/+36
| | | | | | | | | | | | Fixed [issues](https://nda.ya.ru/t/e98IQkef7Mhm96): 1. Types had higher precedence than UDF and so `Yson::Parse` was badly highlighted. So function unit was split to let types to highlight `Decimal(...)` correctly, as well as UDFs. 2. There was a hack in a Monaco generator (probably I forgot to fix it) with hardcoded rules for embedded language, so JSON rule was forgotted to be deleted. commit_hash:b24527891525dad65bfbafbc209fd3cb7f087f32
* Intermediate changesrobot-piglet2025-11-061-0/+1
| | | | commit_hash:0df1c4505cba83a77526c98f32ebdec7d0a18d91
* YQL-20496: Fix YQL highlighting dramaticallyvitya-smirnov2025-11-0113-161/+320
| | | | | | | | | | - Highlight embedded languages in Shiki - Generate Monaco playground template - Highlight type as type even in function context - Removed an embedded JSON support - Fix YQLs highlighting for Monaco and highlight-js - Fix string embedded language in Monaco commit_hash:d140266b26c73e9623d878a44e7c0c1152d5c437
* Intermediate changesrobot-piglet2025-10-295-0/+212
| | | | commit_hash:bad4bae2aa553fd190bf8bc1e63435272bd9f8f7
* YQL-20519: Add multiline pattern for stringsvitya-smirnov2025-10-287-44/+66
| | | | | | | | The problem was that YQL basic string literals are actually multiline and so we need to use range pattern for them. Also this patch highlights embedded JSON as JavaScript in Monarch. commit_hash:83db61d5f3560ca914fd277df5fef6f242fa0d30
* YQL-20086 invert flagvvvv2025-10-101-2/+0
| | | | commit_hash:a6b640bc576263b62884a0b4187ba79c893e13d9
* YQL-20496: Improve YQL highlightingvitya-smirnov2025-10-095-0/+67
| | | | commit_hash:edf72fd8386c41f858f677152612bd58680506a6
* Intermediate changesrobot-piglet2025-10-0619-814/+816
| | | | commit_hash:ab4976b763ebd56a8961ed2ba5e9f289926a0086
* Intermediate changesrobot-piglet2025-10-012-0/+15
| | | | commit_hash:f8824dd4709e9607499ae3cf7558efe1150fff92
* Intermediate changesrobot-piglet2025-09-019-30/+58
| | | | commit_hash:1623077a586fe91fb5d853b4efee5d1e623189cb
* Intermediate changesrobot-piglet2025-08-087-20/+170
| | | | commit_hash:7d11e0fa6106e0eb6610524755168f87a192a112
* YQL-19616: Generate Monarch Configurationvitya-smirnov2025-08-0611-6/+381
| | | | | | | - Generated Monarch configuration as a JSON. - Added test files for `*.yql` and `*.yqls`. - Screenshots: https://nda.ya.ru/t/LgOjOxcs7HJQyS. commit_hash:dddf747c54780332b54fca3e9e9b52c88a9736f5
* Intermediate changesrobot-piglet2025-08-041-6/+15
| | | | commit_hash:c4c9b4772b02a0d707e14cd4c65fbf229c5b17a2
* YQL-19616: Generate YQLs syntax highlightingvitya-smirnov2025-08-017-28/+196
| | | | | | | | | | | | | | | | | | | | - Support `Before` at core `TRegexPattern` and `IGenericLexer`. - Added `Name` and `Extension` to core `THighlighting`. - Added `Tighlighting` for `YQLs` factory method. - Added `--language` option to `yql_highlight`. - Added `artifact` targets for `YQLs`. Yes, using the `NSQLTranslation::THighlighting` for `YQLs` is not correct, but much simplier than generalize this infrastructure just for a `YQLs`. So here is a trade-off between development time and a clean code. Results: - JetBrains: https://nda.ya.ru/t/PXkZVE8m7H5wHS. - Vim: https://nda.ya.ru/t/Am-6ZHQa7H5wJi. - TextMate: https://nda.ya.ru/t/wH0YggAf7H5wKw. - yql_highlight: https://nda.ya.ru/t/3FaCm57q7H7QSF. commit_hash:f0e1abb8e7f1b083df531d761b357330bd514cb0
* YQL-19616: Generate YQL TextMate Bundlevitya-smirnov2025-07-3114-198/+468
| | | | | | | | - Introduced the Generator interface. - Made tool to generate content to stdout and file. - Supported TextMate Bundle, tested on IDEA and TextMate. - Fixed UDF highlighting priority. commit_hash:bcbc446a2fe58da3400f0e981a03d821b8f77dae
* Intermediate changesrobot-piglet2025-07-302-2/+7
| | | | commit_hash:e28d8d6493131d55021800ea5c63fe3e9021afb3
* YQL-19616: Improve TextMate and Vim grammarsvitya-smirnov2025-07-225-79/+39
| | | | | | | | | - Fixed multiline tokens - Fixed REAL number display - Disabled punctuation highlighting - Refactored by extracting properties to core highlighting commit_hash:a2d1eb6e4e49b1cb785b90accbdecebe977faa13
* YQL-19616: Fix BindParameterIdentifier typovitya-smirnov2025-07-184-6/+6
| | | | commit_hash:d95cb665e7dd63f67ee4ef7a2602f1c9ec34d26f
* Intermediate changesrobot-piglet2025-07-1610-15/+242
| | | | commit_hash:9b36145268d91eb8ed2f7ac54b006a7ee268a593
* YQL-19616: Generate Vim SQL syntax highlightingvitya-smirnov2025-07-154-1/+190
| | | | | | | | | | Introduced a Vim syntax highlighting for YQL. This is a replacement for an existing almost manually written conguration. It uses regexes generated from the original ANTLR4 grammar. Now only Default lexer mode is supported. commit_hash:85fa094593bd9d80373754a492b46ede1a50148d
* Intermediate changesrobot-piglet2025-07-152-1/+12
| | | | commit_hash:0f7d01c349dc801704a27453a3da46573284d7fe
* Intermediate changesrobot-piglet2025-05-121-1/+0
| | | | commit_hash:7a1e89d4ac973444c2b7275f326889e14b6f9e3d
* Intermediate changesrobot-piglet2025-05-123-0/+97
commit_hash:3a624a323006078de71f50747f7b2e8cadba7ccd