kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
3k stars 500 forks source link

Add a button in Conditional Controler Configuration to see the whole code #1309

Open lalebarde opened 1 year ago

lalebarde commented 1 year ago

When I edit a conditional controler code, the IDE opens it and displays the different sections, but it is usefull sometime to see the whole class code. Sometimes it is shown, but in what looks to me an impredictable way. The idea would be to add a button, near Close, Save, Delete ones, to force displaying the whole code or to hide it.

Alternative is to connect via VNC to Mycodo and search for the file.

kizniche commented 1 year ago

The entire code will show when you enable pylint. Sometimes it takes a while, as it is process-intensive, but if you have enough patience, you will see it appear. Perhaps an additional option of "show code but don't use pylint" would be a welcome addition to speed up showing the full code.