Visual Assist build 2108 and build 2107
All four of the Smart Select commands—extend and shrink by block and non-block—create initial selections. Successive executions of the commands grow and shrink a selection by additional small elements.
You can adjust the size of the initial selections and the granularity of subsequent changes by modifying several registry values.
SmartSelectEnableWordStart
HKCU\Software\Whole Tomato\Visual Assist X\<IDE spec>\SmartSelectEnableWordStart
Set to 01, the default, to let the non-block extend (Shift+Alt+]) and shrink (Shift+Alt+[) commands begin every selection with the current word.
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectenablewordstart1.ashx?la=en&hash=8267E2F4981A0A28C96D43623AE4523C18DDE6C6)
Set to 00 to let the commands choose an initial selection based on caret location and context. (The registry value does not affect the block commands.)
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectenablewordstart0.ashx?la=en&hash=3A30903681964A1CCC242AF00D1DC5C09AABD0A1)
SmartSelectSplitWordByCase
HKCU\Software\Whole Tomato\Visual Assist X\<IDE spec>\SmartSelectSplitWordByCase
Set to 00, the default, to ignore changes in case when selecting the current word. (The setting is effective only if SmartSelectEnableWordStart is enabled.)
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectsplitwordbycase0.ashx?la=en&hash=F5170B7DB33CEBDF49A842C79669333E2C4FFFEF)
Set to 01 to make a change in case delimit the current word.
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectsplitwordbycase1.ashx?la=en&hash=0FC261834D7E61A9512F0DA824AE5942D35EB33E)
SmartSelectSplitWordByUnderscore
HKCU\Software\Whole Tomato\Visual Assist X\<IDE spec>\SmartSelectSplitWordByUnderscore
Set to 00, the default, to ignore underscores when selecting the current word. (The setting is effective only if SmartSelectEnableWordStart is enabled.)
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectsplitwordbyunderscore0.ashx?la=en&hash=23411A7DE91677AB26807B8A5BE2580319167B13)
Set to 01 to make an underscore delimit the current word.
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectsplitwordbyunderscore1.ashx?la=en&hash=2D0662A7EE222BA011E733AA9A2445D93306874A)
SmartSelectEnableGranularStart
HKCU\Software\Whole Tomato\Visual Assist X\<IDE spec>\SmartSelectEnableGranularStart
Set to 01, the default, to begin every selection with a small element.
If you begin a selection with non-block extend (Shift+Alt+]) or non-block shrink (Shift+Alt+[), the first selection is the current word or logical element and successive executions grow/shrink the selection by small, logical elements—until the current statement is selected.
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectenablegranularstart1.ashx?la=en&hash=2EF7EBB5A9BAFAB23B0BB93A516557DDC205C748)
If you begin a selection with block extend (Alt+]) or block shrink (Alt+[), the first selection is the current statement and successive executions grow/shrink the selection by blocks.
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectenablegranularstart0block.ashx?la=en&hash=412AC360A832A312B29C1D79257286B44D018143)
Set to 00 to begin a selection with the current word or block, and then grow it in relatively large increments.
If you begin a selection with non-block extend (Shift+Alt+]) or non-block shrink (Shift+Alt+[), the first selection is the current word or logical element and the next selection is the current statement.
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectenablegranularstart0.ashx?la=en&hash=C1A3A5DEEA426E43911E211A79D00190A43A335D)
If you begin a selection with block extend (Alt+]) or block shrink (Alt+[), the first selection is the current block. Successive executions grow/shrink the selection by blocks.
![](/~/media/wholetomato/kb/adjust-size-of-selections-made-by-smart-select/smartselectenablegranularstart0block.ashx?la=en&hash=412AC360A832A312B29C1D79257286B44D018143)