Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Make Sort Selected Lines available in more files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bta
Ketchup Master

Belgium
57 Posts

Posted - Dec 16 2016 :  06:55:20 AM  Show Profile  Reply with Quote
It seems that the Sort Selected Lines feature is not enabled for txt files, nor for other 'unknown' file types.
It only seems to work for cpp and h files (we are working on c++ projects).

In our projects we have several other (plain text) files (.dep files, .mod files) that have special meaning in our build system.
It would be nice to be able to use the Sort Selected Lines feature in those files, but is seems to be disabled.

Bart

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Dec 16 2016 :  07:14:05 AM  Show Profile  Reply with Quote
Hello bta,

Please try adding the custom txt file extensions to the following registry key.
HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\<IDE spec>\ExtPlainText

Remember to shut down your IDE before editing the registry.
Go to Top of Page

bta
Ketchup Master

Belgium
57 Posts

Posted - Dec 16 2016 :  09:45:10 AM  Show Profile  Reply with Quote
Hi Chris,

I just tried it:
-closed all of my Visual Studio instances.
-edited the registry setting




-restarted the IDE

-opened a .dep file
-> refactoring menu item Sort Selected Lines is still disabled
Some other setting missing?


Bart
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Dec 16 2016 :  10:34:37 AM  Show Profile  Reply with Quote
Check the value of RestrictVaToPrimaryFileTypes as described here:
https://support.wholetomato.com/default.asp?W353
Go to Top of Page

bta
Ketchup Master

Belgium
57 Posts

Posted - Dec 19 2016 :  07:34:21 AM  Show Profile  Reply with Quote
setting RestrictVaToPrimaryFileTypes to 0 did the trick!

Thanks!

Bart
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000