francodacosta / atom-function-name-status-bar Goto Github PK
View Code? Open in Web Editor NEWshows the name of the function you are working on the status bar
License: MIT License
shows the name of the function you are working on the status bar
License: MIT License
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.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)
In keymaps\php-function-name.cson: Use the atom-workspace
tag instead of the workspace
class.
In keymaps/php-function-name.cson: Use the atom-workspace
tag instead of the workspace
class.
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
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:
atom.views.getView(atom.workspace)
, which returns an HTMLElement.styles/
directory instead of stylesheets/
in the <pack-name>
packageVisit 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!
Hi,
After I installed the package it keeps giving me this error at
.atom/packages/function-name-in-status-bar/lib/function-name-status-bar.coffee:15
Any ideas?
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)
I opened up a single bash file from my download folder via the right click menu.
Atom Version: 0.194.0
System: Mac OS X 10.10.3
Thrown From: function-name-in-status-bar package, v0.2.6
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)
{
"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
}
}
# 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
In keymaps/php-function-name.cson: Use the atom-workspace
tag instead of the workspace
class.
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.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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.