-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- **Pull-request**: [#82](#82) - **Opened**: 2020-03-18 - **Status**: Open - **Branch**: column_rename -## Description Column names displayed in the table head are the names of the KiCad fields or the internal names used by KiBoM. Sometimes the names aren't pretty. As an example is common to use `manf#` for the part name used by the component manufacturer. Using long names for KiCad fields is a bad idea. This patch allows to rename the columns names so you can use pretty names in the headings. You must define a `COLUMN_RENAME` section in the configuration file. Then add entries with the name of the original field and the name you want, separated by a tab (ASCII 9). Here is an example: ``` [COLUMN_RENAME] manf# Manufacturer part number ``` Note that you must use a tab as separator. Using a space won't work because *Manufacturer part number* also has spaces. -## Limitations The separator must be a tab. -## Additional notes - This patch also makes the `prefs.ignore` list lowercase. This is to avoid converting it to lower case all the time. - `prefs.colRename` is a hash. I saw that various preference options should also be a *dict* instead of a *list*.
- Loading branch information
Showing
6 changed files
with
53 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters