Giter Club home page Giter Club logo

Comments (2)

poacher2k avatar poacher2k commented on August 17, 2024

[Enter steps to reproduce:]

  1. Go into any file
  2. hit ctrl-shift-R or ctrl-r

Atom: 1.32.0-beta3 x64
Electron: 2.0.9
OS: Microsoft Windows 10 Pro
Thrown From: goto package 1.8.3

Stack Trace

Uncaught TypeError: grammar.tokenizeLines is not a function

At C:\Users\daniel_10468\.atom\packages\goto\lib\symbol-generator.coffee:20

TypeError: grammar.tokenizeLines is not a function
    at module.exports (/packages/goto/lib/symbol-generator.coffee:20:19)
    at SymbolIndex.module.exports.SymbolIndex.processFile (/packages/goto/lib/symbol-index.coffee:157:23)
    at /packages/goto/lib/symbol-index.coffee:113:24
    at traverse (/packages/todo-show/node_modules/fs-plus/lib/fs-plus.js:419:13)
    at Object.traverseTreeSync (/packages/todo-show/node_modules/fs-plus/lib/fs-plus.js:424:14)
    at SymbolIndex.module.exports.SymbolIndex.rebuild (/packages/goto/lib/symbol-index.coffee:111:10)
    at SymbolIndex.module.exports.SymbolIndex.update (/packages/goto/lib/symbol-index.coffee:103:8)
    at SymbolIndex.module.exports.SymbolIndex.getAllSymbols (/packages/goto/lib/symbol-index.coffee:94:6)
    at Object.gotoProjectSymbol (/packages/goto/lib/index.coffee:49:22)
    at /packages/goto/lib/index.coffee:28:34)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.32.0-beta3/resources/app/static/<embedded>:11:345824)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.32.0-beta3/resources/app/static/<embedded>:11:1222615)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.32.0-beta3/resources/app/static/<embedded>:11:1218749)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.32.0-beta3/resources/app/static/<embedded>:11:281266)

Commands

     -3:00.5.0 core:save (input.hidden-input)
     -2:58.1.0 intentions:highlight (input.hidden-input)
  3x -2:58 pane:show-next-item (input.hidden-input)
     -2:56.8.0 goto:project-symbol (input.hidden-input)
     -2:51.2.0 intentions:highlight (input.hidden-input)
     -2:51.1.0 goto:project-symbol (input.hidden-input)
  2x -0:21.1.0 intentions:highlight (input.hidden-input)
     -0:19.6.0 command-palette:toggle (input.hidden-input)
     -0:18.9.0 editor:consolidate-selections (input.hidden-input)
     -0:18.9.0 core:cancel (input.hidden-input)
     -0:18.3.0 intentions:highlight (input.hidden-input)
     -0:17.9.0 editor:delete-line (input.hidden-input)
     -0:17.6.0 intentions:highlight (input.hidden-input)
     -0:17.3.0 core:undo (input.hidden-input)
  3x -0:16.9.0 intentions:highlight (input.hidden-input)
     -0:16 goto:project-symbol (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.8 
apostrophe-atom 0.7.0 
atom-beautify 0.33.4 
atom-handlebars 1.3.0 
atom-ide-ui 0.13.0 
atom-import-sort 5.2.0 
atom-monokai 0.10.9 
atom-ternjs 0.18.3 
autocomplete-js-import 1.4.0 
autocomplete-nunjucks 0.5.0 
busy-signal 1.4.3 
craft-twig 0.4.0 
css-comb 2.5.0 
duplicate-line-or-selection 0.9.0 
editorconfig 2.2.2 
emmet 2.4.3 
es6-javascript 1.0.0 
expand-selection-to-quotes 0.11.0 
file-icons 2.1.25 
firestore-rules-grammar 0.4.0 
git-time-machine 2.1.0 
goto 1.8.3 
highlight-line 0.12.0 
highlight-selected 0.14.0 
ide-php 0.7.15 
ide-typescript 0.7.8 
intentions 1.1.5 
jumpy 5.0.2 
language-api-blueprint 1.0.2 
language-babel 2.85.0 
language-ejs 0.4.0 
language-nunjucks 4.2.1 
linter 2.2.0 
linter-eslint 8.4.1 
linter-ui-default 1.7.1 
merge-conflicts 1.4.5 
minimap 4.29.9 
monokai-seti 0.9.0 
php-twig 4.0.0 
pigments 0.40.2 
prettier-atom 0.55.2 
pretty-json 2.0.3 
rename-tabs 0.2.0 
sequential-number 0.5.0 
seti-ui 1.11.0 
snow-dark-syntax 0.1.1 
split-diff 1.5.3 
Stylus 3.2.0 
sublime-block-comment 0.5.1 
swap-selection 0.4.0 
sync-settings 0.8.6 
todo-show 2.3.2 
Zen 0.18.0 

from goto.

svileng avatar svileng commented on August 17, 2024

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.33.0 x64
Electron: 2.0.11
OS: Mac OS X 10.14.1
Thrown From: goto package 1.8.3

Stack Trace

Uncaught TypeError: grammar.tokenizeLines is not a function

At /Users/Svilen/.atom/packages/goto/lib/symbol-generator.coffee:20

TypeError: grammar.tokenizeLines is not a function
    at module.exports (/packages/goto/lib/symbol-generator.coffee:20:19)
    at SymbolIndex.module.exports.SymbolIndex.processFile (/packages/goto/lib/symbol-index.coffee:157:23)
    at /packages/goto/lib/symbol-index.coffee:113:24
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:419:13)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at Object.traverseTreeSync (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:424:14)
    at SymbolIndex.module.exports.SymbolIndex.rebuild (/packages/goto/lib/symbol-index.coffee:111:10)
    at SymbolIndex.module.exports.SymbolIndex.update (/packages/goto/lib/symbol-index.coffee:103:8)
    at SymbolIndex.module.exports.SymbolIndex.getAllSymbols (/packages/goto/lib/symbol-index.coffee:94:6)
    at Object.gotoProjectSymbol (/packages/goto/lib/index.coffee:49:22)
    at /packages/goto/lib/index.coffee:28:34)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349858)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1231210)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1227344)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285037)

Commands

     -0:38.1.0 goto:project-symbol (input.hidden-input)

Non-Core Packages

atom-elixir-formatter 1.0.6 
atom-no-tab-close-button 1.0.0 
busy-signal 1.4.3 
elm-format 3.2.0 
elmjutsu 9.10.1 
goto 1.8.3 
intentions 1.1.5 
language-elixir 0.22.1 
language-elm 1.5.0 
linter 2.2.0 
linter-elixirc 1.7.0 
linter-ui-default 1.7.1 
markdown-table-editor 1.1.1 
pigments 0.40.2 
teletype 0.13.3 
vim-mode-plus 1.36.0 
vim-mode-plus-keymaps-for-surround 0.2.1 
zentabs 0.8.9 

from goto.

Related Issues (20)

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.