myeclipse 10 jsp 和js 文件代码提示问题 5

我已经配置好spketIDE,但出现这种情况:在JSP下写JAVASCRIPT会有自动代码提示,但在JS文件下就不会出现这样的提示,只提示那些基本语法,没有JAVA类包的... 我已经配置好spket IDE,但出现这种情况:在JSP下写JAVASCRIPT会有自动代码提示,但在JS文件下就不会出现这样的提示,只提示那些基本语法,没有JAVA类包的提示。求速回答! 展开
 我来答
育知同创教育
2016-06-03 · 百度知道合伙人官方认证企业
育知同创教育
1【专注:Python+人工智能|Java大数据|HTML5培训】 2【免费提供名师直播课堂、公开课及视频教程】 3【地址:北京市昌平区三旗百汇物美大卖场2层,微信公众号:yuzhitc】
向TA提问
展开全部

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.

YLineZero
2014-02-20 · TA获得超过313个赞
知道小有建树答主
回答量:323
采纳率:0%
帮助的人:218万
展开全部
js下怎么会有Java类包的提示呢....spket IDE 本来就是只提示一些基础的语法. 写jqeury 还好点
追问
那你的意思就是在JS文件下无法提供自动提醒功能?还是有其他方法?
追答
无法提供java的代码提示. 
提示JavaScript的也只是基础的. 基本没什么用.

另: 写js 我用VIM
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式