YAML

Hi

I am looking for a syntax editor for YAML.

Kindly advise

Thanks

3 Replies

UN Unknown Syncfusion Team March 16, 2020 11:11 AM UTC

Hi Abhishek, 
 
Thanks for contacting Syncfusion support. 
 
We have checked your requirement “Need YAML language support in SyntaxEditor”. Currently we don’t have inbuilt YAML language support in EditControl. But your requirement can be achieved by creating custom language either in config.xml file or by C# code-behind as explained in below online documentations. 
 
Documentations: 
  1. https://help.syncfusion.com/windowsforms/syntax-editor/syntax-highlighting#custom-language-using-xml
  2. https://help.syncfusion.com/windowsforms/syntax-editor/syntax-highlighting#configure-custom-language-using-code
  3. https://www.syncfusion.com/kb/5408/how-to-configure-the-custom-language-in-editcontrol

Regards, 
Niranjan Kumar 



AS Abhishek Singhal March 16, 2020 02:02 PM UTC

Kindly provide code or config file for yaml.

Thanks.


UN Unknown Syncfusion Team March 17, 2020 12:02 PM UTC

Hi Abhishek, 

Thanks for your update. 

We have created a simple sample and config.xml file to suit for few basic codes and keywords in YAML language as shown in below screenshot. You can customize the further to suit your need for YAML language and it can be achieved by referring the documentations provided in our previous update. The config.xml file has been attached with the sample, please refer the same. 


Screenshot : 
 

 
Regards, 
Niranjan Kumar 


Loader.
Up arrow icon