TaoK / PoorMansTSqlFormatter

A small free .Net and JS library (with demo UI, command-line bulk formatter, SSMS/VS add-in, notepad++ plugin, winmerge plugin, and demo webpage) for reformatting and coloring T-SQL code to the user's preferences.
http://www.architectshack.com/PoorMansTSqlFormatter.ashx
GNU Affero General Public License v3.0
957 stars 266 forks source link

Notepad ++ new system for plugins (Plugins Admin) #212

Closed PeterDeKeer closed 5 years ago

PeterDeKeer commented 5 years ago

Hi, I just wanted to let you know that I really apreciate you to have done this!

I just noticed that there is a new way for plugins to get installed in a official notepad++ update system: https://notepad-plus-plus.org/features/plugin-admin.html

I would love to see your plugin there!

databasekevin commented 5 years ago

Please, please, please!

StrayChild01 commented 5 years ago

I just updated notepad++ to the latest version and even if I install the plugin using the manual method, I can't see the plugin on the menu. This new plugin manager is basically causing the following issue:

https://github.com/TaoK/PoorMansTSqlFormatter/issues/213

If I check the list of plugins on the old version of the Plugin Manager, the plugin is listed, but not shown meaning that the new plugin manager has effectively taken over.

TaoK commented 5 years ago

@StrayChild01 - the manual method needs to be updated based on Notepad++'s new plugin-loading behavior as of 7.6. I'll update the manual instructions on the site.

The correct manual install instructions are:

-> Now the next time you start Notepad++, you should find the plugin installed and working.

Next, I'll see about getting set up in the new plugin admin.

StrayChild01 commented 5 years ago

Hey @TaoK, I followed your instructions and I see the menu plugin now. Thank you very much for you fast response!

I also went to see your site and I see that the new instructions are there \o/

Thanks again!

TaoK commented 5 years ago

The plugin should appear in the new plugin manager (64-bit and 32-bit versions) shortly - as soon as the relevant Pull Request on the plugin list project is accepted: notepad-plus-plus/nppPluginList#51

databasekevin commented 5 years ago

@TaoK Still unable to see the menu plugin (or use PoorSQLformatter) even after following directions above. Just to make sure, there is a "new" folder creation called "PoorMansTSqlFormatterNppPlugin" and inside of that folder is two items:

  1. PoorMansTSqlFormatterNppPlugin [folder filled with DLL's]
  2. PoorMansTSqlFormatterNppPlugin.dll

on 64 bit Notepad++ 7.6.3 and downloaded the 64 bit * PoorMansTSqlFormatterNppPlugin Zip for reference.

StrayChild01 commented 5 years ago

Still unable to see the menu plugin (or use PoorSQLformatter) even after following directions above. Just to make sure, there is a "new" folder creation called "PoorMansTSqlFormatterNppPlugin" and inside of that folder is two items:

1. PoorMansTSqlFormatterNppPlugin [folder filled with DLL's]

2. PoorMansTSqlFormatterNppPlugin.dll

on 64 bit Notepad++ 7.6.3 and downloaded the 64 bit * PoorMansTSqlFormatterNppPlugin Zip for reference.

Hey, @databasekevin So I updated to the newest version and the plugin dissapeared, I followed these instructions and it worked:

You might need to use PowerShell as administrator and extract it using Extract-Archive SqlFormatterNppPlugin.x64.1.6.10.b.zip . I did it this way.

TaoK commented 5 years ago

Hi, the latest version of Notepad++, 7.6.4, released today, includes Poor Man's T-Sql formatter in the plugin admin list. Closing.

StrayChild01 commented 5 years ago

Thanks! I installed the new version and I can see it there!