Sublime Forum

Sidebarenhancements "Open In Browser" not working

#1

The side_bar_open_in_browser option tied to a keyboard binding shortcut is suddenly not working anymore.

More specifically, the two keybinding shortcuts for “testing” and “production”

I’ve tried…

  • Uninstalling the package and removing all files manually from the library folder
  • Changing the keybinding shortcut
  • Removing recent plugins installed (that could be conflicting)

…but no luck.

Has anybody else experienced this issue?

Also attached is console log…

Exception in thread Thread-2:
Traceback (most recent call last):
File “./python3.8/threading.py”, line 932, in _bootstrap_inner
File “/Users/colin/Library/Application Support/Sublime Text 3/Installed Packages/SideBarEnhancements.sublime-package/SideBar.py”, line 2369, in run
File “/Users/colin/Library/Application Support/Sublime Text 3/Installed Packages/SideBarEnhancements.sublime-package/SideBarAPI.py”, line 357, in url
File “./python3.8/json/ init .py”, line 370, in loads
File “./python3.8/json/decoder.py”, line 337, in decode
File “./python3.8/json/decoder.py”, line 353, in raw_decode
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 120 column 3 (char 4527)
Unable to open /Users/colin/Library/Application Support/Sublime Text 3/Packages/Default/Preferences.sublime-settings

0 Likes

#2

Hoping somebody could assist with this…

For a workaround, I’ve just been using the default “sublime-view-in-browser” in the project settings, but this only works if you have the project open from the root folder, and not subfolders within the root.

This is possibly one of the most used features for me in the sidebar enhancements plugin and has severely disrupted my workflow.

Any help or insight would be appreciated of what I can do.

Again, this is when you right click on the sidebar and set up your preview URLs. Neither the keyboard binding shortcut works, or when you right click on the sidebar to “Open In Browser” for sidebar enhancements, it just does nothing, and throws the above error.

0 Likes

#3

it’s very likely that you have a corrupt plugin settings at line xxx column xxx as shown in your report.

0 Likes

#4

@jfcherng

I’ve uninstalled and re-installed the plugin already, but i’m still having the issue.

I’m running the latest ST4 build, but my folder still says ST3 in application support.
/Users/colin/Library/Application Support/Sublime Text 3/Packages/Default/Preferences.sublime-settings

Would this have something to do with the plugin not loading correctly? (should it say “Sublime Text 4” now after I updated?)

The only thing I could find about sidebarenhancements issues is ST4 support, but it seems to have been fixed and I’m running the latest version of the plugin.

0 Likes

#5

No. I was talking about plugin settings. Not ST’s preferences.

0 Likes

#6

Hmm… After looking at the source codes, it seems not related to plugin settings. But I don’t use that plugin and I don’t know what these parts of codes are doing. One of loaded json from that parts of codes failed.

0 Likes