Home Download Buy Blog Forum Support

CUDA Syntax Highlight

CUDA Syntax Highlight

Postby chickenstew511 on Wed Mar 13, 2013 10:03 pm

Hi, Can you add CUDA syntax highlight by default. Originally, in Sublime2 I could open the *.cu or *.cuh file and goto View->Syntax->C++, however in Sublime3 this option is disabled. Even if you don't add the CUDA syntax definition, just defaulting to C++ is very useful. Thanks!!
Posts: 1
Joined: Wed Mar 13, 2013 10:01 pm

Re: CUDA Syntax Highlight

Postby skuroda on Wed Mar 13, 2013 11:33 pm

I don't see .cu or .cuh in the file types in the c++ language file (or I could just be missing them). I'm not sure why the option is disabled for you, so that might be something worth looking into. Anyways, consider the ApplySynatx plugin (formally DetectSyntax)
Posts: 692
Joined: Fri Oct 05, 2012 8:11 am

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Google [Bot] and 5 guests