GithubHelp home page GithubHelp logo

sixertoy / brackets-console-plus Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 7.0 622 KB

Console Logger panel for Adobe Brackets - Can helps during extensions dev

JavaScript 77.27% HTML 4.71% CSS 18.02%

brackets-console-plus's People

Contributors

ackalker avatar dalcib avatar denisov21 avatar ghalex avatar sixertoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

brackets-console-plus's Issues

Make console output selectable

Sometimes I use this extension together with Runscript to run some js snippet from Brackets, for example to stringify or parse JSON.
In that case I want to copy the result from the console panel, otherwise I have to open the developer tools afterall to copy it.

This should be easily achieved by just adding the CSS property user-select on the message:

#brackets-console-panel .box .row>span>.message {
    -webkit-user-select: text;
}

A suggestion

Tried out the extension, I have a suggestion:

Console plus appears under menu titled 'Windows', at least under Mac OS X, this creates an extra menu item, before the standard 'Window' menu. Maybe Console Plus should appear under Debug menu or View menu with text like 'Show Console Plus' / 'Hide Console Plus'.

Bug with Run script

Don't know what is it, may be Run script bug finally...
The apps is bugged by this twin extensions.

Reduce length of log messages

Messages like following probably appears because the entire app isn't running hence context isn't defined. I wish there is a way to switch them off.

Cannot find context with specified id

Secondly, is there a way to disable showing name of Javascript file that is logging to console. (This is clearly taking too much space when I am running brackets with live preview)

Deprecated functions

Hello,

the Console Plus extension always throw a warning message which is :

Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off()

Is there any fix to get rid of this message?

Brackets 1.7 crashes on launch with Console Plus 1.4.8

Since updating to 1.7 Brackets freezes during startup. After removing the extensions and then adding them 1 by 1 I've found that it's Console Plus that's the culprit.

Here's the console log I get when starting up with CP:

main.js:443 Uncaught RangeError: Maximum call stack size exceeded
get stack @ (program):594
console.warn @ main.js:443
deprecationWarning @ /utils/DeprecationWarning.js:90
Object.defineProperty.get @ /brackets.js:125
log @ main.js:273
warn @ main.js:308
console.warn @ main.js:445
deprecationWarning @ /utils/DeprecationWarning.js:90
Object.defineProperty.get @ /brackets.js:125
log @ main.js:273 
/utils/DeprecationWarning.js:85 
Uncaught RangeError: Maximum call stack size exceeded

Update minimum version requirement

Only one issue, you uploaded the extension, but I believe you forgot to set the minimum version requirement to version 1.7 of brackets. On Brackets 1.6, the extension downloaded will fail to run.

engines.brackets (encouraged) - which Brackets versions the extension is compatible with, specified as a string in semver range format. Typically >= 0.xx, where "xx" is a Brackets sprint number (this says the extension won't run on older builds before sprint "xx", but it's assumed to be compatible with all future builds of Brackets)

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.