Loading snippets from a folder failed without SnippetTypes

SyntaxEditor for Windows Forms Forum

Posted 4 months ago by Sylko Zschiedrich
Version: 20.1.0401
Platform: .NET 4.7
Environment: Windows 10 (64-bit)
Avatar

Hi,

we use the method CodeSnippetFolder.LoadFrom( folder, languageKey) to load addition snippets for VB language.

There ist a "change" in the new version v2020 to older implementation.

Snippets without the "SnippetTypes" in the header information will not be loaded or shown. If you add the part 

<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>

to the header it works. In the specification the <SnippetTypes> is optional and if not set, it will be shown any time.

Hopefully you can fix this behavior in a next version.

Kind regards

Sylko

Comments (1)

Answer - Posted 4 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thanks for letting us know.  We'll fix this for the next maintenance release.


Actipro Software Support

The latest build of this product (v2020.1 build 0402) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.