A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/google/google-java-format/issues/422 below:

Handling of trailing tabs in comments not idempotent · Issue #422 · google/google-java-format · GitHub

When formatting the following code

class Foo {
  void f() {
    int x = 0; // comment<TAB><TAB><TAB>
    return;
  }
}

where <TAB> represents ASCII 0x09 character the formatter removes the last tab character.
Thus when you apply the formatter again, it also removes the last tab.
Expected behavior would be either all trailing tabs removed or kept.

As Unicode reader discards last character if it is a whitespace preseving tabs would be difficult.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4