mscottblake / select-line Goto Github PK
View Code? Open in Web Editor NEWAtom package - Select a line by clicking the line number.
License: MIT License
Atom package - Select a line by clicking the line number.
License: MIT License
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\...\AppData\Local\atom\app-0.174.0\resources\app\src\atom.js:55:11)
Object.activate (c:\Users\...\.atom\packages\select-line\lib\select-line.coffee:3:9)
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/tools/Atom.app/Contents/Resources/app.asar/src/package.js:806:9)
Package.hasActivationCommands (/Applications/tools/Atom.app/Contents/Resources/app.asar/src/package.js:731:20)
<unknown> (/Applications/tools/Atom.app/Contents/Resources/app.asar/src/package.js:185:24)
Package.measure (/Applications/tools/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.load (/Applications/tools/Atom.app/Contents/Resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/Applications/tools/Atom.app/Contents/Resources/app.asar/src/package-manager.js:372:14)
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:806:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:731:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:185:24)
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)
PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:371:14)
Atom Version: 0.210.0
System: Mac OS X 10.10.3
Thrown From: select-line package, v0.16.0
Failed to activate the select-line package
At Cannot read property 'command' of undefined
TypeError: Cannot read property 'command' of undefined
at Object.module.exports.activate (/Users/paulbhartzog/.atom/packages/select-line/lib/select-line.coffee:3:23)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:772:25
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:219:20)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
-0:00.7.0 click (div.header.list-item)
{
"core": {
"followSymlinks": true,
"disabledPackages": [
"tree-view-open-files",
"save-session"
],
"themes": [
"atom-light-ui",
"atom-light-syntax"
]
}
}
# User
angularjs, v0.3.0
angularjs-snippets, v0.10.2
angularjs-styleguide-snippets, v0.7.0
docblockr, v0.7.2
file-icons, v1.5.7
javascript-snippets, v1.0.0
jshint, v1.3.7
linter-csslint, v0.0.13
linter-jsonlint, v0.1.4
linter-scss-lint, v1.0.4
minimap, v4.9.4
project-manager, v1.15.8
select-line, v0.16.0
tabs-to-spaces, v0.11.0
trailing-spaces, v0.3.0
tree-ignore, v0.2.6
# Dev
No dev packages
Any suggestions?
Atom Version: 0.209.0
System: Mac OS X 10.10.3
Thrown From: select-line package, v0.16.0
Failed to activate the select-line package
At Cannot read property 'command' of undefined
TypeError: Cannot read property 'command' of undefined
at Object.module.exports.activate (/Users/dmccall/.atom/packages/select-line/lib/select-line.coffee:3:23)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:772:25
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:219:20)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
-0:00.8.0 click (div.close.icon.icon-x)
{
"core": {
"ignoredNames": [
".git",
".svn",
".DS_Store"
],
"themes": [
"proton",
"monokai"
],
"projectHome": "/Users/dmccall/Desktop/tap-vagrant/tap"
}
}
# User
auto-detect-indentation, v0.4.2
auto-update-packages, v1.0.0
autocomplete-paths, v1.0.2
docblockr, v0.7.2
file-type-icons, v0.7.0
git-log, v0.4.1
go-format, v1.0.7
highlight-selected, v0.10.0
indent-guide-improved, v1.3.0
jshint, v1.3.7
language-docker, v1.1.3
language-dockerfile, v0.1.0
language-elixir, v0.5.1
language-fish-shell, v1.0.2
language-jade, v0.4.0
language-javascript-better, v1.5.0
language-nimrod, v0.1.0
language-scala, v1.1.3
language-sln, v0.1.0
linter-scalac, v0.3.4
minimap, v4.10.0
minimap-selection, v4.2.0
monokai, v0.14.0
proton, v4.0.2
scala-format, v0.1.8
select-line, v0.16.0
tabular, v0.1.0
websequence-preview, v0.1.0
# Dev
No dev packages
I don't know if this is related to the recently deprecated functionality, but now when I click a line number, I don't get the entire line if it has been soft-wrapped. That is if line 1 is on 4 lines due to soft-wrapping, clicking 1 results in only the 1st of the 4 lines being selected.
Hi, this just started a couple of days ago, but now it is consistently happening. When I click on a line number, that line and also the following line get selected.
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.