[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] Re: Feature request: Choose editor

From: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2005-08-09 14:51:37 CEST

Jean-NoŽl Rouvignac wrote:

> Here is the background of this request:
> When browsing the log messages (from explorer right-click menu,
> TortoiseSVN > Show Log), we can look at a specific file revision (from
> right-click menu on a revision, Open). Unfortunately, it opens the
> file with notepad, which is not suitable for Unix files (with LF line
> ends). To be more convenient, it should be possible to let the user
> specify its prefered editor.

I'm not entirely sure why you would put a text file in subversion and not
specify eol-style:native, but I agree with you that it should be possible
to specify an editor.

In particular, if the file extension isn't associated with any program then
selecting 'Open' simply does nothing. Mostly though this is just an
annoyance of windows: the Open command in the explorer tries to run the
file, not to edit edit.

>
> In the TSVN settings, it is easy to configure diff viewer, merge tool
> and unified diff viewer. when I clicked Open, I expected the Unified
> diff viewer (which is an editor) to open this file. This was not the
> case.
>
> Here is what I suggest: Use the same tool to open a file and view
> unified diffs. Configuration should be done via TSVN Settings.
> However, some people might wish to use different tools for these
> different tasks (the same line endings problems occurs with Unified
> diff viewer that is why I changed the default).
>
I wouldn't expect the diff viewer but I would like to be able to open the
file in an editor. I would like to have a menu option 'Edit' (separate from
Open) which would open the file using the editor specified in the registry
for that file type and falling back to using the editor configured in my
subversion config for unrecognised file types.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 9 15:46:44 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.