The option on the Home page to "write relative file paths" only affects how the property is written. It does not change how the information is stored. If you change the project directory, absolute paths do not change, but the interpretation of relative ones does.
Add a "convert" button.
It opens up a modal, giving the option to convert the value:
- relative path (show both results, and allow user to choose) (or message that says 'no difference')
BONUS ROUND:
Also show options to reference custom props
- reference customProps: (if an existing custom prop value is in the file path, change it to ${VAR} form, and vice versa) show all options.
The option on the Home page to "write relative file paths" only affects how the property is written. It does not change how the information is stored. If you change the project directory, absolute paths do not change, but the interpretation of relative ones does.
Add a "convert" button.
It opens up a modal, giving the option to convert the value:
BONUS ROUND:
Also show options to reference custom props