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

Quick​Edit

by gamcoh ALL

a Sublime text plugin like brackets quick edit

Labels Html, Css, php, Quick, Edition

Details

Installs

  • Total 938
  • Win 629
  • Mac 210
  • Linux 99
May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27
Windows 0 0 0 0 0 0 0 1 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
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 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