© 2003–2025 The Redmond Family. All rights reserved.
HomeCraigEthanJoshuaKylaAmy
 

Backing up PhpStorm bookmarks

PhpStorm's bookmarks keep resetting every time I upgrade a version.

 
  1. Go to: ~/.config/JetBrains/PhpStorm2022.3/workspace/XXXXXXXXXXXXXXXXXXXXXXXXXXX.xml (find the newest file)
  2. Paste the XML below into that file.
 
  1. Go to: ~/.config/JetBrains/PhpStorm2022.3/workspace/XXXXXXXXXXXXXXXXXXXXXXXXXXX.xml (find the newest file)
  2. Copy the section on <component name="BookmarksManager"> and paste it below:
  <component name="BookmarksManager">
    <option name="groups">
      <GroupState>
        <option name="bookmarks">
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$USER_HOME$/Dropbox/Country - NZ - New Zealand/Yellow pages NZ.md" />
              <entry key="line" value="20" />
            </attributes>
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_Y" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$PROJECT_DIR$/mod/classes/Data/Scenario/Person.inc" />
              <entry key="line" value="98" />
            </attributes>
            <option name="description" value="/*x*/ 'accwh'        =&gt; ['scenarioDisplayName' =&gt; &quot;Acc-WH&quot;,           'personId' =&gt;  28, 'userId' =&gt;  26, 'targetPerDayHrs' =&gt;  0.0, 'targetPerWkDays' =&gt; 0, 'dependentsNum' =&gt; 0, 'batchKey' =&gt; 'wh',     'jobTitleName' =&gt; $L-&gt;ACCOUNTANT,                    'OA_Perm' =&gt; 6, 'PR_Perm' =&gt; 6, 'isManager' =&gt; false, 'isSupervisor' =&gt; false, 'isLeader' =&gt; false, 'managerPersonId' =&gt; 'outofstate',                  'supervisor1PersonId' =&gt; null,          'supervisor2PersonId' =&gt; null,          'joinUnix' =&gt; strtotime($isNewHireMode ? '-15 days' : '2016-07-03'), 'directorStartUnix_gb' =&gt; null,                                                   'isDirectorUsingAlternativeMethod_gb' =&gt; false,  'jobGradeNum' =&gt; 2,    'employmentType' =&gt; 'independentContractor', 'workExtnCode' =&gt; '2222', 'previousEmploymentTotalPayDec_gb' =&gt; 0,                'previousEmploymentTotalTaxDec_gb' =&gt; 0,              'foreignPassportCode' =&gt; '123456789',    'divisionName' =&gt; $L-&gt;EASTERN,            'departmentName' =&gt; $L-&gt;ACCOUNTING_AND_FINANCE,   'workFloorName' =&gt; &quot;2&quot;,          'workRoomName' =&gt; &quot;13A&quot;,  'portraitStorageCode' =&gt; 'accwh']," />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$PROJECT_DIR$/mod/classes/Data/Scenario/Person.inc" />
              <entry key="line" value="213" />
            </attributes>
            <option name="description" value="/*x*/ /* Ahmed Farooqi       */ 'alien'        =&gt; ['rateDec' =&gt;      12.50, 'rateLetter' =&gt; $hourlyRateLetter, 'rateMinimumWageLetter' =&gt; 'n',  'nickName' =&gt; null,       'givenName' =&gt; &quot;Ahmed&quot;,         'middleName' =&gt; &quot;Hussein&quot;,     'familyName' =&gt; &quot;Farooqi&quot;,                            'mainEmailAddress' =&gt;                        '[email protected]',  'homeEmailAddress' =&gt;                 '[email protected]',  'homePhoneTel' =&gt; ' +442082153117',  'social1Type' =&gt; 'msk_social_skype',     'social1Address' =&gt; &quot;ahmed_far90&quot;,         'social2Type' =&gt; 'msk_social_facebook',  'social2Address' =&gt; &quot;ahmed_farooqi&quot;,      'social3Type' =&gt; 'msk_social_twitter',  'social3Address' =&gt; &quot;@ahmedfar90&quot;,          'social4Type' =&gt; 'msk_social_linked_in', 'social4Address' =&gt; &quot;https://www.linkedin.com/in/ahmedfarooqi&quot;,       'social5Type' =&gt; 'msk_social_whatsapp',  'social5Address' =&gt; ' +447921557894',     'mobileTel' =&gt; ' +447921557894',                                                                                                                                                                                 'homeLine1Address' =&gt; &quot;31 Cumberland Terrace&quot;,                  'homeLine2Address' =&gt; '',                                                                               'homeTownCityName' =&gt; &quot;London&quot;,                                  'homeStateCountyProvinceCode' =&gt; '',      'homePostCode' =&gt; 'NW1 4HP',     'homeCountryCode' =&gt; 'gb',  'dateOfBirthUnix' =&gt; strtotime(($todayYyyy - 32) . '-05-03'),  'genderLetter' =&gt; 'm', 'honorificLabel' =&gt; $genderDefaultHonorificArr['m'], 'eeTaxCode' =&gt; 'WW391812C',        'eeHealthCode' =&gt; 'HJ 12 34 56 C',                                                                                                                      'bank1Name' =&gt; &quot;NatWest&quot;,                         'bank1BranchCode' =&gt; '623046',       'bank1AccountCode' =&gt; '56449363',             'bank1AccountFirstName_gb' =&gt; &quot;Ahmed&quot;,                 'bank1AccountLastName_gb' =&gt; &quot;Farooqi&quot;,               ]," />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="DIGIT_2" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$PROJECT_DIR$/mod/classes/Data/Scenario/Person.inc" />
              <entry key="line" value="563" />
            </attributes>
            <option name="description" value="self::$detailsArr_gb['alien']        = array_merge(self::$detailsArr_gb['alien'],        ['taxCode_gb' =&gt; '1257L',    'taxRegimeLetter_gb' =&gt; '0', 'emergencyTaxCodeLetter_gb' =&gt; 'n', 'nationalInsuranceCategoryLetter_gb' =&gt; 'J', 'veteranFirstCivilianEmploymentLetter_gb' =&gt; null, 'veteranQualifyingPeriodStartUnix_gb' =&gt; null,                   'veteranEligibilityRecordStorageCode_gb' =&gt; null,             'cisSubcontractorLetter_gb' =&gt; 's',  'cisSubcontractorDeductionPcnt_gb' =&gt; 20,   'cisSubcontractorVerificationReferenceCode_gb' =&gt; 'V0004528765',   'cisSubcontractorVerifiedUtcUnix_gb' =&gt; strtotime('2021-10-06'), 'cisSubcontractorUtrCode_gb' =&gt; '3654165416',   'cisSubcontractorTradingName_gb' =&gt; null,                                            'cisSubcontractorCompanyRegistrationCode_gb' =&gt; null,            'cisSubcontractorWorksReferenceCode_gb' =&gt; null,            'eePensionDeductionPcnt_gb' =&gt; null,  'erPensionDeductionPcnt_gb' =&gt; null,  'isOptingOutOfPension_gb' =&gt; false, 'optedOutOfPensionUnix_gb' =&gt; null,                                         'employeeType' =&gt; 'cisSubcontractor_gb',                                                                                                                             'nonResidentAlienLetter' =&gt; 'y',  'selectedPayableRepeatIdList' =&gt; ',',                                                                                                                                  ]);" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="DIGIT_3" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$USER_HOME$/Dropbox/Country - UK - United Kingdom/Benefits.md" />
              <entry key="line" value="0" />
            </attributes>
            <option name="description" value="## History" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_B" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$USER_HOME$/Dropbox/Ethan/Notes/Scribblings/Dreams.md" />
              <entry key="line" value="128" />
            </attributes>
            <option name="description" value="" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_D" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$USER_HOME$/Dropbox/Country - UK - United Kingdom/Yellow pages.md" />
              <entry key="line" value="0" />
            </attributes>
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$USER_HOME$/Dropbox/Country - NZ - New Zealand/Job hunting/Job hunting.md" />
              <entry key="line" value="94" />
            </attributes>
            <option name="description" value="- Todo:" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_H" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$USER_HOME$/Dropbox/Ethan/Notes/Links/GIFs.md" />
              <entry key="line" value="0" />
            </attributes>
            <option name="description" value="" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_G" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$USER_HOME$/Dropbox/Ethan/Notes/Scribblings/Journal.md" />
              <entry key="line" value="529" />
            </attributes>
            <option name="description" value="" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_J" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$PROJECT_DIR$/test.php" />
              <entry key="line" value="6" />
            </attributes>
            <option name="description" value="require_once '/mnt/ebs1/git/apps/mod/classes/autoloadRegister.inc';" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_T" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$USER_HOME$/Dropbox/Country - UK - United Kingdom/Ward - Loughborough.md" />
              <entry key="line" value="0" />
            </attributes>
            <option name="description" value="" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_W" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$PROJECT_DIR$/mod/sql/!Readme - Alterations ER.md" />
              <entry key="line" value="149" />
            </attributes>
            <option name="description" value="-- Also add new alterations to /getCredScripts/schema_changes/1_sql_changes.sql" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_A" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$PROJECT_DIR$/mod/classes/Obj/Person/FormRow/EmploymentType.inc" />
              <entry key="line" value="9" />
            </attributes>
            <option name="description" value="public static array $rsAssocArr = [" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="DIGIT_1" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$PROJECT_DIR$/mod/classes/Pouch/Lang/Lang_en.inc" />
              <entry key="line" value="33" />
            </attributes>
            <option name="description" value="// @formatter:off" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_E" />
          </BookmarkState>
          <BookmarkState>
            <attributes>
              <entry key="url" value="file://$PROJECT_DIR$/Vagrantfile" />
              <entry key="line" value="0" />
            </attributes>
            <option name="description" value="=begin" />
            <option name="provider" value="com.intellij.ide.bookmark.providers.LineBookmarkProvider" />
            <option name="type" value="LETTER_V" />
          </BookmarkState>
        </option>
        <option name="name" value="apps" />
      </GroupState>
    </option>
  </component>

© 2003–2025 The Redmond Family. All rights reserved.
www.redmondfamily.com/Ethan/Notes/Backing_up_PhpStorm_bookmarks