Aptana 不保存更改 [英] Aptana not saving changes

查看:20
本文介绍了Aptana 不保存更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 Aptana 安装到我的新笔记本电脑上的方式与我在所有计算机上的安装方式相同.当我对项目中的文件进行更改时,这些更改不会写入本地文件本身(通过在另一个程序(如记事本)中打开文件来确认这一点).但是,如果我在 Aptana 中重新打开该文件(即使我重新启动计算机),我仍然可以看到我对该文件所做的更改.

I have installed Aptana onto my new laptop the same way as I have installed it on all my computers. When I make changes to a file in my project, those changes are not getting written to the local file itself (confirmed this by opening the file in another program like notepad). However, if I re-open the file in Aptana (even if i restart the computer), I can still see the changes that I have made to that file.

我以前从未见过 Aptana 这样做过.在我所有的其他计算机上,这不会发生.通常我只是在我的项目中打开文件,保存我的更改,更改会立即保存,以便我通过 FTP 文件.

I have never seen Aptana do this before. On all my other computers, this does not happen. Usually I just open the file in my project, save my changes and the changes are saved instantly ready for me to FTP the file.

起初我认为这是一个权限问题,因为即使在记事本中打开我也无法保存文件.我更新了文件夹权限,但这仍然没有解决任何问题.

At first I thought it was a permission issue as I was unable to save the file even when opening in notepad. I updated the folder permissions but this still has not resolved anything.

任何人都可以提出解决此问题的方法吗?

Can anyone suggest a way to fix this?

推荐答案

我有两种体验方式.

  1. 如果我使用现有的 .git 创建了一个新项目,那么 git 在原始目录中管理的文件不会发生任何更改.

  1. If I created a new project with an existing .git, then no changes were written to the files git was managing in the original directory.

如果我从一个文件夹(没有 git)创建了一个新项目,并且没有对原始目录写入任何更改.

If I created a new project from a folder (no git), and no changes were written to that original directory.

作为一般规则,Aptana 会将您的文件内容复制到它正在使用的项目目录"(我的机器上的默认值是 ~/Documents/Aptana.../ProjectName).

As a general rule, Aptana will copy the contents of your files over to the "project directory" it is using (default on my machine was ~/Documents/Aptana.../ProjectName).

因此,您要么必须将项目目录设为保存文件的父目录,要么必须开始使用项目目录/ProjectName 目录作为您的工作文件夹.

So, you either have to make the project-directory the parent dir of where you keep your files, or you have to start using the project-dir/ProjectName directory as your working folder.

当您想将文件复制到另一个本地目录时,您也可以执行file->export->General->FileSystem".

You can also do "file->export->General->FileSystem" whenever you want to copy the files to another local dir.

这篇关于Aptana 不保存更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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