zoukankan      html  css  js  c++  java
  • idea的一些设置

    在File->Settings->Appearance & Behavior->System Settings->Updates下取消Automatically check updates for勾选 

    关闭自动更新

    File->Settings->Editor->File Types下的”Ignore files and folders”一栏添加 *.idea;*.iml;关闭碍眼的文件。

    File->Settings->Editor->Colors & Fonts -> Font   show only monospaced fonts

    File->Settings->Editor->File Encodings设置文件编码格式……

    1. Global Encoding:UTF-8  全局编码
    2.  
      Projectt Encoding:UTF-8  工程编码
    3.  
      Default encoding for properties files:UTF-8   默认编码
    4.  
      勾选上Transparent native-to-ascii conversion 用于转码,不然properties的中文会被转码。
       
      File->Settings->Editor->General->Auto Import 设置自动导入包。
       
      1. Insert imports on paste:复制代码的时候,对于导入的包是否需要进行询问的一个选项。
      2.  
        ASK(有需要导入的包名时会弹提示框,问你要不要导入)
      3.  
        NONE(有需要导入的包名时不会弹提示框,也不会自动导入)
      4.  
        ALL(有需要导入的包名时会自动导入,不会弹提示框)
      5.  
        Show import popup:当输入的类的声明没被导入时,会弹出一个选择的对话框
      6.  
        Optimize imports on fly:自动优化包导入,移除不需要的包
      7.  
        Add unambiguous imports on the fly:这个就是自动导入功能了,当你输入类名后声明就被自动导入了
      8.  
        Exclude from Import and Completion:这个其实就是你自定义import,可以不用关注,一般来说你是用不上的
         
        File->Settings->Editor->General->Code Completion代码提示忽略大小写
         
        idea设置maven自动编译:
        file->setting->build,execution,deployment->build tools->maven->importing->import maven projects automatically
        idea 设置代码相关快捷键:
        file->setting-> keymap->main menu-> code
  • 相关阅读:
    php解决前端调接口跨域问题
    降低token 被盗风险安全问题
    u盘怎么解除写保护状态,u盘写保护怎么去掉
    安装vsftpd时出现错误
    对于vim 编译器的设置
    Vim 怎么设置显示行号,永久性显示行号
    Ubuntu系统设置过程中信息显示不全
    控制文件夹名显示的长短
    linux中好玩的游戏
    安装VMware Tools
  • 原文地址:https://www.cnblogs.com/laorenzhenhaoa/p/10776505.html
Copyright © 2011-2022 走看看