Page 1 of 1

Project Browser

Posted: Thu May 14, 2020 4:57 am
by anmldr
I am trying to get my Project Browser to only list the stacks that are being currently used (are loaded into memory). I do not want a whole list of all of the extensions and their stacks, etc. It is confusing to me at this point to try to wade through them when I am not using them.

In the User Guide, I have looked for info on the Project Browser. Pg 477 of the LiveCode 9.5.1 User Guide is about the Tools Menu and it says "For more details, see the section on the Project Browser." But I cannot even seem to find a section for the Project Browser in the User Guide.

I have found Preferences and I have a choice for the Project Browser to show sections: Front Scripts, Stacks, Back scripts and Stacks in use. I don't yet know what front scripts and back scripts are but that isn't the point here. If I choose "Stacks" I see the whole list of extensions, etc. But if I do not select Stacks and only choose "Stacks in Use", I assume that if I only have one stack in memory, that it will show up, alone, in the list. However, even the stack that is open does not show up for me. Please tell me what I need to do to list only the stack(s) that I am currently working with or rather loaded into memory.

BTW, I hit the button to "Reset All Preferences to Defaults" and this did not help either.

Oh yes, one other thing in the Preference list. What is the Application Browser vs the Project Broswer.

Thank you,
Linda

Re: Project Browser

Posted: Thu May 14, 2020 7:03 am
by richmond62
Go to the Preferences and deselect this:
-
Screenshot 2020-05-14 at 9.00.15.png

Re: Project Browser

Posted: Thu May 14, 2020 7:06 am
by richmond62
The Application Browser is basically an older version of the Project Browser:
-
Screenshot 2020-05-14 at 9.04.25.png
-
You can open it under the Development/Plugins menu.

Personally I prefer it.

Re: Project Browser

Posted: Thu May 14, 2020 8:27 pm
by anmldr
Thanks, Richmond. But, see the image below. It is unselected and yet they still appear.
ScreenShotToday.png
-
Linda

Re: Project Browser

Posted: Thu May 14, 2020 8:32 pm
by anmldr
They appear in that stack too...
Screen Shot 2020-05-14 at 1.30.26 PM.png

Re: Project Browser

Posted: Thu May 14, 2020 8:50 pm
by mwieder
Looks like a job for Monte. Those are extensions and *should* not be appearing in either of the browsers if you have that unselected.
It's also a simple fix - here's the appropriate revLoadLibrary from the JSON library livecodescript file - setting the _ideoverride when the library loads is the way to tell the system to treat it like an IDE stack:

Code: Select all

on revLoadLibrary
   if the target is not me then
      pass revLoadLibrary
   end if
   
   insert the script of me into back
   
   if the environment contains "development" then
      set the _ideoverride of me to true
   end if
end revLoadLibrary

Re: Project Browser

Posted: Thu May 14, 2020 9:01 pm
by anmldr
Sorry, that is beyond my understanding at this point. Thank you though.

Linda

Re: Project Browser

Posted: Thu May 14, 2020 9:18 pm
by mwieder
No worries - basically it means that I'll file a bug report about it and the team will get around to fixing it some day. It's nothing that you really have control over at this point.

Re: Project Browser

Posted: Fri May 15, 2020 8:01 am
by Klaus
Hi Linda,

in menu: View
you can also un-/check -> Show IDE stacks in lists
Maybe that is checked there?

Hint:
Do yourself a favour and also check this in the LC prefs:
-> General -> Property Labels are -> Name of Livecode property

Then you will see the LC terms in the inspector that you can use in your scripts!


Best

Klaus