victorporof / Sublime-HTMLPrettify

HTML, CSS, JavaScript, JSON, React/JSX and Vue code formatter for Sublime Text 2 and 3 via node.js
https://github.com/victorporof/Sublime-HTMLPrettify
1.92k stars 260 forks source link

can we ignore certain lines of copy #248

Closed dnecklesportfolio closed 9 years ago

dnecklesportfolio commented 9 years ago

like tweenlite commands.... go to greensock.com, copy a command as it's javascript...prettify it and you will see that it makes the command take up more than one lines because it assumes the tweenlite.to..... command is a function but it's not one.

dnecklesportfolio commented 9 years ago

Maybe lines that start with Tweenlite or TweenMax

victorporof commented 9 years ago

Don't think we should support this specifically.

dnecklesportfolio commented 9 years ago

What about generally, come on. Make it for any kind of text or lines of code people choose, That sucks cause the code is not as readable. On Aug 30, 2015 7:50 AM, "Victor Porof" notifications@github.com wrote:

Don't think we should support this specifically.

— Reply to this email directly or view it on GitHub https://github.com/victorporof/Sublime-HTMLPrettify/issues/248#issuecomment-136130730 .

victorporof commented 9 years ago

How would you implement such a thing? I'm not sure I fully understand what you're asking for.