You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a view that will display only select properties and methods of the currently selected syntax object (node, token or trivia)
Motivation
The project began as a syntax tree viewer, which was later expanded into supporting displaying symbols and operations. However, the implementation was driven by the constraint for a tree-like view. This constraint poses problems for the usability and predictability of the feature.
The main goal is explorability and direct listing of the objects that may be returned. However, such a view hides away the clue of the path to the displayed object, and also doesn't show all the available children if they're not contained in the result returned from Roslyn. Not to mention that operations needed a custom OperationTree which bundles operations under the umbrella of every top-level symbol that contains the first operation.
Details
The new view will be based on this skeleton example:
This is more to the point, and provides a raw introspection of the expected results. This makes Syndiesis a much stronger Roslyn playground with many built-in conveniences for a test workflow. The most important aspect is giving a direct mapping of the information at hand with the expected outcome, which will be helpful to determine the information to expect when building a Roslyn tool.
The already existing views of symbols and operations won't be removed, but will be less likely to see improvements after the introduction of this view.
The text was updated successfully, but these errors were encountered:
Summary
Create a view that will display only select properties and methods of the currently selected syntax object (node, token or trivia)
Motivation
The project began as a syntax tree viewer, which was later expanded into supporting displaying symbols and operations. However, the implementation was driven by the constraint for a tree-like view. This constraint poses problems for the usability and predictability of the feature.
The main goal is explorability and direct listing of the objects that may be returned. However, such a view hides away the clue of the path to the displayed object, and also doesn't show all the available children if they're not contained in the result returned from Roslyn. Not to mention that operations needed a custom OperationTree which bundles operations under the umbrella of every top-level symbol that contains the first operation.
Details
The new view will be based on this skeleton example:
This is more to the point, and provides a raw introspection of the expected results. This makes Syndiesis a much stronger Roslyn playground with many built-in conveniences for a test workflow. The most important aspect is giving a direct mapping of the information at hand with the expected outcome, which will be helpful to determine the information to expect when building a Roslyn tool.
The already existing views of symbols and operations won't be removed, but will be less likely to see improvements after the introduction of this view.
The text was updated successfully, but these errors were encountered: