Naming nets: Automatic numbering if there is a number at the end
Description
When naming a net (pressing "L" or clicking the button) often you have to do more it for more than one. If you place the second text, then input filed is clear.
It would be better to have the name from before in it. It should be also marked so if you start to type it gets replaced.
Also it would speed up the process if there is a sort of smart numbering function.
In my mind there is the following behavior:
There should be three checkboxes under the naming field:
- Do nothing
- Increment
- Decrement
They should be greyed out, except:
1.There is a number at the end, then they should be black and clickable, automatically switching to the latest used behavior. e.g. if you have automatically decremented the name before, this should be automatically used.
2.If there is:
- a plus sign
- _p
- _P
- a minus sign
- _n
- _N
at the end,it should be possible to automatically switch to the opposite polarity. I Think it's ok when there are that 3 checkboxes from before, even if increment and decrement are doing the same.
- If there is a number and a polarity, it should do first switch the polarity, than the number: "Pin1+" "Pin1-" "Pin2+" "Pin2-" ...
In this case the tree separat checkboxes make more sense again.
Than would speed up daily tasks a lot!
Steps to reproduce
name 2 nets ;-)
KiCad Version
Application: Eeschema
Version: 5.1.5-52549c5~84~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 5.0.0-37-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.4.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON