Broken F4 shortcut in Qtcreator for cuda files ".cu"
- 06/2012 - #Jumble
Well I'm using QtCreator to code my CUDA project and there has been a lot of things bothering me. Among them is this F4
shortcut which doesn't work. The shortcut enables switching between the header and source file but apparently the extension .cu
is not recognized as a C++ source file. Here is how to fix it.
Go to Tools->Options
. Then Pannel Environment
and tab MIME Types
. In the entry text/x-csrc
suppress the *.cu
extension then add *.cu
to the entry text/x-c++src
. You're good to go!
No comments