Web IDE: Add new utils: addFinalNewline, getPathParents

What does this MR do?

Add new utils: addFinalNewline, getPathParents

  • Add a new util function getPathParents
  • Modify existing function addFinalNewline to support eol type, and move it to ide/utils instead of ide/stores/utils

These utils will be useful in !32378 (merged)

Edited by Himanshu Kapoor

Merge request reports

Loading