bsnux / linter-python-pep8

Atom package for linting Python files on the fly using pep8 command
MIT License
8 stars 6 forks source link

Package.getActivationCommands is deprecated. #6

Closed HadrienG closed 6 years ago

HadrienG commented 9 years ago

Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows:

  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }
Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:790:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:715:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:169:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:15)
X-G commented 9 years ago

+1

SerjAntiquity commented 9 years ago

+1

shantanoo commented 9 years ago

+1

dariemp commented 9 years ago

Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows: "activationCommands": { "atom-workspace": ["foo:bar", "foo:baz"], "atom-text-editor": ["foo:quux"] }