sublime-fmt icon indicating copy to clipboard operation
sublime-fmt copied to clipboard

Sublime Text generic formatter plugin; formats arbitrary code by calling arbitrary executables, such as `gofmt`

Results 8 sublime-fmt issues
Sort by recently updated
recently updated
newest added

I am working in a monorepo in which different sub-projects use different formatters for the same file types I would like to enable formatting on save but don't see how...

Hello, Here's the recipe to format `js` files with the new `prettier` alternative called `dprint`. Written with rust, it's fast. #### install dprint ```bash cargo install dprint ``` #### in...

Hello, thanks for the package. I was finally able to use prettier-eslint with sublime which before I had to run prettier through eslint but had to give up on some...

Hi! I read https://discord.com/channels/280102180189634562/280157067396775936/840207551065096284 and the linked issues, for example https://github.com/sublimehq/sublime_text/issues/4144 From my experience working on GitSavvy and SublimeLinter you can split the problem to make it more simple. 1....

I was checking your code to see if I could use it to replace my clang-format plugin [1] and found that my plugin also supports formatting just the selection. Or...

In the default settings, the properties that, I believe, are supposed to be used within the `rules` objects, are defined at the root of the settings, for example `cmd`: https://github.com/mitranim/sublime-fmt/blob/4e1ed2db0d089f24d948c06a7da28bea1d79f375/Fmt.sublime-settings#L48...

OS: Windows 10 I set: ``` { "format_on_save": true, "rules": [ { "selector": "text.tex.latex", "cmd": ["tex-fmt", "$file"] }, ], } ``` It will clear all content in current `.tex`. Only...

This makes it possible to configure the same formatter for multiple scopes and change its behavior based on the scope as determined by Sublime, rather than the file extension. This...