bitst0rm-pub / Formatter

🧜‍♀️ A Sublime Text plugin to beautify and minify source code: CSS, SCSS, Sass, HTML, XML, SVG,JS,JavaScript, JSON, GraphQL, Markdown, TypeScript, Vue, Lua, YAML, Go, Perl, PHP, Python, Ruby, Rust, Haskell, Dart, Swift, Crystal, Bash, Shell, SQL, CSV, C, C++, C#, Objective-C, D, Java, Pawn, Julia, Proto, LaTeX, D2, Graphviz, Mermaid, PlantUML, etc
Other
100 stars 20 forks source link

Formatter affects other plugins #63

Closed husanjun closed 3 weeks ago

husanjun commented 3 weeks ago

Hi, bitst0rm

After the Formatter is enabled, use the LSP-related plugin(such as lsp , lsp-pyright), and then go to definition, which seems to go where it was last time (close the definition page and try a few more times), but after the formatter is disabled, it works fine

bitst0rm commented 3 weeks ago

Hi @husanjun

I think you are talking about this feature:

    // Remember and restore cursor position, selections and bookmarks
    // each time a file is closed and re-opened.
    // This is helpful to resume your work from where you left off.
    // It does not remember any sublime sessions as name might suggest.
    "remember_session": true,

you can of course disable it.

husanjun commented 3 weeks ago

Hi @husanjun

I think you are talking about this feature:

    // Remember and restore cursor position, selections and bookmarks
    // each time a file is closed and re-opened.
    // This is helpful to resume your work from where you left off.
    // It does not remember any sublime sessions as name might suggest.
    "remember_session": true,

you can of course disable it.

I disabled it and it worked, Thanks