chouzz / vscode-better-align

Better vertical alignment with/without selection in any language.
https://marketplace.visualstudio.com/items?itemName=Chouzz.vscode-better-align&ssr=false#overview
Apache License 2.0
39 stars 4 forks source link

Error in comments #120

Open felipeparente opened 6 months ago

felipeparente commented 6 months ago

A very common mistake that happens to me is when there are several comments and they are misaligned, as shown in the image.

Captura de Tela 2024-03-14 às 18 01 12

I select the lines, and press Option+A, the lines move towards the end of the file, this is very strange.

Captura de Tela 2024-03-14 às 18 01 35
chouzz commented 1 month ago

Could you please provide full text? Seems for me, it works. I mean:

//Only some comments
  //Only some comments
    // Only some comments
      // Only some comments
        //Only some comments

will formated to :

  //Only some comments
  //Only some comments
  // Only some comments
  // Only some comments
  //Only some comments