Closed
Description
Explain the Issue and Expected Behavior
#147 says the freezing is not an issue with Sublime or SublimeJsPrettier. I agree but I'd love to be able to disable --cursor-offset
in user settings. Adding the following to the settings
"additional_cli_args": {
"--cursor-offset": -1
}
results in the following command
... --loglevel debug --cursor-offset -1 --cursor-offset 509
so I'm not able to disable it at all.
I'm working with markdown a lot and even the tiniest bit of unformatted JSON code blocks will cause the prettier process to freeze for minutes due to --cursor-offset
(I confirmed that on the CLI).
Prettier version
To show the currently installed prettier version, run the following command:
$ prettier --version
1.16.4
JsPrettier Plug-in Version
The JsPrettier Sublime Text Plug-in version is located in the package.json
file.
...
"name": "sublime-js-prettier",
"version": "1.26.3",
...
Platform Details
Provide your Sublime Text version and Platform details.
Example
- Sublime Text Version: 3.2
- Sublime Text Build: 3200
- Sublime Text Architecture: 64-bit
- Operating System Name: Ubuntu
- Operating System Version: 18.04.2
- Operating System Architecture: 64-bit