GithubHelp home page GithubHelp logo

francodacosta / atom-function-name-status-bar Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 208 KB

shows the name of the function you are working on the status bar

License: MIT License

CoffeeScript 51.06% CSS 5.44% PHP 43.49%

atom-function-name-status-bar's People

Contributors

francodacosta avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

alesf

atom-function-name-status-bar's Issues

Package.getStylesheetsPath is deprecated.

Store package style sheets in the styles/ directory instead of stylesheets/ in the function-name-in-status-bar package

Package.getStylesheetsPath (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:460:9)
Package.getStylesheetPaths (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:471:32)
Package.loadStylesheets (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:453:38)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:19)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:177:12)

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (C:\Users\Ruvian Fabrin\AppData\Local\atom\app-0.187.0\resources\app\src\atom.js:54:11)
Object.updateStatus (C:\Users\Ruvian Fabrin\.atom\packages\function-name-in-status-bar\lib\function-name-status-bar.coffee:37:15)

Unable to disable

Hello,

Atom crash when disable the package. The error:

SyntaxError: Unexpected end of input
    at Object.parse (native)
    at window.onload (file:///opt/atom/resources/app/static/index.js:6:29) index.js:29
window.onload index.js:29

Ubuntu 14.04
Atom 0.108

Edit: it may be necessary to add the method unserialize () to your package

Deprecated Atom APIs will be removed June 1st

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.2.6) of this package:

  1. atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.
  2. Store package style sheets in the styles/ directory instead of stylesheets/ in the <pack-name> package
  3. Use Workspace::onDidAddTextEditor instead
  4. Call ::getActiveTextEditor instead
  5. Use TextEditor::getLastCursor() instead

Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.

If this package has been replaced by another package or functionality in core, please reply with this information.

See atom/atom#6867 for more info. Thanks!

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app.asar/src/atom.js:57:13)
Object.activate (/Users//.atom/packages/function-name-in-status-bar/lib/function-name-status-bar.coffee:10:11)
Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:238:19)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:219:30)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:211:14)

Failed to activate the function-name-in-status-bar package

I opened up a single bash file from my download folder via the right click menu.


Atom Version: 0.194.0 ⚠️ in 1.0 API Preview Mode ⚠️
System: Mac OS X 10.10.3
Thrown From: function-name-in-status-bar package, v0.2.6

Stack Trace

Failed to activate the function-name-in-status-bar package

At Cannot read property 'eachEditorView' of undefined

TypeError: Cannot read property 'eachEditorView' of undefined
    at Object.module.exports.activate (/Users/Samuel/.atom/packages/function-name-in-status-bar/lib/function-name-status-bar.coffee:14:32)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:222:19)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:203:30
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:15)
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:195:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:434:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:418:29
    at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:311:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:413:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:394:46)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "metrics",
      "archive-view",
      "dev-live-reload",
      "exception-reporting",
      "feedback",
      "link",
      "linter-phpcs",
      "editorconfig",
      "git-blame"
    ],
    "themes": [
      "one-dark-ui",
      "github-2014"
    ],
    "projectHome": "/Users/Samuel/Repositories",
    "audioBeep": false
  }
}

Installed Packages

# User
autocomplete-plus, v2.12.0
behat-atom, v0.1.2
file-icons, v1.5.4
function-name-in-status-bar, v0.2.6
github-2014, v3.0.1
language-docker, v1.1.3
language-rust, v0.4.3
linter, v0.12.1
linter-flake8, v1.4.0
linter-jshint, v0.1.2
linter-jsonlint, v0.1.2
linter-php, v0.0.12
linter-rust, v0.0.10
minimap, v4.7.6
php-twig, v3.0.0
trailing-spaces, v0.2.5
travis-ci-status, v0.13.0

# Dev
No dev packages

on is deprecated.

Use Workspace::onDidAddTextEditor instead

on (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-view.js:240:15)
WorkspaceView.eachEditorView (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-view.js:102:12)
Object.activate (/Users//.atom/packages/function-name-in-status-bar/lib/function-name-status-bar.coffee:10:25)
Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:238:19)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:219:30)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/usr/share/atom/resources/app/src/atom.js:54:11)
Object.activate (/home/phnx/.atom/packages/function-name-in-status-bar/lib/function-name-status-bar.coffee:10:11)

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.