-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Disable python codegen support by default #6884
fix: Disable python codegen support by default #6884
Conversation
461bb1a
to
f0636bd
Compare
I happened to see this PR when browsing this repo and this change looks potentially significant to me as I have macros/rules that generate |
Hello @FrankPortman ; I added some comments here which also includes an example. |
Thanks - if my understanding is correct then this flag and tag are required to make IntelliJ properly detect and remove the "red squiggle" from codegenned files. But my basic usage of both macros and rules to code generate Python files has not had issues with IntelliJ as of now. Is this change a general safety net or only needed if you intend to output directories rather than marking individual files? |
Yes the flag and tag will be required to make this work fully. The intention is to remove the "red squiggle" (see here) and to allow code-complete on generated code. The example project demonstrates Python code-generation not working previously for the case of a directory and the case of straight files outputs. |
@FrankPortman ; If I understand you correctly, you are facading your Rules' files-based (no directory) output with a |
Thank you - that does sound like the distinction. |
Checklist
Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number:
<please reference the issue number or url here>
Description of this change