siemens / CtrlppCheck

GNU General Public License v3.0
14 stars 11 forks source link

Checks for single file / directory #107

Open hfrmobile opened 10 months ago

hfrmobile commented 10 months ago

Is your feature request related to a problem? Please describe. image

Diverse checks are only possible for "whole project" which takes long time and during development usually need those checks for files a developer is currently working on to get immediate feedback about the quality of code / panel.

Describe the solution you'd like There exists a "CtrlPPcheck" button in Gedi but it does something else (and not working 9999 seems to be a place-holder, not actual findings): image

The reason that it is not working seems to be:

WCCOAui      (1), 2024.01.09 12:31:32.816, CTRL, WARNING,    71, DP does not exist, 
    Script: C:\WinCCOA_Proj\_Subs\WinCCOA_QualityChecks\scripts\scriptEditor\ctrlPPCheck_ext.ctl
    Library: C:\WinCCOA_Proj\_Subs\WinCCOA_QualityChecks\scripts\libs\scriptEditor\ctrlPPCheck_ext.ctl
    Line: 137, dpGet, _CtrlppCheck.settings.enableLibCheck
WCCOAui      (1), 2024.01.09 12:31:33.341, CTRL, WARNING,    71, DP does not exist, 
    Script: C:\WinCCOA_Proj\_Subs\WinCCOA_QualityChecks\scripts\scriptEditor\ctrlPPCheck_ext.ctl
    Library: C:\WinCCOA_Proj\_Subs\WinCCOA_QualityChecks\scripts\libs\scriptEditor\ctrlPPCheck_ext.ctl
    Line: 197, dpSet, _CtrlCommandInterface_StaticTests.Command

Proposed solution/behavior: should be like this (mockup): image

When clicking on a line of the message, the cursor should jump to that location so that the developer can easily fix it.

dhoegerlETM commented 10 months ago

@hfrmobile please check the log and for an up-to-date CtrlppCheck subproject and correct installation/integration, because the button-click in the Script-Editor just works fine for me with valid values instead of "9999" placeholders.