Michael Vorburger

Results 604 comments of Michael Vorburger

So the root cause for `iBazel [12:55PM]: Bazel query failed: exit status 7` and `iBazel [12:55PM]: Error querying for source files: exit status 7` in my particular case [was this...

@cushon this? No? (Just asking, happy to close, if objections.) PS: You can see how this looks like by clicking on that _Show the rich diff_ button on _Files changed._

> Yet another option would be for github codespaces [to support the same version of ubuntu as github actions](https://github.com/orgs/community/discussions/40871) πŸ€” But then this issue could still appear in other situations......

> So using a slightly older Ubuntu image would be an easy way to make the image more compatible. ==> #1075 FTR: I'm not sure if this will actually do...

@cushon yep, #1075 clearly did the trick; I've verified it (and bumped in https://github.com/enola-dev/enola/pull/579). Resolved! Tx.

> This works great (~leaves it alone) for "single line", e.g. var html = STR.""; Or does it? I just ran into the following, and am surprised I didn't run...

@cushon anything that works, really; if there is no good way to do via `bazel run`, then a `bazel test` approach SGTM! After staring at [`Main.java`](https://github.com/google/google-java-format/blob/master/core/src/main/java/com/google/googlejavaformat/java/Main.java) a bit, I had...

> I'd look at using the GoogleJavaFormatToolProvider ```java public class GoogleJavaFormatTest { @Test public void testGoogleJavaFormat() { PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out, UTF_8)); PrintWriter err = new PrintWriter(new OutputStreamWriter(System.err,...

FYI I personally won't be actively pursuing this further, because I've settled on using https://github.com/macisamuele/language-formatters-pre-commit-hooks/ instead of a Bazel integrated approach, for my current project, for now. (I suspect it...