Customize Python Keywords with Makefile

Answered

Hi,

I’m currently developing an interactive class for beginners with Python.

In order to be user-friendly, I’d like to modify python's keywords to have customized colors in Pycharm IDLE.

Unfortunatly I don't have the "Custom" fields in my menu (Settings | Editor | Color Scheme | Custom) as mentionned here :

https://pavelkarateev.com/posts/2019/01/07/highlighting/

Could someone help me figure this out ?

Thank you

Regards

0
3 comments

Thanks Konstantin,

I found the answer, the former path Settings | Editor | Color Scheme | Custom is now Settings | Editor | Color Scheme | User-Defined file types.

Is that possible to add Python parameters such as 'self' parameter to my custom File Type ?

Any Idea ?

Thanks

0

Here are the instructions: https://i.imgur.com/vtXnT3K.jpg

However, I do not recommend doing that, as custom file type will overwrite python file type and a lot of features will be missed. 

Instead, you can configure the style of "self" keyword in Python color scheme: https://i.imgur.com/VLeiCNA.png

0

Please sign in to leave a comment.