Wall Worm Forums

Design Tools => Wall Worm Model Tools => WWMT Questions => Topic started by: Klizmotron on March 28, 2017, 03:16:59 PM

Title: Is there a way to set up other text editor to use with WallWorm (Sublime Text)
Post by: Klizmotron on March 28, 2017, 03:16:59 PM
I wonder if there is a way I cas setup wallworm to open text data in some other (not notepad or notepad++) text editor, Sublime Text in my case. I tried putting full path to it in WWMT settings "Text editor" field, but it doesn't work, no matter if I put quotes or not, I even tried creating a system variable %SUBLIME_TEXT_3% with a full path to the exe, but it does nothing, no editor appears when clicking things like "Open QC"

(https://www.wallworm.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fd6kXVFD.png&hash=bed1911085d8817ad9fd61bdcbe16b504b956198)
Title: Re: Is there a way to set up other text editor to use with WallWorm (Sublime Text)
Post by: wallworm on March 28, 2017, 07:45:16 PM
I downloaded Sublime and found a way to do it. But since it isn't using the conventions of the other text editors I've tried for launching via the command-line, it means I need to write a new wrapper function and update WW. I'll let you know when this is added.
Title: Re: Is there a way to set up other text editor to use with WallWorm (Sublime Text)
Post by: wallworm on March 28, 2017, 08:53:27 PM
You should now be able to use Sublime.

Update WW and set your global settings to absolute path to sublime_text.exe (like C:\Program Files\Sublime Text 3\sublime_text.exe ).
Title: Re: Is there a way to set up other text editor to use with WallWorm (Sublime Text)
Post by: Klizmotron on March 29, 2017, 04:46:23 PM
Thanks a lot!  :D