DEV Community

Discussion on: VS Code: Search-and-Replace Regex

Collapse
 
rfornal profile image
bob.ts

I'm not quite sure what this question is.

  • Are you asking if a regex expression can be generated with a Visual Studio Code extension? Probably.
  • Are you asking if a regex expression can interact with a Visual Studio Code extension in some way? I don't think so.
Collapse
 
hasantezcan profile image
Hasan TEZCAN

While using vs code you can find and replace some word using with regex. We are using this usage in our daily lives. But my question is Can I do it with vscode API. I want to make a vscode extension with this endpoint So if it exists

Thread Thread
 
rfornal profile image
bob.ts

That's a question I'm not able to answer. I know VS Code by usage as a developer ... not by working on VS Code Extensions. I would assume there would be a way to interact with it via API. You might have to come up with an example and contact the team working on VS Code (it is Open Source, so shouldn't be an issue).