babobski / beautify-js Goto Github PK
View Code? Open in Web Editor NEWThis little beautifier will reformat/minify css, html and javascript for komodo edit/ide.
License: MIT License
This little beautifier will reformat/minify css, html and javascript for komodo edit/ide.
License: MIT License
Select to beginning form line to fix current indent bug
Currently the options are pretty far hidden in komodo, it's an idea to make the settings more accessible by making it accessible true the menu of the addon.
<p>
Every organization we work with is seeking to communicate a message. We help develop
that message and make it come to life! Whether on
the web or through print and mail, we partner with
our customers to take a simple idea and create a
tangible reality.
</p>
The document type is html5 with the wrap near 80 setting as you can see the first line is longer than the rest by quite a bit, well past the 80. The subsequent lines seem to wrap correctly.
When using selected text, the indentation is misbehaving
Please add an option to beautify each time the file is saved.
I realize that at http://komodoide.com/packages/addons/beautify-js/ you have provided a programmer-oriented workaround for adding this functionality on a per-installation basis, but it is not viable for deployment to non-programmer authors who are e.g. doing internationalization.
I'm curious as to why you provided that intricate workaround rather than implementing it in the plugin to begin with, as e.g. is done in the atom-beautify plugin. Is there some limitation to the Komodo plugin architecture that prevents this option from being bundled into the add-on, with a simple checkbox to turn on or off? Or did you simply not have time? Thanks for any feedback, as I'm considering plugin development for Komodo or Atom myself, and I need to know about any limitations of one versus the other.
We need a way to configure Komodo Beautify-js based on a configuration file. Going to plugin configuration panel (sheesh, just trying to figure out how to get into a plugin's option is a maze in Komodo) and twiddling with individual settings won't work to keep the settings consistent for our authors and translators. (Heck, it won't even work well for me installing Komodo on two machines.)
The existing https://github.com/beautify-web/js-beautify approach is to have a .jsbeautifyrc
file in the project (in the current directory or a parent directory, for example.). The Atom plugin https://atom.io/packages/atom-beautify respects this file. Your plugin seems to ignore it.
At the very least the plugin should allow me to point to an existing configuration file.
Would be nice to have a option to minify js and css on save, to filename.min.js
Please provide some default key bound to the beautifier.
I realize that at http://komodoide.com/packages/addons/beautify-js/ you have provided a programmer-oriented workaround for adding this functionality on a per-installation basis, but it is not viable for deployment to non-programmer authors who are e.g. doing internationalization.
I'm curious as to why you provided that intricate workaround rather than implementing it in the plugin to begin with, as e.g. is done in the atom-beautify plugin. Is there some limitation to the Komodo plugin architecture that prevents a key mapping from being bundled into the add-on? Or at least the plugin should provide something that would appear in the keymap UI in Komodo that I could easily bind keys to without adding code. Again is there some limitation in Komodo that prevents this from simply showing up as something I can bind keys to in the UI?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.