Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way of opening an in memory window within visual studio?

I'l like to use it like a text editor ( to modify XML data ), formatting, intellisense etc but I don't want to use File > New ... as this creates a physical file on my drive.

share|improve this question
1  
What you want is not clear. It sounds like you want an editor that will alllow you to edit a document without having a file that exists. Visual Studio does not support editing a file that has not been saved before. The reasonf or this is because Visual Studio is not a text editor. If you want that I would agree that Notepad++ is likely a better solution. –  Ramhound Apr 24 '13 at 15:37
    
hmm why was my comment removed? I suggested notepad++ . –  Lorenzo Von Matterhorn Apr 24 '13 at 15:39
    
@Znau - I have no idea. Based on the updated information the author wants an XML editor and Visual Studio is a horrible XML editor. –  Ramhound Apr 24 '13 at 15:43
1  
indeed. ah well, I'm getting used to have my comments removed with no explanation whatsoever. –  Lorenzo Von Matterhorn Apr 24 '13 at 15:45
    
It wasn't me that removed it. But thanks for the suggestion. –  Kohan Apr 24 '13 at 15:49

1 Answer 1

up vote 3 down vote accepted

In Visual Studio I don't believe so. You could take a look at LinqPad. It's a C#/VB.Net scratchpad to quickly write up code and test it out. There is a free version which is very nice. You have to purchase Pro to get intellisense.

share|improve this answer
    
LinqPad is excellent, i have already paid for pro. :) But i was hoping to use the editor to prettify some XML (amongst other things). –  Kohan Apr 24 '13 at 15:39
1  
For XML I would recommend NotePad++ and some of the XML tools addons. –  Brad Patton Apr 24 '13 at 15:39
    
I'll have a look into this. Do you know if any of the plug-ins deal with xml that is not 100% well formed? –  Kohan Apr 24 '13 at 15:43
1  
I use the XmlTools plugin (sourceforge.net/apps/mediawiki/notepad-plus/…) Not sure if it will address your case but it has a lot of options. –  Brad Patton Apr 24 '13 at 15:46
    
Just tried, these tools insist on perfect XML :( - Nevermind, slightly off topic. I'll continue the hunt. –  Kohan Apr 24 '13 at 15:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.