Why is Visual Studio auto-claiming file extensions even after I change the default app?









up vote
-1
down vote

favorite












Every time I want to edit a small .json file, I have to go to open-with and select Sublime Text because even if I set it as the default app for .json, Visual Studio auto-claims it in less than 10 milliseconds. It's like it has a listener that hears a default extension change and returns it to its domain.



How and why does it do this? Is there any way to change this?



I recorded a small video of the event:



https://i.imgur.com/Ni936Bn.mp4










share|improve this question

















  • 2




    More likely a Windows 10 issue (bug) than a malicious intent in Visual Studio.
    – Andreas Rejbrand
    Nov 14 at 21:14










  • Any idea about how to solve it?
    – Besto
    Nov 15 at 3:06










  • You might want to try Google or stackoverflow.com/questions/53035180/…. I have seen several cases where it has been impossible to change a file association in Windows 10.
    – Andreas Rejbrand
    Nov 15 at 6:46











  • Weird! You could try to run the Process Monitor tool for sysinternals and filter registry events + ".json" text. You should see what process changes it.
    – Simon Mourier
    Nov 17 at 8:26










  • Did you try this by any chance: superuser.com/questions/841497/…
    – smoczyna
    Nov 21 at 7:05














up vote
-1
down vote

favorite












Every time I want to edit a small .json file, I have to go to open-with and select Sublime Text because even if I set it as the default app for .json, Visual Studio auto-claims it in less than 10 milliseconds. It's like it has a listener that hears a default extension change and returns it to its domain.



How and why does it do this? Is there any way to change this?



I recorded a small video of the event:



https://i.imgur.com/Ni936Bn.mp4










share|improve this question

















  • 2




    More likely a Windows 10 issue (bug) than a malicious intent in Visual Studio.
    – Andreas Rejbrand
    Nov 14 at 21:14










  • Any idea about how to solve it?
    – Besto
    Nov 15 at 3:06










  • You might want to try Google or stackoverflow.com/questions/53035180/…. I have seen several cases where it has been impossible to change a file association in Windows 10.
    – Andreas Rejbrand
    Nov 15 at 6:46











  • Weird! You could try to run the Process Monitor tool for sysinternals and filter registry events + ".json" text. You should see what process changes it.
    – Simon Mourier
    Nov 17 at 8:26










  • Did you try this by any chance: superuser.com/questions/841497/…
    – smoczyna
    Nov 21 at 7:05












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











Every time I want to edit a small .json file, I have to go to open-with and select Sublime Text because even if I set it as the default app for .json, Visual Studio auto-claims it in less than 10 milliseconds. It's like it has a listener that hears a default extension change and returns it to its domain.



How and why does it do this? Is there any way to change this?



I recorded a small video of the event:



https://i.imgur.com/Ni936Bn.mp4










share|improve this question













Every time I want to edit a small .json file, I have to go to open-with and select Sublime Text because even if I set it as the default app for .json, Visual Studio auto-claims it in less than 10 milliseconds. It's like it has a listener that hears a default extension change and returns it to its domain.



How and why does it do this? Is there any way to change this?



I recorded a small video of the event:



https://i.imgur.com/Ni936Bn.mp4







windows visual-studio windows-10






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 11 at 1:30









Besto

848




848







  • 2




    More likely a Windows 10 issue (bug) than a malicious intent in Visual Studio.
    – Andreas Rejbrand
    Nov 14 at 21:14










  • Any idea about how to solve it?
    – Besto
    Nov 15 at 3:06










  • You might want to try Google or stackoverflow.com/questions/53035180/…. I have seen several cases where it has been impossible to change a file association in Windows 10.
    – Andreas Rejbrand
    Nov 15 at 6:46











  • Weird! You could try to run the Process Monitor tool for sysinternals and filter registry events + ".json" text. You should see what process changes it.
    – Simon Mourier
    Nov 17 at 8:26










  • Did you try this by any chance: superuser.com/questions/841497/…
    – smoczyna
    Nov 21 at 7:05












  • 2




    More likely a Windows 10 issue (bug) than a malicious intent in Visual Studio.
    – Andreas Rejbrand
    Nov 14 at 21:14










  • Any idea about how to solve it?
    – Besto
    Nov 15 at 3:06










  • You might want to try Google or stackoverflow.com/questions/53035180/…. I have seen several cases where it has been impossible to change a file association in Windows 10.
    – Andreas Rejbrand
    Nov 15 at 6:46











  • Weird! You could try to run the Process Monitor tool for sysinternals and filter registry events + ".json" text. You should see what process changes it.
    – Simon Mourier
    Nov 17 at 8:26










  • Did you try this by any chance: superuser.com/questions/841497/…
    – smoczyna
    Nov 21 at 7:05







2




2




More likely a Windows 10 issue (bug) than a malicious intent in Visual Studio.
– Andreas Rejbrand
Nov 14 at 21:14




More likely a Windows 10 issue (bug) than a malicious intent in Visual Studio.
– Andreas Rejbrand
Nov 14 at 21:14












Any idea about how to solve it?
– Besto
Nov 15 at 3:06




Any idea about how to solve it?
– Besto
Nov 15 at 3:06












You might want to try Google or stackoverflow.com/questions/53035180/…. I have seen several cases where it has been impossible to change a file association in Windows 10.
– Andreas Rejbrand
Nov 15 at 6:46





You might want to try Google or stackoverflow.com/questions/53035180/…. I have seen several cases where it has been impossible to change a file association in Windows 10.
– Andreas Rejbrand
Nov 15 at 6:46













Weird! You could try to run the Process Monitor tool for sysinternals and filter registry events + ".json" text. You should see what process changes it.
– Simon Mourier
Nov 17 at 8:26




Weird! You could try to run the Process Monitor tool for sysinternals and filter registry events + ".json" text. You should see what process changes it.
– Simon Mourier
Nov 17 at 8:26












Did you try this by any chance: superuser.com/questions/841497/…
– smoczyna
Nov 21 at 7:05




Did you try this by any chance: superuser.com/questions/841497/…
– smoczyna
Nov 21 at 7:05

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245076%2fwhy-is-visual-studio-auto-claiming-file-extensions-even-after-i-change-the-defau%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245076%2fwhy-is-visual-studio-auto-claiming-file-extensions-even-after-i-change-the-defau%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto