Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tjx666/power-edit

a vscode extension enhance edit experience
https://github.com/tjx666/power-edit

vscode-extension

Last synced: 16 days ago
JSON representation

a vscode extension enhance edit experience

Awesome Lists containing this project

README

        

# Power Edit

[![Version](https://img.shields.io/visual-studio-marketplace/v/YuTengjing.power-edit)](https://marketplace.visualstudio.com/items/YuTengjing.power-edit/changelog) [![Installs](https://img.shields.io/visual-studio-marketplace/i/YuTengjing.power-edit)](https://marketplace.visualstudio.com/items?itemName=YuTengjing.power-edit) [![Downloads](https://img.shields.io/visual-studio-marketplace/d/YuTengjing.power-edit)](https://marketplace.visualstudio.com/items?itemName=YuTengjing.power-edit) [![Rating Star](https://img.shields.io/visual-studio-marketplace/stars/YuTengjing.power-edit)](https://marketplace.visualstudio.com/items?itemName=YuTengjing.power-edit&ssr=false#review-details) [![Last Updated](https://img.shields.io/visual-studio-marketplace/last-updated/YuTengjing.power-edit)](https://github.com/tjx666/power-edit)

![CI](https://github.com/tjx666/power-edit/actions/workflows/ci.yml/badge.svg) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com) [![Github Open Issues](https://img.shields.io/github/issues/tjx666/power-edit)](https://github.com/tjx666/power-edit/issues) [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg?style=flat-square)](https://github.com/996icu/996.ICU/blob/master/LICENSE)

## Features

> **NOTE**
> By default, this extension will not set any shortcuts.

### Bracket Select

I just migrate code from [Bracket Select](https://github.com/jhasse/vscode-bracket-select) and make some code optimization.

recommend set following shortcut:

```jsonc
[
{
"key": "ctrl+]",
"command": "power-edit.selectBracketContent",
"when": "editorTextFocus && editorLangId != 'markdown'",
},
{
"key": "ctrl+shift+]",
"command": "power-edit.selectBracket",
"when": "editorTextFocus && editorLangId != 'markdown'",
},
]
```

### Select by Indent

![Select by Indent](https://github.com/tjx666/power-edit/blob/main/assets/screenshots/select-by-indent.gif?raw=true)

recommend set following shortcut:

```jsonc
[
{
"key": "ctrl+shift+i",
"command": "power-edit.selectByIndent",
"when": "editorTextFocus && editorLangId != 'markdown'",
},
]
```

### Auto keep Temp File

Like git error file, the temp file very easily disappear if not keep it.

Before:

![Before](https://github.com/tjx666/power-edit/blob/main/assets/screenshots/auto-keep-temp-file-before.gif?raw=true)

After:

![After](https://github.com/tjx666/power-edit/blob/main/assets/screenshots/auto-keep-temp-file-after.gif?raw=true)

### Auto Go to First Conflict

![Auto Go to First Conflict](https://github.com/tjx666/power-edit/blob/main/assets/screenshots/auto-go-to-first-conflict.gif?raw=true)

ref:

### Search in Git Changed Files

![Search in Git Changed Files](https://github.com/tjx666/power-edit/blob/main/assets/screenshots/search-in-git-changed-files.gif?raw=true)

ref: [vscode search for a text only in git changes?](https://stackoverflow.com/questions/58875783/vscode-search-for-a-text-only-in-git-changes)

## My extensions

- [Open in External App](https://github.com/tjx666/open-in-external-app)
- [Neo File Utils](https://github.com/tjx666/vscode-neo-file-utils)
- [VSCode FE Helper](https://github.com/tjx666/vscode-fe-helper)
- [VSCode archive](https://github.com/tjx666/vscode-archive)
- [Modify File Warning](https://github.com/tjx666/modify-file-warning)
- [Adobe Extension Development Tools](https://github.com/tjx666/vscode-adobe-extension-devtools)
- [Scripting Listener](https://github.com/tjx666/scripting-listener)

Check all here: [publishers/YuTengjing](https://marketplace.visualstudio.com/publishers/YuTengjing)