Jump to content
  • entries
    943
  • comments
    5,899
  • views
    922,578

Project Explorer beta now available for testing


Josh

2,268 views

 Share

Implementation of the project explorer went really fast. I started it this morning, and I think it's pretty much done now. The project explorer shows up on the left side of the script editor window. It's positioned in an adjustable panel so you can resize and move its position. (Saving the position and orientation has not been implemented yet.) The project explorer shows a tree displaying your "Scripts", "Shaders", and "Source" folder, if you have the Standard Edition. You can double-click on a file to open it in the script editor main panel. The shader stage selector has also been replaced with a combobox tucked neatly below the code panel.

 

blogentry-1-0-21134000-1442433770_thumb.jpg

 

A right-click menu has also been added which lets you perform common operations on files and folders. Most of these commands get relayed to the asset browser class, which is one reason why implementation went to quickly.

 

blogentry-1-0-73026200-1442433820_thumb.jpg

 

Leadwerks also now supports editing C++ code and header files right in the editor. If you've got the Standard Edition you can try this now.

 

blogentry-1-0-42287700-1442433964_thumb.jpg

 

The file display should respond in real-time to folder and file modifications, just like the asset browser does. I'm going to test with Windows first before adding the Linux build. Try it out and let me know what you think, it's available on the beta branch right now.

  • Upvote 14
 Share

4 Comments


Recommended Comments

I just added settings to save the position and orientation of the explorer panel, so unless anyone finds any problems it's finished.

  • Upvote 1
Link to comment

Does the auto complete have all the exposed lua functions, or just the ones documented in the API reference? I use a few exposed functions that are not documented.

Link to comment

The way it works is it scans the header files and grabs all the declarations, so it is exactly like what the header files say. I am not 100% happy with that, but will see how it works.

Link to comment
Guest
Add a comment...

×   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...