PreviousNextTracker indexSee it online !

(175/212) 464 - Environment variables in stored paths

Especially for using jEdit as portable app, it would be nice to have environment variables expanded, when path strings are read from files like recent.xml and perspective.xml. Of course, to make it really useful, environment variable replacement should be done before storing paths to these files (which IMHO shouldn't be optional as for displaying paths).

Submitted rschwenn - 2013-03-05 18:58:10 Assigned
Priority 5 Labels core
Status open Group None
Resolution None

Comments

2013-03-05 19:03:01
ezust

\*All\* path properties??? Or just some. And which ones?

At the moment disabling the view option breaks the ProjectViewer option for storing variable-prefixed paths in the project properties.
I have to come up with another API for plugins to use that is always going to work regardless of the view option.

2013-03-05 19:03:51
ezust

- **assigned_to**: nobody --> ezust

2013-03-05 20:12:45
rschwenn

I feared that a request for "all" path properties in "all" files couldn't have much success. That's why this request is mainly for \*recent files list\* and restoring \*previously open files\* at startup. I was hoping these things are core related only (recent.xml and perspective.xml).

2013-03-06 05:02:13
ezust

I see you already said that in the initial description. Sounds reasonable to me.

2013-03-17 22:07:55
ezust

recent.xml is easy. perspective.xml is tricky. Unassigning myself for now.
I will reassign if I feel like mucking around in ugly splitconfig code.

2013-03-17 22:07:55
ezust

- **assigned_to**: ezust --> nobody