question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strange behavior on format

See original GitHub issue

Hi! Since yesterday, when I format a YAML file on save, it add the following header

_uri: 'file:///<path_to_my_file>.yaml'
_languageId: yaml
_version: 642
_content: |
  <content_of_my_file>
_lineOffsets:
    - 0
    - 9
    - 19

Any idea?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:20
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

9reactions
JPinkneycommented, Jul 5, 2018

It will be fixed in the release Monday! (There will be completely new formatter that preserves comments)

4reactions
JPinkneycommented, Jul 25, 2018

Just released the newest version. Unfortunately I wasn’t able to get the new formatter in but atleast this issue is now resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strange behavior of Format Date in shortcuts - Automators Talk
I have a shortcut I use to create new Jekyll blog posts on my iPhone and iPad. It works great most of the...
Read more >
Strange compiler behavior with "!" format - Progress Community
Strange compiler behavior with "!" format. ... First change the display format of the Customer.Address2 field to "!" in the Data Dictionary */...
Read more >
Strange behavior when formatting string to number for Swift
For better consistency in rounding behavior, use a NumberFormatter: let f = NumberFormatter() f.maximumFractionDigits = 1 let str1 ...
Read more >
User Format - Strange Behavior - narkive
All - Here's one that's got me scratching my head! I have a .txt file with some formats in it (small excerpt): PROC...
Read more >
Strange Behavior with List rows in table
Strange Behavior with List rows in table ... I have set the DateTime Format to ISO 8601 - A. Works until I get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found