Code Monkey home page Code Monkey logo

ide-haskell-hasktags's People

Contributors

dplusic avatar lierdakil avatar mb21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jellyr mb21

ide-haskell-hasktags's Issues

High CPU usage

The plugin mostly works on my MacBook (OS X 10.11), but an Atom Helper process sucks a lot of system time. I tied it to ide-haskell-hasktags by disabling it.

Sorry for not providing more information for reproduction, I'll maybe add something later.

Uncaught TypeError: target.getModel is not a function

[Enter steps to reproduce below:]

  1. Open Haskell file (hs file)
  2. Ensure the module type checks
  3. Highlight a type (defined within the same module)
  4. Right click and click 'Go to Declaration'

Atom Version: 1.13.1
Electron Version: 1.3.13
System: Mac OS X 10.11.6
Thrown From: ide-haskell-hasktags package, v0.0.7

Stack Trace

Uncaught TypeError: target.getModel is not a function

At $HOME/.atom/packages/ide-haskell-hasktags/lib/ide-haskell-hasktags.coffee:68

TypeError: target.getModel is not a function
    at atom-text-editor.upidisp.add.atom.commands.add.ide-haskell-hasktags:go-to-declaration ($HOME/.atom/packages/ide-haskell-hasktags/lib/ide-haskell-hasktags.coffee:68:25)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1181:28)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:332:25)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -3:02.9.0 core:save (input.hidden-input)
     -2:41.4.0 core:copy (input.hidden-input)
     -2:39.6.0 core:paste (input.hidden-input)
     -2:38.8.0 core:save (input.hidden-input)
     -2:36.9.0 core:move-right (input.hidden-input)
     -2:36.6.0 core:move-down (input.hidden-input)
     -2:36.3.0 core:move-up (input.hidden-input)
  2x -2:36.1.0 core:select-down (input.hidden-input)
  2x -2:35.6.0 core:backspace (input.hidden-input)
     -2:34.7.0 core:save (input.hidden-input)
     -2:20.4.0 ide-haskell-cabal:build (input.hidden-input)
     -2:10.4.0 ide-haskell-cabal:clean (input.hidden-input)
     -2:06.3.0 ide-haskell:toggle-output (input.hidden-input)
     -1:53.3.0 ide-haskell-cabal:build (input.hidden-input)
     -0:04.8.0 haskell-ghc-mod:go-to-declaration (div.scroll-view)
     -0:00.1.0 ide-haskell-hasktags:go-to-declaration (div.scroll-view)

Config

{
  "core": {
    "allowPendingPaneItems": false,
    "audioBeep": false,
    "closeEmptyWindows": false,
    "projectHome": "$HOME/project",
    "telemetryConsent": "limited"
  }
}

Installed Packages

# User
agda-mode, v0.6.10 (inactive)
atom-cobol, v0.3.0 (active)
autocomplete-haskell, v0.7.1 (active)
haskell-ghc-mod, v1.19.6 (active)
ide-haskell, v1.9.1 (active)
ide-haskell-cabal, v1.7.4 (active)
ide-haskell-hasktags, v0.0.7 (active)
language-agda, v0.2.3 (active)
language-coq, v0.1.0 (active)
language-cspm, v1.1.0 (active)
language-docker, v1.1.7 (active)
language-groovy, v0.6.0 (active)
language-haskell, v1.10.4 (active)
language-maude, v0.3.0 (active)
linter, v1.11.21 (active)
linter-cspm, v1.3.0 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (active)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (active)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (active)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.3 (active)
metrics, v1.1.3 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

Ability to "Go to Declaration" for project dependencies

Hi,

Hasktags seems to only generate tags for internal modules and not for my external dependencies...
Is it possible to "Go to Declaration" in atom for external dependencies and see the code source ?

P:S : I found Haskdogs that seems to generate these tags into a tag file (root directory) but your plugin doesn't seem to read this file...

Thank you.

Very slow in large projects

If I open a .hs file in a large repository, the editor will slow down greatly.
Perhaps the search should be localized to the cabal file?

Uncaught Error: watch $ATOM_HOME/packages ENOSPC

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.1 x64
Electron: 1.6.15
OS: Linux Mint
Thrown From: ide-haskell-hasktags package 0.0.12

Stack Trace

Uncaught Error: watch /home/prithvi/.atom/packages ENOSPC

At events.js:160

Error: watch /home/prithvi/.atom/packages ENOSPC
    at exports._errnoException (util.js:1022:11)
    at FSWatcher.start (fs.js:1316:19)
    at Object.fs.watch (fs.js:1341:11)
    at createFsWatchInstance (/packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:80:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at /packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at /packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:112:15)

Commands

     -0:43.2.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -0:39.9.0 core:backspace (input.hidden-input)
     -0:38.7.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -0:35.3.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.6 
atom-haskell 0.4.0 
autocomplete-haskell 1.0.1 
busy-signal 1.4.3 
haskell-ghc-mod 2.1.3 
haskell-pointfree 0.2.0 
haskell-scry 1.0.7 
hasklig 0.4.0 
ide-haskell 2.2.0 
ide-haskell-cabal 2.0.4 
ide-haskell-hasktags 0.0.12 
ide-haskell-hoogle 0.1.2 
ide-haskell-repl 0.7.4 
intentions 1.1.5 
language-haskell 1.14.3 
language-haskell-scoped 0.1.0 
linter 2.2.0 
linter-ui-default 1.6.10 

auto update tags on save of files?

I discussed this a long while back at https://discuss.atom.io/t/how-to-automatically-update-tags-file-upon-saving/20666/14

Is that related to what this ide-haskell-hasktags is for?

Incidentally, I had already been using hasktags with this command: git ls-tree -r HEAD --name-only | grep -E '*.hs' | xargs hasktags -x -c --ignore-close-implementation to look only at stuff that git is tracking

Using hasktags that way already works in Atom just fine, it just doesn't generate in atom, so it has to be run manually. However, this auto-updates with hasktags whenever git changes branches:

        cat >> .git/hooks/post-checkout <<EOF
        git ls-tree -r HEAD --name-only | grep -E '*.hs' | xargs hasktags -x -c --ignore-close-implementation
        EOF
        chmod u+x .git/hooks/post-checkout

and https://github.com/aloiscochard/codex is interesting too…

Perhaps I'm just confused because of lack of clear docs here, but I hope these references are helpful.

No Tags Showing

First time I have used this for 6 months.
No elements showing in search box when searching file or project.

  • Windows 10
  • Atom 1.23.3 x64
  • ide hasktags 0.0.13
  • builder stack

Failed to activate the ide-haskell-hasktags package

Don't really know where this is coming from, I get this when opening a newly created cabal file (created by stack new).

Atom Version: 1.4.3
System: linux 4.3.3-3-ARCH
Thrown From: ide-haskell-hasktags package, v0.0.1

Stack Trace

Failed to activate the ide-haskell-hasktags package

At Cannot find module 'regex-cache'

Error: Cannot find module 'regex-cache'
    at Module._resolveFilename (module.js:336:15)
    at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/lib/utils.js:23:15)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/lib/expand.js:10:13)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/index.js:10:14)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/node_modules/anymatch/index.js:4:18)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/index.js:6:16)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/lib/tags.coffee:4:12)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/lib/tags.coffee:1:1)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/lib/ide-haskell-hasktags.coffee:2:8)
    at Object.<anonymous> (/home/jplatte/.atom/packages/ide-haskell-hasktags/lib/ide-haskell-hasktags.coffee:1:1)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app.asar/src/package.js:722:27)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:173:16)
    at /usr/share/atom/resources/app.asar/src/package.js:848:28
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at PackageManager.module.exports.PackageManager.triggerActivationHook (/usr/share/atom/resources/app.asar/src/package-manager.js:559:43)
    at TokenizedBuffer.module.exports.TokenizedBuffer.setGrammar (/usr/share/atom/resources/app.asar/src/tokenized-buffer.js:186:27)
    at TokenizedBuffer.module.exports.TokenizedBuffer.reloadGrammar (/usr/share/atom/resources/app.asar/src/tokenized-buffer.js:197:21)
    at new TokenizedBuffer (/usr/share/atom/resources/app.asar/src/tokenized-buffer.js:82:12)
    at new DisplayBuffer (/usr/share/atom/resources/app.asar/src/display-buffer.js:91:32)
    at new TextEditor (/usr/share/atom/resources/app.asar/src/text-editor.js:121:30)
    at Workspace.module.exports.Workspace.buildTextEditor (/usr/share/atom/resources/app.asar/src/workspace.js:587:14)
    at /usr/share/atom/resources/app.asar/src/workspace.js:563:24
    at process._tickCallback (node.js:368:9)

Commands

     -2:59.2.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-seti-syntax.theme-seti-ui)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "linter-pep8"
    ],
    "themes": [
      "seti-ui",
      "seti-syntax"
    ]
  }
}

Installed Packages

# User
autocomplete-cmake, v0.3.1
editorconfig, v1.2.4
haskell-ghc-mod, v1.6.6
ide-haskell, v1.3.9
ide-haskell-cabal, v1.0.0
ide-haskell-hasktags, v0.0.1
ide-haskell-repl, v0.0.17
language-autotools, v2.0.1
language-cmake, v0.1.4
language-haskell, v1.5.2
language-nginx, v0.6.1
language-rust, v0.4.5
linter, v1.11.3
linter-rust, v0.3.0
seti-icons, v0.4.5
seti-syntax, v0.4.1
seti-ui, v0.8.1
svg-preview, v0.7.3

# Dev
No dev packages

Uncaught Error: spawn EACCES

[Enter steps to reproduce below:]

  1. save .hs file

Atom Version: 1.5.3
System: Mac OS X 10.11
Thrown From: ide-haskell-hasktags package, v0.0.1

Stack Trace

Uncaught Error: spawn EACCES

At /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:260

Error: spawn EACCES
    at exports._errnoException (util.js:837:11)
    at ChildProcess.spawn (internal/child_process.js:298:11)
    at Object.exports.spawn (child_process.js:351:9)
    at BufferedProcess.module.exports.BufferedProcess.spawn (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:188:44)
    at new BufferedProcess (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:52:14)
    at Tags.module.exports.Tags.update (/Users/edoardo/.atom/packages/ide-haskell-hasktags/lib/tags.coffee:37:9)
    at FSWatcher.<anonymous> (/Users/edoardo/.atom/packages/ide-haskell-hasktags/lib/tags.coffee:24:10)
    at emitTwo (events.js:87:13)
    at FSWatcher.emit (events.js:172:7)
    at FSWatcher.<anonymous> (/Users/edoardo/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/index.js:171:15)
    at FSWatcher._emit (/Users/edoardo/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/index.js:212:5)
    at FSWatcher.<anonymous> (/Users/edoardo/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:268:12)
    at /Users/edoardo/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:176:13
    at Array.forEach (native)
    at StatWatcher.<anonymous> (/Users/edoardo/.atom/packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:175:31)
    at emitTwo (events.js:87:13)
    at StatWatcher.emit (events.js:172:7)
    at StatWatcher._handle.onchange (fs.js:1301:10)

Commands

     -0:02.5.0 pane:show-previous-item (div.panels-item)
     -0:01.9.0 core:select-all (atom-text-editor.editor.is-focused)
     -0:00.8.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {},
  "ide-haskell-hasktags": {
    "hasktagsPath": "/Users/edoardo/Library/Haskell/bin"
  }
}

Installed Packages

# User
autocomplete-haskell, v0.6.2
coffee-compile, v0.21.1
coffee-navigator, v0.0.18
formatter-coffeescript, v0.1.1
haskell-ghc-mod, v1.6.6
ide-haskell, v1.3.9
ide-haskell-cabal, v1.0.0
ide-haskell-hasktags, v0.0.1
ide-haskell-repl, v0.0.17
language-haskell, v1.5.2
linter, v1.11.3
linter-coffee-variables, v0.4.2
linter-coffeescript, v1.0.0
terminal-plus, v0.14.5

# Dev
No dev packages

Uncaught TypeError: editor.getURI is not a function

[Enter steps to reproduce below:]

  1. Bring up symbol view
  2. Click on a symbol to attempt to jump to that symbol

Atom Version: 1.13.1
Electron Version: 1.3.13
System: Mac OS X 10.12.3
Thrown From: ide-haskell-hasktags package, v0.0.8

Stack Trace

Uncaught TypeError: editor.getURI is not a function

At /Users/e/.atom/packages/ide-haskell-hasktags/lib/ide-haskell-hasktags.coffee:19

TypeError: editor.getURI is not a function
    at Object.open (/Users/e/.atom/packages/ide-haskell-hasktags/lib/ide-haskell-hasktags.coffee:19:19)
    at TagsListView.onConfirmed (/Users/e/.atom/packages/ide-haskell-hasktags/lib/ide-haskell-hasktags.coffee:15:8)
    at TagsListView.module.exports.TagsListView.confirmed (/Users/e/.atom/packages/ide-haskell-hasktags/lib/tags-list-view.coffee:39:6)
    at TagsListView.module.exports.SelectListView.confirmSelection (/Users/e/.atom/packages/ide-haskell-hasktags/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Users/e/.atom/packages/ide-haskell-hasktags/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:587:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:382:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)

Commands

  5x -3:52.6.0 core:backspace (input.hidden-input)
     -3:51.6.0 editor:consolidate-selections (input.hidden-input)
     -3:51.6.0 core:cancel (input.hidden-input)
     -2:45.9.0 symbols-view:toggle-project-symbols (input.hidden-input)
     -2:44.8.0 editor:consolidate-selections (input.hidden-input)
     -2:44.8.0 core:cancel (input.hidden-input)
     -2:27.5.0 symbols-view:toggle-project-symbols (input.hidden-input)
 14x -2:21.7.0 core:backspace (input.hidden-input)
     -2:15.2.0 editor:consolidate-selections (input.hidden-input)
     -2:15.2.0 core:cancel (input.hidden-input)
     -2:12.5.0 settings-view:open (input.hidden-input)
     -2:05.2.0 tree-view:toggle (input.hidden-input)
     -2:01.6.0 core:confirm (input.hidden-input)
     -0:23.6.0 core:paste (input.hidden-input)
     -0:09.6.0 ide-haskell-hasktags:show-tags (input.hidden-input)
     -0:00.1.0 core:confirm (input.hidden-input)

Config

{
  "core": {
    "audioBeep": false,
    "disabledPackages": [
      "spell-check",
      "cabal",
      "haskell-ghc-mod"
    ],
    "telemetryConsent": "limited",
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  },
  "ide-haskell-hasktags": {
    "hasktagsPath": "/Users/e/opt/util/.cabal-sandbox/bin/hasktags\n"
  }
}

Installed Packages

# User
autocomplete-haskell, v0.7.1 (active)
haskell-ghc-mod, v1.19.6 (inactive)
ide-haskell, v1.9.2 (active)
ide-haskell-cabal, v1.7.5 (active)
ide-haskell-hasktags, v0.0.8 (active)
indent-helper, v0.2.0 (inactive)
language-diff, v0.7.0 (active)
language-haskell, v1.12.1 (active)
merge-conflicts, v1.4.4 (active)
pipe, v0.4.0 (inactive)
sort-lines, v0.14.0 (inactive)
atom-dark-syntax, v0.28.0 (active)
atom-dark-ui, v0.53.0 (active)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (inactive)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.3 (active)
metrics, v1.1.3 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (inactive)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (active)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

Uncaught TypeError: Cannot read property 'setEncoding' of undefined

Steps to reproduce: no idea. I had a somewhat broken compilation cache (see atom-haskell-archive/haskell-ghc-mod#212) and I was issuing commands like stack clean. After I switched back to the Atom window, I had this error.

Atom: 1.16.0 x64
Electron: 1.4.15
OS: "Manjaro Linux"
Thrown From: ide-haskell-hasktags package 0.0.10

Stack Trace

Uncaught TypeError: Cannot read property 'setEncoding' of undefined

At /usr/lib/atom/src/buffered-process.js:184

TypeError: Cannot read property 'setEncoding' of undefined
    at BufferedProcess.bufferStream (/usr/lib/atom/src/buffered-process.js:184:13)
    at BufferedProcess.handleEvents (/usr/lib/atom/src/buffered-process.js:333:14)
    at BufferedProcess.start (/usr/lib/atom/src/buffered-process.js:113:12)
    at new BufferedProcess (/usr/lib/atom/src/buffered-process.js:96:12)
    at Tags.module.exports.Tags.update (/packages/ide-haskell-hasktags/lib/tags.coffee:64:9)
    at /packages/ide-haskell-hasktags/lib/tags.coffee:47:8)
    at emitTwo (events.js:106:13)
    at FSWatcher.emit (events.js:191:7)
    at /packages/ide-haskell-hasktags/node_modules/chokidar/index.js:191:15)
    at FSWatcher._emit (/packages/ide-haskell-hasktags/node_modules/chokidar/index.js:233:5)
    at FSWatcher.NodeFsHandler._handleFile (/packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:275:10)
    at /packages/ide-haskell-hasktags/node_modules/chokidar/lib/nodefs-handler.js:473:21)
    at FSReqWrap.oncomplete (fs.js:123:15)

Commands

Non-Core Packages

atom-fuzzy-grep 0.16.0 
autocomplete-haskell 0.7.2 
custom-title 1.0.1 
haskell-ghc-mod 1.19.9 
ide-haskell 1.9.6 
ide-haskell-hasktags 0.0.10 
language-haskell 1.12.1 
minimap 4.28.2 

Duplicate entries in the context menu

image

There are two "go to declaration" entries in the context menu. The top one is presumably Atom's native one (and it doesn't work in Haskell projects); the bottom one comes from this plugin (and it works). Is there any way to merge them?

No items are displayed

So I've been using this package previously and it simply worked and now it doesn't.

I don't know what changed and when in stopped working but when do Show Tags it just says "No matches found". Is there some debug output that I can give you? I don't see anything related to hasktags in the developer console.

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.