{"id":13593442,"url":"https://github.com/joaoribe/SQLScriptsExplorer","last_synced_at":"2025-04-09T04:34:11.057Z","repository":{"id":216968791,"uuid":"354959784","full_name":"joaoribe/SQLScriptsExplorer","owner":"joaoribe","description":"Microsoft SQL Server Management Studio 20 extension to open, create, edit, organize, search and share SQL Scripts. Its purpose is to allow quick access to scripts that are frequently used.","archived":false,"fork":false,"pushed_at":"2025-01-11T10:01:51.000Z","size":533,"stargazers_count":20,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-11T10:33:53.148Z","etag":null,"topics":["addin","extension","share-sql-scripts","sql","sql-repository","sql-scripts","sql-server","sql-server-management-studio","sqlscript","sqlserver","ssms","toolbar"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joaoribe.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-05T20:11:27.000Z","updated_at":"2025-01-06T11:27:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5f7609d-e820-490c-96d2-c758fe37ab1a","html_url":"https://github.com/joaoribe/SQLScriptsExplorer","commit_stats":null,"previous_names":["joaoribe/sqlscriptsexplorer"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaoribe%2FSQLScriptsExplorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaoribe%2FSQLScriptsExplorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaoribe%2FSQLScriptsExplorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaoribe%2FSQLScriptsExplorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaoribe","download_url":"https://codeload.github.com/joaoribe/SQLScriptsExplorer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980829,"owners_count":21027803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addin","extension","share-sql-scripts","sql","sql-repository","sql-scripts","sql-server","sql-server-management-studio","sqlscript","sqlserver","ssms","toolbar"],"created_at":"2024-08-01T16:01:20.354Z","updated_at":"2025-04-09T04:34:10.786Z","avatar_url":"https://github.com/joaoribe.png","language":"C#","readme":"\u003ch1\u003eSQL Scripts Explorer\u003c/h1\u003e\n\u003cp\u003eMicrosoft SQL Server Management Studio 20 extension to open, create, edit, organize, search and share SQL Scripts. Its purpose is to allow quick access to scripts that are frequently used.\u003c/p\u003e\n\u003ch2\u003eContents\u003c/h2\u003e\n\u003cul\u003e\n\t\u003cli\u003e\u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n\t\t\u003cul\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#requirements\"\u003eRequirements\u003c/a\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#launch\"\u003eLaunch\u003c/a\u003e\u003c/li\u003e\n\t\t\u003c/ul\u003e\n\t\u003c/li\u003e\n\t\u003cli\u003e\u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e\n\t\t\u003cul\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#manage-multiple-sql-scripts-repositories\"\u003eManage multiple SQL Scripts repositories\u003c/a\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#organize-sql-scripts-using-folders\"\u003eOrganize SQL Scripts using folders\u003c/a\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#open-create-and-edit-sql-script-files\"\u003eOpen, create and edit SQL Script files\u003c/a\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#search-sql-scripts-across-repositories\"\u003eSearch SQL Scripts across repositories\u003c/a\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#format-sql-scripts\"\u003eFormat SQL Scripts\u003c/a\u003e\u003c/li\u003e\n\t\t\u003c/ul\u003e\n\t\u003c/li\u003e\n\t\u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\n\t\t\u003cul\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#debugging\"\u003eDebugging\u003c/a\u003e\u003c/li\u003e\n\t\t\u003c/ul\u003e\n\t\u003c/li\u003e\n\t\u003cli\u003e\u003ca href=\"#known-issues\"\u003eKnown Issues\u003c/a\u003e\n\t\t\u003cul\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#extension-does-not-load\"\u003eExtension does not Load\u003c/a\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003e\u003ca href=\"#docking-issue\"\u003eDocking Issue\u003c/a\u003e\u003c/li\u003e\n\t\t\u003c/ul\u003e\n\t\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\u003ch1\u003eGetting Started\u003c/h1\u003e\n\n\u003ch2\u003eRequirements\u003c/h2\u003e\n\u003cul\u003e\n\t\u003cli\u003eMicrosoft SQL Server Management Studio 20 (\u003ci\u003esupposed to support versions 13-20, only tested in 18 and 20\u003c/i\u003e)\u003c/li\u003e\n\t\u003cli\u003e.NET 4.8.1\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eInstallation\u003c/h2\u003e\n\u003cul\u003e\n\t\u003cli\u003eClose all instances of Microsoft SQL Server Management Studio 20\u003c/li\u003e\n\t\u003cli\u003eDownload the most recent \u003ca href=\"https://github.com/joaoribe/SQLScriptsExplorer/releases/latest\"\u003erelease\u003c/a\u003e\u003c/li\u003e\n\t\u003cli\u003eAdd release folder \u003ci\u003eSQLScriptsExplorer\u003c/i\u003e to\n\t\t\u003cbr/\u003e\n\t\t\u003ccode\u003eC:\\Program Files (x86)\\Microsoft SQL Server Management Studio 20\\Common7\\IDE\\Extensions\u003c/code\u003e\n\t\t\u003cbr/\u003e\n\t\t\u003cimg src=\"docs/images/InstallationFolder.png\"/\u003e\n\t\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eLaunch\u003c/h2\u003e\n\u003cp\u003eYou can access the addin via the View menu.\u003c/p\u003e\n\u003cimg src=\"docs/images/AccessViaMenu.png\"/\u003e\n\u003cp\u003eOr you can add a quick launch button by enabling the toolbar.\u003c/p\u003e\n\u003cimg src=\"docs/images/AccessViaToolbar.png\"/\u003e\n\n\u003c!-- FEATURES --\u003e\n\u003ch1\u003eFeatures\u003c/h1\u003e\n\n\u003ch2\u003eManage multiple SQL Scripts repositories\u003c/h2\u003e\n\u003cp\u003eMap local folders to store your own SQL Scripts or collaborate/share knowledge with your team by mapping shared SQL Scripts folders.\u003c/p\u003e\n\u003cimg src=\"docs/images/MapFolders.png\"/\u003e\n\n\u003ch2\u003eOrganize SQL Scripts using folders\u003c/h2\u003e\n\u003cp\u003eUse the explorer to organize scripts using folders.\u003c/p\u003e\n\u003cimg src=\"docs/images/OrganizeScripts.png\"/\u003e\n\n\u003ch2\u003eOpen, create and edit SQL Script files\u003c/h2\u003e\n\u003cp\u003eUse the explorer to manage your scripts without living your workspace.\u003c/p\u003e\n\u003cimg src=\"docs/images/CreateAndEditFile.gif\"/\u003e\n\n\u003ch2\u003eSearch SQL Scripts across repositories\u003c/h2\u003e\n\u003cp\u003eEasily search SQL Scripts across different mapped repositories.\u003c/p\u003e\n\u003cimg src=\"docs/images/Search.gif\"/\u003e\n\n\u003ch2\u003eFormat SQL Scripts\u003c/h2\u003e\n\u003cp\u003eUse \u003ci\u003eFormat Selection\u003c/i\u003e button to format SQL statements.\u003c/p\u003e\n\u003cimg src=\"docs/images/FormatSelection.gif\"/\u003e\n\n\u003c!-- CONTRIBUTING --\u003e\n\u003ch1\u003eContributing\u003c/h1\u003e\n\u003cp\u003eFeel free to report an issue or suggest a feature. If you would like to introduce a functionality or fix an issue, please create a pull request.\u003c/p\u003e\n\n\u003ch2\u003eDebugging\u003c/h2\u003e\n\u003cul\u003e\n\t\u003cli\u003eInstall Visual Studio 2022 with \u003ci\u003eVisual Studio Extension Development\u003c/i\u003e enabled\n\t\t\u003cbr/\u003e\n\t\t\u003cimg src=\"docs/images/VisualStudioExtensionDevelopment.png\"/\u003e\n\t\u003c/li\u003e\n\t\u003cli\u003eOpen solution in Visual Studio 2022 in Administrator Mode\u003c/li\u003e\n\t\u003cli\u003eRight click the project \u003ci\u003eSQLScriptsExplorer.Addin\u003c/i\u003e\u003c/li\u003e\n\t\u003cli\u003eSelect \u003ci\u003eDebug\u003c/i\u003e tab\u003c/li\u003e\n\t\u003cul\u003e\n\t\t\u003cli\u003eIn the \u003ci\u003eStart external program\u003c/i\u003e option, change it to\n\t\t\t\u003cbr/\u003e\n\t\t\t\u003ccode\u003eC:\\Program Files (x86)\\Microsoft SQL Server Management Studio 18\\Common7\\IDE\\ssms.exe\u003c/code\u003e\n\t\t\u003c/li\u003e\n\t\t\u003cli\u003eIn the \u003ci\u003eCommand line arguments\u003c/i\u003e option, remove all the text\n\t\t\t\u003cbr/\u003e\n\t\t\t\u003cimg src=\"docs/images/ProjectProperties.Debug.png\"/\u003e\n\t\t\u003c/li\u003e\n\t\u003c/ul\u003e\n\t\u003cli\u003eSelect \u003ci\u003eVSIX\u003c/i\u003e tab\n\t\t\u003cul\u003e\n\t\t\t\u003cli\u003eEnsure \u003ci\u003eCopy VSIX content to the following location\u003c/i\u003e is\n\t\t\t\t\u003cbr/\u003e\n\t\t\t\t\u003ccode\u003eC:\\Program Files (x86)\\Microsoft SQL Server Management Studio 18\\Common7\\IDE\\Extensions\\SQLScriptsExplorer\u003c/code\u003e\n\t\t\t\t\u003cbr/\u003e\n\t\t\t\t\u003cimg src=\"docs/images/ProjectProperties.VSIX.png\"/\u003e\n\t\t\t\u003c/li\u003e\n\t\t\u003c/ul\u003e\n\t\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003c!-- KNOWN ISSUES --\u003e\n\u003ch1\u003eKnown Issues\u003c/h1\u003e\n\u003ch2\u003eExtension does not Load\u003c/h2\u003e\n\u003cp\u003eSometimes when you download the release zip file, Windows blocks it for security reasons. If you get an error after the plugin installation or the plugin does not appear in Microsoft SQL Server Management Studio 18, ensure the release ZIP file you have downloaded is unblocked.\u003c/p\u003e\n\u003cimg src=\"docs/images/UnblockFile.png\"/\u003e\n\n\u003ch2\u003eDocking Issue\u003c/h2\u003e\n\u003cp\u003e\u003cb\u003eNote:\u003c/b\u003e Issue is related to Windows and .NET Framework, not the addin.\u003c/p\u003e\n\u003cp\u003eThere's an issue with docking any Toolbar in Microsoft SQL Server Management Studio 18. Here are two options to solve it:\u003c/p\u003e\n\u003cul\u003e\n\t\u003cli\u003e\n\t\t\u003ca target=\"_blank\" href=\"https://support.microsoft.com/en-us/topic/february-9-2021-kb4601060-cumulative-update-for-net-framework-3-5-and-4-7-2-for-windows-10-version-1809-and-windows-server-version-2019-b240d07e-639f-d708-98c9-0cbe443176aa\"\u003e\n\t\t\tInstall Microsoft's official cumulative update\n\t\t\u003c/a\u003e\n\t\u003c/li\u003e\n\t\u003cli\u003e\n\t\tManual fix by changing SSMS.config file. (Source: \u003ca target=\"_blank\" href=\"https://docs.microsoft.com/en-us/answers/questions/263738/ssms-188-crashes-when-re-docking-tabs.html\"\u003eMicrosoft Docs Q\u0026A\u003c/a\u003e)\n\t\t\u003cul\u003e\n\t\t\t\u003cli\u003eNavigate to \u003ci\u003eC:\\Program Files (x86)\\Microsoft SQL Server Management Studio 18\\Common7\\IDE\u003c/i\u003e\u003c/li\u003e\n\t\t\t\u003cli\u003eFind \"Ssms.exe.config\" file, open up a Notepad in Administrator Mode, and edit this file\u003c/li\u003e\n\t\t\t\u003cli\u003eYou will then need to find an xml tag called \u0026lt;AppContextSwitchOverrides\u0026gt;, and APPEND (not replace) the following exactly:\u003c/li\u003e\n\t\t\t\u003cul\u003e\n\t\t\t\t\u003cli\u003e\n\t\t\t\t\t;Switch.System.Windows.Interop.MouseInput.OptOutOfMoveToChromedWindowFix=true; Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix=true\n\t\t\t\t\u003c/li\u003e\n\t\t\t\u003cul\u003e\n\t\t\u003c/ul\u003e\n\t\u003c/li\u003e\n\u003c/ul\u003e\n","funding_links":[],"categories":["C#","C\\#"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaoribe%2FSQLScriptsExplorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaoribe%2FSQLScriptsExplorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaoribe%2FSQLScriptsExplorer/lists"}