I just installed the extension for Visual Studio and copied the style
file to the root of my project. It works very well, although it's a
bit inconvenient that I have to "Select All" first.
It's a pity that there is no separate style for return type
pointers. With "PointerAlignment: Right", this is what a
function declaration looks like:
const
ci::gl::Texture2dRef &getTexture() const { return mTexture; }
instead of the preferred:
const
ci::gl::Texture2dRef& getTexture() const { return mTexture; }
There is also no setting to
add a space after the not operator:
if( ! bEditable ) {
}
Finally, I've changed
the following settings in my style script, which align declarations
using spaces:
AlignConsecutiveDeclarations: true
UseTab: ForIndentation
Code then looks like this:
std::vector<gl::Texture2dRef> mSnapshots;
std::vector<MovieGlRef>
mVideos;
size_t
mVideoSelected;
gl::Texture2dRef mLabel;
// Performance
std::vector<LONGLONG> mPerformance;
std::vector<size_t>
mTimings;
size_t
mIndex;
-Paul