2012年4月22日 星期日

Edit remote *nix text file on windows using Notepad++

Notepad++ with the useful plugin - NppFtp
Step:
  1. Plugin->NppFtp->Show NppFtp windows
  2. On NppFtp windows, click 'Gear' (Settings) icon->Profile settings
  3. Add new a new profile, below is recommend settings
    Cache
    Local path:
    %temp%\nppftp
    Ext path: /tmp/nppftp
    Transfers-
    Transfer mode
    Binary
Using Unix Document Format:
Either set default using Unix Document Format when create a new document (Settings, Preferences, New Document/Default Directory)
or set the current document to Unix format (Edit, EOL Conversion, Convert to Unix format)

When edit the python script file. Using UTF-8 without BOM. Rather than UTF8 and ANSI.

Refer:http://sourceforge.net/projects/notepad-plus/forums/forum/331754/topic/3498612

沒有留言:

張貼留言