Anyway, so that NetBeans doesn't store files locally?

I am trying to use NetBeans 6.9.1 for PHP web development.

I want to view my file tree and edit files directly on my test server via FTP.

Is there a way to tell NetBeans not to store files locally?

The reason is that I do not want to worry about the fact that local files are not synchronized with deleted files.

I did a quick test, opened the file, made some changes and saved them. On my test server, the changes were there while it was good. it was just a test, so I wanted to undo my changes. Since my test server is under Mercurial control, I SSH'd to my remote server and made a return. Now the server is back to normal. However, I reopen the file in NetBeans and my changes still exist because NetBeans shows me a local copy, not a deleted file.

In addition, I do not need to have many files stored locally when I will not make changes to most of them very often.

+4
source share
2 answers

If you use Linux, you can host the entire project on an FTP site and directly manipulate files without the need for synchronization. For Windows, check out a small utility called WebDrive that can map FTP locations (among other things) to the drive letter.

+2
source

TL DR - Install Aptana

I struggled with this like 3 hours. We are working on the same web server (thus with the same files) using sftp (no version control) and Netbeans.

The problem is that Netbeans does not warn you when you write an old version of a deleted file and automatically download the latest version of deleted files (you need to manually download all or all of them).

I found the answer in this question (superuser) . Saved my life.

+1
source

Source: https://habr.com/ru/post/1339735/


All Articles