question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After Sublime Text 3.1.1 update, not prettifying anymore

See original GitHub issue

Explain the Issue and Expected Behavior

JSPrettify is no longer prettifying as of today May 31 2018, where previously everything was fine. The only thing I did today was upgrade SublimeText to version 3.1.1 (which came out May 14th, 2018) and installed another package (PlainNotes - https://github.com/aziz/PlainNotes) and now it’s not working.

  • The option to “prettify” from the context menu when right/double clicking is grayed out. The hotkey does not work. Format on save, when set to true in .sublime-settings, does not format either.
  • The debug console in sublime does not mention anything even when settings debug is set to true.

I noticed that all of my User/*.sublime-settings files are not appearing anymore after the update (which is more like a Sublime 3.1.1 issue), but otherwise the default JSPrettier settings file is still present and editable.

I uninstalled the new PlainNotes package, I tried uninstalling and reinstalling JSPrettier too and reopening sublime like mentioned in #106 , but still nothing works.

Prettier version

1.13.3

JsPrettier Plug-in Version

The JsPrettier Sublime Text Plug-in version is located in the package.json file.

This is vague… what package.json file is this located in? Where is this file on MacOs?

Platform Details

Provide your Sublime Text version and Platform details.

Example

- Sublime Text Version: 3.1.1
- Sublime Text Build: 3176
- Sublime Text Architecture: ?
- Operating System Name: Osx
- Operating System Version: 10.13.4
- Operating System Architecture: High Sierra

Generated Prettier command line arguments

Like mentioned above, no console output is presented even when debug = true

Is the same behavior observed when run against Prettier directly?

???

The contents of your User/JsPrettier.sublime-settings file

empty (but before sublime text’s update it had stuff)

The contents of your <project_name>.sublime-project file (if applicable)

Essentially the same as the default from a fresh install.

Steps to reproduce the behavior

Unsure, but maybe is upgrading to Sublime 3.1.1 the problem?

Happy to answer any other questions! Thanks. Hope this was enoughl

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
infotexturecommented, May 31, 2018

@jonlabelle Thanks, re-installing & restarting worked for me.

1reaction
jonlabellecommented, May 31, 2018

Can you try re-installing the package from Package Control… and restart Sublime Text.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Always not responding after install new update - Sublime Forum
i just update the sublime this morning i've tried to open and close the sublime, but when it opens it always not responding....
Read more >
Download - Sublime Text
Mac: Added Notarization; Fixed a performance regression when moving the caret upwards in large files; Fixed a memory leak; Fixed not being able...
Read more >
News - Sublime HQ
Sublime Text license keys are no longer tied to a single major version, instead they are now valid for all updates within 3...
Read more >
Printing in 3.1 - General Discussion - Sublime Forum
So no print support, but you've got time for this: “Added support for 8K monitors…” You assume a lot there. 0 Likes ...
Read more >
Reverting to a Freshly Installed State - Sublime Text
The backup copy of your data directory can be used to retrieve configuration, or custom packages that can not be reinstalled.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found