在IntelliJ IDEA中保存操作 [英] Save actions in IntelliJ IDEA

查看:1040
本文介绍了在IntelliJ IDEA中保存操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse中唯一存在的东西,我在IntelliJ IDEA中遗漏的是保存操作 - 在保存文件时可以执行某些操作(通常是格式化)。

The only thing that exists in Eclipse, which I miss in IntelliJ IDEA is "save actions" - possibility to do some actions (usually formatting) when a file is saved.

IDEA是否有一些启用此类功能的插件或配置?

Is there some plugin or configuration for IDEA which enables such functionality?

推荐答案

您需要安装保存动作插件


  1. 点击:ctrl + shift + a

  2. 类型:插件

  3. 点击:输入插件

  4. 请点击:浏览存储库

  5. 类型:将操作保存到搜索字段

  6. 找到后点击安装插件

  7. 重新启动intellij idea

  1. Click: ctrl+shift+a
  2. Type: Plugins
  3. Click: enter Plugins
  4. Click: Browse repositories
  5. Type: Save Actions to search field
  6. Click "install plugin" after you found it
  7. Restart intellij idea

现在可以保存操作。您可以在
文件 - >设置 - >其他设置

Save actions now work. You can configure them in File -> Settings -> Other settings

这篇关于在IntelliJ IDEA中保存操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆