Skip to content

General cleanup #23

@Eneroth3

Description

@Eneroth3

This is a quite old repo and there seems to be a lot of things we could look over in a general clean up. Here are a few points.

  • Consider merging tutorials and examples so we don't repeat ourselves and have two code bases to maintain.
  • Clarify what would map to an actual extension project. For instance, write a comment in the loader script telling it is a utility and not a part of the actual extensions. Getting this overview can be very difficult for new coders.
  • Consider wrapping the source for each extension in a src folder. I think rubocop-sketchup assumes such a folder, and it's a good practice to separate your source from "project meta" files like readme.
  • Clarify "tut" and "ex" prefix in file names. Prefer fully spelled out "tutorial" and "example".
  • Style Ruby for readability (after we've come up with a good RuboCop config).
  • Change Trimble Navigation to Trimble Inc in copyright notices.
  • Prefer inline Ruby load guard using instance variables over sketchup.rb methods.
  • Consider changing 99 to some other number for examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions