• Intellij Idea的一些配置


    1.字体

    修改IDEA面板字体:Settings->Appearance-> Override default fonts by(not recommended)选中,选择自己喜欢的字体

    修改代码字体:Settings->Editor->Colors &Fonts->Font  选择Courier New,或者其他等宽字体。可能字体无法选择那么就将模版先另存,随便起一个名字,比如就叫s1.

    ps:可能在修改代码字体的时候无法找到自己想要的字体,尤其是在Linux下,可以进入Idea的配置文件(Linux

    ~/.IntelliJIdea12/config/colors,window:c:/user/.Intellij...)找到s1.xml,然后将机器里却是存在的字体填入

     <option name="EDITOR_FONT_NAME" value="Courier New" />

    重启Idea即可。

    2.光标

    对于习惯Eclipse的人来说,Idea的默认光标很不习惯,鼠标点到哪里,光标就在哪里。

    settings-Editor-Allow placement of caret after edn of line.的勾去掉即可

    3.头文件注释

    settings-Editor-FIle and Code Template

  • 相关阅读:
    Docker搭建NSQ实时分布式消息集群
    雪花算法
    代码抽象三原则
    PostgreSQL12-主从复制
    logrus日志框架
    Golang中的布隆过滤器
    golang-Json编码解码
    List分组迭代器
    redis-cli命令行远程连接redis服务
    pycharm常用快捷键与设置
  • 原文地址:https://www.cnblogs.com/fuxinci/p/3292520.html
Copyright © 2020-2023  润新知