vscode-terosHDL icon indicating copy to clipboard operation
vscode-terosHDL copied to clipboard

[FEATURE REQUEST]: Update XDC language for more highlights

Open wimille opened this issue 1 year ago • 1 comments

Hi

First of all, thank you for this fabulous extension, it is very useful.

In my project i use VIVADO and so, i need to create XDC file. This type of file is well detected by TerosHDL as "vivado xdc". But not all reserved words, properties or command are highlighted. For example:

set_property IBUF_LOW_PWR FALSE [get_ports {ioDDR4_PL_DQS_N[1]}]
set_property OUTPUT_IMPEDANCE RDRV_40_40 [get_ports oDDR4_PL_CK_C_N]

Terms "IBUF_LOW_PWR_FALSE" and "OUTPUT_IMPEDANCE" are not highlighted.

I don't know if it is possible to add custom/personal terms in my vscode configuration or can the language can be updated ?

Best regards

wimille avatar Aug 08 '24 16:08 wimille

Take a look here: https://github.com/TerosTechnology/vscode-terosHDL/blob/dev/packages/teroshdl/syntaxes/xdc.tmLanguage

ckuhlmann avatar Sep 05 '24 07:09 ckuhlmann