Posted 14 September 2017, 6:26 pm EST
[activereports_archive]Hi,
After spending the last few weeks working with RPX reports and heavy use of the script editor I have built-up a list requests that would make life easier for those who are doing the same.
1) Support for displaying intellisense for “custom” assemblies. It would be nice if the script editor would expose the content of assemblies that have been referenced via SectionReport.AddAssembly or the PageReport.Report.CodeModules method/collection. Barring that, having the ability to tell the designer what assemblies I want the script editor to work with would be awesome too.
1a) A bug, IMO: Intellisense doesn’t display any members for the Chart assembly, which makes working with charts through script a huge PITA. I know the chart assembly isn’t required to be deployed and is probably why it was excluded by default; but you could try doing a conditional load of the assembly and if it succeeds tell the script editor to make its contents available for intellisense.
2) Support for displaying Extension methods in the editor’s intellisense. I’m making heavy use of extension methods to make it easier for our eventual non-developer power users to do things like use the Windows Forms Chart control (since it supports Radar graphs and the built-in SectionReport chart does not).
3) Support for var. While it highlights the var keyword, the editor has no clue what type is being referenced and so intellisense doesn’t display when using a var’d variable.
4) Support for object initializers. The script editor currently “red squiggles” the use of object initializers, though the code works just fine.
Thanks,
James[/activereports_archive]