diff --git a/CHANGELOG.md b/CHANGELOG.md index d358528..947e5bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 312ed32..805f44f 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# 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) @@ -12,18 +12,15 @@ Add logical folding to the Diff language 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": { @@ -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": { diff --git a/package.json b/package.json index 0008b6e..00eaf9b 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -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 ./", diff --git a/src/diff-improved-extension.ts b/src/diff-lang-folding.ts similarity index 100% rename from src/diff-improved-extension.ts rename to src/diff-lang-folding.ts