Giter Club home page Giter Club logo

weboutline's People

Contributors

lennyn95 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

weboutline's Issues

Uncaught TypeError: Cannot read property 'path' of null

  1. Weboutline Tab is opened on the left http://take.ms/kvzNk
  2. I opened a new empty tab with Plain Text Syntax and started to search an replace a string
  3. Then the error occurse every time, that new tab gets focused.

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Mac OS X 10.13.2
Thrown From: weboutline package 0.6.0

Stack Trace

Uncaught TypeError: Cannot read property 'path' of null

At /Users/jw/.atom/packages/weboutline/lib/weboutline-view.js:114

TypeError: Cannot read property 'path' of null
    at WeboutlineView.parseFile (/packages/weboutline/lib/weboutline-view.js:114:34)
    at /packages/weboutline/lib/weboutline-view.js:65:12
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at PaneContainer.didChangeActiveItemOnPane (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:284:26)
    at PaneContainer.didActivatePane (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:262:18)
    at Pane.activate (/Applications/Atom.app/Contents/Resources/app/src/pane.js:1002:46)
    at Pane.focus (/Applications/Atom.app/Contents/Resources/app/src/pane.js:393:23)
    at /app.asar/src/pane-element.js:51:25)

Commands

     -0:38.2.0 find-and-replace:show (input.hidden-input)
     -0:37.2.0 find-and-replace:focus-next (input.hidden-input)
     -0:36.7.0 core:select-all (input.hidden-input)
     -0:36.5.0 core:paste (input.hidden-input)
     -0:35.7.0 find-and-replace:focus-next (input.hidden-input)
     -0:35 core:confirm (input.hidden-input)
     -0:30 core:copy (input.hidden-input)
  2x -0:26.2.0 core:paste (input.hidden-input)
     -0:18.9.0 core:select-all (input.hidden-input)
     -0:18.1.0 core:cut (input.hidden-input)
     -0:13.6.0 core:paste (input.hidden-input)
     -0:11.7.0 editor:select-to-first-character-of-line (input.hidden-input)
     -0:11 editor:select-to-end-of-word (input.hidden-input)
     -0:10.4.0 core:paste (input.hidden-input)
     -0:07.1.0 core:save (input.hidden-input)
     -0:02.3.0 core:close (input.hidden-input)

Non-Core Packages

atom-autocomplete-php 0.25.6 
atom-beautify 0.30.9 
open-project-in-tower 1.4.0 
atom-terminal 0.8.0 
atom-wrap-in-tag 0.6.0 
atom-zurb-foundation 2.1.0 
auto-update-packages 1.0.1 
autoclose-html 0.23.0 
autocomplete-project-paths 2.2.0 
busy-signal 1.4.3 
codekit-commands 1.3.3 
docblockr 0.13.6 
docs-snippets 0.8.0 
doxygen-snippets 0.1.1 
file-icons 2.1.16 
flex-tool-bar 0.15.1 
foundation5-snippets 0.2.2 
git-plus 7.10.0 
highlight-line 0.12.0 
highlight-selected 0.13.1 
html-entities 0.4.0 
hyperclick 0.1.5 
intentions 1.1.5 
jquery-snippets 11.0.0 
language-applescript 0.3.0 
language-doxygen 0.3.0 
language-htaccess 0.2.0 
language-markdown 0.25.1 
language-smarty 1.8.0 
language-twig 1.6.3 
language-typoscript2 1.4.0 
line-ending-converter 1.3.2 
lines 0.13.1 
linter 2.2.0 
linter-php 1.5.1 
linter-sass-lint 1.8.3 
linter-ui-default 1.6.10 
minimap 4.29.7 
minimap-git-diff 4.3.1 
open-file-in 1.2.3 
open-recent 5.0.0 
package-cop 0.2.10 
package-list 0.1.2 
pigments 0.40.2 
sort-lines 0.18.0 
svg-preview 0.12.1 
svgo 3.0.0 
symbols-tree-view 0.14.0 
tool-bar 1.1.6 
tree-view-autoresize 2.3.0 
typo3 0.7.0 
typo3-fluid-atom-snippets 1.4.0 
uniq-line 0.0.2 
url-encode 0.5.0 
weboutline 0.6.0 
wordpress-dictionary 4.4.0 
xml-formatter 0.11.0 

php ending tag

Hi and thanks for your addon.

For generating the outline of a php file it seems that the closing php tag its necessary โ€ฆ

Do you think it possible to deal with that when we ommit the end php tags in some non mixed php source files ?

Functions with default argument values

The Weboutline package seems to have issues with functions that have default argument values set:

function doSomething(options={}) {
  // do something
}

This function will not show up in the outline panel.

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.