From 5d37ebcc02f6ca2ce1ced93f803dd1daf634d866 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 27 Oct 2026 14:00:49 +0000 Subject: feat(editor): support PP directives in VS Code and Bundle Share preprocessor highlighting through the existing grammar, keep conditional blocks at the ordinary indentation depth, and exercise switches in Bundle's native runner test. Co-Authored-By: Claude Opus 5.5 --- plugin/syntaxes/cie-pseudocode.tmLanguage.json | 42 +++++++++++++++++++------- 1 file changed, 31 insertions(+), 11 deletions(-) (limited to 'plugin/syntaxes/cie-pseudocode.tmLanguage.json') diff --git a/plugin/syntaxes/cie-pseudocode.tmLanguage.json b/plugin/syntaxes/cie-pseudocode.tmLanguage.json index 16a4ac4..14ef33c 100644 --- a/plugin/syntaxes/cie-pseudocode.tmLanguage.json +++ b/plugin/syntaxes/cie-pseudocode.tmLanguage.json @@ -417,6 +417,9 @@ { "include": "#strings" }, + { + "include": "#preprocessor" + }, { "include": "#class" }, @@ -441,17 +444,6 @@ { "include": "#return_type" }, - { - "match": "^\\s*(#)(LIB)\\s*$", - "captures": { - "1": { - "name": "punctuation.definition.directive.cpp" - }, - "2": { - "name": "keyword.control.directive.pragma.cpp" - } - } - }, { "match": "(?