Giter Site home page Giter Site logo

igogo5yo / atom-php-navigation Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 7.82 MB

Navigation by project classes in atom editor

Home Page: https://atom.io/packages/atom-php-navigation

License: MIT License

CoffeeScript 86.62% CSS 13.38%
apm atom-editor atom-php-navigation navigation

atom-php-navigation's People

Contributors

brycefranzen avatar igogo5yo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

johnumb2

atom-php-navigation's Issues

Link don't open correct file

In a symfony project, when I want to open a vendor php file that was cached it opens bootstrap.php.cache instead of the original file.

Since last atom update it is also opening the files always in a new window.

Deprecated selector in `atom-php-navigation/styles/atom-php-navigation.less`

In atom-php-navigation/styles/atom-php-navigation.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor .clickable-class .inherited-class, atom-text-editor::shadow .clickable-class .inherited-class, atom-text-editor .clickable-class .support.class, atom-text-editor::shadow .clickable-class .support.class, atom-text-editor .clickable-class .namespace, atom-text-editor::shadow .clickable-class .namespace => atom-text-editor .clickable-class .inherited-class, atom-text-editor.editor .clickable-class .syntax--inherited-class, atom-text-editor .clickable-class .support.class, atom-text-editor.editor .clickable-class .syntax--support.syntax--class, atom-text-editor .clickable-class .namespace, atom-text-editor.editor .clickable-class .syntax--namespace

  • atom-text-editor .clickable-class .inherited-class:hover, atom-text-editor::shadow .clickable-class .inherited-class:hover, atom-text-editor .clickable-class .support.class:hover, atom-text-editor::shadow .clickable-class .support.class:hover, atom-text-editor .clickable-class .namespace:hover, atom-text-editor::shadow .clickable-class .namespace:hover => atom-text-editor .clickable-class .inherited-class:hover, atom-text-editor.editor .clickable-class .syntax--inherited-class:hover, atom-text-editor .clickable-class .support.class:hover, atom-text-editor.editor .clickable-class .syntax--support.syntax--class:hover, atom-text-editor .clickable-class .namespace:hover, atom-text-editor.editor .clickable-class .syntax--namespace:hover

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined

Happens randomly.

Atom Version: 1.0.7
System: Mac OS X 10.10.5
Thrown From: atom-php-navigation package, v0.5.1

Stack Trace

Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined

At /Users/joaocrq/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:141

TypeError: Cannot read property 'getCursorBufferPosition' of undefined
  at atom-text-editor.module.exports.AtomPhpNavigation.click (/Users/joaocrq/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:141:29)

Commands

  2x -2:51.5.0 core:backspace (atom-text-editor.editor.is-focused)
  3x -2:50.1.0 core:save (atom-text-editor.editor.is-focused)
  2x -2:30.8.0 core:move-down (atom-text-editor.editor.is-focused)
     -2:30.3.0 editor:newline (atom-text-editor.editor.is-focused)
     -2:30 core:move-up (atom-text-editor.editor.is-focused)
     -2:21.7.0 editor:delete-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -2:17.1.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -2:15.2.0 core:save (atom-text-editor.editor.is-focused)
     -2:12.4.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -2:11.2.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -2:11.2.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -2:10.2.0 settings-view:open (atom-text-editor.editor.is-focused)
     -2:06.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -2:04.2.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -2:03.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:49.9.0 core:backspace (div.settings-view.pane-item)

Config

{
  "core": {}
}

Installed Packages

# User
angularjs, v0.3.0
atom-php-navigation, v0.5.1
atom-typescript, v5.5.1
css-snippets, v0.8.0
imdone-atom, v1.1.34
language-dots, v0.0.4
laravel, v0.7.0
linter, v1.4.3
linter-jshint, v1.1.5
linter-php, v1.0.3
linter-phpcs, v1.0.6
linter-phpmd, v1.0.0
linter-shellcheck, v1.0.1

# Dev
No dev packages

Package not doing anything

I have a ZF2 project in Atom, and when I use this plugin, nothing is displayed. When I toogle the plugin, the text "Indexation: please wait!" appears, and after a few seconds, it disappears and nothing else it is shown. Not even an error is thrown.

Uncaught TypeError: Cannot read property 'end' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.182.0
System: Mac OS X 10.10.5
Thrown From: atom-php-navigation package, v0.5.0

Stack Trace

Uncaught TypeError: Cannot read property 'end' of undefined

At /Users/ryan/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:93

TypeError: Cannot read property 'end' of undefined
  at Object.module.exports.AtomPhpNavigation.createMarker (/Users/ryan/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:93:28)
  at /Users/ryan/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:170:27
  at /Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:731:18
  at TextBuffer.module.exports.TextBuffer.scanInRange (/Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:785:9)
  at TextBuffer.module.exports.TextBuffer.scan (/Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:727:19)
  at TextEditor.module.exports.TextEditor.scan (/Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/src/text-editor.js:2227:26)
  at Object.module.exports.AtomPhpNavigation.scanExtends (/Users/ryan/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:159:12)
  at /Users/ryan/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:68:8
  at Workspace.module.exports.Workspace.observeTextEditors (/Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/src/workspace.js:272:9)
  at Object.module.exports.AtomPhpNavigation.enable (/Users/ryan/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:63:46)
  at Object.module.exports.AtomPhpNavigation.toggle (/Users/ryan/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:54:8)
  at atom-workspace.subscriptions.add.atom.commands.add.atom-php-navigation:toggle (/Users/ryan/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:38:94)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at /Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Users/ryan/Documents/_Imported/Apps/Atom.app/Contents/Resources/app/src/window-event-handler.js:176:20)

Commands

     -8:50.9 application:quit (atom-text-editor#atom-pair.hipchat_token.editor.mini)
     -7:49.1 core:save (atom-text-editor#atom-pair.hipchat_token.editor.mini)
     -7:09.5 core:confirm (atom-text-editor.editor.mini)
     -0:33.1 editor:toggle-line-comments (atom-text-editor.editor)
     -0:26.8 tree-view:toggle (atom-text-editor.editor)
     -0:00.7 atom-php-navigation:toggle (atom-text-editor#AtomPair.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "seti-syntax"
    ]
  }
}

Installed Packages

# User
aligner-php, v1.0.0
atom-pair, v2.0.3
atom-php-navigation, v0.5.0
autocomplete-php, v0.3.6
php-getters-setters, v0.5.5
seti-syntax, v0.4.0

# Dev
No dev packages

Uncaught TypeError: undefined is not a function

[Enter steps to reproduce below:]

  1. Activate plugin
  2. Alt + click on a class method

Atom Version: 0.176.0-6169caa
System: linux 3.13.0-57-generic
Thrown From: atom-php-navigation package, v0.5.1

Stack Trace

Uncaught TypeError: undefined is not a function

At /home/voylinux/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:149

TypeError: undefined is not a function
  at Boolean.<anonymous> (/home/voylinux/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:149:17)
  at Function.jQuery.extend.each (/usr/local/share/atom/resources/app/node_modules/jquery/dist/jquery.js:374:23)
  at atom-text-editor.module.exports.AtomPhpNavigation.click (/home/voylinux/.atom/packages/atom-php-navigation/lib/atom-php-navigation.coffee:148:7)

Commands

     -5:07.4 editor:consolidate-selections (atom-text-editor.editor)
     -5:07.4 core:cancel (atom-text-editor.editor)
     -5:07.3 editor:consolidate-selections (atom-text-editor.editor)
     -5:07.3 core:cancel (atom-text-editor.editor)
     -5:06.2 emmet:balance-outward (atom-text-editor.editor)
     -5:04.5 editor:scroll-to-cursor (atom-text-editor.editor)
     -5:03.6 emmet:balance-outward (atom-text-editor.editor)
     -5:00.7 command-palette:toggle (atom-text-editor.editor)
     -4:57.1 core:confirm (atom-text-editor.editor.mini)
     -4:57.1 settings-view:open (atom-text-editor.editor)
  2x -3:10.9 core:confirm (atom-text-editor.editor.mini)
     -0:47.1 atom-php-navigation:toggle (atom-text-editor.editor.is-focused)
     -0:11.6 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:11.6 core:cancel (atom-text-editor.editor.is-focused)
     -0:10.9 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:10.9 core:cancel (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "mechanical-keyboard-1",
      "symbols-view",
      "metrics"
    ],
    "themes": [
      "one-dark-ui",
      "monokai"
    ],
    "autoHideMenuBar": true
  }
}

Installed Packages

# User
atom-ctags, v4.2.0
atom-php-navigation, v0.5.1
emmet, v2.3.12
language-docker, v1.1.3
linter-php, v1.0.4
monokai, v0.18.0
pigments, v0.15.0
spotify-linux, v0.3.2

# Dev
No dev packages

/cc @atom/core

Link don't open correct file (.hg)

For some class it open mercurial repository file, not right file.

.hg/store/[..]/cls.php.i

PHP Framefork: kahana 3.3

Atom v1.8.0 win7 x64

Deprecated selector in `atom-php-navigation\styles\atom-php-navigation.less`

In atom-php-navigation\styles\atom-php-navigation.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor .clickable-class .inherited-class, atom-text-editor::shadow .clickable-class .inherited-class, atom-text-editor .clickable-class .support.class, atom-text-editor::shadow .clickable-class .support.class, atom-text-editor .clickable-class .namespace, atom-text-editor::shadow .clickable-class .namespace => atom-text-editor .clickable-class .inherited-class, atom-text-editor.editor .clickable-class .syntax--inherited-class, atom-text-editor .clickable-class .support.class, atom-text-editor.editor .clickable-class .syntax--support.syntax--class, atom-text-editor .clickable-class .namespace, atom-text-editor.editor .clickable-class .syntax--namespace

  • atom-text-editor .clickable-class .inherited-class:hover, atom-text-editor::shadow .clickable-class .inherited-class:hover, atom-text-editor .clickable-class .support.class:hover, atom-text-editor::shadow .clickable-class .support.class:hover, atom-text-editor .clickable-class .namespace:hover, atom-text-editor::shadow .clickable-class .namespace:hover => atom-text-editor .clickable-class .inherited-class:hover, atom-text-editor.editor .clickable-class .syntax--inherited-class:hover, atom-text-editor .clickable-class .support.class:hover, atom-text-editor.editor .clickable-class .syntax--support.syntax--class:hover, atom-text-editor .clickable-class .namespace:hover, atom-text-editor.editor .clickable-class .syntax--namespace:hover

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

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.