Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Switch between .frag and .vert files

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Vertexwahn Posted - Apr 22 2014 : 4:46:11 PM
Visual AssistX allows to swich easily between a corresponding *.cpp and *.h file. When writing shaders for OpenGL we have *.vert files for vertex shaders and *.frag files for fragment shaders. Typically these files have the same name � for instance Font.vert and Font.frag. It would be cool if the switch between implementation and header file could be extended to work also to switch between *.vert and *.frag files.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 19 2014 : 10:46:01 AM
Thank you for the update, I have put a note onto the case about this, it is useful to have a sense of what sort of groups you might want to handle. For now you may want to look into the IDE macro approach, since this will allow you to specify the groups and ordering yourself, and its a solution that is currently available.
chrisaverage Posted - May 18 2014 : 08:28:52 AM
This is a nice idea and I would like to see that too. I just want to underline the "group" aspect of this (as feline hinted) with configurable cycle order, because with more advanced pipeline (geometry, tesseation and compute shaders) the list of extensions to cycle through is actually longer: .vert .tesc .tese .geom .frag .comp
feline Posted - Apr 22 2014 : 5:26:12 PM
We are considering adding the ability to give VA extra pairs / groups of files to cycle through, but this is just an idea at this time:

case=64686

For now, if your IDE supports macros, you could use an IDE macro to do this, a sample macro is available here:

http://docs.wholetomato.com/default.asp?W439

If you are using a newer IDE that does not support macros you might want to try this extension, that says it provides macros:

http://visualstudiogallery.msdn.microsoft.com/deda8ac1-75e6-4068-89ab-b607cee38f2d

I have not used it myself, but it does look interesting, and it looks like it should allow you to use the Alt-O macro above.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000