如何在 VIm 中使用 Eclipse 格式化程序配置文件?
我的团队有一个标准的 Eclipse 代码格式化程序配置文件。我更喜欢与 VIm 一起工作。有什么办法可以转换这个文件并将其与 VIm 一起使用吗?
My team has a standard Eclipse code formatter profile. I prefer to work with VIm. Is there any way I can convert this file and use it with VIm?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能只需将 vim 配置为在写入文件时自动运行格式化程序。
从命令行调用格式化程序(google):
提示:使用expand("%:p"),您可以获得文件的完整路径...
我希望这有帮助!
You could probably just configure vim to run the formatter automatically when writing your files.
Formatter invocation from the commandline (google):
Tip: with expand("%:p") you can get the full path to your file...
I hope this helps!