Mastering Visual Studio .NET 1002003 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Mastering Visual Studio .NET 1002003 [Electronic resources] - نسخه متنی

Jon Flanders, Ian Griffiths, Chris Sells

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید








F.6 HTML/XML


The HTML/XML Language Service has
three pages for its custom settings. First is a Format page that
contains settings that apply to both HTML and XML:


Apply automatic formatting when saving document



If enabled, the document will be autoformatted when saved.


Apply automatic formatting when switching from design to HTML/XML view



If enabled, the language service autoformats the document when you
switch to the HTML/XML view from the design view. (See Chapter 2 for more information about the XML/HTML
designers.)


Apply line breaks



Applies line breaks after certain HTML elements when enabled. This
generates physical line breaks in the file (unlike the word wrap
feature discussed earlier). However, this will not affect the way
your HTML appears in a browser. (It doesn't generate
line-break elements such as <p> or
<br>.)


Insert attribute value quotes



This setting causes the editor to put quotes around the values of
attributes of elements added using the design view. (This applies
only to the design view. To control automatic insertion of quotes in
the raw HTML/XML view, see the Attribute Value Quotes setting on the
HTML-specific and XML-specific pages.)


Capitalization: tags/attributes



The capitalization setting tells the editor whether to change the
case of the tags or attribute names you are entering. There are three
options. As Entered tells the editor not to modify case. Uppercase
and Lowercase are self-explanatory.



Next is a page containing settings specific to HTML:


Enable HTML validation



If enabled, the editor will validate the document. (See Chapter 2 for details on how to use validation.)


Auto pop-up HTML statement completion



Enables tag and attribute completion. The
targetSchema document property is used to locate
the type information for providing the statement completion. (See
Chapter 2 for more information on the use of the
targetSchema property.)


Auto pop-up scripting statement completion



Enables statement completion for client-side scripting. Again, the
targetSchema document property is used to
determine which methods and members are available in script.


Autoinsert close tag



If enabled, the editor will automatically put in the closing tag for
an element. So entering the element <foo>
will cause the editor to enter the ending tag
</foo>.


Autoinsert attribute value quotes



Enabling this setting causes the editor to put quotes around the
value of attributes. This setting should not be confused with the
setting of the same name in the Format pagethat controls the
behavior in the design view, whereas this setting controls the
behavior in the text view.


Instantiate live value quotes



If enabled (the default), ActiveX controls embedded in the HTML
document are instantiated at design time and will appear in the
design view of the HTML editor.



Finally, there is a page containing settings unique to XML:


Enable XML validation



If enabled, the editor will validate the document. (See Chapter 2 for details on how to use validation.)


Auto pop-up XML statement completion



Enables tag and attribute completion. The
targetSchema document property is used to locate
the type information for providing the statement completion. (See
Chapter 2 for more information on the use of the
targetSchema property.)


Autoinsert close tag



If enabled, the editor will automatically put in the closing tag for
an element. So entering the element <foo>
will cause the editor to enter the ending tag
</foo>.


Autoinsert attribute



Enabling this setting causes the editor to put quotes around the
values of attributes.



/ 148