DefaultOptionExtensions.GetInsertFinalNewLine(IEditorOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether to insert final newline.
public:
[System::Runtime::CompilerServices::Extension]
static bool GetInsertFinalNewLine(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
static bool GetInsertFinalNewLine(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool GetInsertFinalNewLine (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member GetInsertFinalNewLine : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function GetInsertFinalNewLine (options As IEditorOptions) As Boolean
Parameters
- options
- IEditorOptions
The IEditorOptions.
Returns
true
if a final new line should be inserted, otherwise false
.