Git Product home page Git Product logo

csswithpycharmfree's Introduction

CSSwithPyCharmFree

How to use PyCharm community edition for CSS file edit (enabling highlighting).

This repo shows you how you can enable PyCharm Community Edition for CSS keywords, attrs and properties highlighting to be able to write CSS code with the Free PyCharm IDE.

This repo scrapes the tables from the following web pages:

Page for HTML5 tags

Page for CSS3 properties

Then wrangles the data an create two text documents one with all the HTML tags and then all the CSS properties.

It creates a "keywords1.txt" and "keywords2.txt" documents where the data is stored.

For enabling the CSS keywords highlighting do the following in the PyCharm IDE:

  • Go to Settings -> Editor -> File Type.
  • Remove associaton with *.css of the default profile.
  • Add a new configuration named CSS and associate it with *.css files.
  • Set the block comments start /* and end */.
  • Add the key words for each level:
  • Level 1: the data stored in the "Keywords1.txt" file
  • Level 2: the data stored in the "ketwords2.txt" file
  • level 3: em pt px rgb rgba
  • level 4: !important active after before hover none visited

And thats it!

Idea taken from the answer of this StackOverflow question:

StackOveflow Question

The answer is from the user Andrea

csswithpycharmfree's People

Contributors

luisgan-c avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.