alefragnani / vscode-bookmarks

Bookmarks Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks
GNU General Public License v3.0
1.65k stars 161 forks source link

[BUG] - Sticky behavior is not stable with Prettier #654

Open alefragnani opened 8 months ago

alefragnani commented 8 months ago

And I have already checked Use Workaround For Formatters, but the bookmarks still frequently shift a few lines, which really has a significant impact. This situation often occurs when there are too many function parameters. Prittier automatically splits the parameters into multiple lines or merges them into fewer lines if the number of parameters decreases, causing the bookmark to be offset.

Originally reported in https://github.com/alefragnani/vscode-bookmarks/issues/651#issuecomment-1767708231