---
title: "在编辑Spring的配置文件时的自动提示"
author: "fgh2011"
date: "2012-02-25T22:31:00Z"
tags: []
slug: "spring"
draft: false
lastmod: "2015-01-22T23:44:24Z"
id: 2178704
url: "https://fgh2011.iteye.com/blog/2178704"
---

打开MyEclipse—&gt;Windows---&gt;referenecs——&gt;General,选择下面的Keys，这就是快捷键的设置，可将Content Assist的快捷键改为 Alt+/ ,然后将command为word completion 的改为其他的快捷键，这样就OK了，在Spring的配置文件中敲代码时想要获得帮助时按住 Alt+/ 便会出现帮助

比如再输入&lt;property name="maxIdle"&gt;&lt;/property&gt;时，按住ALT+/时就会提示所有的值，很方便

个人设置时，只要修改快捷键即可，不需要在xml catalog中配置。