Pasted yaml does not retain format

Testing version:
Bear2

What were you doing:
copied a section of yaml from vscode and pasted into bear2

What feature did you use:
code block

What happened:
The format of the yaml was not retained. To validated, I pasted the same block in Bear1 and it pasted in beautfiully.

What did you expect to happen:
I expected the pasted content to keep it’s format relative to indentation.

This is the example yaml:

---
cloudfoundry:
  dev:
    space: DEV
    password: !vault |
      $ANSIBLE_VAULT;1.1;AES256
      66333063343936616632376339393732666338353238393063346565343331383936333237396161
      6237383862663734613431616714616266376534383236370a333657013635336235303837383437
      66323633613361663262646563613030003035383639303763396239600033393535303135376663
      6565343736380002300a34353662333433000236636530626364363062373162633432653662
      3637
 tst:
    space: TST
    password: !vault |
      $ANSIBLE_VAULT;1.1;AES256
      62333031442633300065343661353833323733393861303835623335653162636234333030653063
      6565373637646435340006306363383035363364373431610a666539393161623338363439396635
      32666565623111313665300064666261323365343664386562633833393035633031393230353962
      6261333266376461360a37aq00373762393936323137633436643436313035386430313336616262
      3530
  prd:
    space: PRD
    password: !vault |
      $ANSIBLE_VAULT;1.1;AES256
      33343622636539616539623366353633633737613165616563396532353635623562663232323236
      3466314433353766666132300031626565616636613335630a306665653433373063333936623264
      37624430623232303665323000633866373262653239363534353764623666353133376563353037
      6237653435643534390a393000316635356635376538316366373837383035613434383937393739
      3763

Bear2

Bear1

perhaps this is due to the missing feature to control the line width. In Bear1, I have my line width as wide as it can go. Bear2 doesn’t appear to have that option yet.

This seems a line-wrapping problem as @reese suggested. At the moment you can’t change the width of the note column in Bear 2 but when we’ll ship it you’ll get the same result.

1 Like