Azure / Azure/bicep

Completion issue in visual studio

Open
#7,738 1 comment 0 reactions 1 assignee Claimed by @bhsubra View on GitHub
devdiv enhancement VisualStudio
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

Enter vs tab has different behavior in visual studio. Enter retains the typed in text.
Steps to reproduce the issue:
1. Type vnet
2. Select res-vpn-vnet-connection from completion list

Expected:
```
resource vpnVnetConnection 'Microsoft.Network/connections@2020-11-01' = {
name: 'name'
location: location
properties: {
virtualNetworkGateway1: {
id: 'virtualNetworkGateways.id'
properties:{}
}
localNetworkGateway2: {
id: 'localNetworkGateways.id'
properties:{}
}
connectionType: 'IPsec'
routingWeight: 0
sharedKey: 'sharedkey'
}
}
```

Actual:
```
vnetresource vpnVnetConnection 'Microsoft.Network/connections@2020-11-01' = {
name: 'name'
location: location
properties: {
virtualNetworkGateway1: {
id: 'virtualNetworkGateways.id'
properties:{}
}
localNetworkGateway2: {
id: 'localNetworkGateways.id'
properties:{}
}
connectionType: 'IPsec'
routingWeight: 0
sharedKey: 'sharedkey'
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.