Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should not show completions when inside a multi-line and single-line incomplete string #1832

Closed
majastrz opened this issue Mar 12, 2021 · 0 comments · Fixed by #1933
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@majastrz
Copy link
Member

Bicep version
Latest from main

Describe the bug
We should not show completions when inside a multi-line string.

To Reproduce
Move the cursor to the location designated with | below and request completions (Ctrl+Space by default):

param myInput string

resource script 'Microsoft.Resources/deploymentScripts@2020-10-01' = {
  name: myInput
  kind: 'AzurePowerShell'
  location: resourceGroup().location
  properties: {
    azPowerShellVersion: '3.0'
    retentionInterval: 'PT6H'
    scriptContent: '''
      Write-Output |
'''
  }
}

output myOutput string = myInput

Additional context
image

@ghost ghost added the Needs: Triage 🔍 label Mar 12, 2021
@alex-frankel alex-frankel added bug Something isn't working and removed Needs: Triage 🔍 labels Mar 18, 2021
@alex-frankel alex-frankel added this to the v0.4 milestone Mar 18, 2021
@alex-frankel alex-frankel changed the title Should not show completions when inside a multi-line string Should not show completions when inside a multi-line and single-line incomplete string Mar 18, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants