mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
For whatever reason, Visual Studio throws a fit if a referenced project has a name and the folder name (which is used to reference the project) is different than that name. To solve this issue, I've renamed all the projects and folders to match their project names as stated in the project.json.
57 lines
1.5 KiB
C#
57 lines
1.5 KiB
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.WorkspaceServices.Contracts
|
|
{
|
|
/// <summary>
|
|
/// Defines the message level of a script file marker.
|
|
/// </summary>
|
|
public enum ScriptFileMarkerLevel
|
|
{
|
|
/// <summary>
|
|
/// The marker represents an informational message.
|
|
/// </summary>
|
|
Information = 0,
|
|
|
|
/// <summary>
|
|
/// The marker represents a warning message.
|
|
/// </summary>
|
|
Warning,
|
|
|
|
/// <summary>
|
|
/// The marker represents an error message.
|
|
/// </summary>
|
|
Error
|
|
};
|
|
|
|
/// <summary>
|
|
/// Contains details about a marker that should be displayed
|
|
/// for the a script file. The marker information could come
|
|
/// from syntax parsing or semantic analysis of the script.
|
|
/// </summary>
|
|
public class ScriptFileMarker
|
|
{
|
|
#region Properties
|
|
|
|
/// <summary>
|
|
/// Gets or sets the marker's message string.
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the marker's message level.
|
|
/// </summary>
|
|
public ScriptFileMarkerLevel Level { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the ScriptRegion where the marker should appear.
|
|
/// </summary>
|
|
public ScriptRegion ScriptRegion { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|
|
|