Report script editor bug on hinting and UI

1 Answer 22 Views
Fiddler Classic Windows
Ryuu
Top achievements
Rank 1
Iron
Ryuu asked on 25 Mar 2024, 06:06 PM

1) Fiddler didn't hint for most top-level user class name anymore. For example, the following code:

  • If I type code at **, it'll hint all system class without Xyz1 but it shows Xyz2.
  • If I type "Xyz1." then it hint "Xyz3" so it seems to see fields/methods inside properly.

I use Fiddler in another PC (PC2) which report the exact same version (and editor's version), it hints my class properly.
*PC2 that works well has a bit lower WinNT part "WinNT 10.0.18363.0"

class Xyz1 { //Try both public, class
public static class Xyz3 {

}
}
class Handlers
{
static class Xyz2 {

}
public static function xx2(){
**
}
}

The scenario:

"Before this", I think Fiddler hint it in current PC (PC1) too. But it's abruptly missing so I try typing the new class. It hints the new class but not for the class I'll use. So I was dumbfounded and reset the script (delete the file) and retest. Because I know some pattern of code may break Fiddler format. Then "Handlers" is not in the list so I'm sure it's not about the format. I want to confirm that it normally hint top-level class name so I check it in my PC2, and it did. Then I completely uninstall-reinstall Fiddler in PC1. It fails it list any user class. I also try to swap the script to test between PC1 and PC2. PC1 always not work and PC2 always work. *I did not try to reinstall on PC2 though because it's heavily used. But it has the exact same version.

2) Script editor from "Customize Rules..." menu change after close and open it for the 2nd time - even without restart Fiddler Classic. Folding feature is missing and comment will be green instead of gray as after fresh install Fiddler Classic. I usually use this variant though, maybe because the gray comment version is found only once after fresh install. Embedded editor in tab is green with folding though. But problem 1) hint never work anywhere.

1 Answer, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
Iron
answered on 01 Apr 2024, 05:54 AM | edited on 01 Apr 2024, 06:48 AM

I apologize for the inconvenience you’re experiencing with Fiddler. Let’s address each issue:

FiddlerScript Hinting Issue:
It appears that Fiddler is not hinting most top-level user class names as expected.
You’ve observed that it works correctly on another PC (PC2) with the same version.
Since PC2 works well, it suggests that the issue is specific to PC1.
To troubleshoot:
Ensure that there are no syntax errors or issues in your script.
Verify that the class names are correctly defined and accessible.
Consider checking any customizations or settings that might affect hinting behavior.

 

Script Editor Changes:
The behavior you’ve described regarding the script editor changing after closing and reopening it is unexpected.
The missing folding feature and green comment color are not the intended behavior.
To address this:
Try reinstalling Fiddler on PC1 (similar to what you did on PC2) to ensure a fresh installation.
If the issue persists, consider reporting it as well.
You can also explore using the FiddlerScript editor bundled with Fiddler Classic for better functionality.

 

Remember to back up your FiddlerScript files before making any changes.

Tags
Fiddler Classic Windows
Asked by
Ryuu
Top achievements
Rank 1
Iron
Answers by
Ryan
Top achievements
Rank 1
Iron
Share this question
or