Giter Club home page Giter Club logo

background-tips's Introduction

Atom

Build status

Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement

Atom is a hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors. We designed it to be deeply customizable, but still approachable using the default configuration.

Atom

Atom Screenshot

Visit atom.io to learn more or visit the Atom forum.

Follow @AtomEditor on Twitter for important announcements.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].

Documentation

If you want to read about using Atom or developing packages in Atom, the Atom Flight Manual is free and available online. You can find the source to the manual in atom/flight-manual.atom.io.

The API reference for developing packages is also documented on Atom.io.

Installing

Prerequisites

macOS

Download the latest Atom release.

Atom will automatically update when a new release is available.

Windows

Download the latest Atom installer. AtomSetup.exe is 32-bit. For 64-bit systems, download AtomSetup-x64.exe.

Atom will automatically update when a new release is available.

You can also download atom-windows.zip (32-bit) or atom-x64-windows.zip (64-bit) from the releases page. The .zip version will not automatically update.

Using Chocolatey? Run cinst Atom to install the latest version of Atom.

Linux

Atom is only available for 64-bit Linux systems.

Configure your distribution's package manager to install and update Atom by following the Linux installation instructions in the Flight Manual. You will also find instructions on how to install Atom's official Linux packages without using a package repository, though you will not get automatic updates after installing Atom this way.

Archive extraction

An archive is available for people who don't want to install atom as root.

This version enables you to install multiple Atom versions in parallel. It has been built on Ubuntu 64-bit, but should be compatible with other Linux distributions.

  1. Install dependencies (on Ubuntu):
sudo apt install git libasound2 libcurl4 libgbm1 libgcrypt20 libgtk-3-0 libnotify4 libnss3 libglib2.0-bin xdg-utils libx11-xcb1 libxcb-dri3-0 libxss1 libxtst6 libxkbfile1
  1. Download atom-amd64.tar.gz from the Atom releases page.
  2. Run tar xf atom-amd64.tar.gz in the directory where you want to extract the Atom folder.
  3. Launch Atom using the installed atom command from the newly extracted directory.

The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases.

Building

Discussion

License

MIT

When using the Atom or other GitHub logos, be sure to follow the GitHub logo guidelines.

background-tips's People

Contributors

50wliu avatar a2 avatar benogle avatar damieng avatar darangi avatar ingramz avatar izuzak avatar jasonrudolph avatar jerone avatar kevinsawicki avatar lee-dohm avatar matthewwithanm avatar maxbrunsfeld avatar mnquintana avatar simurai avatar smashwilson avatar thomasjo avatar zcbenz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

background-tips's Issues

Failed to activate the background-tips package

This error and stack trace have started appearing recently (several times) while I've been using using Atom:

Cannot call function 'on' on missing remote object 1
Error: Cannot call function 'on' on missing remote object 1
    at throwRPCError (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\rpc-server.js:145:17)
    at EventEmitter.<anonymous> (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\rpc-server.js:367:7)
    at EventEmitter.emit (events.js:182:13)
    at WebContents.<anonymous> (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\api\web-contents.js:294:13)
    at WebContents.emit (events.js:182:13)

Error: Cannot call function 'on' on missing remote object 1
Error: Cannot call function 'on' on missing remote object 1
    at throwRPCError (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\rpc-server.js:145:17)
    at EventEmitter.<anonymous> (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\rpc-server.js:367:7)
    at EventEmitter.emit (events.js:182:13)
    at WebContents.<anonymous> (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\api\web-contents.js:294:13)
    at WebContents.emit (events.js:182:13)
    at metaToException (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\renderer\api\remote.js:271:17)
    at Object.exception (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\renderer\api\remote.js:219:30)
    at metaToValue (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\renderer\api\remote.js:223:28)
    at Object.remoteMemberFunction (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\electron.asar\renderer\api\remote.js:123:16)
    at new BackgroundTipsElement (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:664930)
    at Object.activate (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:167477)
    at Package.activateNow (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3405731)
    at measure (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3405143)
    at Package.measure (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3402753)
    at activationPromise.activationPromise.Promise (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3405003)
    at new Promise (<anonymous>)
    at Package.activate (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3404946)
    at PackageManager.activatePackage (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:382285)
    at config.transactAsync (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:381901)
    at Config.transactAsync (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:331549)
    at PackageManager.activatePackages (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:381851)
    at PackageManager.activate (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:381401)
    at t.loadState.then (C:\Users\Kyle Getz\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:1:736497)

OS: Windows 10
Atom: 1.40.1
Package: 0.28.0

Failed to activate the background-tips package

Atom: 1.28.2 x64
Electron: 2.0.5
OS: Mac OS X 10.13.5
Thrown From: background-tips package 0.28.0

Stack Trace

Failed to activate the background-tips package

At Error processing argument at index 0, conversion failure from [object Array]
TypeError: Error processing argument at index 0, conversion failure from [object Array]
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:211:31)
    at Array.map (<anonymous>)
    at unwrapArgs (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:233:15)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:350:12)
    at emitMany (events.js:147:13)
    at EventEmitter.emit (events.js:224:7)
    at WebContents.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:295:13)
    at emitTwo (events.js:126:13)
    at WebContents.emit (events.js:214:7)

Error: Error processing argument at index 0, conversion failure from [object Array]
TypeError: Error processing argument at index 0, conversion failure from [object Array]
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:211:31)
    at Array.map (<anonymous>)
    at unwrapArgs (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:233:15)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:350:12)
    at emitMany (events.js:147:13)
    at EventEmitter.emit (events.js:224:7)
    at WebContents.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:295:13)
    at emitTwo (events.js:126:13)
    at WebContents.emit (events.js:214:7)
    at Object.exception (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:221:30)
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:225:28)
    at Object.remoteMemberFunction (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:125:16)
    at new BackgroundTipsElement (/Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips-view.js:39:35)
    at Object.activate (/Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips.js:5:37)
    at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:230:33)
    at measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:206:33)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:88:25)
    at activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/src/package.js:200:20)
    at new Promise (<anonymous>)
    at Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:198:38)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:695:42)
    at config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:670:36)
    at Config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/config.js:866:28)
    at PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:668:23)
    at PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:647:50)
    at loadStatePromise.loadState.then (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:871:27)
    at <anonymous>

Commands

Non-Core Packages


Wrong keybindings for toggle Tree View

Prerequisites

Description

The background-tips show a wrong keybindings for toggle the tree view (cmd + \).
Actually the right keybindings on .platform-darwin is this (cmd + k + b), overwritten by the previous line which is precisely (cmd + \).

Steps to Reproduce

  1. Open atom in safe mode
  2. Close All tabs
  3. Wait until the background-tips package show "You can toggle the Tree View with cmd + \".

Expected behavior:

"You can toggle the Tree View with cmd + k + b".

Actual behavior:

If an user try to toggle the TreeView with cmd + \ nothing happens ๐Ÿค•.

Reproduces how often:

Always

Versions

Atom : 1.50.0
Electron: 5.0.13
Chrome : 73.0.3683.121
Node : 12.0.0

Additional Information

I reproduce the issue on macOS Catalina v10.15.6 (19G2021).

Failed to load the background-tips package / override purpose

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0-beta0 x64
Electron: 1.6.9
OS: Microsoft Windows 10 Pro
Thrown From: background-tips package 0.27.1

Stack Trace

Failed to load the background-tips package

At Cannot find module 'underscore-plus'

Error: Cannot find module 'underscore-plus'
    at Module._resolveFilename (module.js:470:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.22.0-beta0/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/native-compile-cache.js:66:33)
    at /packages/background-tips-master/lib/background-tips-view.coffee:1:5)
    at /packages/background-tips-master/lib/background-tips-view.coffee:1:1)
    at /packages/background-tips-master/lib/background-tips-view.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/native-compile-cache.js:66:33)
    at /packages/background-tips-master/lib/background-tips.coffee:1:22)
    at /packages/background-tips-master/lib/background-tips.coffee:1:1)
    at /packages/background-tips-master/lib/background-tips.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/package.js:903:35)
    at ~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/package.js:158:34
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/package.js:99:21)
    at Package.module.exports.Package.load (~/AppData/Local/atom/app-1.22.0-beta0/resources/app/src/package.js:144:18)

Commands

     -0:29.3.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
     -0:02.7.0 editor:newline (input.hidden-input)
     -0:01.0 core:paste (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.7 
atom-beautify 0.30.5 
atom-bulma 0.7.0 
atom-ide-ui 0.4.0 
atom-lara 0.3.0 
atom-music 0.7.0 
blade-spacer 0.4.2 
dev 0.5.0 
devtheme 0.4.0 
file-icons 2.1.12 
highlight-selected 0.13.1 
ide-php 0.6.9 
language-blade 0.36.0 
language-vue 0.23.1 
minimap 4.29.7 
platformio-ide-terminal 2.7.0 
pure-syntax 0.3.0 
single-click-open 0.2.2 
structure-view 0.1.4 

Uncaught TypeError: Cannot read property 'findKeyBindings' of undefined

This package is still using the deprecated atom.keymap instead of atom.keymaps.

  1. Use atom --one
  2. Close the last open pane item, revealing the background tips.

Atom Version: 0.190.0-2aaf1ff
System: Mac OS X 10.10.1
Thrown From: background-tips package, v0.23.0

Stack Trace

Uncaught TypeError: Cannot read property 'findKeyBindings' of undefined

At /Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips-view.js:150

TypeError: Cannot read property 'findKeyBindings' of undefined
  at /Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips-view.js:150:33
  at String.replace (native)
  at background-tips.module.exports.BackgroundTipsElement.renderTip (/Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips-view.js:143:17)
  at background-tips.module.exports.BackgroundTipsElement.renderTips (/Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips-view.js:137:24)
  at background-tips.module.exports.BackgroundTipsElement.start (/Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips-view.js:91:12)
  at background-tips.module.exports.BackgroundTipsElement.updateVisibility (/Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips-view.js:77:21)
  at /Applications/Atom.app/Contents/Resources/app/node_modules/background-tips/lib/background-tips-view.js:42:24
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at /Applications/Atom.app/Contents/Resources/app/src/pane-container.js:338:34
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:213:22)
  at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:347:16)
  at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:421:16)
  at Pane.module.exports.Pane.destroyActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:398:12)
  at Workspace.module.exports.Workspace.destroyActivePaneItem (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:582:35)
  at Workspace.module.exports.Workspace.destroyActivePaneItemOrEmptyPane (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:621:21)
  at atom-workspace.atom.commands.add.core:close (/Applications/Atom.app/Contents/Resources/app/src/workspace-element.js:307:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:242:29)
  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:521:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:356:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:180:20)

Commands

  9x -0:02.4 vim-mode:move-to-previous-paragraph (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:00.5 core:close (atom-text-editor.editor.vim-mode.command-mode.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "minimap",
      "coffee-compile"
    ],
    "themes": [
      "one-light-ui",
      "solarized-light-syntax"
    ]
  }
}

Installed Packages

# User
jasmine-runner, v0.0.0
language-rust, v0.4.3
linter, v0.12.0
linter-clang, v2.25.1
vim-mode, v0.43.0

# Dev
tree-view, v0.169.0
vim-mode, v0.43.0

Allow tips to be added via an API

I'd like to be able to add a tip or two for a plugin of mine.

Externalize the tips to a .json or .cson. Load tips from this storage file instead of using module.exports. Add a .add(tip) function to background-tips.coffee, which edits the storage file if the tip is unique (a plugin would add the same tip over and over again, which would clutter the background-tips plugin).

Startup time is too long

According to Timecop, background-tips takes between 42 and 45 ms at startup. In my opinion this is very long for such a simple package.

Uncaught TypeError: Cannot read property 'classList' of undefined

[Enter steps to reproduce below:]

  1. opened markdown file, preview was showing
  2. font was proportional, changed to monaco fixed width
  3. closed markdown file without edit. bam! error! :)

Atom Version: 1.7.3
System: Mac OS X 10.11.4
Thrown From: background-tips package, v0.26.0

Stack Trace

Uncaught TypeError: Cannot read property 'classList' of undefined

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/background-tips/lib/background-tips-view.js:120

TypeError: Cannot read property 'classList' of undefined
    at background-tips.module.exports.BackgroundTipsElement.showNextTip (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/background-tips/lib/background-tips-view.js:120:19)
    at background-tips.module.exports.BackgroundTipsElement.start (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/background-tips/lib/background-tips-view.js:94:12)
    at background-tips.module.exports.BackgroundTipsElement.updateVisibility (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/background-tips/lib/background-tips-view.js:77:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/background-tips/lib/background-tips-view.js:42:24
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:282:22)
    at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:560:16)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:462:26
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at MarkdownPreviewEditor.detached (/Users/ram/.atom/packages/atom-markdown-katex/lib/md-preview-editor.coffee:231:14)
    at space-pen-div.View.element.detached (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:167:63)
    at space-pen-div.CustomElementPrototype.detachedCallback (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:55:55)
    at atom-pane-axis.PaneAxisElement.childRemoved (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-axis-element.js:83:19)
    at atom-pane-axis.PaneAxisElement.childReplaced (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-axis-element.js:92:12)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at PaneAxis.module.exports.PaneAxis.replaceChild (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-axis.js:200:27)
    at PaneAxis.module.exports.PaneAxis.reparentLastChild (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-axis.js:223:19)
    at PaneAxis.module.exports.PaneAxis.removeChild (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-axis.js:188:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-axis.js:231:24
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.destroyed (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:832:20)
    at Pane.module.exports.Model.destroy (/Applications/Atom.app/Contents/Resources/app.asar/src/model.js:31:58)
    at Pane.module.exports.Pane.destroy (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:823:39)
    at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:584:21)
    at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:637:16)
    at atom-tabs.TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:658:17)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "highlight-column",
      "indent-guide-improved",
      "tree-view-git-status",
      "linter-ruby-reek",
      "rails-model-schema",
      "linter-ruby",
      "markdown-preview",
      "markdown-pdf",
      "markdown-preview-plus",
      "markdown-scroll-sync",
      "wrap-guide",
      "autocomplete-python",
      "autocomplete-ruby",
      "copy-as-rtf",
      "css-edit-groups",
      "css-to-inline",
      "ex-mode",
      "fonts",
      "git-control",
      "line-diff-details",
      "pdf-view",
      "react",
      "ruby-bundler"
    ],
    "projectHome": "/Users/ram/work/projects",
    "themes": [
      "native-ui",
      "base16-tomorrow-dark-theme"
    ]
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.5.1
aligner, v0.22.0
aligner-ruby, v1.4.0
atom-everydayrails-rspec, v0.4.0
atom-markdown-katex, v0.5.6
auto-indent, v0.5.0
autoclose-html, v0.23.0
autocomplete-html-entities, v0.1.0
autocomplete-json, v1.9.1
coffee-compile, v0.21.1
color-picker, v2.1.1
cucumber, v0.5.0
cucumber-autocomplete, v0.6.3
emmet, v2.4.3
file-icons, v1.7.8
formatter-coffeescript, v0.1.1
git-diff-details, v1.3.0
go-to-view, v0.3.0
javascript-snippets, v1.2.1
jsformat, v0.9.3
jshint, v1.8.5
language-javascript-semantic, v0.2.1
linter, v1.11.4
linter-coffeescript, v1.0.0
linter-jshint, v2.1.0
markdown-table-formatter, v2.8.3
merge-conflicts, v1.4.2
native-ui, v0.17.0
pigments, v0.26.0
project-manager, v2.9.7
rails-i18n, v0.1.3
rails-i18n-autocomplete, v0.3.0
ruby-block, v0.3.5
ruby-block-converter, v3.5.0
ruby-syntax-replacer, v0.5.1
ruby-test-switcher, v1.2.1
tab-numbers, v0.3.0
trailing-spaces, v0.3.2

# Dev
No dev packages

Killing atom's performances in a specific case

Hi,

Prerequisites

Description

When I work with projects, I usually have 1 .git folder, in which I may have 2 or 3 main folders. I use 1 atom window per folder. In this case, when this extension is enabled, the 1st window becomes horribly slow.

Steps to Reproduce

  1. Have a project git in a folder I will name root with 2 folders, root/folder1 and root/folder2.
  2. cd root/folder1 && atom . -> you can use it, atom is normal
  3. cd root/folder2 && atom . -> if the other atom window is still opened, she became horribly slow.
  4. Your window root/folder2 must have 0 files opened, in order that this plugin show the messages.

Expected behavior: [What you expect to happen]

Atom shouldn't be slown.

Actual behavior: [What actually happens]

Atom first window is slown at a point that it is not usable.

Reproduces how often: [What percentage of the time does it reproduce?]

100%.

If I disable this package, I do not have any problem. If i re-enable it, I do have those problems.

Versions

Atom    : 1.23.3
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0

Additional Information

The project on which I do have there problems has about 450 PHP files (45M) in the root/folder1, and the 2nd folder is a Symfony3 application with easily 100-200 php classes. The .git repository's size is 46Mo. The bug may happen when each folder has enough files.

I restarted from an empty .atom, disabled all the core packages, and re-enabled then 1 per 1 in order to figure out which package cause the bug. This is systematic, each time the package is re-enabled, window root/folder1 is slown down alot, and when disabled, atom is super-fast as it should always be.

It doesn't affect only file edition, when in the settings view, the scroll is 'blocked' during 2-3 secs each 7-8 secs. I had the same kind of lags when the window state of my atom was corrupted.

split-right command splits on smaller windows

Very minor. Since the command (โŒ˜K โ†’) has a space in it, the span is wrapping to the next line. The space could be replaced with a non-breaking space when the view renders it.

split-right

Light background color

It would be much more visually appealing if the background color for the tips was light when the editor is set to a light theme.

screen shot

Background tips simply did not turn off.

I had to open the inspector and disable the background pane. This happened when another extension (vim-mode) had some error in the console.

Now I know that this isn't a direct bug with background-tips but whenever I enabled vim-mode background-tips would misbehave...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.