AnWeber / atom-htmltidy

Atom Package to tidy up HTML with HTML Tidy 5
MIT License
2 stars 1 forks source link

TextEditor.displayBuffer is deprecated. #21

Open tommygooden opened 6 years ago

tommygooden commented 6 years ago

TextEditor.prototype.displayBuffer has always been private, but now it is gone. Reading the displayBuffer property now returns a reference to the containing TextEditor, which now provides some of the API of the defunct DisplayBuffer class.

TextEditor.displayBuffer (<embedded>:2488:16)
EditorHandler._setText (C:\Users\Tommy Gooden\.atom\packages\atom-htmltidy\lib\editorHandler.js:198:76)
<unknown> (C:\Users\Tommy Gooden\.atom\packages\atom-htmltidy\lib\editorHandler.js:130:22)
<unknown> (null:null:null)
process._tickCallback (internal/process/next_tick.js:188:7)
AnWeber commented 6 years ago

I stopped supporting this plugin, because I switched to vscode. Sorry.

Arcanemagus commented 6 years ago

If you are looking for linting you can switch to linter-tidy which uses the same tidy-html5 tool. It looks like nobody has bothered to implement fix functionality in there though if that is what you are after.

You can also check out ide-html which should support all of the features of the underlying langauge server.