editor icon indicating copy to clipboard operation
editor copied to clipboard

Tree editor deletes comments in raw text editor

Open ExcitedName opened this issue 3 years ago • 1 comments

Summary I'm not sure if this is supposed to happen or not. I commented out a block of components and events for testing. I opened the file in the tree editor to add a new component I hadn't used yet. When I reopened the file in the raw text editor the comments were gone. I have tested this numerous times and it happens every time.

To Reproduce Steps to reproduce the behavior:

  1. Open any file in the raw text editor
  2. Add a comment
  3. Save and close the file
  4. Open the file in the tree editor
  5. Save and close the file
  6. Open the file in the raw test editor.
  7. Comments are gone.
  • OS: Windows 11
  • App Version: Native app v2.6.0 Thanks for all the work you all put in.

ExcitedName avatar Jan 22 '23 19:01 ExcitedName

This is something I would like fixed at some point, however, this would need to use another json parser that supports preserving comments. I'll look into finding one but this will probably stay on the backlog for a little bit.

outercloudstudio avatar Oct 07 '23 19:10 outercloudstudio