It depends how much the rules can be edited; I’m unclear how the rules are edited. Can you clarify a bit @david in the first post?
I’m afraid at the moment the rules can’t be edited. The sensitivity can be adjusted, and html detection can be turned on/off.
There are some built-in rules which should help with these. If you’d like to try it out, try posting some code in a PM to yourself here on Meta.
However, I think the example you posted is unlikely to be detected, since it doesn’t contain any special characters or timestamps which match our detection patterns.
The original vision I had was for a component where you could specify how much “energy” a given character (or complete string, such as C:\) adds, especially as that character (or string) begins repeating in the same nearby area over and over, multiplying the code energy score.
Sensors:
System Temperatures: cpu: 78.0 C mobo: 36.0 C gpu: nouveau temp: 56.0 C
Fan Speeds (RPM): cpu: 0 fan-1: 3139 fan-3: 0 fan-5: 0
Power: 12v: N/A 5v: 2.90 3.3v: N/A vbat: 3.34
This is rather colon heavy. So ideally if you wanted to tweak this, you’d set an energy level for the colon, and a repetition bonus.
I guess that is not possible at the moment, it is unfortunate all the rules are hard-coded.
لتوضيح ملاحظة @tmomas - نحن نستخدم إصدارًا مخصصًا من هذا المكون الإضافي مع بعض أنماط مطابقة التعليمات البرمجية الإضافية غير الموجودة في الإصدار القياسي. لقد أضفنا أيضًا بعض واجهات المستخدم لإضافة (وإن كانت غير محددة وبحذر شديد) أنماط تعبير نمطي مخصصة. مراجع:
تم تقسيم 11 مشاركة إلى موضوع جديد: هل يمكن تعطيل كاشف التعليمات البرمجية غير المنسقة لكل مستخدم؟
يوجد خطأ في الإشارة إلى هذا المكون في وحدة تحكم المتصفح الخاصة بي:
[THEME 230 ‘Unformatted Code Detector’] تمت محاولة تعديل “service:composer”، ولكن تم تهيئته بالفعل في وقت سابق من عملية التشغيل (على سبيل المثال، عبر بحث()). قم بإزالة هذا البحث، أو انقل استدعاء modifyClass في وقت سابق من عملية التشغيل حتى تدخل التغييرات حيز التنفيذ. https://meta.discourse.org/t/262064

شكرًا لك @Moin، نحن على علم بهذا، وقد تم الإبلاغ عنه داخليًا ومن المقرر تحديثه في أقرب وقت ممكن.
شكرًا على التقارير! من المفترض أن يتم حل هذا الأمر باتباع هذا التغيير الأساسي