SQL Prompt Core suggestions for SSDT projects
System
Posts: 10 New member
in SQL Prompt
This discussion was created from comments split from: The latest stable build of SQL Prompt is 8.2.4.2825 (25th October).
Tagged:
Comments
I tried reverting back to the extension included with Visual Studio which restored the prompt, but subsequently installing the latest version puts it back into a non-working state.
What version of SQL Prompt are you using? Is it SQL Prompt Core or SQL Prompt Pro?
You can find the version in the menu SQL Prompt -> Help -> About SQL Prompt
We changed behaviour in the latest release so that we do not override SSDT autocomplete if you have a SSDT Database Project in your solution.
Best wishes,
Michael
Technical Lead, SQL Monitor
I do have a SSDT project in my solution, but I much prefer the SQL Prompt autocomplete over the SSDT autocomplete. Is there any work around for this? What's the reason SQL Prompt is disabled for SSDT?
We disable SQL Prompt for SSDT because we do not yet support offline suggestions from SQL files in Visual Studio/SSDT Projects which was causing users to lose capabilities provided by the Native Intellisense. There's not currently a workaround except using SQL Prompt Pro, but we would like to understand a bit more about how you are trying to use SQL Prompt Core.
Would it be possible to ask a little about how you are using SQL Prompt with the SSDT project? Are you using a connected query window while in a database project for instance? What do you prefer about SQL Prompt's autocomplete?
If you would like us to support suggestions from SSDT files, would it be possible to vote for this feature on UserVoice? It would be great to understand how this feature would help you.
https://redgate.uservoice.com/forums/94413-sql-prompt/suggestions/5985591-load-suggestions-from-sql-files-in-visual-studio-s
Thanks,
Michael
Technical Lead, SQL Monitor
SQL Prompt's autocomplete provides fuzzy search suggestions. I can type "mct" for example, and if I have a table called "MyCrazyTable", SQL Prompt suggests it. SQL Prompt also automatically puts square brackets around my selections. The native intellisense only completes square brackets if I remember to type one at the start, but I got so accustomed to the shortcuts from SQL Prompt that I find myself frequently omitting the opening square bracket. Finally, SQL Prompt suggests keywords, so writing a MERGE becomes faster not having to remember all of the fluent crap that has to go in there.
I will go vote on this suggestion, but I really want to know how this ever worked for me before. My workflow hasn't changed and something I found really useful just disappeared.
EDIT: SQL Prompt also auto completes my schema names. I don't have to start typing a schema name; I can just start typing a table name and when I choose the suggestion it auto inserts the schema prefix for me. With the native intellisense I don't even get any of my table names in the suggestions until I type the schema prefix.
Yes you are correct there, we changed the support in the latest release. We are sorry that this has disrupted your workflow.
Thanks for describing in detail how SQL Prompt Core helps you. Although we won't be able to bring back support in the next release, what I can do is forward on your feedback about how SQL Prompt Core helps you with SSDT projects to our Product Manager so that they can take your workflow into consideration when planning for the future.
Thanks,
Michael
Technical Lead, SQL Monitor
SQL Prompt Core is freely available in Visual Studio 2017 Enterprise, however it only has basic code completion -- it does not have features like formatting, code analysis.
You can find out more about SQL Prompt Core here:
https://www.red-gate.com/products/sql-development/sql-prompt-core/
Best,
Michael
Technical Lead, SQL Monitor
Any suggestions/steps for making SQL Prompt work for SSDT database projects ?