macos MAC 的 VBScript 编辑器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9694798/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 08:58:22  来源:igfitidea点击:

VBScript editor for MAC

macosvbscripteditor

提问by DjShon

Is there any VBScript editor that I can run on mac? Or is VBscript something specifically for PCs?

有没有可以在 mac 上运行的 VBScript 编辑器?或者 VBscript 是专门为 PC 设计的吗?

采纳答案by AutomatedChaos

On my Mac, I use TextWranglerfor creating VBScripts. It doesn't support VBScript implicitly (highlighting of all keywords), but it has nice indenting, search replace etc. functions. A good all round text editor, also for code.

在我的 Mac 上,我使用TextWrangler来创建 VBScript。它不隐式支持 VBScript(突出显示所有关键字),但它具有很好的缩进、搜索替换等功能。一个很好的全能文本编辑器,也用于代码。

Of course you can not runthe code on OSX, VBScript is for Windows environments only.

当然你不能在 OSX 上运行代码,VBScript 只适用于 Windows 环境。

回答by Mikey B

TextWrangler (free) can be used to edit VBScript. It does give basic syntax highlighting, strings, keywords etc, but it is not aware of App-specific object models such as the Excel Object Model, which I'm guessing is the reason you want to edit VBScript on a Mac.

TextWrangler(免费)可用于编辑 VBScript。它确实提供了基本的语法突出显示、字符串、关键字等,但它不知道特定于应用程序的对象模型,例如 Excel 对象模型,我猜这就是您想在 Mac 上编辑 VBScript 的原因。

Textastic ($7.99 on the AppStore as of today) has even better syntax highlighting than TextWrangler. It is syntax highlighting for ASP.NET VbScript, and that mode also works pretty well for VBA.

Textastic(截至今天在 AppStore 上售价 7.99 美元)具有比 TextWrangler 更好的语法突出显示。它是 ASP.NET VbScript 的语法高亮显示,该模式也适用于 VBA。

The built-in Visual Basic Editor in Office 2016 (for Mac) is probably the worst thing ever: no intellisense, no search/replace, no indenting and syntax highlighting is way less complete than TextWrangler or Textastic.

Office 2016(适用于 Mac)中的内置 Visual Basic 编辑器可能是有史以来最糟糕的事情:没有智能感知、没有搜索/替换、没有缩进和语法突出显示不如 TextWrangler 或 Textastic 完整。

回答by Andrew Cooper

As far as I know VBScript is just for PCs (Windows Scripting Host) and IE.

据我所知,VBScript 仅适用于 PC(Windows Scripting Host)和 IE。