Ability to specify different formatting rules for conditions in brackets
For example...
WHERE
----X = 1
----AND Y = 2
----AND (Z = 3 OR Z = 4)
Currently the OR will drop to a new line...
WHERE
----X = 1
----AND Y = 2
----AND (Z = 3
----OR Z = 4)
which is hard to read
![](https://secure.gravatar.com/avatar/c67b9aa22e750b9deb22e9ce32b45c2f?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
This feature is available in dbForge Studio for MySQL, v6.1.166.
-
Dazz Knowles commented
Ah, cool, thank you! :)
-
Alexander commented
Please follow the procedure:
1. Select 'Tools -> Options' from the main menu. The 'Options' window opens.
2. Navigate to the 'Text Editor -> Formatting -> Profiles' branch.
3. Select the active profile.
4. Click 'Edit Profile...'. The 'Edit Profile' window opens.
5. Expand the 'SELECT -> WHERE -> Wrap condition -> Before logical operator' node.
6. Select the 'Only top level operator' radio button.
7. Click 'OK'. -
Dazz Knowles commented
Hi, whereabouts is this feature? I can't seem to find the setting.