Giter Club home page Giter Club logo

optional-regexp-replace's Introduction

Optional Regexp Replace

A Visual Studio Code extension to find and replace optionally.

一个可以选择性替换的vs code插件。

Features

In Visual Studio Code, it can only replace one to one, sometimes want to replace it selectively, you have to repeatedly correct RegExp. With this Extension you can write several RegExps and select one to replace.

在vs code中,只能填入一对find/replace,使用这个插件,你可以填写多个正则,选择其中一个进行替换。

  1. you can use RegExp just like in Visual Studio Code, the replacement use String.prototype.replace.
  2. The RegExp options will restore on next open the extension.

Install

copy vscode:extension/qilejia.optional-regexp-replace to browser or search optional-regexp-replace in Visual Studio Code Extensions Market to download.

Use

press Ctrl + Shift + P or Cmd + Shift + P in Visual Studio Code and search optional regexp replace.

  • You can change the background color of the matched word, default is #481D0A.

  • After search, you can click the highlight word in editor to select which to replace, also you can click previous and next button.
  • After you click the matched word, there will be a highlight border around the selected matched part, the default color is #1FA914, you can change it in extension setting. You can also change the whole line border color in settings too, default is #3358D7

Issue

Report bug or need help click here.


Enjoy!

optional-regexp-replace's People

Contributors

yilingapa avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

rhqnew

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.