Setup a new file, at the moment it only supports C++. It will add a header, namespaces (based on the directory structure) and old fasion include guard. And optionally a boilerplate for the license.
For example in an empty file baz.hpp
calling newfile-setup
with
the namespaces Foo Bar
:
/**
* \author Author Dent (not@real.email)
*
* \date May 2022
*/
#ifndef FOO_BAR_BAZ_HPP
#define FOO_BAR_BAZ_HPP
namespace Foo {
namespace Bar {
} // namespace Bar
} // namespace Foo
#endif // FOO_BAR_BAZ_HPP