Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>onelineNew to Visual Studio Code? Get it now.
oneline

oneline

onelineteam

|
381 installs
| (1) | Free
oneline is a plugin to increase development speed. you can use the commands in the current file. website: http://www.onelineteam.com
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

oneline README

oneline is a plugin to increase development speed. you can use the commands in the current file.

the website: http://www.onelineteam.com

Features

all commands currently only support the relative path.

usage

type command line and select it.

  • tap shortcut for the command palette, exec command: oneline.

  • or tap (mac: cmd + r, window: ctrl+alt+r) shortcut for running oneline.

demo:

demo

if you want to join us, please scan the image below to be friend with me by wechat's scan.

bboyer

or you can follow the wechat public account.

onelineteam

cp

copy file content to the target file.

  cp [source] -o [target]|[here]

"source" is source file.

-o set the target file. it have a optional value is here. "here" means the current cursor position.

find

search file and show the results.

  find [name] -d [dir] -R

"name" is your search key. it's required.

-d the search directory. it's required.

-R recursive search.

from

write some content to the target file.

  from `[content]` -o [target] -p [position]

-p position's format like "row:col". if col's value is end, the col's position is length of the current line.

-o target file. it's a relative path of the current file. it's required.

to

jump to the target file.

  to [target]

"target" is required.

rp

replace text. support regex.

  rp source target
  #or
  rp `source/target,source/target........`

mv

move source line to target line.

  mv [source number] [target number]
  #or
  mv [(number:chars)/(number:chars)] [target number]

if move to copy, you can use -c.

  mv [source] [target] -c

if only move the cursor, pass an argument.

  mv [target line number]
  #or
  mv [number:chars]

del

delete something.

  del [line number]|[start/end]|[(number:chars)/(number:chars)]

gn

generate a function of the @oneline/core.

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