```coffeescript
'menu': [
  {
    'label': 'Packages'
    'submenu': [
      'label': 'Symbols'
      'submenu': [
        { 'label': 'File Symbols', 'command': 'symbols-view:toggle-file-symbols' }
        { 'label': 'Project Symbols', 'command': 'symbols-view:toggle-project-symbols' }
      ]
    ]
  }
]

'context-menu':
  '.overlayer': [
    { 'label': 'Go to Declaration', 'command': 'symbols-view:go-to-declaration' }
  ]
```

Add context menu to atom-text-editor selector
user
```coffeescript
'menu': [
  {
    'label': 'Packages'
    'submenu': [
      'label': 'Symbols'
      'submenu': [
        { 'label': 'File Symbols', 'command': 'symbols-view:toggle-file-symbols' }
        { 'label': 'Project Symbols', 'command': 'symbols-view:toggle-project-symbols' }
      ]
    ]
  }
]

'context-menu':
  'atom-text-editor': [
    { 'label': 'Go to Declaration', 'command': 'symbols-view:go-to-declaration' }
  ]
```
assistant