Auto generate bookmarks in SUO File (ssms_suo)
I would like to have a program that would be able to auto generate Microsoft SQL Server Management Studio bookmarks from sql file (Bookmarks are saved in *.ssms_suo type of file). Program would be run against *.sql file and would add bookmark to existing *.ssms_suo file for every matched string in *.sql file. Strings to match (create table, create procedure, ...) would be written in some "[login to view URL]" file.
Something like:
c:\[login to view URL] [login to view URL] output.ssms_suo
I hope attached picture explains what should be the end result.
Problem is that I use scripts for creating SQL structures that are 1000+ lines of code long and it would be great if I could find quickly the right line of code.