3.1.41.2.20. waf_tools.vscode.get_vscode_relevant_defines
- waf_tools.vscode.get_vscode_relevant_defines(compiler_builtin_defines: list[str]) list[str]
Convert raw
#definelines into VS Code IntelliSense format.Parses each define line with a regex, filters out date/time and EDG-internal defines that would cause IntelliSense issues, and returns the remaining defines in
NAME=VALUEformat.- Parameters:
compiler_builtin_defines – Raw
#definelines as returned byget_compiler_builtin_defines().- Returns:
A list of strings in
NAME=VALUEformat suitable for thedefinesfield inc_cpp_properties.json.