Adding windows to Tab Order, doesn't work the way I had thought.

Andrew Scott 2 years ago updated 2 years ago 5

I had been looking at the documentation which says something like this.

Scene Tabs

Controls which window types show up as tabs in the scene view.

My thought was that I could add windows to this, as the Inspector Window and Adding Tags and Layers can't be done in Full Scene mode, I had thought adding this here would mean I have a shortcut to it. But it doesn't show up.

Am I wrong with this and if I am what chances could there be to add this feature?

Unity Version:
Peek Version:
Under Review

Hi Andrew,

At first I thought this design would be intuitive (you get the tabs that you normally have in your layout, no more and no less), but I see that multiple people have had the same confusion as you with regards to that setting. I'll have to think about redesigning that part of the plugin.

The Inspector window is a special case that's forcibly removed from the list of tabs, because in theory with Peek you shouldn't need it. The Tags and Layers issue you had is essentially the only limitation that we found so far, but I understand why you might want to circumvent it with a tab.

All in all, I hear you about these issues, I'm just not sure what the exact redesign/fix is here yet.

Maybe a confusing, because of the way it is named I guess and the documentation has different settings.

Either way, chances of maybe adding it as a feature?

Completed (Unreleased)

Hi Andrew,

So the simplest fix I could think of was to add a "Tabs Whitelist" project setting which will always include the specified windows in your tabs, regardless of whether it's in the current layout.

This will be included in v.1.1.6.

So there are 4 steps to the process that determines which tabs are shown:

  1. Windows inside your current editor layout are included
  2. Windows inside Tabs Blacklist project setting are excluded from that list
  3. Windows inside the Tabs Whitelist project setting are then always included
  4. The included tabs are sorted according to the Tabs Order editor preference

One thing to note here is that the blacklist/whitelist are project settings and the order is an editor preference.

This is because usually you'll want the same tabs to show up or get hidden for everyone on the team (so they are shared on the project's version control), but the order is a cosmetic/shortcut preference for each person (so they are only stored locally as an editor preference).

I'll update the documentation page on configuration accordingly.

Cool, that sounds great.