# Adding a menu where the console is located, similar to SublimeLinter

**URL:** <https://forum.sublimetext.com/t/adding-a-menu-where-the-console-is-located-similar-to-sublimelinter/39512>\
**Category:** Plugin Development\
**Created:** [September 30, 2018, 3:27pm UTC](https://forum.sublimetext.com/t/adding-a-menu-where-the-console-is-located-similar-to-sublimelinter/39512 "2018-09-30T15:27:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nchauhan890](https://forum.sublimetext.com/letter_avatar_proxy/v4/letter/n/a88e4f/32.png) [@nchauhan890](https://forum.sublimetext.com/u/nchauhan890)\
**Post date:** [September 30, 2018, 3:27pm UTC](https://forum.sublimetext.com/t/adding-a-menu-where-the-console-is-located-similar-to-sublimelinter/39512/1 "2018-09-30T15:27:49Z")

</div>

I’m familiar with how to create a menu entry - such as by writing a `Main.sublime-menu` file - but I’m not sure how I can get a menu entry in the panel in the bottom left corner where the console and find/replace are located.

 ![](https://forum.sublimetext.com/uploads/default/original/3X/a/b/ab1b1bc2e0642f207a03bc26d99aebff24604f2b.PNG)

I’ve looked in the SublimeLinter files, but have not been able to find the method which accomplishes this effect. Any ideas?

---

<div class="post-metadata">

**Author:** ![OdatNurd](https://forum.sublimetext.com/user_avatar/forum.sublimetext.com/odatnurd/32/77607_2.png) [@OdatNurd](https://forum.sublimetext.com/u/OdatNurd)\
**Post date:** [September 30, 2018, 5:07pm UTC](https://forum.sublimetext.com/t/adding-a-menu-where-the-console-is-located-similar-to-sublimelinter/39512/2 "2018-09-30T17:07:30Z")

</div>

That menu shows you all of the available panels, so in order to add a menu item there you need to create a panel, which you can do via the `window.create_output_panel()` API endpoint. For example, try entering the following in the Sublime console and then checking the menu.

```python
window.create_output_panel("My Panel")

```

That said, as seen here the menu item is for displaying the panel, so this isn’t usable in the general case (i.e. you can’t add arbitrary commands to it, it’s just for switching panels).
