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

not auto-closing quotes and brackets #165

Closed
chillum opened this issue Sep 7, 2018 · 3 comments
Closed

not auto-closing quotes and brackets #165

chillum opened this issue Sep 7, 2018 · 3 comments

Comments

@chillum
Copy link

chillum commented Sep 7, 2018

Environment

  • Extension version: 0.3.1
  • OS Type: Windows

Summary

built-in YAML mode auto-closes the quotes: when you type in '/"/{ it auto-adds the closing quotation mark (I believe, this can be disabled in settings). Ansible mode does not.

Reproduce steps

  • create a file. set mode to YAML.
  • enter: '[right arrow][enter]"[right arrow][enter]{{
  • see:
''
""
{{}}
  • create a file. set mode to Ansible
  • enter: '[right arrow][enter]"[right arrow][enter]{{
  • see the brackets and quotes are not matched:
'
"
{{
  • also note, quoted string is not highlited in Ansible mode (is this really intended?)

Expected Results

''
""
{{}}

Actual Results

'
"
{{
@yungezz
Copy link
Contributor

yungezz commented Sep 10, 2018

I'm looking at it now.

@gavinfish
Copy link
Contributor

PR #155 should have fixed this issue.

@yungezz
Copy link
Contributor

yungezz commented Sep 13, 2018

fixed in release 0.4.0.

@yungezz yungezz closed this as completed Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants