Microchip
直播中

陈游斗

8年用户 1145经验值
擅长:控制/MCU
私信 关注
[问答]

在MCC代码重新生成期间不断丢失工作

是否有人能如此好地解释你的点击,以便保留你在重新生成时对MCC生成的文件所做的更改?我刚刚丢失了一天的工作,因为我又搞错了。我找不到能显示当前界面和做什么的文档。我看到顶部有一个左到右箭头,它似乎用MCC’替换了你的所有工作。这是你工作的一个段落,还有一个小红十字会,你可以直接删除你的工作。一切似乎都会导致“丢掉你的工作”。???完全糊涂

以上来自于百度翻译


      以下为原文

    Would anyone be be so good as to explain with a screenshot where you click in order to retain the changes that you have made to MCC generated files during re-generation?

I've just lost a day's work because I got it wrong AGAIN.

There's no documentation I can find that shows the current interface and what to do.

I see a left to right arrow at the top which seems to replace all your work with MCC's.

A left to right arrow at the level of the latest MCC change which replaces an individual paragraph of your work.

And a little red cross where you can delete your work directly.

Everything seems to lead to "losing your work"???

Utterly confused.

回帖(6)

李铭鑫

2019-4-22 15:14:42
如果你有自己的更改,不要点击替换所有箭头。检查每一个替换ARROW,只点击那些你同意的。左边的窗口是MCC建议的更改。右窗口是一个编辑器,您可以按您的意愿添加或删除。如果有一个以上的文件有建议的更改,则会有一个文件列表在顶部,您可以在文件中来回移动。当您检查了所有想要的更改时,只要按下合并编辑器[X],就会有一个文件。确认提示。使用源代码存档/修改控制系统/版本控制软件,以帮助防止此类事件。问候,Mysil

以上来自于百度翻译


      以下为原文

     
Don't click the Replace All Arrow if you have your own changes.
 
Check each single replace arrrow, and click only those you agree with.
The Left window is MCC suggested changes. Righthand window is a editor, you may add or delete as you wish.
 
If there is more than one file with suggested changes, there will be a list of files on the top,
you may go forth and back among the files.
When you have checked all the changes you want, just crash the merge editor [X], there will be a confirmation prompt.
 
Use a source code archive / revision control system / version control software, to help protect against such events.
 
Regards,
   Mysil
举报

何元

2019-4-22 15:22:29
谢谢MysIL,“崩溃合并编辑器[X]”按钮在哪里?因此,如果我理解正确,没有按钮说“保持我的代码”。所有的选择都要求你采纳他们的建议,唯一的办法就是退出合并过程。就像说任何回答都可以,只要是肯定的!卑鄙的伎俩-)

以上来自于百度翻译


      以下为原文

    Thanks Mysil.
 
Where is the "crash the merge editor [X]" button?
 
So if I understand correctly there are no buttons to say "keep my code". All the options really do ask you to take their suggestion and the only way to get out of this loop is to quit the merge process altogether? Like saying any answer will do so long as it is Yes! Nasty trick. :-)
举报

何元

2019-4-22 15:33:44
好的,这是一个半成品系统。

以上来自于百度翻译


      以下为原文

    OK got it.
 
That really is a half-finished system.
举报

陈晨

2019-4-22 15:52:16
如果有可能删除代码,请进行备份。总是有备份。我有MCC擦除所有的PIN名称时,我从一个LF改为F PIC16F1。

以上来自于百度翻译


      以下为原文

    Make backups if there is a chance it may erase your code.
Always have backups.
I had MCC erase all the pin names when I changed from an LF to an F PIC16F1.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分