The Actipro Blog

All the latest UI control development news from Actipro

SyntaxEditor .NET Languages Add-on: First Look at Quick Info

PostBannerSyntaxEditorDevNotes

We’ve been continuing to work on the WPF and Silverlight SyntaxEditor .NET Languages Add-on framework for supporting automated IntelliPrompt.  A lot of customers have been asking status so today I’d like to give a first look at the automated quick info popups that are starting to emerge.

For some more background, our previous post described at a high-level many of the framework features necessary to properly support automated IntelliPrompt for C# and VB.

Screenshots

Enough talk, let’s see some screens!  Please note that the quick info still needs more tweaks yet (no documentation visible, etc.) but it does at least show what the resolver is finding for the identifier under the mouse, which is the key part.

Namespace Import

This screen shows the mouse over a relative nested namespace import:

QuickInfo1

Namespace Alias

This screen shows the mouse over an alias T that resolves to System.Text:

QuickInfo2

Type

This screen shows the mouse over a type, resolved to System.Text.StringBuilder:

QuickInfo3

Variable

This screen shows the mouse over a variable, whose type is System.Text.StringBuilder:

QuickInfo4

Member

This screen shows the mouse over a method on the StringBuilder type from variable sb:

QuickInfo5

Next Steps

Right now we have core context factory code working and unit tested for both C# and VB.  That allows us to get some basic general info about an offset.

We also have a good start on resolver code that takes the context and gives back resolved data about it.  This needs a decent amount of work yet.  We have many common resolution scenarios working but still need to handle more advanced scenarios like checking accessibility of types/members related to the current context, handling member overloads, etc.

We have a start on quick info, which uses both the context factory and resolver to show the popups displayed above.  There still is some work left to do on quick info display, which we will hammer out once work on the resolver progresses further.

Our plan is to continue plugging on the code every day until we can display accurate quick info for anything in the editor.  Once we have that piece complete, adding completion lists won’t be overly difficult since the resolver code will have already been hammered out.

We’ll post more information soon!  Things are definitely moving along well.

SyntaxEditor .NET Languages Add-on: Working Towards Automated IntelliPrompt

BlogPostBanner

We’ve been hard at work over the past several weeks on the SyntaxEditor .NET Languages Add-on, for both the WPF and Silverlight platforms.  In the SyntaxEditor 2011.1 release (previously described in this post), we added the first phase of the add-on, which includes multi-threaded parsing, AST construction, syntax error reporting, and automatic outlining for C# and VB code.

The next phase of the add-on is to work on the core pieces needed to support automated IntelliPrompt, as our end goal is to have it working very similarly to Visual Studio 2010’s code editor for C# and VB.

In today’s post, we’ll walk through an overview of what we need working to support automated IntelliPrompt features.  More...

WPF Studio 2011.1 Build 542 Released

BlogPostBanner

WPF Studio 2011.1 build 542 has been released and is now available for download. 

This maintenance release adds several new features, along with numerous tweaks and bug fixes:

  • Docking/MDI:  Added support for dragging the selected ToolWindow from auto-hide state.
  • Docking/MDI:  Added support for live dragging of splitters when using Interop content.
  • Ribbon:  Updated code so that RibbonWindow can be used in full-trust XBAPs.
  • SyntaxEditor Web Languages Add-on:  Added the IXmlSchemaResolver.DefaultNamespacePrefixMappings property which allows for xmlns-style namespace declarations to be made without the need for xmlns attributes in the root element.

See the announcement post for the detailed list of enhancements and updates.

TaskDownload TaskLiveDemo TaskBuyNow

Filed under: Actipro, New features, WPF

Silverlight Studio 2011.1 Released

BlogPostBanner

Today is the day!  Silverlight Studio 2011.1 is now released and available for download.  This is an enormous new version that not only provides large enhancements to existing products, but adds two new products, and demos the new SyntaxEditor .NET Languages Add-on. 

The two new control products, Wizard and Bar Code, are available for free to anyone with an active Silverlight Studio subscription.

Major new features are described below.  See the announcement post for the detailed list of enhancements and updates.

TaskDownload TaskLiveDemo TaskBuyNow

More...