myeclipse 10 jsp 和js 文件代码提示问题 5
2016-06-03 · 百度知道合伙人官方认证企业
myeclipse 10 jsp 和js 文件代码提示设置正确就可以在编写代码的时候正确提示了。
设置方法:
1、依次打开 Window | Preferences | Web | JavaScript | Editor | Content Assist.
2、根据个人喜好配置如下选项:
Insertion|sort proposals和auto-activation
Insertion
Completion Inserts/Completion Overwrites - Select whether choosing an item from the Content Assist list will cause new code to be entered or existing code to be overwritten.
Insert single proposals automatically -If enabled, the content assist suggestion will be inserted automatically when only one content assist option exists
Insert common prefixes automatically - If enabled, Content Assist will automatically insert the common prefix of all possible completions similar to Unix shell expansion. This can be used repeatedly, even while the Content Assist window is being displayed.
Fill argument names on completion - If enabled, Content Assist will add arguments when completing a method.
Guess filled function arguments - If enabled, Content Assist will fill the arguments with the best matching function, according to the context.
Sorting and Filtering
Sort proposals - Select how the proposals should be sorted in the Content Assist list.
Hide proposals not visible in the invocation context - If enabled, the Java element proposals are limited by the rules of visibility. For example, private field proposals of other classes would not be displayed.
Show camel case matches - If enabled, camel case matches are displayed (e.g. NPE is expanded to NullPointerException).
Hide forbidden references - If enabled, references to JavaScript elements forbidden by access rules are not displayed.
Hide discouraged references - If enabled, references to JavaScript elements discouraged by access rules are not displayed.
Hide deprecated references - If enabled, references to deprecated JavaScript elements are not displayed.
Auto-activation
Enable auto activation - If enabled, the Content Assist list will automatically be displayed when the first letters of an element are typed.