jEdit Community - Resources for users of the jEdit Text Editor
Where are Favorites stored?
Submitted by Todd on Thursday, 5 July, 2007 - 21:26
I'm moving my settings to a new computer and would like to manually edit my Favorites so they work on the new machine. I found the XML files for the Project Viewer plug-in, but can't figure out where Favorites are saved. One post I found said they were in the settings folder in a file called "properties", but I have no such file (using 4.3pre9). Can someone point me in the right direction? Thanks.

Todd Prouty
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
properties file
by Robert Schwenn on Fri, 06/07/2007 - 20:19
You definitely must have the file "properties" in Your settings directory. To be sure to search the right directory, look at "Utilities->Troubleshooting->Activity Log" and search the line that begins with: "[message] jEdit: Settings directory is ". This Line tells You the settings directoy that is really in use.

Each favorite takes two lines like:
vfs.favorite.0.type=1
vfs.favorite.0=G\:\\Geo\\Projekte

Robert
 
Adding Favorites Manually
by hurricanedavid on Tue, 21/08/2012 - 15:19
  • I actually had three lines in mine: type, label, and path.
  • The lines were spread throughout the properties file, so a little hard to edit. The Find feature is your friend here.
  • I found the largest index value in mine, added one to it, and that worked as the index for my new manual addition.
  • Colons and backslashes in the path should be escaped with a backslash. There may be more that need escaping, but those are the ones I found.
  • Files get a type of 0, while folders get a type of 1.
  • Spaces are allowed.
Examples:

(Folder)
vfs.favorite.6.type=1
vfs.favorite.6.label=C\:\\folder\\subfolder
vfs.favorite.6=C\:\\folder\\subfolder

(File)
vfs.favorite.4.type=0
vfs.favorite.4=C\:\\folder\\file.txt
vfs.favorite.4.label=C\:\\folder\\file.txt

(Network File)
vfs.favorite.3.type=0
vfs.favorite.3.label=\\\\server\\share\\dir\\subdir\\filename.html
vfs.favorite.3=\\\\server\\share\\dir\\subdir\\filename.html

(FTP file)
vfs.favorite.7.type=0
vfs.favorite.7=ftp\://username@ftp.server.com\:21/dir/file.html
vfs.favorite.7.label=ftp\://username@ftp.server.com\:21/dir/file.html
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300