How can I turn off outlining in Razor (.CSHTML) files in Visual Studio 2013? I have followed the directions for doing this for C# (.CS) files (Turning off automatic outlining in Visual Studio but this does not have any effect on my Razor files.
Please make sure you have the Razor view open.
It should be in your Edit Menu, Select 'Outlining' -> Stop Outlining
Or Ctrl +M, P
Related
I want to access solutions explorer and Team explorer on my VS Code but the option is not there. I know I have to: View > Solution Explorer, or by pressing Ctrl+Alt+L but it does not work.
Can you please help?
Screenshot of my VS Code:
As far as I know, "solution explorer" and "team explorer" are Visual Studio features / concepts and not Visual Studio Code features / concepts. Visual Studio and Visual Studio Code are not the same.
That said,
The Explorer panel for VS Code ( / View: Show Explorer) is analogous to Visual Studio's Solution Explorer, except that it only supports viewing the files in their layout in the filesystem.
The Source Control panel in VS Code ( / View: Show Source Control) is analogous to Visual Studio's Teams Explorer, and you can get more git-related features by instaling related extensions such as gitlens.
In VS 2010 Professional I was able to open and edit with the designer view a XAML file without it being part of a solution (going from File-> Open File).
In VS 2017 or Blend 2017 I can open the file but it shows up only the XAML code view and no ToolBox and no designer if I try to do the same.
I would like to open and edit a XAML file (adding controls and stuff) without creating a WPF solution that contains it. I just use those XAML files as static background layout for some applications.
Is that possible or I have to use VS 2010?
Here what I see:
VS 2010
VS 2017
Set Enable XAML Designer check box under Tools -> Options -> XAML Designer -> General
Also, if using resharper: Under Resharper Options > Environment > Performance Guide > Disable XAML Designer.
Set to "Ignore"
I'm using Visual Studio 2015 Community and Resharper 9.
In XAML Editor, when typing some element, two pop-up lists of intellisense shown up, one of VS Intellisense, the other one is from Resharper.
Could anybody help me with this problem? Thank you!
ReSharper version info
Visual Studio version info
This is due to a change in Visual Studio - the XAML editor was replaced/updated and got a new GUID, which your version of ReSharper doesn't recognise. So, it doesn't know to block Visual Studio's code completion, but still knows it's a XAML file, so shows its own, and you end up with two code completion windows.
The easiest fix is to update to the latest version of ReSharper, which has fixed this. Alternatively, you can try and disable Visual Studio's code completion for XAML in Tools → Options → Text Editor, or disable ReSharper's code completion for XAML in ReSharper → Options → Intellisense.
There is a post that goes on about Visual Studio with 'intelligent' word wrap in How to make word wrap respect indentation in Visual Studio?
However - its a personal preference and can make code more unreadable in some cases.
In Visual Studio 2013 - this auto-indentation is default behavior.
How do you in Visual Studio 2013 turn this off?, so we get word-wrapping going back to the previous way - all-left aligned?
There doesn't appear to be an option in Visual Studio Options, or maybe I am missing something. If it is missing in Visual Studio Options, does anyone know of an add-in that will reset this auto-indentation?
I have VS2010 but try this:
Options/Text Editor/C#/Tabulations and then at identation block select none.
PS. You have to expand the options, if you select text editor it will show only the general options for text editor.
Is it possible to display paragraph marker in Visual Studio Source Code Editor?
Eclipse has this option, is it implemented in Visual Studio?
thx
Go to Edit > Advanced > View Whitespace (or Ctrl+R, Ctrl+W)