Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/norandiaconu/debug-html

Add/remove debug text from div elements in html files.
https://github.com/norandiaconu/debug-html

npm vscode-extension

Last synced: 6 days ago
JSON representation

Add/remove debug text from div elements in html files.

Awesome Lists containing this project

README

        

# debug-html

Add/remove debug text from div elements in html files.

## Usage
After installing the extension, two commands will now be available from the command palette.
- `Add Debug`: adds .#. after each div element in the html file currently open in the vs code editor
- Optionally enter a letter in following text box to help differentiate files
- Ex: Entering `x` will output .x#. and empty input will output .#.
- `Remove Debug`: removes the .#. added by the previous command

These should help to quickly identify elements on an html page that has many div elements.

## Example
Before:
``
  `

start
`
  ``
    `
head
`
  ``
  ``
    `
body
`
  ``
  `
end
`
``

After:
``
  `

start
`.1.
  ``
    `
head
`.2.
  ``
  ``
    `
body
`.3.
  ``
  `
end
`.4.
``

**Hope this helps!**