solution-explorer

File nesting in solution explorer of ASP.NET Core application

℡╲_俬逩灬. 提交于 2020-01-24 20:55:27
问题 when i created ASP.NET Core 2.0 Razor Page template project, every .cshtml and their .cs file are splitted. I don't know why, before few minutes its working fine but i can't remember what i did. Maybe SDK or settings of Visual Studio. I don't know. Here are screenshot preview of my problem. On the left side is my solution explorer and on the right side is what i want. Thank you for any advice. 回答1: I had the same problem. you need to enable file nesting in the solution explorer. just click

Visual Studio Solution Explorer extension to rename file but NOT extension?

孤街浪徒 提交于 2020-01-15 05:46:06
问题 Windows Explorer has a small (but great!) feature that Visual Studio does not: When you rename a file in Windows Explorer on Windows 7 (for sure, I think for Vista and later) it selects only the main part of the filename, and not the file extension. It makes the assumption that 90% of the time, you don't want to change the file extension and saves you from the choice of using the mouse to select the relevant part to rename (bad) or having to retype the file extension (also bad). Of course

Visual Studio 2010: How Can I remap F2 to Rename File rather than Open Object Browser

岁酱吖の 提交于 2020-01-02 00:13:19
问题 In Visual Studio 2010 Solution Explorer tree view, how can I remap the F2 key to Rename the Selected File rather than open Object Browser? 回答1: Do the following Tools -> Options Expand Environment and select Keyboard Type "File.Rename" into the text box Put the Focus on the "Press Shortcut keys" box and hit F2 Click Assign 回答2: I don't know about you, but in my copy of VS2010, F2 in the Solution Explorer DOES rename the file. What exactly do you have selected when you hit F2 ? 回答3: To enable

Visual Studio 2010: How Can I remap F2 to Rename File rather than Open Object Browser

…衆ロ難τιáo~ 提交于 2020-01-02 00:13:03
问题 In Visual Studio 2010 Solution Explorer tree view, how can I remap the F2 key to Rename the Selected File rather than open Object Browser? 回答1: Do the following Tools -> Options Expand Environment and select Keyboard Type "File.Rename" into the text box Put the Focus on the "Press Shortcut keys" box and hit F2 Click Assign 回答2: I don't know about you, but in my copy of VS2010, F2 in the Solution Explorer DOES rename the file. What exactly do you have selected when you hit F2 ? 回答3: To enable

small stop sign at the right bottom of the file (solution explorer VS2005)

微笑、不失礼 提交于 2019-12-24 11:10:04
问题 tried to find the answer by googling and in MSDN but with no luck. what does a small stop sign mean in the icon of the file (seein in a soluton explorer tree) in Visual Studio. I have a bunch of C++ files with the thing and it really worrries me. All these files are under source control and checked-in. 回答1: This question screams for a screenshot. Are you seeing one of these? 来源: https://stackoverflow.com/questions/1659298/small-stop-sign-at-the-right-bottom-of-the-file-solution-explorer

Custom file sorting in VS2010 Solution Explorer

↘锁芯ラ 提交于 2019-12-23 17:40:20
问题 Is there any way to force Solution Explorer in Visual Studio 2010 to sort files alphabetically but in order *.h, *.inl and *.cpp? I want to have Dummy.h Dummy.inl Dummy.cpp Emmy.h Emmy.cpp Grammy.h Grammy.cpp instead of Dummy.cpp Dummy.h Dummy.inl Emmy.cpp Emmy.h Grammy.cpp Grammy.h 回答1: No, there is no such feature built in. I don't know of any extension or add-in that supports this, either, but I imagine that you could create one. Get started with the Visual Studio SDK, or browse the Visual

Visual Studio not showing all Projects in solution

假如想象 提交于 2019-12-23 07:43:35
问题 I'm not sure why, but Visual Studio is not showing all the projects in my solution. I need them to show so I can set as default project under solution explorer. I'm not seeing a fix for this issue in a general internet search. The closest I see is VS not showing files folders, but this is different than my issue. Hopefully there is an easy way to fix it, without adding things again piecemeal. My co-workers can see their complete set of projects in solution explorer so it must be a corruption

Visual Studio 2015 - missing content in solution explorer branches

六眼飞鱼酱① 提交于 2019-12-22 08:18:27
问题 Here my issue: It seems the solution explorer is not displaying the content of the expanded solution tree. It only shows the the first level of the tree. If you click expand all or expand the branch out it's empty. Ok, I know they are part of the solution by be able to see them in the disk structure and they get compiled and can be checked by plugins like "codemaid". This occurs on new projects and old projects. I tried all sorts of things with the different filters and all the settings I can

Display a file hierarchically under another file in Visual Studio [duplicate]

帅比萌擦擦* 提交于 2019-12-22 05:42:11
问题 This question already has answers here : Add a file under a file in Solution Explorer (2 answers) Closed 2 years ago . In Visual Studio, I'd like to show a hierarchical relationship between certain files. A typical ASP.NET WebForms application provides an example of what I want. Say that I have a file named Page.aspx . Files named Page.aspx.cs and Page.aspx.designer.cs would typically appear hierarchically below Page.aspx in Solution Explorer. 回答1: If you want File A to appear hierarchically

Is it possible to change icons in Visual Studio 2012?

可紊 提交于 2019-12-20 07:58:59
问题 Is there any way to replace VS2012 solution explorer's icons with VS2010 ones? At least 'folder' icon :( 回答1: Short Answer: Hack the old icons into 2012. Visual Studio Icon Patcher - http://vsip.codeplex.com Long Answer: Doing this with a plugin, for now, is out of the question. I've been unable to find any built-in way to achieve this and the switch to WPF makes it even harder to hack around. This app simply extracts the image resources from the unmanaged DLLs in Visual Studio 2010 and