Skip to content

Commit 73a4c3e

Browse files
committed
Change language ID to avoid clash with Chrome DevTools PDL.
1 parent 3c92b75 commit 73a4c3e

5 files changed

+18
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.2.0
4+
5+
Changed language ID to avoid clash with Chrome DevTools PDL.
6+
37
## 0.1.0
48

59
- Initial release, TextMate grammar for PDL syntax highlighting.

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# PDL language support
22

3-
Syntax highlighting for Packet Description Language, as used for various Android networking
4-
components.
3+
Syntax highlighting for
4+
[Packet Description Language](https://android.googlesource.com/platform/packages/modules/Bluetooth/+/master/tools/pdl/doc/reference.md),
5+
as used for various Android networking components.
56

67
This is not an officially supported Google product.
78

89
## Release Notes
910

11+
### 0.2.0
12+
13+
Changed language ID to avoid clash with Chrome DevTools PDL.
14+
1015
### 0.1.0
1116

1217
Initial release with a basic PDL grammar for syntax highlighting.

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "pdl-language",
3-
"displayName": "PDL",
3+
"displayName": "Packet Description Language",
44
"description": "Syntax highlighting for the Packet Description Language.",
5-
"version": "0.1.0",
5+
"version": "0.2.0",
66
"engines": {
77
"vscode": "^1.52.0"
88
},
@@ -22,8 +22,9 @@
2222
"contributes": {
2323
"languages": [
2424
{
25-
"id": "pdl",
25+
"id": "pdl_android",
2626
"aliases": [
27+
"Packet Description Language",
2728
"PDL",
2829
"pdl"
2930
],
@@ -35,7 +36,7 @@
3536
],
3637
"grammars": [
3738
{
38-
"language": "pdl",
39+
"language": "pdl_android",
3940
"scopeName": "source.pdl",
4041
"path": "./syntaxes/pdl.tmLanguage.json"
4142
}

syntaxes/pdl.tmLanguage.YAML-tmLanguage

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $schema: 'https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlangu
1616
fileTypes:
1717
- pdl
1818
scopeName: source.pdl
19-
name: PDL
19+
name: Packet Description Language
2020
foldingStartMarker: '\{\s*$'
2121
foldingStopMarker: '^\s*\}'
2222
patterns:

syntaxes/pdl.tmLanguage.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"pdl"
55
],
66
"scopeName": "source.pdl",
7-
"name": "PDL",
7+
"name": "Packet Description Language",
88
"foldingStartMarker": "\\{\\s*$",
99
"foldingStopMarker": "^\\s*\\}",
1010
"patterns": [

0 commit comments

Comments
 (0)