Skip to content

Commit

Permalink
Rename extension to Diff Folding (diff-lang-folding)
Browse files Browse the repository at this point in the history
  • Loading branch information
baincd committed Mar 7, 2021
1 parent 91807af commit 415ed7f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.0] - 2021-03-07
### Changed
- Renamed extension to diff-lang-folding

## [1.1.1] - 2021-03-07
### Fixed
- Fixed activation of extension for Git Commit Message language
Expand Down
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
# Diff Language (Improved)
# Diff Language Folding

diff-lang-improved provides enhancements to vscode diff language
Logical code folding for Diff language.

## Features
Also works on Git Commit Message language (when git configuration commit.verbose=true)

Add logical folding to the Diff language
## Features

![example](example.png)

## Requirements

This has been tested in vscode 1.50.1. It may work in earlier versions as well, but YMMV.

## Diff Colors Recommendation

This extension does *not* add/modify colorization of Diff files.
## Other Helpful Diff Tricks

However, I do recommend adding the following to your settings.json (modifying the colors to your liking) to improve the colorization of Diff files. These colors work in both light and dark themes.
*This extension does **not** add or modify colorization of Diff files. This section is provided only as a friendly suggestion to improve your diff language experience. These settings are not used by this extension, and can be applied without this extension installed*

*This extension is not required for these settings to work. This is provided as a friendly suggestion to improve your diff language experience*
I recommend adding the following to your settings.json (modifying the colors to your liking) to improve the colorization of Diff files. These colors work in both light and dark themes.

```json
"editor.tokenColorCustomizations": {
"textMateRules": [
// Colorize diff files
{
"scope": "meta.diff",
"settings": {
Expand Down Expand Up @@ -53,7 +50,7 @@ However, I do recommend adding the following to your settings.json (modifying th
}
```

If you want to use different colors for different themes, this can be achieved by using the following:
You can also configure different colors for different themes. To do this, change the settings as follows:

```json
"editor.tokenColorCustomizations": {
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"publisher": "baincd",
"name": "diff-lang-improved",
"displayName": "Diff Language (Improved)",
"description": "Improvements on diff language",
"version": "1.1.1",
"name": "diff-lang-folding",
"displayName": "Diff Folding",
"description": "Logical code folding for Diff language",
"version": "1.2.0",
"repository": {
"url": "https://github.com/baincd/vscode-diff-lang-improved"
"url": "https://github.com/baincd/vscode-diff-lang-folding"
},
"license": "MIT",
"engines": {
Expand All @@ -18,7 +18,7 @@
"onLanguage:diff",
"onLanguage:git-commit"
],
"main": "./out/diff-improved-extension.js",
"main": "./out/diff-lang-folding.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
Expand Down
File renamed without changes.

0 comments on commit 415ed7f

Please sign in to comment.