sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.23k stars 621 forks source link

question about sub circuits #860

Closed iccor56 closed 11 months ago

iccor56 commented 1 year ago

is there a way to remove sub circuits from the list of subcircuits in the draw menu?

in the absence of name changing or updating ability, remove and replace is my only method of changing sub circuits but the menu never forgets the old ones.

Vadimatorik commented 11 months ago

When I want to start a new project. I am deleting app settings. This clears the list of subcircuits. For Linux (Ubuntu 20.04):

rm -R "/home/$USER/.config/Circuit JS1"

However, this is a bad way. When you open an old project again, all old subcircuits are added to the list again. I also want to know: is it planned to add this functionality?

pfalstad commented 11 months ago

Unfortunately right now, the only way to do this is:

Options->Toggle Dev Tools Click the >>, select Application Expand Local Storage, select file:// find the offending subcircuit: key, right click on it, Delete

That's for the offline version. For the online version, if you're using Chrome:

View->Developer->Developer Tools Click the >>, select Application Expand Local Storage, select http://www.falstad.com/ find the offending subcircuit: key, right click on it, Delete

This is a dup of #700.