zoukankan      html  css  js  c++  java
  • Eclipse常用功能

    ComTechnology - 后端 - IDE - Eclipse

    Eclipse
    1.URL:http://www.eclipse.org/

    2.Eclipse默认字符集为GBK,项目通常使用UTF-8;
    Window -> Preferences -> General -> Workspace -> Text file encoding;

    3.Eclipe View(IDE视窗)
    Window -> Show View;

    4.Workspace
    File -> Switch Workspace;

    5.Project Build Path
    Project右击 -> Build Path;

    6.新建
    File -> new;

    7.输出/导出 - JAR/WAR
    File -> Export -> (JAR file)

    8.内容辅助
    代码提示,默认是输入"."后自动出现;
    Window->Preferences->Java->Editor->Content Assist;

    9.悬浮提示
    鼠标指针指向元素的额外信息;
    Window->Preferences->Java->Editor->Hovers;

    10.代码模板
    Windows->Preferences->Java->Editor->Templates;

    11.快捷键(常用)
    Classic:
    Ctrl+1 -快速修复(例如:import、try包围)
    Ctrl+Shift+F -格式化当前代码
    Alt+/ -内容辅助
    Alt+↓ -当前行和下面一行交互位置
    Ctrl+Alt+↓ -复制当前行到下一行
    Ctrl+/ -注释当前行,再按则取消注释

    Search:
    Ctrl + H;

    Navigate:
    Ctrl+Shift+R -搜索工程中的文件

    Debug:
    Step Into F5;
    Step Over F6;
    Step Return F7;

    重构:
    F2 -重命名
    Alt+Shift+R -重命名路径重构

    --参考文档

    https://www.w3cschool.cn/

    DedoChen (原创)仰望星空 砥砺前行; 如需转载,请注明出处,谢谢!
  • 相关阅读:
    poj 3071 Football (概率dp)
    CF1408G Clusterization Counting
    2-sat
    线段树优化建图
    SP5971 LCMSUM
    [NOI2020]命运
    SP19149 INS14H
    Atcoder ARC-068
    CF908G New Year and Original Order
    (四)、Fiddler打断点
  • 原文地址:https://www.cnblogs.com/DedoChen/p/8549381.html
Copyright © 2011-2022 走看看