eclipse zg项目学习

一、基本知识

1.新增测试系统:

xx/jsp:用于摆放jsp

xx/src:放置java source

 2.在项目上,右键,New-Folder,新建xx文件夹。

   同样的方法,在xx文件夹上,右键New-Folder,新建src文件夹

   (1)实现:将src设置为编译目录

      操作方法:在src文件夹上右键,Build Path-Use as Source Folder

 3.调整编辑器文字

功能/Window/Preferences

General/Appearance/Color and Font

  Basic/Text Font

 4.常用快捷键

    1>.开启档案:Ctrl+Shift+r

  2>.提示(自动完成):Alt+/

  例如:sys 

     3>.保存:Ctrl+s

     4>.到第几行:Ctrl+l

     5>.到类别方法:Ctrl+o

     6>.全局搜索:Ctrl+h

     7>.查找方法引用:Ctrl+g

 二、本机debug设定

   操作步骤:

  1.功能/Run

    Debug  Configurations...

    (也可以从,小昆虫,下拉箭头里面找到:Debug  Configurations...)

    Remote Java  Application-右键New : 调整 port:3999(自己的)

三、.jss 档案关联

   可能会有问题,

   操作步骤:

    1.功能/Window/Preferences

     General/Editor/File Association

     File type:add *.jss

     Associated editors:

      add:javascript Editor

原文地址:https://www.cnblogs.com/liyanli-mu640065/p/8805343.html