What are the challenges you face when working across database platforms? Take the survey

New Feature - Suggestion

johnsongbjohnsongb Posts: 12
First of all, this tool is great! I have a suggestion for a feature that I would find useful. Hopefully others will as well.

I wish there were a way to block/mark a section of tsql that can be ignored by the refactor. I work with procedures and/or code blocks that sometimes get to be a few hundred lines. About 9 times out of 10, the settings of the tool do what I want but there are just some times where I really like to format something a special way. When I "Lay out sql", I just always want a section to be ignored. For Example:

--Refactor Ignore Begin
code block
--Refactor Ignore End


  • Options
    That is a very cool suggestion, and something we should definitely consider, I know I would use it. I will prod the SQL Refactor Product Manager in this direction :D

    Kind regards,

    Jonathan Watts

    -Project Manager
    -Red Gate Software Ltd
  • Options
    shadowbobshadowbob Posts: 71 Bronze 2
    I would also love this feature. There are some very tricky bits in a lot of my SQL code that Refactor mangles (understandably). It would be fantastic to be able to ignore certain parts of the code.
    Jeremy Fuller
    VP, Software Development
    Organizational Intelligence, Inc.
Sign In or Register to comment.