Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>qidGeneratorNew to Visual Studio Code? Get it now.
qidGenerator

qidGenerator

Amit Sharma

|
143 installs
| (0) | Free
Add Qid to html file tags(a,input,button)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

qidgenerator README

  • open the html file.
  • Ctrl + Shift + p,
  • then select 'Add QID To current file 🙈🙉🙊'.
  • Enter the qid prefix i.e for qid="dashboard-1" enter 'dashboard'
  • The extension will add qid to all anchors, button and input elements in opened html.

Demo

Selecting and generating

Demo2

Sample

** INPUT

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="http://" target="_blank" rel="noopener noreferrer"></a>
    <div *ngFor="let item of list">
        <a href="http://" target="_blank" rel="noopener noreferrer"></a>
    </div>
    <div *ngFor="let item of list; let i = index">
        <a href="http://" target="_blank" rel="noopener noreferrer"></a>
    </div>
</body>
</html>

OUTPUT

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="http://" target="_blank" rel="noopener noreferrer" qid="dashboard-0"></a>
    <div *ngFor="let item of list;let qidIndex = index;">
        <a href="http://" target="_blank" rel="noopener noreferrer" qid="dashboard-1-qidIndex"></a>
    </div>
    <div *ngFor="let item of list; let i = index">
        <a href="http://" target="_blank" rel="noopener noreferrer" qid="dashboard-2-i"></a>
    </div>
</body>
</html>
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft