Jump to content

Hacking:Developer FAQ: Difference between revisions

m
Line 45:
Your editor will not be able to do everything for you, but you can configure most editors so that they use two spaces for indentation, use spaces instead of tabs, etc.
 
If you are using Qt Creator go to ''Tools -> Options... -> C++ -> Code Style''. Then import code style file from ''<source rootsource_root>/share/valentina_code_style.xml''.
[[File:Qt Creator code style.png|framless|center]]
Line 53:
Because each a source file should contain a copyright header. We will not merge you changes without such a header.
 
If you are using Qt Creator take the file from ''<source rootsource_root>/share/copyright_template.txt'', edit the author field and save somewhere you have access. Then go to ''Tools -> Options... -> C++ -> File Naming'' and select path to the file.
 
If you are using another editor and you know how to configure it correctly, please tell us about it or update this page yourself.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.