RubyMine 文件夹树不刷新

发布于 2024-08-31 19:56:54 字数 191 浏览 14 评论 0原文

今天首次在 Mac OSX Leopard 上使用 RubyMine 2.0.2。如果我在文件系统中创建文件(例如,使用脚本/生成),这些新文件不会出现在 ruby​​mine 中。我在重新启动程序时取得了有限的成功,因为 db/ 文件夹中的文件被添加和删除,但不幸的是视图目录中的新文件夹没有显示。

请原谅我的法语,但是wtf?

谢谢

Using RubyMine 2.0.2 for the first time today, on Mac OSX Leopard. If I create files in the filesystem (with, say, script/generate) those new files do not appear in rubymine. I have had limited success with restarting the program, in that the files in the db/ folder are added and removed, but unfortunately new folders in the views directory are not shown.

Pardon my french, but wtf?

Thanks

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

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

发布评论

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

评论(2

樱花落人离去 2024-09-07 19:56:55

我也经历过同样的事情,有几件事似乎有效......
关闭 ruby​​mine,删除 .idea 文件夹...

sudo rm -r .idea 

(如果是 macOS 或 linux)

...然后重新启动,直到他们修复它

和/或

在 Rubymine 中,转到“文件”>“打开目录>导航到您需要的目录或文件,这应该刷新视图,不要将 .idea 文件夹添加到 git (如果您正在使用它)

不太好,但您可以绕过它

I'm experiencing the same, couple of things seem to work ...
Close rubymine, delete the .idea folder ...

sudo rm -r .idea 

(if macos or linux)

... and restart until they fix it

AND/OR

In Rubymine, Go to File > Open Directory > navigate to the directory or file that you require, this should refresh the view, don't add the .idea folder to git ( if you're using it )

Not great, but you can get round it

临风闻羌笛 2024-09-07 19:56:55

如果右键单击“项目”选项卡中的目录,则会有一个“同步”选项。单击它,RM 将再次显示所有文件、子目录等。

If you right click on a directory in the Projects tab, there is an option for "Synchronize". Click it and RM will show all files, sub-diretories etc. again.

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