Netbeans 和在 Matisse gui 编写的编辑保护块内重构代码

发布于 2024-10-01 03:30:23 字数 238 浏览 0 评论 0原文

我编写了一个 swing 库,并将其与 matisse 一起使用到我的项目中。

现在我想做一些名称包装更改,一个非常简单的操作,但问题是重构无法触及matisse编写的代码(锁定编辑)。

所以问题是: 有一种聪明的方法可以重构所有内容,而无需在外部文件编辑器中打开我的 java 类并手动替换我必须替换的内容?

谢谢大家。

附言。为什么像 Netbeans 这样强大的 IDE 会遇到这样的麻烦呢?

I wrote a swing lib and i used it into my project with matisse.

Now i want do some name-packaging-change, a very simple operation but the problem is refactoring can't touch the code written by matisse (locked for editing).

So the question is:
There is a smart way to refactor all without opening my java classes in external file-editor and hand-replace what i have to replace?

Thank all.

PS. Why a great and powerful IDE like Netbeans fall in this kind of troubles?

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

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

发布评论

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

评论(1

夏至、离别 2024-10-08 03:30:23

折叠内的代码是根据 GUI 设计器中指定的属性生成的。可以通过右键单击检查器窗口来重命名字段并根据需要自定义代码。版本 6.1.9 中新增的“代码定制器”对话框对此特别方便。

The code inside the fold is generated based on properties specified in the GUI designer. Fields can be renamed and the code customized as desired by right-clicking on the inspector window. The Code Customizer dialog, new to version 6.1.9, is particularly convenient for this.

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