Sublime Forum

Python files not obeying directives settings file

#1

Hi all,

I use Sublime to develop in both PHP and Python on Windows 7. One of my personal preferences is to have all whitespace drawn so I can see it. This is working fine in my PHP files but neither of the directives I’ve set in the Python settings are being adhered to.

Here is what I’ve done:

Click ‘Preferences’ menu

From ‘Settings - More’ I select ‘Syntax Specific - User’

In the file that opens I’ve got the following:
{
“translate_tabs_to_spaces”: true,
“draw_white_space”: “all”
}

This is exactly the same as the settings file for PHP but the directives are ignored. Does anyone have any idea what may be going wrong here?

0 Likes