使用 Aptana 编辑 Windows 命令文件

发布于 2024-12-21 18:04:52 字数 87 浏览 2 评论 0原文

在 Windows XP 上,运行 Apatana Studio 3。

如何打开 Windows 命令(即 *.bat)文件进行编辑而不是执行?

On windows XP, running Apatana Studio 3.

How do I open a windows command (i.e. *.bat) file for editing rather than executing ?

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

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

发布评论

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

评论(1

浅忆 2024-12-28 18:04:52

在 ProjectExplorer 窗格中,您可以右键单击 .cmd 或 .bat 文件,然后选择 [打开方式 >文本编辑器]。

Aptana“记住”此设置,因此在 ProjectExplorer 窗格中双击此文件将继续打开该文件进行编辑。

要返回执行模式,请再次右键单击,但选择 [打开方式 >默认编辑器]。这是一个可怕的标签选择 - 即 Aptana 的 .cmd、.bat 文件的默认编辑器实际上运行它们 - 它不会编辑它们。

如果有人阅读知道更好的方法,请发表评论。

From the ProjectExplorer pane, you can right click a .cmd or .bat file and select [Open With > TextEditor].

Aptana "remembers" this setting, so double clicking this file in the ProjectExplorer pane will continue to open the file for editing.

To go back to execute mode, right-click again but select [Open With > Default Editor]. That's a horrible choice of labelling - i.e. Aptana's Default Editor for .cmd,.bat files actually runs them - it doesn't edit them.

If anyone reading knows a better way, pls comment.

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