Giter VIP home page Giter VIP logo

beautify-js's People

Contributors

babobski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

beautify-js's Issues

Make settings easier to discover

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.

Wrap line length, first line not correct

                           <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.

add beautify-on-save functionality

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.

need file-based configuration

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.

add easy way to bind keymap

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?

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.