Plugin: CSSCombWB v2.02

Browse, download and discuss plugins for Blumentals code editors

Plugin: CSSCombWB v2.02

Postby pmk65 » Wed Jun 17, 2015 7:04 pm

Integrate CSScomb into Webuilder

* CSScomb is a coding style formatter for CSS.
* You can easily write your own configuration to make your style sheets beautiful and consistent.
* Requires nodejs.

Before installing/using this plugin, you need to install nodejs and the CSScomb script.

Installation:
1.) Download plugin .ZIP file.
2.) Download and Install node.js from https://nodejs.org/
3.) Reset computer. (Required after install of node.js)
4.) Open command prompt.
5.) Enter this at the prompt: npm install csscomb -g
6.) If everything went well you should see something like this:
Code: Select all
C:\Users\Home\AppData\Roaming\npm\csscomb -> C:\Users\Home\AppData\Roaming\npm\n
ode_modules\csscomb\bin\csscomb
csscomb@3.1.7 C:\Users\Home\AppData\Roaming\npm\node_modules\csscomb
├── vow@0.4.4
├── commander@2.0.0
├── gonzales-pe@3.0.0-28
└── csscomb-core@3.0.0-3 (minimatch@0.2.12, vow-fs@0.3.2)

7.) Open WeBuilder and select "Plugins -> Manage Plugins" from the menu.
8.) Click "Install" and select the .ZIP file you downloaded in step 1.
9). You can now process your CSS files (or selections) through CSScomb directly in the editor.

If you want to change how CSScomb works, you can modify the CSScomb config file "csscomb.json", located in the CSScomb plugin folder. (%USERPROFILE%\AppData\Roaming\Blumentals\WeBuilder\plugins\CSScombWB)

Changes:
v1.1 - Progress bar added
v1.2 - Better layout. Window is now a modalbox
v2.0 - Rewrite of code. Progress bare now replaced with Busybox
v2.01 - Converts Unicode to Entities as a workaround for the TStringList SaveAsFile encoding problem.
v2.02 - Changed the Save/Load methods from using TSTringList to using ADODB.Stream. This fixes the encoding problem.

Feedback appreciated. ;)
(I only use WeBuilder, so I haven't tested if it works in HTMLPad, Rapid CSS or Rapid PHP.)
Attachments
CSSCombWB.zip
(7.74 KiB) Downloaded 19 times
Last edited by pmk65 on Thu Mar 16, 2017 12:10 pm, edited 2 times in total.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 360
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Plugin: CSSCombWB v1.2

Postby thwbn » Fri Mar 25, 2016 7:06 pm

THANKS a TON! :!: :!: :!:

you are brilliant!


Thorsten
thwbn
 
Posts: 15
Joined: Sun Mar 06, 2016 5:26 pm

Re: Plugin: CSSCombWB v2.0

Postby pmk65 » Sun Mar 12, 2017 12:28 am

New version added.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 360
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark


Return to Plugins for HTMLPad / Rapid CSS / Rapid PHP / WeBuilder

Who is online

Users browsing this forum: No registered users and 2 guests

cron