codeout / vscode-junos

Junos Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=codeout.vscode-junos
MIT License
16 stars 2 forks source link

VSCode Highlights those lines in red even though they're valid configuration. #22

Closed ikhal3d closed 1 year ago

ikhal3d commented 1 year ago

Hi,

As the subjet title states, the following are valif configuration, yet the extension flags them in red indicating there is syntax errors.

Cheers.

set chassis cluster reth-count 2
#
set chassis cluster redundancy-group 1 node 0 priority 100
set chassis cluster redundancy-group 1 node 1 priority 50
#
set security log stream SYSLOG_SERVER transport protocol tcp
#
set forwarding-options dhcp-relay server-group DHCP_SERVER 192.168.0.1
codeout commented 1 year ago

Hi,

Thank you for your reporting. I could reproduce the issue.

There are two types of problems,

Let me look into both of them.

codeout commented 1 year ago

Hi @ikhal3d,

I've just published v0.3.1 with the fixes.

image

Please reopen this issue if you see any further problems.