If I have stored procedures open then in the tabs it says “SQLQuery10.sql” etc

But if I open up some saved files the tabs are the titles of the files:

Is there a setting in the IDE to let me have the stored procedure names dipsplayed in the query tabs?
This would be hard for any IDE to do. Consider these situations:
How should the IDE react to those situations?
The bottom line: you’re editing files, not stored procedure objects. In order to determine what stored procedure you’re attempting to modify with your script, the IDE would have to read and parse your script, and make a lot of decisions about partial cases and unusual situations like those above. It would be very difficult to please everybody, and inevitably someone would complain, “I’m saving it to a file! Why can’t it show me the file name in the tab!?”