zoukankan      html  css  js  c++  java
  • 【IntelliJ IDEA 12使用】导入外部包

    以前用eclipse,现在用IntelliJ IDEA,发现它确实是个很不错的工具。

    用IntelliJ IDEA12这个版本导入外部JAR包,这样来操作,打开Project Structure,在module处配置依赖库,选择相应的jar包。
    操作菜单如下:File-->Project Structure (ctrl + shift + alt + s ) --> Module -> Dependencies -> Add... -> Library... -> Attach Classes.

    参见如下截图:

    然后 Apply --> OK,重新刷新Project,发现正常。

    -----------------------------------------------------------

    [IntelliJ IDEA] 文件修改提示和自动保存功能

    Eclipse中文件修改后没有保存前文件都会有星号提示,IntelliJ IDEA默认没有提示,但是可以通过如下设置完成:
    Settings -> Editor -> General -> Editor Tabs: Check "Mark modified tabs with asterisk"
    [IntelljJ <wbr>IDEA] <wbr>文件修改提示和自动保存功能

    IntelliJ IDEA关于文件自动保存功能主要有两种方式:

    • 切换到其他应用时保存变化(默认使能)
      设置路径:Settings -> Apperance & Behavior -> Save files on frame deactivation
    • 如果应用空闲则自动保存变化(默认禁止)
      设置路径:Settings -> Apperance & Behavior -> Save files automatically if application is idle for ... sec.


    [IntelljJ <wbr>IDEA] <wbr>文件修改提示和自动保存功能

    -----------------------------------

  • 相关阅读:
    day25:接口类和抽象类
    vue1
    How the weather influences your mood?
    机器学习实验方法与原理
    How human activities damage the environment
    Slow food
    Brief Introduction to Esports
    Massive open online course (MOOC)
    Online learning in higher education
    Tensorflow Dataset API
  • 原文地址:https://www.cnblogs.com/haochuang/p/3491959.html
Copyright © 2011-2022 走看看