rmuir commented on PR #15386:
URL: https://github.com/apache/lucene/pull/15386#issuecomment-3472465736

   Thank you, this totally works. For VSCode case, I think this solution is 
still too slow as it will exceed `editor.formatOnSaveTimeout` default of 750ms. 
But I can experiment with it on-demand for now in vim and see what the options 
are, including cranking that limit.
   
   ```
   $ time google-java-format --skip-reflowing-long-strings -i 
lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
   
   real 0m1.751s
   user 0m5.263s
   sys  0m0.093s
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to