timonwong / SublimeAStyleFormatter

SublimeAStyleFormatter is a code formatter/beautifier for Sublime Text 2 & 3. It provides ability to format C/C++/C#/Java files.
MIT License
284 stars 43 forks source link

Unable to format CUDA files despite having CUDA syntax files installed. #76

Open s7jones opened 8 years ago

s7jones commented 8 years ago

I have CUDA syntax files installed from: https://packagecontrol.io/packages/CUDA%20C%2B%2B

Despite this I am still unable to format my .cu files. The option to 'format' or 'format selection' is greyed out.

Is there an obvious fix to this, or at least somewhere I could look to fix it?

PatWie commented 7 years ago

still an issue

Fix

"user_defined_syntax_mode_mapping": {
        "cuda": "c",
    },