Giter Site home page Giter Site logo

console-log-atom's Introduction

Build Status apm apm apm

console-log package

console-log is a simple and smart helper function that makes logging and debugging easy. New Config options added

Features (click for demo)

Basic Logging

Smart Object Logging (Incremental improvements in works)

Smart Function Logging (Early release still in works)

Smart Conditionals Logging (early release)

Logging Cleanup

Identifier Styling (Chrome Dev Tools only)

Note:- This functionality will only work for selected text

Installation

You can install this package from the CLI or from the Editor.

  • CLI - apm install console-log
  • Editor - Atom > Preferences > Install > Search for console-log in Packages

Configurations

  • Include semi-colons : Choose whether you want to include semi-colons at end of console.log function. Depending on the linting standard you use, you can choose to include semicolons. Defaults to no semi-colons
  • Define Identifier case : Choose whether to retain case of selected text when creating identifier. Defaults to creating an identifier in capital case of selected text
  • Include background style for identifier: For logging in the chrome dev tools console, you can choose to enable background styling for the identifier defaults to none
  • Include text style for identifier: For logging in the chrome dev tools console, you can choose to enable text styling for the identifier defaults to none
  • Include String TEST for identification if no text selected: Rather than include a dumb console.log() insert, if you can select to have console.log('TEST') inserted, which will show up as the code run past it.

Languages Supported

  • Javascript

Coming soon !

  • Support for single line es6 arrow functions
  • code contributions are welcome.

Help me help you !

If you see any bugs in this package or if you have any additional features that you would like, please add an issue to this repo and I will look to resolve it.

console-log-atom's People

Contributors

vishysank avatar pdonias avatar hyunseob avatar

Watchers

James Cloos avatar Mihai avatar

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.