Pending Review
Last Updated: 17 May 2020 13:01 by A
A
Created on: 23 Apr 2020 19:29
Type: Feature Request
2
Publish public Interfaces Fiddler.dll for IntelliSense
May I suggest to publish an interface assembly with Fiddler, containing only the interfaces of all the Fiddler public types?

This way, IntelliSense could be used, both, with ScriptEditor and with any of the Visual Studio products.

That would require Telerik to derive their public classes, like Session, from an interface, like ISession. That interface would need to be stored in a separate assembly that would be published then along with Fiddler.
2 comments
A
Posted on: 17 May 2020 13:01

Hi Eric, my request is the result of this previous discussion in the Telerik forums:

https://www.telerik.com/forums/c-scripteditor-where-is-intellisense

The replies there lead to this feature request. In that thread I was asking on how to enable IntelliSense for CustomRules.cs.

If it's sufficient to just reference Fiddler.exe, then that's just fine with me.

Is it correct, though, that ScriptEditor no longer references Fiddler.exe? I remember that years ago IntelliSense worked in ScriptEditor, but apparently it doesn't provide suggestions anymore.

Eric
Posted on: 16 May 2020 15:25

I'm not entirely clear on what you're asking for here-- Back in 2004 when I first released Fiddler, it worked that way because there was no way to use a .EXE as a reference in .NET, but that hasn't been true for many years.

Your project can simply add references to Fiddler.exe and use them with Intellisense, etc. 

Telerik already ships the .PDB files for Fiddler.exe; I can't recall whether or not that includes the XML of the XMLDoc comments on Fiddler's functions, but if not, they could consider shipping the XMLDocs too (those are were used to generate https://fiddlerbook.com/om/html/4B4DBBEA.htm)