Topic "Large file = different editor?"

Author Message
youradds
[View user's profile]

Joined: 2014-11-25
Posts: 18
Location: UK
Hi,

Is it currently possible / something that could be added, where you can define which editor to use, when files are different sizes?

Generally I use SubLime as my editor for programming. However, it doesn't do well on large SQL/log files (and sometimes crashes).

what would be great, is that I could set it to that anything greater than say 5Mb would open in something that handles it better (i.e doesn't try and process it with a syntax highlighter)

Is this possible?

TIA

Andy
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Just use a file mask with size constraint is editor preferences.
https://winscp.net/eng/docs/file_mask#size_time
youradds
[View user's profile]

Joined: 2014-11-25
Posts: 18
Location: UK
Thanks - that look like what I need. I'm a bit confused as to where I find that option though?

Cheers

Andy
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Editor autoselection rule:
https://winscp.net/eng/docs/ui_editor_preferences
_________________
Martin Prikryl
youradds
[View user's profile]

Joined: 2014-11-25
Posts: 18
Location: UK
Awesome, thanks Smile I assumed you could only enter file extensions in there
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License