ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Quick​Edit

by gamcoh ST2/ST3

a Sublime text plugin like brackets quick edit

Labels Html, Css, php, Quick, Edition

Details

Installs

  • Total 685
  • Win 440
  • OS X 169
  • Linux 76
Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21
Windows 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 0 2 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

QuickEdit

This is a Sublime Text package that allows you to edit css code directly into html code using the tag class names, like QuickEdit on the Brackets IDE.

Since the 2nd version, the plugin also allows you to use it with php variables and functions

Installation

To install this plugin, you have two options:

  1. If you have Package Control installed, simply search for QuickEdit to install.

  2. Clone source code to Sublime Text packages folder. (not recommended)

Usage

super + alt + h near a class name in order to open a frame with the corresponding css styles into it

QuickEdit

Settings

  • You can disable the errors report by changing to false the show_errors entry in the QuickEdit settings
  • You can change the font of the report by changing the font_face attribut in your user settings

Challenges

  • Make it work for IDs too
  • Show errors in the phantom (Could not load the file, Could not find the file, Could not find any css style for this class, id, or other)
  • Many files are included implicitly, we need to find some kind of autoload function that check those files too, maybe by including all the css files that are in the project, or checking if there is a header file somewhere in the project
  • Know the line where we found the css styles even in another file
  • Do not include the comment css styles