Force.com IDE 没有反映我的更改? [英] Force.com IDE didn't reflect my changes?

查看:41
本文介绍了Force.com IDE 没有反映我的更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚重构(重命名)了 Saleforce 网络上的一些 Apex 类,而这些变化似乎在网络上表现得很好.

I just refactored (renamed) some Apex classes on the Saleforce web, and the change seems to have taken just fine on the web.

但是 force.com IDE 没有下载这些新类.

But the force.com IDE did not download these new classes.

从服务器刷新、保存到服务器和同步似乎什么都不做.

Refresh from Server, Save to server and Synchronize all appeared to do nothing.

但是如果我进入项目属性",然后将项目内容"更改为包含所有内容,那么它似乎正在同步....

But if I go under "Project Propertiess, and then change the 'Project Contents' to include everything, then it seems to be syncing....

我必须这样做似乎很奇怪……这正常吗?

Seems odd I have to do that... is it normal?

推荐答案

是的,这很正常.首次创建项目时,您可以选择要订阅的元数据.这有很多好处,但其中最主要的是更快的保存和(如果您有大量代码)更好的项目管理.

Yes it's normal. When you first create your project you select the metadata that you'd like to subscribe to. This has a number of benefits but the chief amongst these are quicker saves and (if you have a massive amount of code) better project management.

您起初没有看到这些文件的原因是因为它们是在服务器端创建的,而您的项目并未订阅它们.

The reason you didn't see the files at first is because they were created server side and your project wasn't subscribed to them.

作为最佳实践,您应该尝试仅在 IDE 中工作.考虑到覆盖代码更加困难,这使得开发更加安全 - 如果您在团队中工作,这一点尤其重要.

As a best practice you should try to work just within the IDE. It makes development much safer considering it's more difficult to overwrite code - especially important if you're working in teams.

这篇关于Force.com IDE 没有反映我的更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆