Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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:
Hi, 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:
<key>fileTypes</key> <array> <string>py</string> <string>rpy</string> <string>pyw</string> <string>cpy</string> <string>SConstruct</string> <string>Sconstruct</string> <string>sconstruct</string> <string>SConscript</string> </array>
Simply add a the following line in there:
<string>pyp</string>
On 03/07/2015 at 10:47, xxxxxxxx wrote:
Thanks!