beotiger / jstoolnpp Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jstoolnpp
Automatically exported from code.google.com/p/jstoolnpp
A javascript plugin for Notepad++ (formerly JSMinNpp). * Douglas Crockford's JSMin algorithm to minimize javascript code. * My own algorithm to format javascript code. * A JSON data viewer. This JSON data viewer can handle >10MB JSON file easily. Really helpful to javascript coder on Notepad++ and really easy to use it. Made in China. Project Site http://www.sunjw.us/jsminnpp INSTALL Download it from https://code.google.com/p/jstoolnpp/ and copy JSMinNpp.dll to plugin directory of Notepad++. Or you can just install "JSTool" from Plugin Manager in Notepad++. LICENSE GPL 2.0 AUTHOR Sun Junwen sunjw8888 at gmail.com
What steps will reproduce the problem?
1. open a javascript file that has some `return SMTHG` statements
2. execute JSMin->JSFormat
What is the expected output? What do you see instead?
I expect a nicely formatted and working code - I get a nicely formatted but not
working code :)
eg.
-----
function a() { return {a:'a'}}
-----
becomes:
-----
function a()
{
return
{
a : 'a'
}
}
-----
it should be:
-----
function a()
{
return {
a : 'a'
}
}
-----
(actually I personally prefer
-----
function a() {
/* blah blah */
}
-----
What version of the product are you using? On what operating system?
1.11
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 22 Jun 2012 at 11:04
What steps will reproduce the problem?
1. create a var statement spanning multiple lines
2. run JSMin
3. run JSLint
What is the expected output? What do you see instead?
Expected output is that declaired variables on new lines should be indented in
from the var statement. This is what is expected from JSLint.
Instead, each new variable is at the same column/character position of the var
statement.
What version of the product are you using? On what operating system?
1.11.0.0 (windows 7 home premium)
Please provide any additional information below.
I don't think there's anything else to add.
Original issue reported on code.google.com by [email protected]
on 9 Aug 2012 at 3:09
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.