How do I register .pyw #3345
Unanswered
tgoodwin-aims
asked this question in
Q&A
Replies: 2 comments 5 replies
-
You can create a custom syntax in your configuration directory ( filetype: python
detect:
filename: "\\.pyw$"
rules:
- include: python The built-in Python syntax should probably be updated to detect .pyw file extension as those are relatively common but this works as a workaround until that happens. |
Beta Was this translation helpful? Give feedback.
5 replies
-
I got it to work by setting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd just like to add syntax highlighting for *.pyw files. This will be the same as python. What is the easiest way to do this?
Beta Was this translation helpful? Give feedback.
All reactions