How to use the atom-select-list.getScheduler function in atom-select-list

To help you get started, we’ve selected a few atom-select-list examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github atom / atom / packages / grammar-selector / spec / grammar-selector-spec.js View on Github external
it('displays Auto Detect as the selected grammar', async () => {
      atom.commands.dispatch(editor.getElement(), 'grammar-selector:show');
      await SelectListView.getScheduler().getNextUpdatePromise();

      const grammarView = atom.workspace.getModalPanels()[0].getItem().element;
        'Auto Detect'


A general-purpose select list for use in Atom packages

Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Similar packages