This page intentionally left blank
atom-covalent's Introduction
atom-covalent's People
atom-covalent's Issues
loadFile is deprecated.
Use the 'use babel' pragma instead of 'use 6to5'
loadFile (C:\Users\Mark\AppData\Local\atom\app-1.0.0\resources\app.asar\src\babel.js:161:5)
<unknown> (C:\Users\Mark\.atom\packages\covalent\lib\helpers\toDom.js:1:1)
Replace 'use 6to5' with 'use babel'
Hi @numso; thanks for building and maintaining this package!
In the next Atom release (1.0.8) support for the 'use 6to5'
directive is going to be dropped, in favor of 'use babel'
(or alternatively /** @babel */
). When you get a chance, please switch your code to use the new directives and publish a new version of your package!
Changes to TextEditor.onDidChange and TextBuffer.onDidChange coming in Atom 1.23
Hi! Thanks for maintaining the covalent package!
In Atom v1.23, we will some changes that may affect your package.
The methods TextEditor.onDidChange
and TextBuffer.onDidChange
will now call their callbacks less frequently. Previously, these callbacks would get called once for each individual change to the buffer. So if you had 5 cursors and typed a character, they would get called 5 times. Now, they will only get called once, and the event that is passed to them will contain information about all 5 of the changes that have occurred.
The same properties that have always existed on the TextBuffer.onDidChange
events (oldRange
, newRange
, oldText
, and newText
) will still be there, and they will now reflect the sum of all changes that have occurred. But now there will be an additional property called changes
, which will contain an array of more fine-grained objects describing the individual changes. We encourage you to use this property instead of the old ones.
Effects on this package
It looks like this package calls the changed methods in the following places:
TextBuffer.onDidChange
We found these calls using a regex search, so this list might be incomplete, and it might contain some false positives.
What to do about the change
It is likely that you do not need to do anything. The old event properties will continue to work.
However, you may be able to handle changes more accurately and efficiently by using the changes
field of the events rather than the old properties. The changes
field does not exist in Atom 1.22 unless you use the TextBuffer.onDidChangeText
method. In Atom 1.23 and above though, .onDidChange
and .onDidChangeText
will become identical, having both the old properties and the new changes
property.
Please let me know if you have any questions. I would be happy to help!
Failed to load the covalent package
[Enter steps to reproduce below:]
- ...
- ...
Atom Version: 0.187.0
System: linux 3.18.9-1-MANJARO
Thrown From: covalent package, v0.1.3
Stack Trace
Failed to load the covalent package
At Cannot find module '../helpers/toDom'
Error: Cannot find module '../helpers/toDom'
at Module._resolveFilename (module.js:351:15)
at Function.Module._resolveFilename (/usr/share/atom/resources/app/src/module-cache.js:383:52)
at Function.Module._load (module.js:293:25)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/achim/.atom/packages/covalent/lib/atom-patches/foreign-cursor.js:3:13)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:166:19)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/achim/.atom/packages/covalent/lib/firepad-patches/foreign-manager.js:5:25)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:166:19)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/achim/.atom/packages/covalent/lib/firepad-patches/atom-adapter.js:9:22)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:166:19)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at /home/achim/.atom/packages/covalent/lib/firepad-patches/firepad.js:2644:41
at Object.<anonymous> (/home/achim/.atom/packages/covalent/lib/firepad-patches/firepad.js:5512:27)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:162:21)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/achim/.atom/packages/covalent/lib/shared-editor.js:4:15)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:166:19)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/achim/.atom/packages/covalent/lib/covalent.js:8:26)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:166:19)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/achim/.atom/packages/covalent/index.js:1:80)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/babel.js:162:21)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app/src/package.js:672:34)
at /usr/share/atom/resources/app/src/package.js:189:28
at Package.module.exports.Package.measure (/usr/share/atom/resources/app/src/package.js:167:15)
at Package.module.exports.Package.load (/usr/share/atom/resources/app/src/package.js:181:12)
at PackageManager.module.exports.PackageManager.loadPackage (/usr/share/atom/resources/app/src/package-manager.js:383:14)
at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app/src/package-manager.js:464:30)
at /usr/share/atom/resources/app/node_modules/settings-view/lib/package-manager.js:268:29
at exit (/usr/share/atom/resources/app/node_modules/settings-view/lib/package-manager.js:43:16)
at BufferedProcess.triggerExitCallback (/usr/share/atom/resources/app/src/buffered-process.js:63:47)
at /usr/share/atom/resources/app/src/buffered-process.js:70:18
at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:150:18)
at Socket.emit (events.js:138:20)
at Pipe.close (net.js:477:12)
Commands
-0:46.2 core:backspace (atom-text-editor.editor.mini.is-focused)
3x -0:42.6 core:confirm (atom-text-editor.editor.mini.is-focused)
Config
{
"core": {
"themes": [
"atom-dark-ui",
"solarized-dark-syntax"
]
}
}
Installed Packages
# User
covalent, v0.1.3
linter, v0.12.0
minimap, v4.6.0
# Dev
No dev packages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.