mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-29 01:25:41 -05:00
Add more specific URI strings to Object Explorer (#1881)
* Added all non null properties to URI generator * Added all options to URI for session * added documentation comments * added generated nodeTypes file * added updated uri to connection store * Added debug message for integrated test failure * Revert "Added debug message for integrated test failure" This reverts commit 026c53d1ed3fb16b0f37b7b6e0775402a2ef9281. * added advanced options to table designer table * removed connectionName from uri generation * Revert "removed connectionName from uri generation" This reverts commit 88eedbbc593a0279872edc6d4cbd1b7ca3d72ad0. * added connectionname to connection details * added connection name to near front of key
This commit is contained in:
@@ -1830,9 +1830,11 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
||||
private void UpdateTableTitleInfo(TableInfo tableInfo)
|
||||
{
|
||||
var td = GetTableDesigner(tableInfo);
|
||||
var advancedOpsIndex = tableInfo.Tooltip.LastIndexOf('[');
|
||||
var advancedOps = tableInfo.Tooltip.Substring(advancedOpsIndex);
|
||||
tableInfo.Title = td.TableViewModel.FullName;
|
||||
var tableParent = tableInfo.Server == null ? tableInfo.ProjectFilePath : string.Format("{0} - {1}", tableInfo.Server, tableInfo.Database);
|
||||
tableInfo.Tooltip = string.Format("{0} - {1}", tableParent, tableInfo.Title);
|
||||
tableInfo.Tooltip = string.Format("{0} - {1} {2}", tableParent, tableInfo.Title, advancedOps);
|
||||
}
|
||||
|
||||
private Dictionary<string, string> GetMetadata(TableInfo tableInfo)
|
||||
|
||||
Reference in New Issue
Block a user