title: How to get access to Developer: Inspect TM Scopes data?
body: <p>I am making an extension to identify and display various language syntax features (keywords, functions, macros etc.) TM Scopes window already does that (see the attached image). Is there a way to access this data (via some api call) so that I can build my extension on top of it?</p>
  
  <p><a href="https://i.stack.imgur.com/YqBeS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YqBeS.png" alt="enter image description here"></a></p>