Andes Workshop

It is currently Thu Mar 28, 2024 5:20 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AndeSight工程删除及文件删除后恢复的方法
PostPosted: Mon Jun 12, 2017 1:09 pm 
Offline

Joined: Fri Dec 02, 2016 11:06 am
Posts: 5
在用AndeSight进行代码编写操作时,有时会误删除文件或者文件夹工程。通过AndeSight的恢复文件功能可以恢复误删除的文件。具体步骤为:
1、选择误删除文件在AndeSight所在项目工程(文件夹)
2、在包上单击右键
3、选择restore from local history...
Attachment:
1.png
1.png [ 26.99 KiB | Viewed 8551 times ]

4、在弹出的对话框中选择需要恢复的文件
Attachment:
2.png
2.png [ 79.73 KiB | Viewed 8551 times ]

如果一次没有恢复全部,在各上级文件夹上,多试几次。如果是文件删除,此时也可以直接选中该文件所在文件夹(删除的是文件)或者删除文件夹所在上一级(项目工程)直接按ctrl+z恢复即可。如果文件夹工程删除,且勾选了“Delete project contents on disk (cannot be undone)”,虽然可以选择“ctrl +z”在界面上看到工程恢复了,但实际文件还是没办法恢复,因为工程删除/恢复动作的实现和Eclipse 版本相关,目前AndeSight 所based on 的Eclipse 版本没办法恢复勾选了如上选项的工程。
另外,Window→Preferences→General→Workspace→Local History可以设置保留文件的天数和个数。
Attachment:
3.png
3.png [ 78.56 KiB | Viewed 8551 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group