← Back to team overview

kicad-developers team mailing list archive

[PATCH] Implement auto annotation on component/symbol placement.

 

This patch adds an option to automatically annotate components/symbols
when they're placed, copied or duplicated. Configuration can be found
in Preferences and it is akin to 'Annotate Schematic...' tool. User can
choose how they want their components number and whether the whole
schematic should be taken into account when doing so.

Summary of this patch:
  - Add .vscode to .gitignore
  - Create `Annotation Options` settings panel in eeschema preferences.
  - Save selected Annotation Options to project file.
  - Introduce SCH_COMPONENT::Annotate to annotate components
    individually.
  - Introduce EE_SELECTION::SortComponentsByRef to properly sort
    selection when auto annotating.
  - Auto annoate components when placed, pasted and duplicated.

I have also only now realized New tag in launchpad means the feature
request still needs to be looked at but I've already implemented this so
I might as well send it and see what you think about it.

This patch fixes lp:1335616.

Attachment: 0009-Check-for-IsAutoAnnotationEnabled-before-enabling-th.patch
Description: Binary data

Attachment: 0011-Rename-AutoAnnotationNumbering-AutoAnnotationAlgo.patch
Description: Binary data

Attachment: 0010-Make-current-page-default-scope.patch
Description: Binary data

Attachment: 0008-Save-Annotation-Options-to-Project-Settings.patch
Description: Binary data

Attachment: 0012-Implement-scope-and-numbering-options.patch
Description: Binary data

Attachment: 0013-Fix-duplicate-timestamp-issues-when-pasting.patch
Description: Binary data

Attachment: 0015-Add-missing-copyright-notices.patch
Description: Binary data

Attachment: 0001-Add-.vscode-to-.gitignore.patch
Description: Binary data

Attachment: 0016-Minor-codestyle.patch
Description: Binary data

Attachment: 0014-Fix-off-by-one-error-when-auto-annotating-components.patch
Description: Binary data

Attachment: 0003-Annotate-components-on-placement-in-SCH_DRAWING_TOOL.patch
Description: Binary data

Attachment: 0002-Add-SCH_COMPONENT-Annotate.patch
Description: Binary data

Attachment: 0004-Annotate-components-when-duplicated.patch
Description: Binary data

Attachment: 0005-Annotate-components-when-pasted.patch
Description: Binary data

Attachment: 0006-Introduce-EE_SELECTION-SortComponentsByRef.patch
Description: Binary data

Attachment: 0007-Introduce-Eeschema-Annotation-Options-and-add-them-t.patch
Description: Binary data


Follow ups