Code Monkey home page Code Monkey logo

ide-html's Introduction

ide-html

apm-download-count ci-status dependency-status

Atom-IDE for HTML, Go Template, Mustache and other Templates.

demo-outline-1

demo-outline-2

Features

  • HTML Outline in Outline View
    • Quick navigation by clicking
    • Quick tag selection by double clicking
    • Searching by entering tag name or class name

Requirements

Please install following requirements before installing ide-html:

FAQ

Why I could not download this Atom package?

Please make sure you have installed all softwares in Requirements section.


I've installed ide-html. Why there is still nothing shown in Outline View when html opened?

Please check the file exists in the Project Tree View so that it can be handled by ide-html.

In addition, to show outline view, use Atom command Outline View: Toggle.


How can I customize this package?

Please read CONTRIBUTING.md for more details.


Notes and References

License

MIT License

ide-html's People

Contributors

dependabot[bot] avatar greenkeeper[bot] avatar liuderchi avatar mallardduck avatar renovate-bot avatar renovate[bot] avatar rwatts3 avatar vinkla avatar

Stargazers

 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

ide-html's Issues

ARM64 support

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Pulsar: 1.114.2024021615 arm64
Electron: 12.2.3
OS: macOS 14.3.1
Thrown From: ide-html package 0.7.0

Stack Trace

Failed to activate the ide-html package

At No native build was found for platform=darwin arch=arm64 runtime=electron abi=87 uv=1 armv=8 libc=glibc node=14.16.0 electron=12.2.3
    loaded from: /Users/connorwatson/.pulsar/packages/ide-html/node_modules/zadeh


Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=87 uv=1 armv=8 libc=glibc node=14.16.0 electron=12.2.3
    loaded from: /Users/connorwatson/.pulsar/packages/ide-html/node_modules/zadeh

    at Function.load.resolve.load.path (/packages/ide-html/node_modules/node-gyp-build/node-gyp-build.js:60:9)
    at load (/packages/ide-html/node_modules/node-gyp-build/node-gyp-build.js:22:30)
    at /packages/ide-html/node_modules/zadeh/index.js:1:2743)
    at /packages/ide-html/node_modules/zadeh/index.js:4:3)
    at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
    at /app.asar/src/compile-cache.js:252:23)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.o._load (electron/js2c/renderer_init.js:33:379)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (/app.asar/src/native-compile-cache.js:67:27)
    at /packages/ide-html/node_modules/atom-languageclient/build/lib/adapters/autocomplete-adapter.js:15:17)
    at /packages/ide-html/node_modules/atom-languageclient/build/lib/adapters/autocomplete-adapter.js:441:3)
    at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
    at /app.asar/src/compile-cache.js:252:23)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.o._load (electron/js2c/renderer_init.js:33:379)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (/app.asar/src/native-compile-cache.js:67:27)
    at /packages/ide-html/node_modules/atom-languageclient/build/lib/auto-languageclient.js:19:32)
    at /packages/ide-html/node_modules/atom-languageclient/build/lib/auto-languageclient.js:952:3)
    at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
    at /app.asar/src/compile-cache.js:252:23)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.o._load (electron/js2c/renderer_init.js:33:379)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (/app.asar/src/native-compile-cache.js:67:27)
    at /packages/ide-html/node_modules/atom-languageclient/build/lib/main.js:18:31)
    at /packages/ide-html/node_modules/atom-languageclient/build/lib/main.js:35:3)
    at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
    at /app.asar/src/compile-cache.js:252:23)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.o._load (electron/js2c/renderer_init.js:33:379)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (/app.asar/src/native-compile-cache.js:67:27)
    at /packages/ide-html/src/main.js:2:32)
    at /packages/ide-html/src/main.js:47:3)
    at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
    at /app.asar/src/compile-cache.js:252:23)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.o._load (electron/js2c/renderer_init.js:33:379)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (/app.asar/src/native-compile-cache.js:67:27)
    at requireModule (/app.asar/src/module-utils.js:3:17)
    at Package.requireMainModule (/app.asar/src/package.js:912:27)
    at Package.activateNow (/app.asar/src/package.js:232:34)
    at /app.asar/src/package.js:211:27
    at Package.measure (/app.asar/src/package.js:82:19)
    at /app.asar/src/package.js:205:14
    at new Promise (<anonymous>)
    at Package.activate (/app.asar/src/package.js:203:32)
    at PackageManager.activatePackage (/app.asar/src/package-manager.js:780:36)
    at /app.asar/src/package-manager.js:755:30
    at Config.transactAsync (/app.asar/src/config.js:925:22)
    at PackageManager.activatePackages (/app.asar/src/package-manager.js:753:17)
    at PackageManager.activate (/app.asar/src/package-manager.js:730:44)
    at /app.asar/src/atom-environment.js:1044:21
    at async Promise.all (index 0)
    at AtomEnvironment.startEditorWindow (/app.asar/src/atom-environment.js:1072:20)

Commands

Non-Core Packages

advanced-open-file 0.16.8 
atom-beautify 0.33.4 
atom-clock 0.1.18 
atom-django 0.3.2 
atom-html-preview 0.2.7 
atom-ide-ui 0.13.0 
atom-live-server 2.3.0 
atom-python-run 0.9.7 
atom-ternjs 0.20.0 
autoclose-html 0.23.0 
autocomplete 0.47.0 
autocomplete-clang 0.13.1 
autocomplete-paths 2.17.0 
autocomplete-python 1.17.1 
browser-plus 0.0.98 
build 0.70.0 
build-python 0.17.0 
busy 0.7.0 
busy-signal 2.0.1 
color-picker 2.3.0 
emmet 2.4.3 
file-icons 2.1.47 
git-control 0.9.0 
git-plus 8.7.1 
git-time-machine 2.1.0 
go-debug 1.7.0 
go-plus 6.1.0 
gpp-compiler 3.0.7 
highlight-selected 0.17.0 
Hydrogen 2.16.3 
hyperclick 0.0.0 
ide-html 0.7.0 
ide-java 0.9.1 
ide-python 1.9.7 
intentions 2.1.1 
linter 3.4.0 
linter-jshint 3.1.19 
linter-python 3.1.2 
linter-ui-default 3.4.1 
MagicPython 1.1.1 
merge-conflicts 1.4.5 
minimap 4.40.1 
minimap-highlight-selected 4.6.6 
pdf-view 0.73.0 
pigments 0.40.6 
pretty-json 2.1.2 
project-manager 3.3.8 
pulsar-ide-python 1.11.1 
python-autopep8 0.1.3 
python-black 0.7.0 
python-debugger 0.2.0 
python-indent 1.2.6 
python-isort 0.0.7 
python-linters 0.0.5 
python-requirements 1.3.0 
python-snippets 1.9.0 
python-tools 0.6.9 
terminal-plus 0.14.5 
x-terminal-reloaded 14.3.0 

Additional Information

Wrong Outline

Description

Wrong tag level in outline view.

Expected Behavior

The body tag should be in the same level as the head tag.
nahbug2

Actual Behavior

It take the body tag as a child of the head tag.
nahbug

Possible Fix

It's happen when the body tag doesn't have any tag within it. I think the body tag should be the same level as the head tag because it is on the outside of the head tag.

Context

It's confusing, it's not just the body tag, but also all tag that doesn't have any tag within it.

Your Environment

  • Version used: 0.4.2
  • Operating System and version (desktop): Windows 10

Sorry for bad english.

Doesn't play nice with PHP files

Description

When this package is enabled it overrides the outline view for PHP based files. Sometimes this is ok, when the PHP file is mostly HTML with inlined PHP (i.e. WordPress template files).

However, it outright breaks PHP files that are only PHP. So when working on PHP package development ide-html would have to be disabled. For PHP classes such as SslCertificate.php it just shows a single item ? and overrides ide-php or orther php parsers for Atom.

Expected Behavior

For PHP files that are mostly HTML with inline PHP, it would be best for the outline to just show something like <?php indicating that there's a block of php code. Basing the depth on the surrounding HTML.

For PHP files that are only PHP code - ideally the outline will just come from the ide-php or ide-seranata package and not be affected by the this one.

Visual Examples:
The real outline of an all PHP walker-nav file:
walker-nav-real-outline

And a mock up of the mostly HTML template file:
screen shot 2019-01-28 at 7 38 11 am
Note: Image adjusted to 'fix' the current issue being described.

Actual Behavior

See images here:

This an all PHP file, same one as above:
walker-nav-outline

And this is from the common header.php file for wordpress themes:
screen shot 2019-01-28 at 7 34 31 am
The only issue being that the PHP tags included add artficial depth to the a.brand-text tag. And that they could potentially be better represented by <?php rather than ?.

Possible Fix

Make PHP an optional extension to outline for - or improve interop with other ide-* parsers though that may not be as realistic. I'm not very familiar with Atom APIs so I'm not sure if such interop is possible.

Steps to Reproduce

  1. Have ide-html enabled.
  2. Open a .php file
  3. Try to use outline.

Context

In order to properly debug real PHP files of any type I have to disable ide-html. Even in the PHP packages I maintain such as mallardduck/ssl-certificate.

Your Environment

html renderer

Description

This is a feature request.

I'ld like to be able to display an html page in atom, found nothing so far, I expected this package to do the trick. Nothing complicated, I've all inclusive tests reports, it's a waste of tome to have to open it somewhere else.

Failed to activate the ide-html package

I have just installed the package.

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Mac OS X 10.13.1
Thrown From: ide-html package 0.4.1

Stack Trace

Failed to activate the ide-html package

At EACCES: permission denied, open '/Users/projetmbc/.atom/packages/ide-html/WELCOME_SHOWN'

Error: EACCES: permission denied, open '/Users/projetmbc/.atom/packages/ide-html/WELCOME_SHOWN'
    at Object.fs.openSync (fs.js:558:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at showWelcomeNotification (/packages/ide-html/src/welcome_notification.js:59:23)
    at /packages/ide-html/src/main.js:12:5)
    at /packages/ide-html/src/main.js:44:18)
    at /packages/ide-html/src/main.js:46:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/src/package.js:903:35)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:242:22)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:99:21)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:215:40)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:690:42)
    at config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:665:36)
    at Config.module.exports.Config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/config.js:367:24)
    at PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:663:23)
    at PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:646:50)
    at /Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:854:36

Commands

     -0:44.1.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling)
  2x -0:24.9.0 application:open (input.hidden-input)

Non-Core Packages

atom-alignment 0.13.0 
atom-ide-ui 0.5.4 
file-icons 2.1.13 
ide-cpp 0.0.3 
ide-css 0.2.0 
ide-html 0.4.1 
ide-python 0.3.0 
ide-typescript 0.7.0 
language-gfm-enhanced 0.92.0 
language-latex 1.1.1 
latex 0.49.0 
markdown-preview-enhanced 0.15.0 
pdf-view 0.59.0 
script 3.17.3 

Uncaught Error: Message header must separate key and value using :

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.29.0 x64
Electron: 2.0.5
OS: Microsoft Windows 10 Pro
Thrown From: ide-html package 0.4.2

Stack Trace

Uncaught Error: Message header must separate key and value using :

At C:\Users\Owner\.atom\packages\ide-html\node_modules\vscode-jsonrpc\lib\messageReader.js:68

Error: Message header must separate key and value using :
    at /packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:68:23
    at Array.forEach (<anonymous>)
    at MessageBuffer.tryReadHeaders (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:65:17)
    at StreamMessageReader.onData (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:194:43)
    at /packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:185:19)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at Pipe.onread (net.js:594:20)

Commands

     -5:38.8.0 snippets:next-tab-stop (input.hidden-input)
     -5:38.8.0 snippets:expand (input.hidden-input)
     -5:38.8.0 editor:indent (input.hidden-input)
 18x -5:32.6.0 core:backspace (input.hidden-input)
  2x -3:55.2.0 core:move-right (input.hidden-input)
     -3:54.5.0 core:backspace (input.hidden-input)
     -3:17.5.0 snippets:next-tab-stop (input.hidden-input)
     -3:17.5.0 snippets:expand (input.hidden-input)
     -3:17.5.0 editor:indent (input.hidden-input)
     -3:15.2.0 core:move-up (input.hidden-input)
     -3:13.8.0 editor:newline (input.hidden-input)
     -3:12.8.0 core:move-down (input.hidden-input)
  2x -3:12.5.0 core:move-right (input.hidden-input)
 14x -3:08.9.0 core:backspace (input.hidden-input)
  3x -1:29.6.0 core:delete (input.hidden-input)
     -1:19.1.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-beautify 0.32.5 
atom-ide-ui 0.13.0 
autoclose-html 0.23.0 
autocomplete-json 5.5.2 
autocomplete-modules 2.1.0 
fonts 3.1.0 
html-shorcuts-react 3.0.3 
ide-html 0.4.2 
ide-typescript 0.7.6 
language-babel 2.85.0 
language-javascript-jsx 0.3.7 
react 0.18.0 
react-snippets 1.1.1 

outline view keep loading

Description

After I opened the outline view, it just keep loading. It happens both on my Mac and Windows.

ide-html

Your Environment

awfull icons in outline panel

We have awfull empty bars in list of DOM objects in html files.
Maybe we can add icons for divs, ahrefs, imgs, spans, nav, footer, aside, main?

Help

Description

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop or mobile):
  • Link to your project:

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v2
  • actions/setup-node v2
npm
package.json
  • atom-languageclient ^1.10.0
  • vscode-html-languageserver-bin ^1.4.0
  • eslint ^7.27.0

  • Check this box to trigger a request for Renovate to run again on this repository

Uncaught Error: Connection is closed.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.21.0 x64
Electron: 1.6.9
OS: "Fedora release
Thrown From: ide-html package 0.3.0

Stack Trace

Uncaught Error: Connection is closed.

At /home/rvindenes/.atom/packages/ide-html/node_modules/vscode-jsonrpc/lib/main.js:606

Error: Connection is closed.
    at /packages/ide-html/node_modules/vscode-jsonrpc/lib/main.js:131:28)
    at throwIfClosedOrDisposed (/packages/ide-html/node_modules/vscode-jsonrpc/lib/main.js:606:19)
    at Object.sendNotification (/packages/ide-html/node_modules/vscode-jsonrpc/lib/main.js:660:13)
    at LanguageClientConnection._sendNotification (/packages/ide-html/node_modules/atom-languageclient/build/lib/languageclient.js:244:15)
    at LanguageClientConnection.didChangeTextDocument (/packages/ide-html/node_modules/atom-languageclient/build/lib/languageclient.js:133:10)
    at TextEditorSyncAdapter.sendFullChanges (/packages/ide-html/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:183:22)
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at /usr/share/atom/resources/app/src/text-editor.js:626:38
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/event-kit/lib/emitter.js:141:34)
    at DisplayLayer.emitDidChangeSyncEvent (/usr/share/atom/resources/app/node_modules/text-buffer/lib/display-layer.js:823:24)
    at decorationLayerDisposable.textDecorationLayer.onDidInvalidateRange (/usr/share/atom/resources/app/node_modules/text-buffer/lib/display-layer.js:161:20)
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/usr/share/atom/resources/app/src/tokenized-buffer.js:241:28)
    at /usr/share/atom/resources/app/src/tokenized-buffer.js:206:32
    at /usr/share/atom/resources/app/node_modules/underscore/underscore.js:666:53

Commands

     -8:46.8.0 core:close (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.5 
atom-ide-ui 0.4.0 
atom-ternjs 0.18.3 
autocomplete-modules 1.7.2 
busy-signal 1.4.3 
editorconfig 2.2.2 
file-icons 2.1.12 
fonts 3.0.3 
git-blame 1.3.1 
git-time-machine 1.5.9 
gl-light-syntax 3.0.0 
ide-css 0.2.0 
ide-html 0.3.0 
ide-json 0.1.0 
ide-typescript 0.6.1 
intentions 1.1.5 
language-babel 2.75.1 
linter 2.2.0 
linter-eslint 8.3.2 
pigments 0.40.2 
project-manager 3.3.5 
project-sidebar 1.3.0 
sync-settings 0.8.3 

"TypeError: Cannot read property 'length' of undefined" error with PHP file

Description

Reported in atom/ide-php#63.

If you have a PHP file with a .html extension, the outline view doesn't work and you get this error in devtools console:

/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:164 TypeError: Cannot read property 'length' of undefined
    at r.push.outline.tokenizedText.map (/Users/rsese/.atom/packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-outline-view/lib/OutlineView.js:418:28)
    at Array.map (native)
    at renderItem (/Users/rsese/.atom/packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-outline-view/lib/OutlineView.js:416:37)
    at OutlineViewCore._outlineTreeToNode.outlineTree (/Users/rsese/.atom/packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-outline-view/lib/OutlineView.js:335:18)
    at Array.map (native)
    at OutlineViewCore.render (/Users/rsese/.atom/packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-outline-view/lib/OutlineView.js:390:39)
    at h (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:130:280)
    at beginWork (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:133:485)
snip...

Full error:

/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:164 TypeError: Cannot read property 'length' of undefined at r.push.outline.tokenizedText.map (/Users/rsese/.atom/packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-outline-view/lib/OutlineView.js:418:28) at Array.map (native) at renderItem (/Users/rsese/.atom/packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-outline-view/lib/OutlineView.js:416:37) at OutlineViewCore._outlineTreeToNode.outlineTree (/Users/rsese/.atom/packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-outline-view/lib/OutlineView.js:335:18) at Array.map (native) at OutlineViewCore.render (/Users/rsese/.atom/packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-outline-view/lib/OutlineView.js:390:39) at h (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:130:280) at beginWork (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:133:485) at d (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:161:93) at f (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:161:417) at g (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:162:149) at m (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:169:173) at w (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:168:413) at z (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:167:32) at u (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:165:441) at Object.enqueueSetState (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:108:299) at Object.A.setState (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/react/cjs/react.production.min.js:12:357) at a._subscription.stream.subscribe.newState [as _next] (/Users/rsese/.atom/packages/atom-ide-ui/modules/nuclide-commons-ui/bindObservableAsProps.js:47:14) at a.__tryOrUnsub (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:71:208) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:70:63) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:68:217) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a.notifyNext (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:262:433) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90:52) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:136:208) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a.notifyNext (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:262:433) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90:52) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:136:208) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:183:159) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:136:208) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:183:159) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a.notifyNext (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:88:375) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90:52) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a.notifyNext (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:105:241) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90:52) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at r (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:33:240) at a._innerSub (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:104:487) at a._tryNext (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:104:422) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:104:250) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a._subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:88:219) at a.b._trySubscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:73:217) at a.b.subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:73:43) at b.call (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:103:401) at b.subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72:483) at r (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:33:305) at a._callFactory (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:107:45) at a.tryDefer (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:106:442) at new a (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:106:383) at a._subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:106:270) at a.b._trySubscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:73:217) at a.b.subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:73:43) at b.call (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:182:145) at b.subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72:483) at b.call (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:135:406) at b.subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72:483) at b.call (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:182:145) at b.subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72:483) at b.call (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:135:406) at b.subscribe (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72:483) at r (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:33:305) at a._innerSub (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:262:1) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:261:375) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:68:217) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:77:124) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:146:321) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:68:217) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a.notifyNext (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:262:433) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90:52) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at a.notifyNext (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:105:241) at a._next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90:52) at a.next (/Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67:406) at /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:93:343 h @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:164 g @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:162 m @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:169 w @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:168 z @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:167 u @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:165 enqueueSetState @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/react-dom/cjs/react-dom.production.min.js:108 A.setState @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/react/cjs/react.production.min.js:12 _subscription.stream.subscribe.newState @ /Users/rsese/.atom/packages/atom-ide-ui/modules/nuclide-commons-ui/bindObservableAsProps.js:47 a.__tryOrUnsub @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:71 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:70 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:68 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a.notifyNext @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:262 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:136 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a.notifyNext @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:262 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:136 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:183 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:136 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:183 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a.notifyNext @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:88 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a.notifyNext @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:105 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 r @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:33 a._innerSub @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:104 a._tryNext @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:104 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:104 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a._subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:88 b._trySubscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:73 b.subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:73 b.call @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:103 b.subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72 r @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:33 a._callFactory @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:107 a.tryDefer @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:106 a @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:106 a._subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:106 b._trySubscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:73 b.subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:73 b.call @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:182 b.subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72 b.call @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:135 b.subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72 b.call @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:182 b.subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72 b.call @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:135 b.subscribe @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:72 r @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:33 a._innerSub @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:262 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:261 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:68 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:77 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:146 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:68 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a.notifyNext @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:262 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 a.notifyNext @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:105 a._next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:90 a.next @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:67 (anonymous) @ /Users/rsese/.atom/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:93

Expected Behavior

No error or if PHP files with a .html extension isn't supported, maybe a notification/error/warning in the outline view that mentions this?

Actual Behavior

You get the error mentioned above and the outline view is blank.

Possible Fix

Not sure! ๐Ÿค”

Steps to Reproduce

  1. Save a file called test.html with this content:
<?php
function foo() {
  echo "<p>Hello World!</p>";
}
?>

<html>
 <head>
  <title>Hello World</title>
 </head>
 <body>a
<?
  foo();
?>
 </body>
</html>
  1. Toggle the outline view with Outline View: Toggle

Context

The person that reported the error to ide-php thought the error was coming from ide-php but it was coming from ide-html - it was confusing for us because we assumed the error was with ide-php as well but we couldn't reproduce.

Your Environment

  • Version used:
    ide-html 0.4.1
atom -v
Atom    : 1.24.0
Electron: 1.6.16
Chrome  : 56.0.2924.87
Node    : 7.4.0
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop or mobile):
    macOS 10.12.6
  • Link to your project:
    n/a

No outline available

Description

I'm receiving an error message:

No outline available

This is likely an error with the language package.

screen shot 2018-05-16 at 09 44 19

  • Atom 1.27.0
  • ide-html 0.4.2

Autocomplete Plus Issues

Description

I'm having issues with the autocomplete entries that are provided by this package. If I select an item in the autocomplete UI and trigger the autocomplete-plus:confim command from either the hotkeys defined or the command palette, the autocomplete UI disappears but the value does not get inserted. Other autocomplete options from different packages appear to work correctly.

Expected Behavior

I hit tab and the autocomplete value gets inserted.

Actual Behavior

The autocomplete UI is dismissed but no value is inserted.

Steps to Reproduce

  1. Start typing code.
  2. Select autocomplete option.
  3. Press tab/enter.

Your Environment

  • Version used: 0.4.2
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
    • ares: "1.10.1-DEV"
    • atom-shell: "1.7.11"
    • chrome: "58.0.3029.110"
    • electron: "1.7.11"
    • http_parser: "2.7.0"
    • modules: "54"
    • node: "7.9.0"
    • openssl: "1.0.2k"
    • uv: "1.11.0"
    • v8: "5.8.283.38"
    • zlib: "1.2.11"
  • Operating System and version (desktop or mobile): Windows 7

Uncaught Error: Header must provide a Content-Length property.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.42.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.2
Thrown From: ide-html package 0.6.0

Stack Trace

Uncaught Error: Header must provide a Content-Length property.

At /Users/shinjinakashima/.atom/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:163

Error: Header must provide a Content-Length property.
    at StreamMessageReader.onData (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:163:27)
    at Socket.readable.on (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:148:18)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Commands

     -4:12.7.0 core:paste (input.hidden-input)
  8x -4:03.6.0 core:select-right (input.hidden-input)
     -4:00.1.0 autocomplete-plus:cancel (input.hidden-input)
     -3:59.3.0 core:move-down (input.hidden-input)
     -3:58.8.0 core:move-left (input.hidden-input)
     -3:56.7.0 core:move-up (input.hidden-input)
  2x -3:56.4.0 core:move-right (input.hidden-input)
     -3:55.3.0 core:move-down (input.hidden-input)
     -3:54.8.0 core:move-left (input.hidden-input)
     -3:54.4.0 core:select-down (input.hidden-input)
     -3:53.8.0 core:backspace (input.hidden-input)
     -3:53.2.0 core:save (input.hidden-input)
     -3:16.4.0 core:copy (input.hidden-input)
     -3:15.1.0 core:paste (input.hidden-input)
  6x -3:12.3.0 core:select-right (input.hidden-input)
     -3:05.6.0 core:save (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.8 
asciidoc-preview 2.13.1 
atom-beautify 0.33.4 
atom-ide-ui 0.13.0 
atom-ide-vue 1.1.3 
atom-swift-syntax 1.1.0 
auto-encoding 0.7.2 
busy-signal 2.0.1 
docblockr 0.13.7 
document-outline 2.1.2 
file-icons 2.1.37 
git-blame 1.8.0 
git-control 0.9.0 
git-history 3.3.0 
git-plus 8.7.1 
ide-html 0.6.0 
ide-java 0.9.0 
ide-json 0.2.1 
ide-php 0.7.18 
ide-ruby 0.4.0 
ide-yaml 0.6.0 
intentions 1.1.5 
japanese-menu 1.15.0 
jekyll 2.1.0 
language-asciidoc 1.11.0 
language-swift 0.5.0 
language-vue 0.25.0 
linter 2.3.1 
linter-eslint 8.5.5 
linter-php 1.6.1 
linter-phpcs 1.7.6 
linter-ruby 1.3.1 
linter-swagger 0.6.1 
linter-ui-default 1.8.0 
open-plus 0.10.2 
php-cs-fixer 4.1.1 
plantuml-preview 0.12.9 
prettier-atom 0.58.2 
print-code 0.7.1 
show-ideographic-space 1.0.2 
Sublime-Style-Column-Selection 1.7.5 
svg-preview 0.14.0 

Crashes Atom

As soon as package is installed Atom crashes. Then I am unable to open until I revert Atom to its original state. I am able to install other packages with no issue.

  1. Issue occurred on Big Sur and Monterey OS for Mac.
  2. I just go to install this package through preferences and when the download completes Atom crashes.

Your Environment

  • Version used: 0.7.0
  • Operating System and version (desktop or mobile): Mac OS Monterey

Does not work for .html file extension

Description

IDE-HTML not work for me when I use a file with .html extension. If I change the file extension to .htm it works just fine.

Expected Behavior

HTML Outline in Outline View should work with .html file extension
Quick navigation by clicking should work with .html file extension
Quick tag selection by double clicking should work with .html file extension
Searching by entering tag name or class name should work with .html file extension

Actual Behavior

When using .html file i.e. index.html:
Outline gives an error that No Outline available, HTML files do not currently support outlines. install and IDE package first.
Quick navigation does not do anything
Quick tag selection does not do anything

Possible Fix

Don't know. I am a newbie, sorry!

Steps to Reproduce

  1. Open a file say index.htm
  2. Open Document Outline
  3. Change the filename to index.html
  4. Reopen the file to reload Outline
  5. Outline shows the error message

Context

I need to use .html extension files for my project. I can temporarily change the extension to ".htm" and resume the work, but yields unmanageable codebase.

Your Environment

Outline of PHP files messed up

When both the packages ide-php and ide-html are activated, the Outline view for PHP files is messed up. It looks like everything is considered HTML. After a long and hard search for the cause, I found I had to manually disable the option "PHP Template Language Support" buried in the ide-html package settings.

I'd request that this option is either disabled automatically when php-ide is active or the conflict is somehow resolved in another fashion :)

New Grammar `html` for tree-sitter support in the future

According to that new grammar parser tree-sitter becoming available in stable channel 1.25,

in the future we can expect new grammar html (c.f. currently we have source.html)
for this package when the new HTML parser powered by tree-sitter is ready.

P.S.


TODO

  • subscribing node-tree-sitter repo
  • create similar issue for ide-css ide-yaml

Uncaught Error: Header must provide a Content-Length property.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.57.0 x64
Electron: 9.4.4
OS: Ubuntu 20.04.3
Thrown From: ide-html package 0.7.0

Stack Trace

Uncaught Error: Header must provide a Content-Length property.

At /home/jose/.atom/packages/ide-html/node_modules/vscode-jsonrpc/lib/common/messageReader.js:138

Error: Header must provide a Content-Length property.
    at StreamMessageReader.onData (/packages/ide-html/node_modules/vscode-jsonrpc/lib/common/messageReader.js:138:27)
    at /packages/ide-html/node_modules/vscode-jsonrpc/lib/common/messageReader.js:122:18)
    at Socket.emit (events.js:223:5)
    at addChunk (_stream_readable.js:309:12)
    at readableAddChunk (_stream_readable.js:290:11)
    at Socket.Readable.push (_stream_readable.js:224:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:181:23)

Commands

     -1:09.7.0 intentions:highlight (input.hidden-input)
     -1:09.6.0 editor:delete-to-beginning-of-word (input.hidden-input)
     -0:53.2.0 intentions:highlight (input.hidden-input)
     -0:53 core:save (input.hidden-input)
     -0:35.4.0 intentions:highlight (input.hidden-input)
     -0:35.1.0 core:copy (input.hidden-input)
     -0:30 intentions:highlight (input.hidden-input)
     -0:29.9.0 core:paste (input.hidden-input)
  2x -0:27.6.0 intentions:highlight (input.hidden-input)
     -0:19.4.0 core:copy (input.hidden-input)
     -0:18.4.0 intentions:highlight (input.hidden-input)
     -0:18.3.0 core:paste (input.hidden-input)
     -0:18.1.0 intentions:highlight (input.hidden-input)
     -0:17.9.0 core:save (input.hidden-input)
     -0:08.5.0 intentions:highlight (input.hidden-input)
     -0:08.1.0 core:save (input.hidden-input)

Non-Core Packages

atom-black 0.2.3 
atom-html-preview 0.2.7 
atom-ide-base 3.4.0 
atom-ide-code-format 1.0.2 
atom-ide-datatip 0.25.0 
atom-ide-definitions 0.4.2 
atom-ide-hyperclick 1.0.11 
atom-ide-markdown-service 2.1.0 
atom-ide-outline 3.2.0 
atom-ide-signature-help 0.16.0 
atom-ide-ui 0.13.0 
atom-latex 0.9.1 
autocomplete-bash-builtins 0.3.5 
busy-signal 2.0.1 
dbg 1.6.3 
dbg-gdb 1.7.8 
file-type-icons 1.3.4 
git-log 0.4.1 
glsl-preview 2.0.1 
graphviz-preview-plus 1.5.14 
highlight-selected 0.17.0 
ide-fortran 0.4.0 
ide-html 0.7.0 
ide-python 1.9.7 
intentions 2.1.1 
language-ansi-styles 0.1.0 
language-dot 1.7.0 
language-fortran 2.1.12 
language-glsl 2.0.4 
language-matlab-octave 1.2.0 
language-openmp 0.3.0 
language-trf 0.7.0 
language-viz 0.1.0 
linter 3.4.0 
linter-gfortran 1.0.0 
linter-glsl 2.2.0 
linter-ui-default 3.4.1 
minimap 4.40.0 
minimap-git-diff 4.3.6 
minimap-highlight-selected 4.6.6 
minimap-split-diff 0.3.7 
output-panel 0.3.4 
pdf-view 0.73.0 
platformio-ide-terminal 2.10.1 
python-debugger 0.2.0 
python-docstring 0.0.3 
Sublime-Style-Column-Selection 1.7.5 
trailing-spaces 0.4.0 

Uncaught SyntaxError: Unexpected end of JSON input

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.42.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.2
Thrown From: ide-html package 0.6.0

Stack Trace

Uncaught SyntaxError: Unexpected end of JSON input

At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html:1

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at StreamMessageReader.onData (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:182:29)
    at Socket.readable.on (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:148:18)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Commands

     -6:57.2.0 core:save (input.hidden-input)
     -5:36.7.0 core:copy (input.hidden-input)
     -5:34.8.0 core:move-left (input.hidden-input)
     -5:34.5.0 core:paste (input.hidden-input)
 15x -5:33.7.0 core:move-left (input.hidden-input)
     -5:29.3.0 core:save (input.hidden-input)
  2x -5:02.4.0 core:undo (input.hidden-input)
     -4:59.5.0 core:save (input.hidden-input)
     -4:10.8.0 core:backspace (input.hidden-input)
     -4:09.5.0 core:save (input.hidden-input)
  2x -3:53.2.0 core:copy (input.hidden-input)
     -3:29.5.0 find-and-replace:show (input.hidden-input)
     -3:29.2.0 core:paste (input.hidden-input)
  4x -3:27.2.0 core:confirm (input.hidden-input)
     -0:09.6.0 core:move-right (input.hidden-input)
 20x -0:04.8.0 core:select-down (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.8 
asciidoc-preview 2.13.1 
atom-beautify 0.33.4 
atom-ide-ui 0.13.0 
atom-ide-vue 1.1.3 
atom-swift-syntax 1.1.0 
auto-encoding 0.7.2 
busy-signal 2.0.1 
docblockr 0.13.7 
document-outline 2.1.2 
file-icons 2.1.37 
git-blame 1.8.0 
git-control 0.9.0 
git-history 3.3.0 
git-plus 8.7.1 
ide-html 0.6.0 
ide-java 0.9.0 
ide-json 0.2.1 
ide-php 0.7.18 
ide-ruby 0.4.0 
ide-yaml 0.6.0 
intentions 1.1.5 
japanese-menu 1.15.0 
jekyll 2.1.0 
language-asciidoc 1.11.0 
language-swift 0.5.0 
language-vue 0.25.0 
linter 2.3.1 
linter-eslint 8.5.5 
linter-php 1.6.1 
linter-phpcs 1.7.6 
linter-ruby 1.3.1 
linter-swagger 0.6.1 
linter-ui-default 1.8.0 
open-plus 0.10.2 
php-cs-fixer 4.1.1 
plantuml-preview 0.12.9 
prettier-atom 0.58.2 
print-code 0.7.1 
show-ideographic-space 1.0.2 
Sublime-Style-Column-Selection 1.7.5 
svg-preview 0.14.0 

Uncaught Error: Header must provide a Content-Length property.

[Enter steps to reproduce:]

  1. I was writing Python when this error happened...

Atom: 1.25.0 x64
Electron: 1.7.11
OS: Mac OS X 10.13.4
Thrown From: ide-html package 0.4.2

Stack Trace

Uncaught Error: Header must provide a Content-Length property.

At /Users/Nasy/.atom/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:200

Error: Header must provide a Content-Length property.
    at StreamMessageReader.onData (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:200:27)
    at /packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:185:19)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:178:18)
    at Socket.Readable.push (_stream_readable.js:136:10)
    at Pipe.onread (net.js:560:20)

Commands

     -2:57.9.0 core:move-down (input.hidden-input)
     -2:57.6.0 core:save (input.hidden-input)
     -2:56 core:move-left (input.hidden-input)
     -2:49.6.0 core:copy (input.hidden-input)
     -2:12.3.0 autocomplete-plus:confirm (input.hidden-input)
     -2:08.9.0 core:cut (input.hidden-input)
  2x -2:08.4.0 core:move-right (input.hidden-input)
  2x -2:08.0 core:backspace (input.hidden-input)
     -2:05.8.0 core:copy (input.hidden-input)
  2x -2:03.2.0 core:paste (input.hidden-input)
     -2:01.2.0 core:save (input.hidden-input)
     -1:55.7.0 editor:select-to-first-character-of-line (input.hidden-input)
     -1:55.3.0 core:copy (input.hidden-input)
  6x -1:14.1.0 core:backspace (input.hidden-input)
     -1:07.1.0 editor:select-to-end-of-line (input.hidden-input)
     -1:04.8.0 core:move-left (input.hidden-input)

Non-Core Packages

atom-beautify 0.32.2 
atom-clock 0.1.16 
atom-ide-ui 0.9.4 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
auto-update-packages 1.0.1 
autocomplete-html-entities 0.2.0 
autocomplete-modules 1.12.0 
autocomplete-paths 2.12.2 
busy-signal 1.4.3 
city-lights-ui 1.3.3 
compare-files 0.8.1 
ctags-status 1.3.7 
dash 1.7.1 
dash-ui 0.4.4 
elm-format 3.0.0 
elmjutsu 7.2.6 
emmet 2.4.3 
encourage 0.4.0 
fancy-bracket-matcher 2.1.0 
file-header 1.13.9 
file-icons 2.1.18 
flow-ide 1.11.0 
glowing-cursor 0.1.2 
grammar-token-limit 0.1.1 
hey-pane 1.1.0 
highlight-column 0.5.4 
highlight-line 0.12.0 
highlight-selected 0.13.1 
html-head-snippets 0.2.0 
html-to-elm 0.2.0 
hyperclick 0.0.0 
ide-html 0.4.2 
ide-json 0.2.1 
ide-python 0.9.2 
ide-typescript 0.7.6 
indent-guide-improved 1.4.13 
intentions 1.1.5 
keyboard-sounds 0.2.0 
language-csv 1.1.2 
language-elm 1.5.0 
line-count-status 0.0.3 
linter 2.2.0 
linter-elm-make 0.28.2 
linter-htmlhint 1.4.0 
linter-mypy 2.6.1 
linter-ui-default 1.7.1 
lisp-paredit 0.6.0 
livestyle-atom 0.2.10 
lunar-particle-ui 0.3.13 
MagicPython 1.0.12 
minimap 4.29.8 
minimap-cursorline 0.2.0 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-selection 4.5.0 
multi-wrap-guide 1.1.5 
neon-cursor 1.6.0 
one-vibrancy 0.2.0 
organized 0.8.1 
parinfer 1.22.0 
pigments 0.40.2 
pure-syntax 0.3.0 
python-debugger 0.2.0 
python-indent 1.1.5 
rainbow-csv 0.2.2 
regex-railroad-diagram 0.19.4 
seti-icons 1.5.4 
seti-ui 1.10.0 
swackets 0.35.0 
symbol-gen 1.3.1 
sync-settings 0.8.6 
tablr 1.8.3 
tree-view-copy-relative-path 1.2.0 
tree-view-git-status 1.4.0 
typewriter-sounds 3.0.1 
youtube-pane 2.0.0 

error

Description

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop or mobile):
  • Link to your project:

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.