Jump to content

How can you connect Sublime Text with the Wrangle SOP


DASD

Recommended Posts

I am looking into installing VEX syntax and Exhelp for Sublime text and that is easy and nice, but I realized I don't know of a good way to actually connect Sublime text to Houdini. Copy pasteing the code between Sublime text and Houdini everytime I want to test something seems like a pain.
It would be so inconvinient that I wonder whether Sublime Text would be worth the effort.
So how do you use it? Is there a way to hook Houdini and Sublime Text up to each other for a direct connection?

Link to comment
Share on other sites

EDITOR = "C:/Program Files/Sublime Text 3/sublime_text.exe"

Add to your houdini.env file something like that. In any input field in Houdini, press Alt + E. It will bring up Houdini native text editor. Press again, and it will open text in $EDITOR program, and wait until you close the program. After that, it will load any saved changes back to Houdini. Afaik, there is no way to bypass native editor.

  • Like 3
Link to comment
Share on other sites

Thanks symek ! That syntax seems to be more up to date.

Thank you f1480187 ! I also found that out that the preferences of Sublime text can be tweaked  with:

"hot_exit": false,
"remember_open_files": false,

so that sublime does not save the tabs from the previous session. Now the only thing left to do is to find a way to bypass the Houdini Editor. Anybody know how to get that fixed? :lol:

 

Edited by DASD
Link to comment
Share on other sites

  • 4 months later...

Im having problem with sublime 3 and ubuntu (openbox) to get any connection between them. I get sublime to open on alt+E with a .tmp.vfl file but its always empty and nothing happens on save+close either. I noticed that houdinis gui doesnt freeze either like it should do when opening external editor until its closed.

I got this to work without any hassle on win10 so maybe i need to do something spelcial on ubuntu?

Link to comment
Share on other sites

I have my ENV file set up for Sublime Text and all works as it should but I was wondering if there was a way to go straight to the external editor without first opening up Houdini's internal text editor first.

It seems like there's a dependency between the two but it's always nice to save a click or two where possible. :)

EDIT: I'm using Windows 10

Edited by jonmoore
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...