如何打开 jEdit 的新实例?

发布于 2024-08-24 03:13:15 字数 117 浏览 8 评论 0原文

我是 jedit 的新手,我还没有找到如何打开新窗口。例如,我想在 Mac 上的一个空间中编辑一组文件,并在另一个空间中编辑一组不同的文件。有谁知道如何打开 jedit 的新实例/窗口来实现这一点?

谢谢

I'm new to jedit, and I haven't yet found out how to open a new window. For example, I want to be editing one set of files in one space on my Mac, and edit a different set of files in another. Does anyone know how to open a new instance/window of jedit to make this possible?

Thanks

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

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

发布评论

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

评论(5

北城挽邺 2024-08-31 03:13:15

您应该将缓冲区集范围设置为“查看

另请参阅:缓冲集

You should set Buffer Sets scope to "View"

See also: Buffer Sets

汐鸠 2024-08-31 03:13:15

可以真正打开 jEdit 的新实例,而不仅仅是在同一实例中打开一组新的缓冲区。

您必须使用 -noserver 选项启动 jEdit。
“不要尝试连接到正在运行的编辑服务器,也不要启动它。”

请参阅此处的文档:
http://www.jedit.org/users-guide/cli-usage .html#d0e471

在 Windows 上,要设置此选项,您必须将其添加到启动 jEdit 的快捷方式的命令行中。

It is possible to really Open a new instance of jEdit, and not only to open a new set of buffers in the same instance.

You have to launch jEdit with the -noserver option.
"Do not attempt to connect to a running edit server, and do not start one either."

Please see documentation here :
http://www.jedit.org/users-guide/cli-usage.html#d0e471

On Windows, to set this option you have to add it to the command line of the shortcut which launches jEdit.

二智少女 2024-08-31 03:13:15

这是 4.3 的新功能。它位于查看 |缓冲液组。单击“View Scope”或“EditPane Scope”缓冲区集复选框。

当您打开一个新视图时,它是一个单独的窗口实例。它有一个缓冲区集和一个编辑窗格。打开多个视图时,您可以决定共享缓冲区集(全局范围)或每个视图保留自己的缓冲区集(视图范围)。拆分视图时,您会添加另一个编辑窗格。每个视图都可以使用视图的缓冲区集,或者拥有自己的(EditPane 范围)

全局范围:所有视图和 EditPane 共享一个公共缓冲区集
视图范围:同一视图中的EditPanes共享相同的缓冲区集
EditPane 范围:每个 EditPane 都可以有自己独立的缓冲区集。

当您拆分视图(视图 | 拆分)时,editpane 范围将起作用。您可以并排查看文件,每一侧都可以有自己的缓冲区集。例如,在比较两个不同目录中的文件(每侧一组)时非常有用。

It's a new feature to 4.3. It's under View | Buffer Sets. You click on either the "View Scope" or "EditPane Scope" buffer sets checkbox.

When you open a new View, it's a separate window instance. It has a buffer set and an edit pane. With more than one View open, you can decide to share buffer sets (global scope) or each keep their own (View scope). When you split the View, you add another Edit pane. Each can use the View's buffer set, or have their own (EditPane scope)

Global scope: All Views and EditPanes share a common buffer set
View Scope: EditPanes in the same view share the same buffer set
EditPane Scope: Each EditPane can have it's own independent buffer set.

The editpane scope works when you have split the view (view | splitting). You can look at files side-by-side, and each side can have their own buffer set. Very useful in comparing files in two different directories (one set per side), for example.

浅语花开 2024-08-31 03:13:15

我希望这个问题有一个答案,因为我一直在尝试打开 JEdit 的新实例(尽管我已经成为日常用户好几年了)。但是,据我所知,你不能。

我不得不假设这是一个好的项目过度架构的另一个例子。

JEdi​​t 团队决定创建自己的 UI 概念,而不是允许使用内置操作系统助记符在逻辑上关联不同缓冲区行为的单独实例。哪个操作系统缺少软件实例和任务栏的概念?是否有必要强制采用单实例模式,然后以一种晦涩的方式重新创建基本的操作系统 UI 功能?

给崭露头角的开发人员的一个提示:如果您正在创建新的术语来处理应用程序中的 UI 概念,那么您可能做错了。

I wish there was an answer for this, since I'm constantly trying to open new instances of JEdit (despite being a daily user for several years now). But, as far as I can tell, you can't.

I have to assume this is another example of a good project getting over-architected.

Instead of allowing separate instances which logically associate different buffer behaviors using the built-in OS mnemonics, the JEdit crew have decided to create their own UI concepts. What OS lacks the concept of software instances and a task bar? Was it necessary to force a single-instance mode, and then re-create basic OS UI functionality in an obscure manner?

A hint for budding developers out there: if you're creating new terminology to handle UI concepts in your application, you're probably doing it wrong.

甜中书 2024-08-31 03:13:15

以下命令行调用将解决您的问题:
jedit -noserver

您可以为包含上述内容的 jedit 创建别名。

在 Jedit 帮助中,请参阅第 2 章“启动 Jedit”中的“命令行用法”、“编辑服务器选项”部分,您将找到 -noserver 说明。

The following command line invocation will solve your problem:
jedit -noserver

You can create an alias for jedit that contains the above.

In the Jedit help, see Chapter 2, "Starting Jedit", in the section on Command Line Usage, Edit Server Options, and you will find the -noserver description.

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