File tree Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -114,20 +114,26 @@ You can customize the color theme by overriding the default color theme in your
114114
115115## Release Notes
116116
117+ ### 0.2.3
118+
119+ - Updated base heading pattern end token to match end of line
120+ - Updated base default placeholder style for interpreted text expression to ` string.regexp `
121+ - Updated ` google ` and ` numpy ` variable pattern to accept a leading hyphen and a first uppercase character
122+
117123### 0.2.2
118124
119125- Updated VSCode minimum required version to ` 1.65.2 `
120126
121127### 0.2.1
122128
123- - Updated syntax highlighting for variables in Google, NumPy , and Sphinx syntaxes
129+ - Updated syntax highlighting for variables in ` google ` , ` numpy ` , and ` sphinx ` syntaxes
124130
125131### 0.2.0
126132
127133- Added documentation
128134- Added raw docstring scope support
129135- Renamed extension specific scopes to have a more consistent naming convention
130- - Updated ` google ` , ` numpy ` , and ` sphinx ` variable token regex
136+ - Updated ` google ` , ` numpy ` , and ` sphinx ` variable regex pattern
131137- Updated tests
132138
133139### 0.1.0
Original file line number Diff line number Diff line change 44 "displayName" : " Python Docstring Highlighter" ,
55 "description" : " Syntax highlighting for python docstring." ,
66 "icon" : " assets/icon.png" ,
7- "version" : " 0.2.2 " ,
7+ "version" : " 0.2.3 " ,
88 "keywords" : [
99 " python" ,
1010 " docstring" ,
Original file line number Diff line number Diff line change 1717 "name" : " punctuation.definition.tag.end.docstring.python, docstring.heading.end.python"
1818 }
1919 },
20- "match" : " (?:^\\ s*)()(_*[A-Z]\\ w*)(:| $)" ,
20+ "match" : " (?:^\\ s*)()(_*[A-Z]\\ w*)(:? $)" ,
2121 "name" : " docstring.heading.python"
2222 },
2323 {
192192 "name" : " punctuation.definition.tag.begin.docstring.python, docstring.snippet.begin.python"
193193 },
194194 "2" : {
195- "name" : " entity.name.variable .docstring.python, docstring.snippet.placeholder.python"
195+ "name" : " string.regexp .docstring.python, docstring.snippet.placeholder.python"
196196 },
197197 "3" : {
198198 "name" : " punctuation.definition.tag.end.docstring.python, docstring.snippet.end.python"
Original file line number Diff line number Diff line change 1717 "name" : " punctuation.definition.tag.end.docstring.python, docstring.variable.end.google.python"
1818 }
1919 },
20- "match" : " (?:^\\ s*)() ((?:\\ *\\ *|\\ *|_* )?[a-z ]\\ w*)((?:\\ s\\ (.*\\ ))?:)(?=\\ s)" ,
20+ "match" : " (?:^\\ s*)((?:- \\ s*)?) ((?:\\ *\\ *|\\ *)?[a-zA-Z_ ]\\ w*)((?:\\ s\\ (.*\\ ))?:)(?=\\ s)" ,
2121 "name" : " docstring.variable.google.python"
2222 },
2323 {
Original file line number Diff line number Diff line change 1717 "name" : " punctuation.definition.tag.end.docstring.python, docstring.variable.end.numpy.python"
1818 }
1919 },
20- "match" : " (?:^\\ s*)() ((?:\\ *\\ *|\\ *|_* )?[a-z ]\\ w*)((?:\\ s:\\ s.*)?)(?:$)" ,
20+ "match" : " (?:^\\ s*)((?:- \\ s*)?) ((?:\\ *\\ *|\\ *)?[a-zA-Z_ ]\\ w*)((?:\\ s:\\ s.*)?)(?:$)" ,
2121 "name" : " docstring.variable.numpy.python"
2222 },
2323 {
You can’t perform that action at this time.
0 commit comments