web developer tips (56):手动更新JScript的智能感知


原文地址:How to update JScript Intellisense manually 你喜欢JScript的职能感知(Intellisens)功能,但是有时候你期待在JScript的职能感知里看到变量或方法,却发现无法看到,也许是没有更新,你可以简单的尝试用“更新智能感知”的命令,在调用智能感知以前,手动更新,而不是关闭文件或其他变通的方法。 http://www.watch-life.net/visual-studio/update-jscript-intellisense-manually.html 1、通过键盘操作 按Ctrl+Shift+j 键,会在状态栏出现“正在更新JScript Intellisens”的消息。 2、通过菜单操作 在编辑器的“源视图”状态 ......[阅读全文]

分类: Visual Studio | 没有评论 »

web developer tips (49):将JS函数的左大括号置于新行


原文地址: how to set the editor to always place open braces on new line for functions in JScript?
在 Visual Studio 2008 ,菜单:工具+选项+文本编辑器+Jscript+格式设置,在“新行”选择中,选中“将函数的左大括号置于新行”。
http://www.watch-life.net/visual-studio/set-the-editor-to-always-place-open-braces-on-new-line-for-functions-in-jscript.html

也可以将控制块的左大括号置于新行。我喜欢这种大括号置于新行的方式,比较清晰,Visual Studio 2008 在js编辑功能方面加强了不少。

[阅读全文]

分类: Visual Studio | 1 条评论 »