[Feature request] Allow disabling `--cursor-offset` through user option
See original GitHub issueExplain 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
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Disabling/Enabling Feature Requests - Instabug
Described here is how to disable or enable the feature requests. ... You can completely prevent any feature request related features from displaying...
Read more >cursorOffset - API Reference - Kendo UI Sortable
In this article you can see how to configure the cursorOffset property of the Kendo UI Sortable.
Read more >JsPrettier - Package Control
This option allows you to switch between the default behavior ( auto ) and disabling this feature entirely ( off ). See example....
Read more >Release note | Teradici Documents and Downloads
ZoomText cursor and magnification features get internally disabled when launched with Windows Graphics Agent versions post 20.01.
Read more >User manual - TeXstudio
This dialog allows you to set the main features of your document (class, paper size, encoding...). Note : You can add other options...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Give it a whirl.
Yea… I often experience the same problem. I’ll work this in.