Giter VIP home page Giter VIP logo

atom-git-grep's Introduction

TLDR

Frontend Engineer in Japan. Virtual DOM Enthusiast.

Skills

  • Node.js
  • Frontend Performance
  • Frontend Ops
  • TypeScript, JavaScript, C#, Python, Ruby, Scala
  • Compiler Frontend

Career

  • Aiming (2012-2013) Game Client Engineer
  • Quipper, Ltd (2013-2014) Software Engineer
  • Increments (2014-2017) Software Engineer
  • Freelance (2017-2019) Frontend Engineer & Consultant
  • Plaid (2019-) Software Engineer

atom-git-grep's People

Contributors

mizchi avatar zalt50 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atom-git-grep's Issues

Error on package installation

Just install the package to get the error

Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: git-grep package, v0.9.0

Stack Trace

Failed to load the git-grep package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
    at __extends (/Users/thoreg/.atom/packages/git-grep/lib/git-grep-view.coffee:1:1)
    at /Users/thoreg/.atom/packages/git-grep/lib/git-grep-view.coffee:8:3
    at Object.<anonymous> (/Users/thoreg/.atom/packages/git-grep/lib/git-grep-view.coffee:8:3)
    at Object.<anonymous> (/Users/thoreg/.atom/packages/git-grep/lib/git-grep-view.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:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/thoreg/.atom/packages/git-grep/lib/git-grep.coffee:1:15)
    at Object.<anonymous> (/Users/thoreg/.atom/packages/git-grep/lib/git-grep.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:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366: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:715:27)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:117:28
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:457:14)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:454:29
    at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:215:47)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:222:18
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:100:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -8:49.7.0 core:copy (atom-text-editor.editor.is-focused)
     -1:00.2.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -1:00.2.0 core:cancel (atom-text-editor.editor.is-focused)
     -0:58.2.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  8x -0:54.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:49 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:49 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:26.2.0 settings-view:open (atom-text-editor.editor.is-focused)
     -0:18.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "linter-pep8",
      "linter-js-standard"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      "*.pyc",
      ".cache",
      "__pycache__"
    ]
  }
}

Installed Packages

# User
atom-ternjs, v0.14.2
autocomplete-python, v1.8.1
color-picker, v2.2.2
file-icons, v1.7.16
file-watcher, v0.4.0
git-grep, v0.9.0
linter, v1.11.14
linter-eslint, v7.2.4
linter-flake8, v1.13.2
minimap, v4.24.7
minimap-pigments, v0.2.1
pigments, v0.31.1
project-manager, v2.9.7
python-isort, v0.0.7
python-tools, v0.6.8
symbols-tree-view, v0.13.2

# Dev
No dev packages

Cannot read property 'prototype' of undefined

Just installing git-grep 0.9.0 throws this error.

Atom: 1.21.1 x64
Electron: 1.6.15
OS: "Fedora release
Thrown From: git-grep package 0.9.0

Stack Trace

Failed to load the git-grep package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
    at extend (/packages/git-grep/lib/git-grep-view.coffee:1:1)
    at /packages/git-grep/lib/git-grep-view.coffee:7:7
    at /packages/git-grep/lib/git-grep-view.coffee:43:12)
    at /packages/git-grep/lib/git-grep-view.coffee:1:1)
    at /packages/git-grep/lib/git-grep-view.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at /packages/git-grep/lib/git-grep.coffee:1:15)
    at /packages/git-grep/lib/git-grep.coffee:1:1)
    at /packages/git-grep/lib/git-grep.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (/usr/share/atom/resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app/src/package.js:903:35)
    at /usr/share/atom/resources/app/src/package.js:158:34
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app/src/package.js:99:21)
    at Package.module.exports.Package.load (/usr/share/atom/resources/app/src/package.js:144:18)
    at PackageManager.loadAvailablePackage (/usr/share/atom/resources/app/src/package-manager.js:617:16)
    at PackageManager.loadPackage (/usr/share/atom/resources/app/src/package-manager.js:550:25)
    at PackageManager.activatePackage (/usr/share/atom/resources/app/src/package-manager.js:684:23)
    at /usr/share/atom/resources/app/node_modules/settings-view/lib/package-manager.js:535:35
    at exit (/usr/share/atom/resources/app/node_modules/settings-view/lib/package-manager.js:128:22)
    at triggerExitCallback (/usr/share/atom/resources/app/src/buffered-process.js:338:17)
    at /usr/share/atom/resources/app/src/buffered-process.js:359:17
    at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:220:15)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)

Commands

     -0:44.4.0 project-find:show (input.hidden-input)
     -0:43.9.0 core:confirm (input.hidden-input)
     -0:39.2.0 core:move-up (div.results-view.focusable-panel)
     -0:38.9.0 core:move-down (div.results-view.focusable-panel)
     -0:38.1.0 core:confirm (div.results-view.focusable-panel)
     -0:37.3.0 core:move-down (input.hidden-input)
  7x -0:36.8.0 core:move-up (input.hidden-input)
  8x -0:36.2.0 core:move-down (input.hidden-input)
     -0:34.7.0 intentions:highlight (input.hidden-input)
     -0:34.5.0 pane:show-previous-item (input.hidden-input)
     -0:20.5.0 command-palette:toggle (div.results-view.focusable-panel)
     -0:19.9.0 core:backspace (input.hidden-input)
     -0:17.5.0 core:move-down (input.hidden-input)
     -0:17 core:confirm (input.hidden-input)
     -0:17 settings-view:install-packages-and-themes (div.results-view.focusable-panel)
     -0:13.9.0 core:confirm (input.hidden-input)

Non-Core Packages

auto-detect-indentation 1.3.0 
build 0.69.0 
build-make 0.13.0 
busy 0.7.0 
busy-signal 1.4.3 
file-watcher 1.2.6 
fonts 3.0.3 
git-grep 0.9.0 
intentions 1.1.5 
language-diff 0.7.0 
linter 2.2.0 
linter-ui-default 1.6.10 
magic-reflow 0.3.0 
trailing-spaces 0.4.0 

Invisible cursor and text

The text and cursor in git-grep's text box are invisible, which makes it nearly impossible to use. The input box works, but I have to type blind.

I tried switching UI and syntax themes, but it doesn't seem to make any difference.

This could be due to the deprecations in the package (as mentioned in #6 and #7).

Deprecated Atom APIs will be removed June 1st

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.9.0) of this package:

  1. Store package style sheets in the styles/ directory instead of stylesheets/ in the <pack-name> package
  2. Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows: json "activationCommands": { "atom-workspace": ["foo:bar", "foo:baz"], "atom-text-editor": ["foo:quux"] }
  3. The context menu CSON format has changed. Please see https://atom.io/docs/api/latest/ContextMenuManager#context-menu-cson-format for more info.
  4. Requiring $ from atom is no longer supported. If you are using space-pen, please require $ from atom-space-pen-views. Otherwise require jquery instead: {$} = require 'atom-space-pen-views' or $ = require 'jquery' Add "atom-space-pen-views": "^2.0.3" to your package dependencies. Or add "jquery": "^2" to your package dependencies.
  5. Requiring $$ from atom is no longer supported. Please require atom-space-pen-views instead: {$$} = require 'atom-space-pen-views' Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
  6. Requiring EditorView from atom is no longer supported. Please require TextEditorView from atom-space-pen-view instead: {TextEditorView} = require 'atom-space-pen-views' Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
  7. Requiring SelectListView from atom is no longer supported. Please require SelectListView from atom-space-pen-view instead: {SelectListView} = require 'atom-space-pen-views' Note that the API has changed slightly! Please read the docs at https://github.com/atom/atom-space-pen-views Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
  8. Requiring View from atom is no longer supported. Please require atom-space-pen-views instead: {View} = require 'atom-space-pen-views' Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
  9. atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.

Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.

If this package has been replaced by another package or functionality in core, please reply with this information.

See atom/atom#6867 for more info. Thanks!

Error installing git-grep

[Enter steps to reproduce below:]

  1. I tried to install git-grep on Windows.

Atom Version: 1.4.3
System: Microsoft Windows Server 2012 Standard
Thrown From: git-grep package, v0.9.0

Stack Trace

Failed to load the git-grep package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
    at __extends (file:///C:/Users/ehsan/.atom/packages/git-grep/lib/git-grep-view.coffee:1:1)
    at file:///C:/Users/ehsan/.atom/packages/git-grep/lib/git-grep-view.coffee:8:3
    at Object.<anonymous> (file:///C:/Users/ehsan/.atom/packages/git-grep/lib/git-grep-view.coffee:8:3)
    at Object.<anonymous> (file:///C:/Users/ehsan/.atom/packages/git-grep/lib/git-grep-view.coffee:1:1)
    at Module._compile (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\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 (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/ehsan/.atom/packages/git-grep/lib/git-grep.coffee:1:15)
    at Object.<anonymous> (file:///C:/Users/ehsan/.atom/packages/git-grep/lib/git-grep.coffee:1:1)
    at Module._compile (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\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 (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\package.js:722:27)
    at C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\package.js:117:28
    at Package.module.exports.Package.measure (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\package.js:92:15)
    at Package.module.exports.Package.load (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\package-manager.js:443:14)
    at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\package-manager.js:522:30)
    at C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\node_modules\settings-view\lib\package-manager.js:444:29
    at exit (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\node_modules\settings-view\lib\package-manager.js:73:16)
    at triggerExitCallback (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\buffered-process.js:213:47)
    at ChildProcess.<anonymous> (C:\Users\ehsan\AppData\Local\atom\app-1.4.3\resources\app.asar\src\buffered-process.js:235:18)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Commands

     -2:41.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -2:41.9.0 blur (atom-text-editor.editor.mini.is-focused)
     -2:41.4.0 ex-mode:open (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -2:41.4.0 blur (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -2:41.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:41.3.0 blur (atom-text-editor.editor.mini.is-focused)
  2x -2:40.6.0 core:confirm (atom-pane.pane.active)
  4x -2:36.9.0 blur (atom-pane.pane.active)
     -2:25.1.0 git-diff:move-to-next-diff (ul.list-inline.tab-bar.inset-panel)
  3x -2:22.4.0 blur (ul.list-inline.tab-bar.inset-panel)
     -1:57.3.0 git-diff:toggle-diff-list (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
     -1:57.1.0 blur (atom-text-editor.editor.vim-mode.is-focused.normal-mode)
     -1:46.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
 16x -1:46.5.0 blur (atom-text-editor.editor.mini.is-focused)
     -1:10.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  4x -0:45.1.0 blur (atom-text-editor.editor.mini.is-focused)

Config

{}

Installed Packages

# User
ex-mode, v0.8.0
git-grep, v0.9.0
vim-mode, v0.64.0

# Dev
No dev packages

git-grep no longer works due to deprecation of apis.

atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement

Atom.Object.defineProperty.get - /Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11
Object.activate - ~/.atom/packages/git-grep/lib/git-grep.coffee:13:9

Atom.Object.defineProperty.get - /Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11
GitGrepDialog.attach - ~/.atom/packages/git-grep/lib/git-grep-dialog-view.coffee:21:9

Atom.Object.defineProperty.get - /Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11
GitGrepDialog.close - ~/.atom/packages/git-grep/lib/git-grep-dialog-view.coffee:27:9

keymaps/git-grep.cson
Use the atom-workspace tag instead of the workspace class.

Failed to load the git-grep package

I started Atom. But this error has occurred.

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: git-grep package, v0.9.0

Stack Trace

Failed to load the git-grep package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
    at __extends (/Users/ey/.atom/packages/git-grep/lib/git-grep-view.coffee:4:199)
    at /Users/ey/.atom/packages/git-grep/lib/git-grep-view.coffee:15:5
    at Object.<anonymous> (/Users/ey/.atom/packages/git-grep/lib/git-grep-view.coffee:75:5)
    at Object.<anonymous> (/Users/ey/.atom/packages/git-grep/lib/git-grep-view.coffee:77:4)
    at Module._compile (module.js:428:26)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
    at Module.load (module.js:353:32)
    at Function.Module._load (module.js:308:12)
    at Module.require (module.js:363:17)
    at require (module.js:382:17)

Commands

Config

{
  "core": {
    "destroyEmptyPanes": false,
    "disabledPackages": [
      "vim-mode"
    ],
    "audioBeep": false
  }
}

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.