If TortoiseHg isn't using the editor you want, you can explicitly set it in 
Settings.  With a basic install you can just set it once in your global 
settings.  You want the Visual Editor field.  The comment on this field says 
"...  if left unspecified, TortoiseHg will use the first applicable tool it 
finds."  I'm guessing Visual Studio installed itself in such a way as to be the 
'first applicable tool'.

p.s.  Sorry about the idiot text they append at the bottom.

Mischa Becker

From: delta77--- via Tortoisehg-discuss 
[mailto:[email protected]]
Sent: Tuesday, December 19, 2017 8:23 AM
To: [email protected]
Subject: [thg] TortoiseHg edit local function 'hijacked' by Microsoft Visual 
Studio

Hi,

I had various versions of TortoiseHg installed on Windows 7 x64 for a few 
years, then I installed Microsoft's Visual Studio 2015 (community edition).  
After that, whenever I am in TortoiseHg and right click to local edit an 
.hgignore file, instead of using my default text editor, it starts up Visual 
Studio, which is quite annoying.  However, in Windows Explorer if I 
double-click .hgignore it will use my default text editor as it should.

I have tried un-installing then re-installing TortoiseHg but the above keeps 
happening.

Apart from un-installing Visual Studio, is there anything I can do to prevent 
this occurring?  Is it a bug in TortoiseHg?

TIA,
John


________________________________

This e-mail message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain information that is confidential and 
protected by law from unauthorized disclosure. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to