Code Monkey home page Code Monkey logo

atom-autocomplete-ctags's Introduction

autocomplete-ctags package

Autocomplete-plus provider for ctags Build Status

Gyazo

Features

  • If your project has a tags/.tags/TAGS/.TAGS file at the root then autocomplete are supported.
  • coexist with symbols-view package
  • support multiple root folders.
  • Snippet generator for ctags.
  • fuzzy matching.

Settings

  • minimumPrefixLength (default: 3)
  • caseInsensitive (default: true)
  • useSnippers (default: true)
  • useFuzzy: executed only if there is no suggestions (default: true)
  • maximumTagFileSize: Maximum tag file size(in MB). This setting is used in fuzzy search. (default: 2)
  • disableBuiltinProvider (default: false)

Todo

  • fuzzy matching
  • Add language snippers. (pull requests welcome!)

atom-autocomplete-ctags's People

Contributors

aki77 avatar ltran avatar lzap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

atom-autocomplete-ctags's Issues

Failed to activate the autocomplete-ctags package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.4.2
System: Mac OS X 10.11.3
Thrown From: autocomplete-ctags package, v0.4.0

Stack Trace

Failed to activate the autocomplete-ctags package

At Cannot find module 'underscore-plus'

Error: Cannot find module 'underscore-plus'
    at Module._resolveFilename (module.js:336:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/skytown/.atom/packages/autocomplete-ctags/lib/tags-file.coffee:1:5)
    at Object.<anonymous> (/Users/skytown/.atom/packages/autocomplete-ctags/lib/tags-file.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/skytown/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:3:12)
    at Object.<anonymous> (/Users/skytown/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/skytown/.atom/packages/autocomplete-ctags/lib/main.coffee:1:17)
    at Object.<anonymous> (/Users/skytown/.atom/packages/autocomplete-ctags/lib/main.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:722:27)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:173:16)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:524:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:505:29
    at Config.module.exports.Config.transactAsync (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:500:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:483:46)
    at AtomEnvironment.module.exports.AtomEnvironment.startEditorWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:688:21)
    at module.exports (/Applications/Atom.app/Contents/Resources/app.asar/src/initialize-application-window.js:28:10)
    at setupWindow (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:86:5)
    at window.onload (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:41:9)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "language-js-specs",
      "language-js-specs",
      "language-js-specs",
      "close-tags",
      "jsonlint",
      "linter-flow",
      "linter-haml",
      "linter-js-standard",
      "linter-scss-lint",
      "linter"
    ],
    "excludeVcsIgnoredPaths": false,
    "themes": [
      "flatland-dark-ui",
      "monokai"
    ]
  }
}

Installed Packages

# User
auto-indent, v0.5.0
autoclose-html, v0.20.0
autocomplete-ctags, v0.4.0
autocomplete-paths, v1.0.2
color-picker, v2.1.1
flatland-dark-ui, v0.2.4
indent-guide-improved, v1.4.5
javascript-snippets, v1.2.0
language-SCSS, v0.4.0
language-javascript-better, v1.7.1
language-javascript-jsx, v0.3.7
language-javascript-semantic, v0.2.1
monokai, v0.18.0
pigments, v0.23.0

# Dev
No dev packages

cannot install correctly

Atom version: 1.7.2

Here is the error output:

[email protected] install C:\Users\Geminii\AppData\Local\Temp\apm-install-dir-116320-4328-1d82gvr\node_modules\autocomplete-ctags\node_modules\pathwatcher\node_modules\runas
node-gyp rebuild
C:\Users\Geminii\AppData\Local\Temp\apm-install-dir-116320-4328-1d82gvr\node_modules\autocomplete-ctags\node_modules\pathwatcher\node_modules\runas>if not defined npm_config_node_gyp (node "D:\Green software\Atom\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
[email protected] install C:\Users\Geminii\AppData\Local\Temp\apm-install-dir-116320-4328-1d82gvr\node_modules\autocomplete-ctags\node_modules\ctags
node-gyp rebuild
C:\Users\Geminii\AppData\Local\Temp\apm-install-dir-116320-4328-1d82gvr\node_modules\autocomplete-ctags\node_modules\ctags>if not defined npm_config_node_gyp (node "D:\Green software\Atom\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gypgypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "D:\Green software\Atom\resources\app\apm\bin\node.exe" "D:\Green software\Atom\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "D:\Green software\Atom.atom.apm.apmrc" "--userconfig" "D:\Green software\Atom.atom.apmrc" "install" "C:\Users\Geminii\AppData\Local\Temp\d-116320-4328-1gqhfya\package.tgz" "--target=0.36.8" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ctags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls ctags
npm ERR! There is likely additional logging output above.

i am new to Atom editor, how should i do to correctly install from editor's Setting-install page.

Failed on Windows 8.1

I got this output:

Installing “[email protected]” failed.Hide output…

> [email protected] install C:\Users\Randy\AppData\Local\Temp\apm-install-dir-11572-4664-1kxu3rz\node_modules\autocomplete-ctags\node_modules\pathwatcher\node_modules\runas
> node-gyp rebuild


C:\Users\Randy\AppData\Local\Temp\apm-install-dir-11572-4664-1kxu3rz\node_modules\autocomplete-ctags\node_modules\pathwatcher\node_modules\runas>node "C:\Users\Randy\AppData\Local\atom\app-1.0.3\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild 

> [email protected] install C:\Users\Randy\AppData\Local\Temp\apm-install-dir-11572-4664-1kxu3rz\node_modules\autocomplete-ctags\node_modules\ctags
> node-gyp rebuild


C:\Users\Randy\AppData\Local\Temp\apm-install-dir-11572-4664-1kxu3rz\node_modules\autocomplete-ctags\node_modules\ctags>node "C:\Users\Randy\AppData\Local\atom\app-1.0.3\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild 

gypgypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\Randy\\AppData\\Local\\atom\\app-1.0.3\\resources\\app\\apm\\bin\\\\node.exe" "C:\\Users\\Randy\\AppData\\Local\\atom\\app-1.0.3\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\Randy\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\Randy\\.atom\\.apmrc" "install" "C:\\Users\\Randy\\AppData\\Local\\Temp\\d-11572-4664-1ktlntn\\package.tgz" "--target=0.22.0" "--arch=ia32"
npm ERR! node v0.10.35
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ctags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls ctags
npm ERR! There is likely additional logging output above.

Uncaught Error: Module did not self-register.

[Enter steps to reproduce below:]

  1. Be in the editor
  2. Type in stuff

Atom Version: 1.13.0
Electron Version: 1.3.13
System: Mac OS X 10.12
Thrown From: autocomplete-ctags package, v0.4.1
Language in editor: Ruby (Ruby on Rails)

Stack Trace

Error: Module did not self-register.
    at Error (native)
    at process.module.(anonymous function) (ELECTRON_ASAR.js:168:20)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:168:20)
    at Object.Module._extensions..node (module.js:583:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:182:18)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/ctags/lib/ctags.js:4:10)
    at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/ctags/lib/ctags.js:60:4)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at CtagsProvider.module.exports.CtagsProvider.findTags (/Users/casraf/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:78:14)
    at /Users/casraf/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:60:8
    at Array.map (native)
    at CtagsProvider.module.exports.CtagsProvider.getSuggestions (/Users/casraf/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:59:27)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:333:54
    at Array.forEach (native)
    at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:309:17)
    at AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:298:19)

CtagsProvider @kinds should be configurable by language

Hello,

ctags will output different kinds depending on language, so CtagsProvider kinds mapping should either be configurable by user (preferred) or support all output from ctags --list-kinds.

What do you think?
Thanks

Uncaught Error: Cannot find module '../build/Release/ctags.node'

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Unknown Windows version
Thrown From: autocomplete-ctags package 0.4.1

Stack Trace

Uncaught Error: Cannot find module '../build/Release/ctags.node'

At C:\Users\seth\AppData\Local\atom\app-1.15.0\resources\app.asar\src\module-cache.js:379

Error: Cannot find module '../build/Release/ctags.node'
    at Module._resolveFilename (module.js:455:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.15.0/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/atom-autocomplete-ctags/node_modules/ctags/lib/ctags.js:4:10)
    at /packages/atom-autocomplete-ctags/node_modules/ctags/lib/ctags.js:60:4)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at CtagsProvider.module.exports.CtagsProvider.findTags (/packages/atom-autocomplete-ctags/lib/ctags-provider.coffee:78:14)
    at /packages/atom-autocomplete-ctags/lib/ctags-provider.coffee:60:8
    at Array.map (native)
    at CtagsProvider.module.exports.CtagsProvider.getSuggestions (/packages/atom-autocomplete-ctags/lib/ctags-provider.coffee:59:27)
    at /app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:333:54
    at Array.forEach (native)
    at AutocompleteManager.getSuggestionsFromProviders (/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:309:17)
    at AutocompleteManager.findSuggestions (/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:298:19)

Commands

     -7:59.1.0 settings-view:open (input.hidden-input)
  8x -4:57.5.0 core:undo (input.hidden-input)
 17x -4:51.2.0 core:backspace (input.hidden-input)

Non-Core Packages

activate-power-mode 1.3.0 
autocomplete-ctags 0.4.1 
atom-autocomplete-php 0.22.0 
autoprefixer 3.6.1 
atom-beautify 0.29.17 
atom-ctags 5.0.0 
tree-view-git-status 1.3.1 
autocomplete-paths 1.0.5 
color-picker 2.2.5 
csscomb 0.3.1 
docblockr 0.9.1 
emmet 2.4.3 
file-icons 2.0.17 
git-log 0.4.1 
git-plus 7.3.3 
html-to-string 0.2.3 
merge-conflicts 1.4.4 
minimap 4.26.8 
project-manager 3.3.3 
tree-view-finder 0.2.1 

Unable to install on Atom 1.3.0-beta6

Hi.

I receive the following error when trying to install this plugin on Atom 1.3.0-beta6 (OS X 10.11):

> [email protected] install /private/var/folders/1_/j6pgbhz546g4t92sckw7215c0000gn/T/apm-install-dir-1151027-2236-b52gpr/node_modules/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild


> [email protected] install /private/var/folders/1_/j6pgbhz546g4t92sckw7215c0000gn/T/apm-install-dir-1151027-2236-b52gpr/node_modules/autocomplete-ctags/node_modules/ctags
> node-gyp rebuild


make: *** No rule to make target `../../../../../../../../../../../../../../Applications/Atom', needed by `Makefile'.  Stop.
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "node" "/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/1_/j6pgbhz546g4t92sckw7215c0000gn/T/apm-install-dir-1151027-2236-b52gpr/node_modules/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
make: *** No rule to make target `../../../../../../../../../../../../Applications/Atom', needed by `Makefile'.  Stop.
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "node" "/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/1_/j6pgbhz546g4t92sckw7215c0000gn/T/apm-install-dir-1151027-2236-b52gpr/node_modules/autocomplete-ctags/node_modules/ctags
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Darwin 15.0.0
npm ERR! argv "/Applications/Atom Beta.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/jyggen/.atom/.apm/.apmrc" "--userconfig" "/Users/jyggen/.atom/.apmrc" "install" "/private/var/folders/1_/j6pgbhz546g4t92sckw7215c0000gn/T/d-1151027-2236-1774c7r/package.tgz" "--target=0.34.3" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/1_/j6pgbhz546g4t92sckw7215c0000gn/T/apm-install-dir-1151027-2236-b52gpr/npm-debug.log

I'm aware that I'm using a beta version, but figured I'd give a heads up so it can be fixed before everyone and their dog upgrade to 1.3 :)

Cheers!

Uncaught Error: Module did not self-register

Here's an error I've been receiving lately on Atom 1.10.2, macOS sierra (beta).

  1. Open a haml/slim file in atom
  2. type some characters and the error appears

Atom Version: 1.10.2
Electron Version: 0.37.8
System: Mac OS X 10.12
Thrown From: autocomplete-ctags package, v0.4.1

Stack Trace

Uncaught Error: Module did not self-register.

At ELECTRON_ASAR.js:158

Error: Module did not self-register.
    at Error (native)
    at process.module.(anonymous function) (ELECTRON_ASAR.js:158:20)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)
    at Object.Module._extensions..node (module.js:440:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/ctags/lib/ctags.js:4:10)
    at Object.<anonymous> (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/ctags/lib/ctags.js:60:4)
    at Module._compile (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at CtagsProvider.module.exports.CtagsProvider.findTags (/Users/lenart/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:78:14)
    at /Users/lenart/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:60:8
    at Array.map (native)
    at CtagsProvider.module.exports.CtagsProvider.getSuggestions (/Users/lenart/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:59:27)
    at /opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:325:56
    at Array.forEach (native)
    at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:304:17)
    at AutocompleteManager.getSuggestionsFromProviders (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
    at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:291:19)
    at /opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61

Commands

     -0:04.4.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:04.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:04.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:04.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:04.0 editor:indent (atom-text-editor.editor.is-focused)
  2x -0:02.8.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:02.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:01.9.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:01.8.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:01.8.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:01.8.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:01.1.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:01.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:00.8.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:00.8.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:00.8.0 editor:indent (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "git-blame-plus",
      "file-types",
      "synced-sidebar",
      "linter-csslint",
      "symbols-view",
      "emmet",
      "vim-mode",
      "blame",
      "linter-reek",
      "linter-codeclimate",
      "linter-rails-best-practices",
      "linter-htmlhint"
    ],
    "excludeVcsIgnoredPaths": false,
    "ignoredNames": [
      ".git",
      ".DS_Store",
      "Thumbs.db",
      ".tags*",
      ".vagrant",
      ".bundle",
      ".idea",
      "tmp/",
      "log/*.log"
    ],
    "packagesWithKeymapsDisabled": [
      "vim-mode"
    ],
    "themes": [
      "atom-material-ui",
      "one-dark-syntax"
    ]
  },
  "autocomplete-ctags": {}
}

Installed Packages

# User
afterglow-monokai-syntax, v1.3.4 (inactive)
atom-beautify, v0.29.11 (inactive)
atom-ctags, v5.0.0 (active)
atom-everydayrails-rspec, v0.4.0 (active)
atom-material-syntax, v0.4.6 (inactive)
atom-material-ui, v1.3.6 (active)
atom-prettify, v0.1.3 (inactive)
autocomplete, v0.47.0 (inactive)
autocomplete-ctags, v0.4.1 (active)
autocomplete-ruby, v0.1.0 (active)
autocomplete-sass, v0.1.0 (active)
capybara-snippets, v0.2.0 (active)
change-case, v0.6.3 (active)
coffee-navigator, v0.0.18 (active)
color-picker, v2.2.2 (active)
dash, v1.6.2 (inactive)
emmet, v2.4.3 (inactive)
file-icons, v1.7.19 (active)
fold-comments, v0.6.0 (inactive)
git-blame, v0.4.11 (inactive)
git-history, v3.2.0 (inactive)
git-plus, v5.17.0 (inactive)
highlight-line, v0.11.1 (active)
highlight-selected, v0.11.2 (active)
html2haml, v0.10.0 (active)
html2slim, v0.4.0 (inactive)
jsonlint, v1.1.4 (active)
language-ejs, v0.2.0 (active)
language-haml, v0.24.0 (active)
language-rspec, v0.5.0 (active)
language-slim, v0.5.0 (active)
line-ending-converter, v1.3.2 (active)
linter, v1.11.16 (active)
linter-codeclimate, v0.1.2 (inactive)
linter-csslint, v1.3.2 (inactive)
linter-haml, v1.2.1 (active)
linter-htmlhint, v1.3.0 (inactive)
linter-jshint, v2.1.0 (active)
linter-jsonlint, v1.3.0 (active)
linter-rails-best-practices, v0.2.2 (inactive)
linter-rubocop, v0.4.7 (active)
linter-scss-lint, v3.0.4 (active)
linter-slim, v1.0.0 (active)
merge-conflicts, v1.4.4 (active)
php-twig, v4.0.0 (active)
pigments, v0.34.0 (active)
pretty-json, v1.6.0 (active)
rails-partials, v0.9.2 (inactive)
rails-rspec, v0.3.2 (inactive)
rails-snippets, v2.8.0 (inactive)
rails-transporter, v1.6.5 (inactive)
react, v0.16.0 (active)
reveal-active-file-context, v0.2.0 (active)
rspec-snippets, v0.4.0 (active)
rubocop-auto-correct, v1.5.1 (inactive)
ruby-block, v0.3.5 (active)
ruby-slim, v0.2.0 (active)
ruby-test, v0.9.17 (inactive)
script, v3.9.0 (inactive)
Sublime-Style-Column-Selection, v1.7.2 (active)
svg-preview, v0.9.0 (active)
swackets, v0.11.0 (active)
synced-sidebar, v0.4.3 (inactive)
toggle-quotes, v1.0.0 (inactive)
underscorejs-snippets, v0.2.2 (active)
wakatime, v6.0.10 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.5.0 (inactive)
one-light-ui, v1.5.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.3 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
find-and-replace, v0.201.0 (inactive)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.2 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.65.0 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.100.2 (active)
timecop, v0.33.2 (active)
tree-view, v0.208.2 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Duplicate symbols when using snippers

If any of the open files already have a reference to a function (that exists in the ctags file) it will be shown twice on the autocomplete list: once with the parameters (generated by the snipper) and another time without them (what the autocomplete-plus package generates when autocomplete-ctags isn't present).

captura de pantalla de 2015-07-01 00-59-42

When the snipping system is disabled in options, there are no duplicate symbols.

captura de pantalla de 2015-07-01 01-01-01

Tested on autocomplete-ctags 0.2.1.

Any chance of adding support for multiple tag files at custom locations?

It would be awesome if in addition to the main tag file we could specify a list of additional tag files to load. Ideally, this list would be generated by a custom, file-type dependant command.

Let me explain this in a few more details:

Many projects have dependencies which hardly change throughout the life of a project. These dependencies can have their tag files generated on install. Because dependencies don't change, we don't need to waist time regenerating their tags when we update the main tag file. Thus, this would massively speed up tag generation for projects with a lot of dependencies.

Basically, we can already generate tags on commit and on dependency install (in ruby), we can list all additional tags with find $(bundle show --paths) -name tags -maxdepth 1 2>/dev/null, but we have no way of using them. :(

can't uninstall

I wanted to use ctags but I eventually couldn't get it to work. I then tried to uninstall and got the following:

image

Now when I go to my symbols with ⌘-R, I get the following:

image

Ability to suppress completion for certain filetypes

I have tag files in the root of a project beneath which I also have some markdown-based documentation. When I'm editing the markdown files in atom I am offered code completion for every word I type, when I'd rather not. I'd like to be able to be able to blacklist or whitelist file types by extension.

If we wanted to be clever (too clever?), in my case it would be useful to have code completion within markdown inlined code and

code blocks

but only in those contexts.

Uncaught ReferenceError: tags is not defined

Steps to reproduce below:

  1. I'm just trying to type false
  2. after the 3rd character it throws this error on every following character

Atom Version: 1.7.2
System: Mac OS X 10.11.4
Thrown From: autocomplete-ctags package, v0.4.1

Stack Trace

Uncaught ReferenceError: tags is not defined

At /Users/mathijsvanvelde/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:64

ReferenceError: tags is not defined
    at CtagsProvider.module.exports.CtagsProvider.getSuggestions (/Users/mathijsvanvelde/.atom/packages/autocomplete-ctags/lib/ctags-provider.coffee:64:17)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:310:56
    at Array.forEach (native)
    at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:289:17)
    at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
    at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:276:19)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61

Commands

Config

{
  "core": {
    "disabledPackages": [
      "coffee-navigator",
      "linter-coffeelint",
      "linter-jscs",
      "linter-phpcs",
      "linter-phpmd",
      "atom-watcher",
      "linter-csslint",
      "background-tips"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      "nbproject"
    ],
    "openEmptyEditorOnStart": false,
    "packagesWithKeymapsDisabled": [
      "coffee-compile",
      "color-picker",
      "activate-power-mode"
    ],
    "projectHome": "/Users/mathijsvanvelde/NetBeansProjects/",
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ]
  },
  "autocomplete-ctags": {
    "caseInsensitive": false,
    "disableBuiltinProvider": true,
    "maximumTagFileSize": 20
  }
}

Installed Packages

# User
atom-beautify, v0.29.4
atom-material-syntax, v0.4.6
atom-material-ui, v1.2.10
atom-minify, v0.7.1
autocomplete-ctags, v0.4.1
autocomplete-python, v1.7.2
bottom-dock, v0.4.4
build-make, v0.8.0
coffee-compile, v0.21.1
color-picker, v2.1.1
compare-files, v0.6.2
file-icons, v1.7.4
formatter, v2.12.3
grunt-manager, v0.1.16
highlight-selected, v0.11.2
intentions, v1.0.5
language-applescript, v0.2.0
language-bridlensis, v1.0.1
language-nlf, v1.1.3
language-nsl, v1.5.1
language-nunjucks, v4.0.0
less-autocompile, v1.0.0
line-diff-details, v1.2.0
linter, v1.11.4
linter-coffeescript, v1.0.0
linter-htmlhint, v1.1.3
linter-jshint, v2.1.0
linter-jsonlint, v1.2.4
linter-markdown, v1.5.0
linter-php, v1.2.0
linter-sass-lint, v1.4.0
linter-scss-lint, v2.5.1
linter-xmllint, v1.3.4
minimap, v4.22.1
minimap-bookmarks, v0.3.0
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.5.1
minimap-git-diff, v4.3.0
minimap-highlight-selected, v4.4.0
minimap-selection, v4.4.0
node-debugger, v1.4.7
nsis-plugins, v1.0.3
php-cs-fixer, v2.5.6
pigments, v0.26.0
python-tools, v0.6.7
tabasco, v0.4.0

# Dev
No dev packages

fails to install in atom 1.3.2

I'm running into the following error trying to install autocomplete-ctags in Atom v 1.3.2 in Ubuntu 14.04

I'm able to install other packages (I'm currently using atom-ctags until I can get this issue figured out)

I tried reinstalling node, npm, and atom to no avail. autocomplete-ctags was working fine as of about a week ago, but I decided to update the package, and it failed with the error. I uninstalled autocomplete-ctags to see if I could clean-install the new version, but I'm seeing the same error. Unfortunately that npm-debug log doesn't exist in the directory specified in the warning.

> [email protected] install /tmp/apm-install-dir-1151121-29493-g4dwll/node_modules/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

make: Entering directory `/tmp/apm-install-dir-1151121-29493-g4dwll/node_modules/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas/build'
  CXX(target) Release/obj.target/runas/src/main.o
make: Leaving directory `/tmp/apm-install-dir-1151121-29493-g4dwll/node_modules/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas/build'

> [email protected] install /tmp/apm-install-dir-1151121-29493-g4dwll/node_modules/autocomplete-ctags/node_modules/ctags
> node-gyp rebuild

make: Entering directory `/tmp/apm-install-dir-1151121-29493-g4dwll/node_modules/autocomplete-ctags/node_modules/ctags/build'
  CC(target) Release/obj.target/ctags/src/readtags.o
  CXX(target) Release/obj.target/ctags/src/tags.o
  CXX(target) Release/obj.target/ctags/src/tag-finder.o
  CXX(target) Release/obj.target/ctags/src/tag-reader.o
  SOLINK_MODULE(target) Release/obj.target/ctags.node
  COPY Release/ctags.node
make: Leaving directory `/tmp/apm-install-dir-1151121-29493-g4dwll/node_modules/autocomplete-ctags/node_modules/ctags/build'

../src/main.cc:1:17: fatal error: nan.h: No such file or directory
 #include "nan.h"
                 ^
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [Release/obj.target/runas/src/main.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.16.0-55-generic
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-1151121-29493-g4dwll/node_modules/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Linux 3.16.0-55-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/garretts/.atom/.apm/.apmrc" "--userconfig" "/home/garretts/.atom/.apmrc" "install" "/tmp/d-1151121-29493-1j4hb1d/package.tgz" "--target=0.34.3" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-1151121-29493-g4dwll/npm-debug.log

Autocomplete type is inconsitent

screenshot from 2017-07-09 02 38 58

Some suggestions get a type icon while others don't. I suspect this is being caused by collisions with other providers. In that case, bumping the priority should fix it.

Unable to install on Windows

OS: Windows 10
ctags is installed and available in the PATH.
Install also fails when ctags is not in the PATH, thus it has no incidence.

[email protected] install C:\Users\TehWan\AppData\Local\Temp\apm-install-dir-116712-10088-15nqdqh\node_modules\autocomplete-ctags\node_modules\pathwatcher\node_modules\runas
node-gyp rebuild

C:\Users\TehWan\AppData\Local\Temp\apm-install-dir-116712-10088-15nqdqh\node_modules\autocomplete-ctags\node_modules\pathwatcher\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\TehWan\AppData\Local\atom\app-1.9.8\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\TehWan\AppData\Local\Temp\apm-install-dir-116712-10088-15nqdqh\node_modules\autocomplete-ctags\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

[email protected] install C:\Users\TehWan\AppData\Local\Temp\apm-install-dir-116712-10088-15nqdqh\node_modules\autocomplete-ctags\node_modules\ctags
node-gyp rebuild

C:\Users\TehWan\AppData\Local\Temp\apm-install-dir-116712-10088-15nqdqh\node_modules\autocomplete-ctags\node_modules\ctags>if not defined npm_config_node_gyp (node "C:\Users\TehWan\AppData\Local\atom\app-1.9.8\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\TehWan\AppData\Local\Temp\apm-install-dir-116712-10088-15nqdqh\node_modules\autocomplete-ctags\node_modules\ctags\build\ctags.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

gypgypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\TehWan\AppData\Local\atom\app-1.9.8\resources\app\apm\bin\node.exe" "C:\Users\TehWan\AppData\Local\atom\app-1.9.8\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\TehWan.atom.apm.apmrc" "--userconfig" "C:\Users\TehWan.atom.apmrc" "install" "C:\Users\TehWan\AppData\Local\Temp\d-116712-10088-1p9grhf\package.tgz" "--target=0.37.8" "--arch=ia32" "--msvs_version=2010"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ctags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls ctags
npm ERR! There is likely additional logging output above.

Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.

Steps to reproduce:

  1. Open the editor.

Content of the error:

build@ – Cannot find module '/home/[user]/.atom/packages/autocomplete-ctags/node_modules/ctags/build'
build@ – Cannot find module '/home/[user]/.atom/packages/autocomplete-ctags/node_modules/pathwatcher/build'
build@ – Cannot find module '/home/[user]/.atom/packages/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas/build'

Atom version: 1.7.1
autocomplete-ctags version: 0.4.1
OS: ElementaryOS (Ubuntu 14.04)

Updating to 0.3.2 fails on Mac OS X Yosemite

Output (:

[email protected] install /private/var/folders/w_/4xqmt6ws6793zj5bxj8n3rf5j8lpyl/T/apm-install-dir-11596-96939-ws8z49/node_modules/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas
node-gyp rebuild

CXX(target) Release/obj.target/runas/src/main.o
CXX(target) Release/obj.target/runas/src/runas_darwin.o
CXX(target) Release/obj.target/runas/src/fork.o
SOLINK_MODULE(target) Release/runas.node

[email protected] install /private/var/folders/w_/4xqmt6ws6793zj5bxj8n3rf5j8lpyl/T/apm-install-dir-11596-96939-ws8z49/node_modules/autocomplete-ctags/node_modules/ctags
node-gyp rebuild

CC(target) Release/obj.target/ctags/src/readtags.o
CXX(target) Release/obj.target/ctags/src/tags.o
CXX(target) Release/obj.target/ctags/src/tag-finder.o
CXX(target) Release/obj.target/ctags/src/tag-reader.o
SOLINK_MODULE(target) Release/ctags.node

ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/runas.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess.handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/w
/4xqmt6ws6793zj5bxj8n3rf5j8lpyl/T/apm-install-dir-11596-96939-ws8z49/node_modules/autocomplete-ctags/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/ctags.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess.handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/w
/4xqmt6ws6793zj5bxj8n3rf5j8lpyl/T/apm-install-dir-11596-96939-ws8z49/node_modules/autocomplete-ctags/node_modules/ctags
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 14.5.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/doebel/.atom/.apm/.apmrc" "--userconfig" "/Users/doebel/.atom/.apmrc" "install" "/private/var/folders/w_/4xqmt6ws6793zj5bxj8n3rf5j8lpyl/T/d-11596-96939-18va4yr/package.tgz" "--target=0.30.7" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/w_/4xqmt6ws6793zj5bxj8n3rf5j8lpyl/T/apm-install-dir-11596-96939-ws8z49/npm-debug.log

Uncaught Error: %1 is not a valid Win32 application./\?\$ATOM_HOME\packages\autocomplete-ctags\...

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Unknown Windows version
Thrown From: autocomplete-ctags package 0.4.1

Stack Trace

Uncaught Error: %1 is not a valid Win32 application.
\?\C:\Users\yunee-pc.atom\packages\autocomplete-ctags\node_modules\ctags\build\Release\ctags.node

At ELECTRON_ASAR.js:168

Error: %1 is not a valid Win32 application.
\\?\C:\Users\yunee-pc\.atom\packages\autocomplete-ctags\node_modules\ctags\build\Release\ctags.node
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:168:20)
    at Object.Module._extensions..node (module.js:583:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:168:20)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/autocomplete-ctags/node_modules/ctags/lib/ctags.js:4:10)
    at /packages/autocomplete-ctags/node_modules/ctags/lib/ctags.js:60:4)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at CtagsProvider.module.exports.CtagsProvider.findTags (/packages/autocomplete-ctags/lib/ctags-provider.coffee:78:14)
    at /packages/autocomplete-ctags/lib/ctags-provider.coffee:60:8
    at Array.map (native)
    at CtagsProvider.module.exports.CtagsProvider.getSuggestions (/packages/autocomplete-ctags/lib/ctags-provider.coffee:59:27)
    at /app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:333:54
    at Array.forEach (native)
    at AutocompleteManager.getSuggestionsFromProviders (/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:309:17)
    at AutocompleteManager.findSuggestions (/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:298:19)

Commands

  3x -5:43.8.0 find-and-replace:show (input.hidden-input)
     -0:13.1.0 docblockr:parse-enter (input.hidden-input)
     -0:13.1.0 editor:newline (input.hidden-input)
  2x -0:10.7.0 core:backspace (input.hidden-input)
     -0:08.6.0 core:move-down (input.hidden-input)
     -0:08.3.0 autocomplete-plus:confirm (input.hidden-input)
     -0:08.3.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)

Non-Core Packages

atom-autocomplete-php 0.22.2 
atom-beautify 0.29.17 
atom-clock 0.1.6 
atom-ctags 5.0.0 
atom-html-preview 0.1.22 
atom-live-server 2.1.2 
atom-miku 2.2.5 
atom-nodejs-snippets 1.5.0 
atom-react-native-css 1.1.3 
atom-ternjs 0.18.2 
atomic-chrome 0.3.0 
autoclose-html 0.23.0 
autocomplete-ctags 0.4.1 
autocomplete-java 1.2.5 
autocomplete-js-import 1.4.0 
autocomplete-json 5.3.0 
autocomplete-modules 1.6.9 
autocomplete-paths 1.0.5 
autocomplete-php 0.3.7 
autocomplete-python 1.8.60 
autocomplete-xml 0.9.4 
color-picker 2.2.5 
custom-title 1.0.1 
docblockr 0.9.1 
editorconfig 2.2.2 
emmet 2.4.3 
fetch 0.3.0 
file-icons 2.0.17 
filecolor 0.4.0 
git-plus 7.3.3 
git-time-machine 1.5.6 
glowing-cursor 0.1.2 
highlight-selected 0.12.0 
hyperclick 0.0.40 
javascript-snippets 1.2.1 
jquery-snippets 11.0.0 
js-hyperclick 1.10.1 
jumpy 3.1.3 
keyboard-localization 1.5.0 
language-babel 2.56.2 
language-ejs 0.4.0 
language-javascript-jsx 0.3.7 
language-svg 0.9.2 
linter 1.11.23 
linter-csslint 1.3.4 
linter-eslint 8.1.3 
minimap 4.26.8 
minimap-highlight-selected 4.5.0 
node-debugger 1.10.1 
node-requirer 0.1.12 
nodejs-snippets 2.0.2 
pigments 0.39.0 
platformio-ide-terminal 2.4.0 
preview 0.17.0 
preview-plus 1.2.7 
project-manager 3.3.3 
qolor 0.4.1 
react 0.16.2 
react-es6-snippets 0.3.0 
react-snippets 0.7.1 
regex-railroad-diagram 0.16.0 
rest-client 1.3.1 
run-in-browser 0.1.3 
seti-ui 1.6.1 
svg-preview 0.11.0 
svn 0.0.13 
sync-settings 0.8.1 
tree-view-background 0.4.1 
tree-view-git-status 1.3.1 

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.