The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,426 other followers

Archive for February 15th, 2018

When Atom crashes you’re guided to use safe-mode, but safe-mode cannot disable packages

Posted by jpluimers on 2018/02/15

When you get a Window like this upon Atom.io start, and starting to report a bug, they guide you to a “start Atom in safe mode first, then try to disable all packages to sort out if it’s a package issue” and point to [WayBackDebugging: using safe mode.

The problem here is that when you start Atom in safe mode (from the console using atom --safe) then in the preferences you cannot disable packages: clicking on the “Disable” button has absolutely no effect.

This was with atom --version

atom --version
Atom : 1.12.8
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0

I worked around this by editing ~/.atom/config.cson as that already contained a section like this:

  core:
    disabledPackages: [
      "nav-panel"
    ]

So I wrote a poor-mans little script that generated the inner portion of that block:

pushd ~/.atom && ls -1d packages/*/ | sed 's/packages\// "/g' | sed 's/\//"/g' && popd

which got me this nice list:

"atom-beautify"
"atom-html-preview"
"atom-keyboard-macros"
"atom-wrap-in-tag"
"autocomplete-xml"
"broadcast"
"close-tags"
"color-picker"
"counter"
"emmet"
"export-html"
"file-icons"
"git-plus"
"language-batch"
"language-bbcode"
"language-innosetup"
"language-pascal"
"language-plantuml"
"language-restructuredtext"
"language-routeros-script"
"linter"
"nav-panel-plus"
"nav-panel"
"omnisharp-atom"
"pandoc-convert"
"plantuml-preview"
"print-atom"
"rot13"
"rst-preview-pandoc"
"sort-lines"
"sync-settings"
"tabs-to-spaces"
"xml-formatter"
"xml-tools"

From there, I did a binary search for the offending package: broadcast so I’ve filed an issue there.

–jeroen

Read the rest of this entry »

Posted in Atom, Power User, Text Editors | 1 Comment »

Running/execute an Atom.io command not present in the menu/toolbar isn’t that obvious

Posted by jpluimers on 2018/02/15

Took me a while to figure out that you can run any command in Atom.io, even if it’s not in the menu or toolbar:

This isn’t very clear in Atom, but what you’re after is this menu item: Toggle Command Palette

Mac OS X: Shift+Command+P:

Mac OS X: Shift+Command+P

Windows: Ctrl+Shift+P

Windows: Ctrl+Shift+P

–jeroen

via: [WayBackWhere can I run Atom command? – Stack Overflow

Posted in Atom, Development, Power User, Scripting, Software Development, Text Editors | Leave a Comment »

 
%d bloggers like this: