mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-15 17:23:32 -05:00
Task/script refactor (#476)
* scripting working with race conditions * new service works with no race conditions * use new scripting service and commented out tests * refactored peek definition to use mssql-scripter * fixed peek definition tests * removed auto gen comment * fixed peek definition highlighting bug * made scripting async and fixed event handlers * fixed tests (without cancel and plan notifs) * removed dead code * added nuget package * CR comments + select script service implementation * minor fixes and added test * CR comments and script select * added unit tests * code review comments and cleanup * fixed failing scripting tests
This commit is contained in:
@@ -52,9 +52,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Scripting
|
||||
// Mapping the object types for scripting
|
||||
objectScriptMap.Add("table", "Table");
|
||||
objectScriptMap.Add("view", "View");
|
||||
objectScriptMap.Add("function", "Function");
|
||||
objectScriptMap.Add("storedprocedure", "Procedure");
|
||||
objectScriptMap.Add("userdefinedfunction", "Function");
|
||||
objectScriptMap.Add("userdefineddataType", "Type");
|
||||
objectScriptMap.Add("tablevaluedfunction", "Function");
|
||||
objectScriptMap.Add("userdefineddatatype", "Type");
|
||||
objectScriptMap.Add("user", "User");
|
||||
objectScriptMap.Add("default", "Default");
|
||||
objectScriptMap.Add("rule", "Rule");
|
||||
@@ -66,7 +68,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Scripting
|
||||
objectScriptMap.Add("xmlschemacollection", "Xml Schema Collection");
|
||||
objectScriptMap.Add("schema", "Schema");
|
||||
objectScriptMap.Add("planguide", "sp_create_plan_guide");
|
||||
objectScriptMap.Add("userdefinedType", "Type");
|
||||
objectScriptMap.Add("userdefinedtype", "Type");
|
||||
objectScriptMap.Add("userdefinedaggregate", "Aggregate");
|
||||
objectScriptMap.Add("fulltextcatalog", "Fulltext Catalog");
|
||||
objectScriptMap.Add("userdefinedtabletype", "Type");
|
||||
|
||||
Reference in New Issue
Block a user