Code snippets configure file for qt creater IDE.
-
Download
snippets\snippets.xml
, put it toC:\Users\%userName%\AppData\Roaming\QtProject\qtcreator\snippets\
dir.Usually , you wont see the
snippets
dir, because you haven't use it ! -
open your QtCreator, input some thing , just like "connect", you will get tooltips such as
connect with lambda
,connect with slot
:connect(sender, &SenderType::signal, [=](){ sender->doSomeThings(); });
Just like how you got main() function.
You can see below.
Just finishied few of core library. All the code are from QAssistant's demo code, I think its enough.
I will add others when I have enouth time to do this.
Have fun coding with Qt Creator!