On 21/06/2015 at 10:17, xxxxxxxx wrote:
Hi guys. I was using eclipse for c4d python plugin development but i want to use sublime text now.
Here's the problem:
Sublime text dosnt recognize .pyp file as python files. Like if we write import c4d, the import is not colored as would generally a python file would. how do i make sublime text understand that .pyp is same as .py and all color highlighting is there in .pyp also.
On 21/06/2015 at 11:00, xxxxxxxx wrote:
man....i have been so silly. One just needs to change the language given at lower right corner to python and syntax highlighting starts.
On 29/06/2015 at 03:34, xxxxxxxx wrote:
if you want to have .pyp files automatically highlighted within Sublime Text, go to the following directory:
<user>/AppData/Roaming/Sublime Text 2/Packages/Python
There you find Python.tmLanguage
Within this file almost at the beginning (here at line 13) there should be section like this:
Simply add a the following line in there:
On 03/07/2015 at 10:47, xxxxxxxx wrote: