Skip to content

Commit

Permalink
Bump version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zm-cttae committed Sep 8, 2023
1 parent cd507d1 commit cb1deda
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 5 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## 2.0.0

<a href="https://code.visualstudio.com/updates/v1_55" target="_blank"><img src="https://github.com/vsce-toolroom/vscode-textmate-languageservice/raw/95579fa/assets/compatibility-badge.svg" /></a> <a href="https://github.com/vsce-toolroom/vscode-textmate-languageservice/tree/v2.0.0/"><img src="https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2023-09-08&logo=googlecalendar&logoColor=cacde2&labelColor=333333&color=2196f3" /></a> <a href="https://github.com/vsce-toolroom/vscode-textmate-languageservice/milestone/7"><img src="https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=v2.0.0&logo=github&logoColor=cacde2&labelColor=333333&color=2196f3" /></a>

<p align="center"><img src="https://raw.githubusercontent.com/vsce-toolroom/vscode-textmate-languageservice/95579fa/assets/logo.png"/></p>

- **The VSCE Toolroom open-source collective has adopted the Textmate language service project!**
- Redesigned the logo, inspired by the V8 engine and the Textmate osteopermum flower.

- Languages can now be tokenized from built-in grammars as well as service-only grammars.
- Marked `TextmateLanguageService~context` parameter as optional in the API types.
- Marked the API from 1.0.0 as compatible with 1.55.0, not 1.51.0.
- Provided community resolution to microsoft/vscode#109919 & microsoft/vscode#99356.

- Implemented API methods in an `api` namespace for developer-friendly logic:
- Add `getTokenInformationAtPosition` method for fast positional token polyfill: `vscode.TokenInformation`.
- Add `getScopeInformationAtPosition` method to get Textmate token data: `TextmateToken`.
- Add `getScopeRangeAtPosition` method to get token range: `vscode.Range`.
- Add `getLanguageConfiguration` method for language configuration: `LanguageDefinition`.
- Add `getGrammarConfiguration` method to get language grammar wiring: `GrammarLanguageDefinition`.
- Add `getContributorExtension` method to get extension source of language ID: `vscode.Extension`.

- Linted the Textmate scope parser correctly & automatically in the test pipeline.
- Added `getOniguruma` to API utilities, a browser-ready non-streaming build of `vscode-oniguruma`.

## 1.2.1

<a href="https://code.visualstudio.com/updates/v1_55" target="_blank"><img src="https://github.com/vsce-toolroom/vscode-textmate-languageservice/raw/95579fa/assets/compatibility-badge.svg" /></a> <a href="https://github.com/vsce-toolroom/vscode-textmate-languageservice/tree/v1.2.0/"><img src="https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2023-03-29&logo=googlecalendar&logoColor=cacde2&labelColor=333333&color=2196f3" /></a> <a href="https://gitlab.com/SNDST00M/vscode-textmate-languageservice/-/milestones/6"><img src="https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=v1.2.0&logo=github&logoColor=cacde2&labelColor=333333&color=2196f3" /></a>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# `vscode-textmate-languageservice`

<p align="center"><img src="./assets/logo.png" width="205px" /></p>
<p align="center"><img src="https://raw.githubusercontent.com/vsce-toolroom/vscode-textmate-languageservice/v2.0.0/assets/logo.png" width="205px" /></p>

> 🎉 **This package has been adopted by the `vsce-toolroom` GitHub collective.**
> *This package is in maintenance mode & the technology is superseded by `vscode-anycode`, a quicker language service which leverages the [`tree-sitter` symbolic-expression parser technology][tree-sitter-parser-guide].*
Generate language service providers driven entirely by your Textmate grammar and one configuration file.

<p align="center"><img src="https://github.com/vsce-toolroom/vscode-textmate-languageservice/raw/v1.2.1/assets/demo-outline.png" height="320"/></p>
<p align="center"><img src="https://github.com/vsce-toolroom/vscode-textmate-languageservice/raw/v2.0.0/assets/demo-outline.png" height="320"/></p>

In order to generate language providers from this module, the Textmate grammar must include the following features:
- meta declaration scopes for block level declarations
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vscode-textmate-languageservice",
"description": "Textmate token-based language service for Visual Studio Code.",
"version": "2.0.0-alpha-2",
"version": "2.0.0",
"license": "MIT",
"author": {
"name": "vsce-toolroom",
Expand Down

0 comments on commit cb1deda

Please sign in to comment.