lukehoban / atom-ide-flow

Atom IDE support for Flow
MIT License
87 stars 17 forks source link

Workspace.getActiveEditor is deprecated. #36

Closed bfleischhacker closed 9 years ago

bfleischhacker commented 9 years ago

Call ::getActiveTextEditor instead

Workspace.getActiveEditor (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:1022:12)
PluginManager.gotoDefinition (/Users/b.fleischhacker/.atom/packages/ide-flow/lib/plugin-manager.coffee:23:28)
atom-workspace.<anonymous> (/Users/b.fleischhacker/.atom/packages/ide-flow/lib/ide-flow.coffee:15:23)
CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
lukehoban commented 9 years ago

This should be fixed in 0.8.0 with a36b3a1286986ac86da683c97d1974e87d42e666.