blueprint-compiler/blueprintcompiler
Matthijs Velsink ed867269dd formatter: Also allow /*...*/ as inline comments
Blueprint allows both `//` and `/*...*/` style comments, but if a
project prefers only `/*...*/` comments, it is currently not possible to
have these inline.

Therefore, treat these comments equal if they occur inline. To make this
easier to understand, we refactor the comment handling slightly to first
handle single-line comment whitespace, and then handle newlines for both
single-line and multi-line style comments.

Adjust the test accordingly to make sure this works.
2025-06-12 19:00:56 +02:00
..
language Fix incorrect error with Adw.AlertDialog responses 2025-05-07 17:08:26 -05:00
outputs adw_breakpoint: Fix crash in language server 2025-04-01 19:27:59 -05:00
__init__.py Rename to blueprint-compiler 2021-12-01 15:35:58 -06:00
annotations.py completions: Detect translatable properties 2024-12-21 17:47:36 -06:00
ast_utils.py Add tests, remove unused code, fix bugs 2024-12-22 18:00:39 -06:00
completions.py language: Add expression literals 2025-01-04 17:09:57 +00:00
completions_utils.py Add tests, remove unused code, fix bugs 2024-12-22 18:00:39 -06:00
decompiler.py decompile: Fix bug in lookup tags 2025-04-25 20:13:01 -05:00
errors.py Update URLs after move to GNOME namespace on GitLab 2025-04-25 18:29:55 -05:00
formatter.py formatter: Also allow /*...*/ as inline comments 2025-06-12 19:00:56 +02:00
gir.py Add tests, remove unused code, fix bugs 2024-12-22 18:00:39 -06:00
interactive_port.py Update URLs after move to GNOME namespace on GitLab 2025-04-25 18:29:55 -05:00
lsp.py LSP: Handle shutdown commands 2025-01-03 22:49:36 +03:00
lsp_utils.py lsp: Add reference documentation on hover 2024-10-20 21:10:14 -05:00
main.py cli: Add decompile command 2024-08-23 18:29:34 -05:00
parse_tree.py black: Update formatting 2025-04-25 18:32:33 -05:00
parser.py build: Update Docker container 2024-10-19 19:16:45 -05:00
tokenizer.py Add warning for unused imports 2024-04-06 14:33:20 -05:00
typelib.py typelib: Fix field offsets for attributes 2024-10-19 10:21:13 -05:00
utils.py decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
xml_reader.py Add isort to CI and run on files 2023-07-09 14:26:37 +00:00