VS2008:有没有办法为javascript启用括号匹配?

发布于 2024-08-28 17:19:50 字数 68 浏览 2 评论 0原文

VS2008 中的括号匹配是一个方便的功能,但似乎不适用于 javascript 代码。

有办法启用它吗?

The bracket matching in VS2008 is a handy feature, but doesn't seem to work for javascript code.

Is there a way to enable it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

墨离汐 2024-09-04 17:19:50

如果 VS 能做到这一点,这对我来说就是新闻。它还有其他烦恼,例如不允许您直接进入 js 函数(就像使用 C#/VB 代码/CSS 一样)

我目前正在构建一个 Web 应用程序(客户端代码较多)并放弃在 VS2008 中编辑 js -它只会对我不利。

相反,我使用 notepad++ 和 functionlist 插件来完成这一切。好处是,它提供了与您所需匹配的括号,并且还很好地拆分了我的所有功能,以便于导航,正确突出显示代码等。

我不认为使用另一个应用程序是一个问题,因为它只有一个 alt-tab 距离

< a href="http://notepad-plus.sourceforge.net/uk/site.htm" rel="nofollow noreferrer">Notepad++

Notepad++ 插件列表

我在 VS 本身中寻找了类似的解决方案,但它们要么不完全按照我想要的方式工作,要么(一种情况)崩溃VS。

If VS can do this its news to me. It also has other annoyances like not allowing you to go directly to a js function (like you can with C#/VB code/CSS)

I'm currently building a web app (client side code heavy) and given up editing js in VS2008 - it just works against me.

Instead I do it all with notepad++ and the functionlist plugin. Upside is that it provides the bracket matching you're after and also splits all my functions out nicely for easier navigation, highlights the code correctly etc.

I don't see using another app as a problem as its only an alt-tab away

Notepad++

Notepad++ Plugin List

I have looked for similar solutions within VS itself but they either don't work exactly how I'd like or (in one case) crash VS.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文