Rhapsody 可以配置为使用外部源代码编辑器吗?

发布于 2024-09-30 02:19:15 字数 417 浏览 2 评论 0原文

我正在使用 Rational Rhapsody for Linux,并且想知道是否可以使用外部编辑器而不是内置编辑器将其配置为开源代码。我希望能够通过 emacsclient 使用 emacs 编辑代码。

根据文档,以下过程应将 Rhapsody 设置为使用外部编辑器,但当我尝试编辑其中一个类的代码时,编辑该属性没有明显效果。

  1. 选择文件>项目属性。
  2. 选择属性选项卡。
  3. 导航到 General::Model::EditorCommandLine 属性。
  4. 单击右列中的属性值调用以激活该字段,然后单击省略号 (...) 打开“浏览文件”窗口。
  5. 浏览到您要使用的编辑器(例如记事本)的位置并选择该编辑器。单击“确定”关闭窗口。产品在属性值字段中显示路径。
  6. 单击“确定”。

I am using Rational Rhapsody for Linux and is wondering if it is possible to configure it to open source code with an external editor instead of the built in editor. I would prefer to be able to edit code using emacs via emacsclient.

According to the documentation the following procedure should set Rhapsody to use an external editor but editing that property has no apparent effect when I attempt to edit the code of one of my classes.

  1. Select File > Project Properties.
  2. Select the Properties tab.
  3. Navigate to the General::Model::EditorCommandLine property.
  4. Click in the property value call in the right column to activate the field, then click the ellipsis (...) to open the Browse for File window.
  5. Browse to the location of the editor you want to use (for example, Notepad) and select the editor. Click OK to close the window. The product displays the path in the property value field.
  6. Click OK.

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

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

发布评论

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

评论(2

墨洒年华 2024-10-07 02:19:16

您是否尝试过 Rhapsody Eclipse 工作流程集成?这样您就可以在 Eclipse 中打开 Rhapsody 模型,并使用 Eclipse 作为编辑器。

请注意,并非 Rhapsody 的所有功能都可以通过这种方式使用。

Have you tried the Rhapsody Eclipse Workflow integration? With that you can open your Rhapsody Model inside Eclipse, and use Eclipse as editor too.

Be careful, not all features from Rhapsody are available this way.

比忠 2024-10-07 02:19:16

我只在 Windows 上使用过 Rhapsody,但您必须单击“...”按钮才能将其扩展到外部编辑器以编辑属性对话框中显示的内容。如果你想以这种方式使用外部编辑器,你必须使用 Rhapsody 可以执行的编辑器,然后等待它退出,因为 Rhapsody 会创建一个临时文件,在临时文件上打开编辑器,然后导入当您关闭编辑器时,临时文件会返回到对话框中。

I have only used Rhapsody on Windows, but you have to click the "..." button to get it to break out to the external editor to edit something that showing in the properties dialog. If you want to use the external editor in this way, you have to use one that Rhapsody can execute, and then wait for it to exit, as Rhapsody will create a temp file, open the editor on the temp file, and then import the temp file back into the dialog when you close the editor.

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