Edited SharedPreferences read on SketchUp startup

It is my Understanding that SharedPreferences are;

  • Read on Startup
  • Saved on Close

I have edited my SharedPreferences Keyboard Shortcuts in a text editor but on Startup the file that is saved is not read.

SketchUp seems to load with an older version of SharedPreferences.

The SharedPreferences file is saved in AppData/Roaming/SketchUp/SketchUp 2021/SketchUp.

How do I edit SharedPreferences and get SketchUp to read that data on Startup?

That is not the location for the SharedPreferences.json on Mac, it should be in the user library:
~/Library/Application Support/SketchUp/SketchUp 2020/SketchUp

Thanks Mike,

The problem I am seeing is on Windows.

Your profile indicates you are using Mac.

I will look into my profile.

I use both Operating systems because neither is a complete solution for my workflow.

That’s fine. To avoid confusion in the future, please state which your issue is with.

Ah, I thought you where looking in the Main Library or something.
You have to be sure SketchUp is closed, and preferably use a plain texteditor.
You will also have to have the right permissions tos save on the location.

To test, while SketchUp is still open, navigate to the location.

%AppData%Roaming\SketchUp\SketchUp 2021\SketchUp
check the timestamp of the file.
Close SketchUp and check again.

Here is a part that controls the shortcuts:

“Settings”: {
“Num_Shortcuts”: 26,
“Shortcut_1”: “0 0 0 H selectDollyTool:”,
“Shortcut_10”: “0 0 0 P selectPushPullTool:”,
“Shortcut_11”: “0 0 0 R selectRectangleTool:”,

That part isn’t quite right. %AppData% gets you into Roaming. %LocalAppData% gets you into Local. %AppData%Roaming\ leads to an error.

Thank you all for the feedback

In my case I needed to change my rights permissions.

This suggests that SketchUp might have been installed incorrectly on your PC ?
You don’t need to reinstall but a ‘Repair’ should fix things…
If should not affect any installed extensions or customized changes you might have made…

Log into Windows as your normal user-account.
Ensure that SketchUp is closed.
Find the relevant SketchUp installer’s exe file - usually in your Downloads folder ?
Select that installer’s exe file icon, right-click > context-menu > “Run as administrator”
When prompted choose “Repair”…
Restart SketchUp and all folder/file permissions should now be correct.

If you double-click an installer’s exe file to ‘Run’ it it is not the same thing - even if your user-account has admin-powers.
It can lead to all kinds of unexpected and unpredictable issues - such as preferences not getting saved and so on…