[osg-users] EditorConfig file?

michael kapelko kornerr at gmail.com
Sun Apr 14 07:49:59 PDT 2019


Hi, Chris.

I would guess it might be not exactly appropriate to update
OpenSceneGraph sources just to have the order in spaces and tabs.
However, I think VulkanSceneGraph would definitely benefit
EditorConfig rules. So once VSG has its place at GitHub, I would
recommend re-raising this issue and creating a pull request.

Regards,
Michael.

On Fri, 12 Apr 2019 at 21:27, Chris Djali <krizdjali at gmail.com> wrote:
>
> Hi,
>
> Here's a list by file extension of which indentation styles are used. Annoyingly, a lot of the file extensions that always have tabs somewhere often have spaces, too, so it's not quite as simple as declaring all .java files use tabs (although I'm assuming they all used tabs when they were added and then were edited later to have tabs in places).
>
> I'm going to use my best judgement based on how things look and what directory they're in etc. but I'm just posting this to illustrate that it's become a mess and that's why I've not just jumped in with a pull request. Hopefully, when it's done for OSG, it'll be convincing enough that VulkanSceneGraph has a .editorconfig file from early on in the project, and whitespace problems will never come up.
>
>
> > .1: unindented
> > .README: unindented
> > .bat: unindented
> > .c: mixed, spacey, tabby
> > .cfg: spacey
> > .cmake: mixed, spacey, unindented
> > .cpp: mixed, spacey, tabby, unindented
> > .css: tabby
> > .h: mixed, spacey, tabby, unindented
> > .hpp: spacey, unindented
> > .html: mixed, tabby, unindented
> > .in: spacey, unindented
> > .inst: tabby
> > .java: mixed, tabby
> > .js: spacey
> > .l: mixed
> > .m: mixed, spacey
> > .md: spacey, unindented
> > .mk: tabby
> > .mm: mixed, spacey
> > .nib: spacey, tabby
> > .osgt: spacey
> > .plist: spacey
> > .properties: unindented
> > .rc2: unindented
> > .rc: spacey, unindented
> > .strings: unindented
> > .txt: mixed, spacey, unindented
> > .xml: mixed, spacey, tabby
> > .y: spacey
> > .yml: spacey
> > : mixed, spacey, tabby, unindented
> >
>
>
> Cheers,
> Chris
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75831#75831
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


More information about the osg-users mailing list