PowerToys/doc/coding/organization.md
2019-10-25 15:23:24 +02:00

942 B

Code Organization

Rules

  • Follow the pattern of what you already see in the code
  • Try to package new ideas/components into libraries that have nicely defined interfaces
  • Package new ideas into classes or refactor existing ideas into a class as you extend

Code Overview

General project organization:

The deps folder

Contains other projects that PowerToys uses as dependencies.

The doc folder

Documentation for the project, including a coding guide and design docs.

The installer folder

Contains the source code of the PowerToys installer.

The src folder

Contains the source code of the PowerToys runner and of all of the PowerToys modules. This is where the most of the magic happens.

The tools folder

Various tools used by PowerToys. Includes the Visual Studio 2019 project template for new PowerToys.