This extension ships a set of useful tools:
- Transform Case
- Edit by Shell
- Path Complete
- Toggle Hex Color Language
- TypeScript Code Actions
- Quickly Switch File
Transform editor selections (empty selection fallback to cursor line) to target
word case. All word cases: title
, camel
, constant
, pascal
, kebab
,
snake
, sentence
, dot
, path
, header
, normal
, lower
, upper
Using current editor selections, according to editorLangId
, for each eval the
code and replace it (shortcut ctrl+alt+s
) with process's stdout if success
else stderr. Supported language ids are:
/(java|type)script(react)?|vue|svelte|markdown|mdx/
(javascript)powershell
(pwsh)shellscript
(bash)
Join editor selections by '\n' and send it to the active terminal, then wait for user edits and run, if command is not failed and has outputs, replace the first selection to command output.
For each editor selections, eval it's text in active terminal and replace it to command output if command is not failed and has outputs.
Provide path completions for files.
Simply toggle hex color blocks for each language.
-
Delete Function Call
transform from
func('hello')
to'hello'
-
Swap Vars
transform from
[a.b, c.d, e.f]
to[a.b, c.d, e.f] = [e.f, c.d, a.b]
Quickly switch you source file between .js/.css/.html
or .js/.ts
(shortcut alt+o
).
from | to |
---|---|
.js | .html |
.css | .html |
.html | .css |
.ts | .js |