Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't do FormatCode. #987

Closed
kametsun opened this issue Nov 10, 2023 · 1 comment
Closed

can't do FormatCode. #987

kametsun opened this issue Nov 10, 2023 · 1 comment

Comments

@kametsun
Copy link

https://github.com/google/google-java-format/releases Install google-java-format-1.18.1.jar from this page and then

.vimrc
call glaive#Install() Glaive codefmt google_java_executable="java -jar C:\Users\User\google-java-format-1.18.1.jar"

Test.java
:FormatCode Error formatting file: Vim(let):E282: Cannot read from "C:\Users\User\AppData\Local\Temp\VZ74C45.tmp"

What should I do?

@cushon
Copy link
Collaborator

cushon commented Dec 8, 2023

This looks like google/vim-codefmt#86

@cushon cushon closed this as completed Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants