I am using Visual Studio 2008 with C #. Is there a way to set the default editor for a class file containing a derived DataTable class? Whenever I double click on one of these classes to open the VS file, it tries to open the component constructor. Since my class is incompatible with this editor, this is a useless default. I would like these files to open in a regular code editor.
In Solution Explorer in VS, you right-click the file, select "Open With ...", select "CSharp Editor" in the window, then click the button to set the default.
Visual Studio , .
[System.ComponentModel.DesignerCategory("")]
http://vanguard-against-confusion.blogspot.com/2007/05/disable-design-time-support-in-visual.html, .
,
using System.ComponentModel; [DesignerCategory("")]
VS2010. - , ?
Click- > , , , F7.
: , ... , , .
Edit: It was not possible to create a small intermediate command-line program that can determine the correct editor by viewing the content, and then open the file using this editor. Then map this type of file to a temporary program. It seems complicated, but I did it earlier in a similar case.
Source: https://habr.com/ru/post/1718485/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1718480/adding-commas-to-a-decimal-number-which-is-in-a-string-of-text-with-net-20&usg=ALkJrhj96Vv38ECmk39MFG50AmpxFk-92wВ MYSQL, как я могу выбрать несколько строк и вернуть их в указанном порядке? - sqlПереопределение клавиши F1 в FF, хром, т.е. Является ли F1 на ie8/chrome на клавиатуре и в FF при нажатии клавиши? Как насчет в поле ввода? - jqueryHow would you build one Select a stored procedure to process any query from a table? - stored-proceduresReceiving your customer accounts on account accounts - language-agnosticHow is the "White Label" for my ASP.Net MVC application? - asp.net-mvcReference jQuery correctly in ASP.NET MVC - jqueryhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1718488/why-does-nhibernate-need-non-settable-members-to-be-virtual&usg=ALkJrhh6BfCQ-d-oOaH4b-mHD8cxsPyBNwWebRequest Multithreading Calls and Assertions - multithreadingTesting ASP.NET sites using master pages with Selenium - htmlAll Articles