plugin CSS Inspector

Plugins for SynWrite and CudaText...
Post Reply
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

plugin CSS Inspector

Post by Alexey »

CSS Inspector Plugin for CudaText.
In HTML documents it shows CSS properties of current tag under caret.
To call plugin, use menu item "Plugins / CSS Inspector", it will show side panel, and later you can switch to this panel (e.g. after calling Code Tree) by sidebar button with icon "css".

Properties given by: class; id; "style" tag.
Properties can be set:
- straight in HTML by using "style" tag
- in the CSS file and connected by the "link" tag

Libraries
---------
- Windows: plugin uses local libraries in its folder.
- Unix: plugin needs additional libs in OS Python, install them like this:
$ pip3 install lxml
$ pip3 install cssselect

Authors:
@Medvosa at GitHub
Alexey Torgashin (CudaText)
Attachments
Screenshot from 2019-03-21 12-12-39.png
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Plugin was updated today and released in AddonManager.
main Alexey
Posts: 2323
Joined: 25.08.2021 18:15

Post by main Alexey »

Plugin was heavily updated.

2022.07.29
+ add: support several class-names space-separated
+ add: remove CSS comments from output
+ add: change UI control 'label' to 'listbox_ex' which has vert scrollbar
+ add: CudaText sidebar always shows plugin's icon
+ add: plugin is not activated (even in HTML files) until you call it by menu item or sidebar button
- fix: many exceptions
main Alexey
Posts: 2323
Joined: 25.08.2021 18:15

Post by main Alexey »

Made the big change for Windows - now Windows libs are not preinstalled. added readme.txt info how to install them.
Post Reply