Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Selector JsNew to Visual Studio Code? Get it now.
Selector Js

Selector Js

Dias Bakashbay

|
8,973 installs
| (1) | Free
transfers Html elements to JavaScript variables
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

querySelector autocompletiton for Visual Studio Code

Works as eCSSTractor. You just select html tags and run command. Then text will copy to clipboard

Usage

Open any document contain HTML and do one of the following:

  • Press Cmd+Shift+P on Mac OS X or Ctrl+Shift+P on Windows/Linux to launch command palette and choose:

Query Selector

qs

Query Selector All

qsa

Query selector with event

select_with_event

If you want you can select by ...(id, class, tagName)

Selector by

If you want you can select all by ...(id, class, name, tagName)

selector all by

Selector with detail will be select element detaized. Example: querySelector('div#some div.child')

selector with details

***NEW AUTOCOMPLETITON YOU CAN AUTOCOMPLETE CREATE ELEMENT PROCESS IN JS

Create element (convert)

Install

Open up VS Code and input hotkey Ctrl+Shift+X. Search Selector Js. Choose and Install Then reload window

Updates

##0.0.1

  • Selection with nesting
  • Selection without nesting
  • Selection all without nesting

##0.0.2

  • querySelector
  • querySelectorAll

##0.0.3

  • Add new function - Query selector with event

##0.0.4

  • Add new function - selector with details
  • Add new function - selector by ...
  • Add new function - selector all by...
  • Add new function - Create Element (conver)

##0.0.5

##0.0.6

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft