Skip to content

Commit

Permalink
Merge pull request #1 from amac4015/amac4015/issue87
Browse files Browse the repository at this point in the history
Consider switching to another activation event policy
  • Loading branch information
amac4015 authored Jan 15, 2023
2 parents a4ea390 + 4baa9a3 commit 7a1d769
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
- Added support for [language-specific snippets](https://github.com/yatki/vscode-surround#defining-language-specific-snippets).
- Recently used snippets now will be displayed on top by default (Can be disabled by the `showRecentlyUsedFirst` option).
- `showOnlyUserDefinedSnippets` option is added. See [Options](https://github.com/yatki/vscode-surround#options).
- 3 new snippets added (`templateLiteral`, `templateLiteralVariable`, `iife`).
- 3 new snippets added (`templateLiteral`, `templateLiteralVariable`, `Life`).
- Added checks for invalid configurations. See: Issue [#63](https://github.com/yatki/vscode-surround/issues/63).
- Added update notification info message.

Expand Down
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
[![GitHub last commit](https://img.shields.io/github/last-commit/yatki/vscode-surround.svg?style=flat-square)](https://github.com/yatki/vscode-surround)
[![License](https://img.shields.io/github/license/yatki/vscode-surround.svg?style=flat-square)](https://github.com/yatki/vscode-surround)

<p align="center">
<align="center">
<br />

```
<img src="https://raw.githubusercontent.com/yatki/vscode-surround/master/images/logo.png">
</p>
<p align="center">
<align="center">
A simple yet powerful extension to add wrapper snippets around your code blocks.
</p>
</align=>
## Features
- Now works on [VSCode for Web](https://code.visualstudio.com/docs/editor/vscode-web) 🚀**New!**
- Supports **language identifiers**
- Supports **language identifiers**
- Supports **multi** selections
- Fully **customizable**
- **Custom** wrapper snippets
Expand Down Expand Up @@ -181,18 +183,18 @@ you can add `-` (MINUS) sign as a prefix to the language identifiers (_without_
}
```

### IMPORTANT NOTES:
### IMPORTANT NOTES

1. All **command names** and **labels** must be unique. If you do not provide a **unique** command name or label, your custom wrapper functions will override existing ones.
1. You can redefine all snippets as long as you provide a valid `SnippetString`. [Read More](https://code.visualstudio.com/docs/extensionAPI/vscode-api#SnippetString)
1. All **command names** and **labels** must be unique. If you do not provide a **unique** command name or label, your custom wrapper functions will override existing ones.
1. You can redefine all snippets as long as you provide a valid `SnippetString`. [Read More](https://code.visualstudio.com/docs/extensionAPI/vscode-api#SnippetString)

## Contribution

As always, I'm open to any contribution and would like to hear your feedback.

PS: [Guide for running @vscode/test-web on WSL 2](https://medium.com/javarevisited/using-wsl-2-with-x-server-linux-on-windows-a372263533c3)

### Just an important reminder:
### Just an important reminder

If you are planning to contribute to **any** open source project,
before starting development, please **always open an issue** and **make a proposal first**.
Expand All @@ -202,7 +204,7 @@ This will save you from working on features that are eventually going to be reje

I designed the logo on [canva.com](https://canva.com) and inspired by one of their free templates.

## LICENCE
##

MIT (c) 2021 Mehmet Yatkı

Expand Down

0 comments on commit 7a1d769

Please sign in to comment.