Alexander Fadeev
491a83446e
Add Makefile tests for upgraded grammar: comma, comment, shebang ( #154625 )
...
Add Makefile tests for upgraded grammar: comma, comment, shebang.
1. Add comma separator for function calls and conditions.
2. Escaping a comment with an odd count of backslashes (\#, \\\#).
3. Match debian/rules files based on shebang.
Co-authored-by: Alex Ross <alros@microsoft.com>
2022-07-12 13:11:36 +02:00
Alex Ross
473c57e261
Update make grammar ( #154789 )
2022-07-11 12:14:40 +02:00
Alex Ross
4e53b01452
Pull in cpp grammar fixes ( #152449 )
2022-06-17 11:17:09 +00:00
Alex Ross
037af4beaf
Update fsharp grammar ( #152048 )
2022-06-14 14:41:04 +02:00
Alex Ross
bd1abe08c3
Update C grammar locations ( #151733 )
...
Fixes #150288
2022-06-10 13:55:11 +00:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Martin Aeschlimann
e783fdc25e
css/html/json update to lsp 8 ( #148715 )
2022-05-19 12:48:53 +02:00
Johannes
c13d581bce
move gulp-tsb into the build/lib
remove as dependency
2022-05-05 11:35:33 +02:00
Ladislau Szomoru
18022bdaff
Update Dockerfile fixture/result ( #148688 )
2022-05-04 10:48:01 +02:00
David Dossett
0b4e6517fa
Update light hc syntax highlighting ( Fix #146687 )
2022-04-22 15:41:08 -07:00
Alex Ross
01cfc62ead
Update shellscript grammar and add new test
2022-04-12 16:49:52 +02:00
最萌小汐
9422f0a568
update Lua-grammar ( #144975 )
...
* update Lua-grammar
* Update test
Co-authored-by: Alex Ross <alros@microsoft.com>
2022-03-14 13:10:21 +01:00
Robo
32d40cf44e
chore: update to electron 17 ( #143223 )
...
* chore: bump electron@17.0.0
* Revert "chore: revert to electron@13 (#143851 )"
This reverts commit df645f1450
.
* chore: bump electron@17.1.0
* Revert "ci: fix build with latest node-gyp"
This reverts commit c3e948aa30
.
* chore: revert ci changes for node v16
* chore: update yarn.lock
* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Alex Ross
c2b51748cf
Investigate potential rst grammar to include as a built-in extension ( #144680 )
2022-03-10 15:07:28 +01:00
Matt Bierner
1da08937d8
Remove text mate highlighting of more JS/TS built-ins
...
Identifying specific symbols is a better fit for semantic highlighting instead of textmate as semantic highlighting prevents false positives
This keeps around a few of the most built-ins for now but we may revisit these in the future
2022-03-01 16:17:16 -08:00
Robo
df645f1450
chore: revert to electron@13 ( #143851 )
...
* Revert "chore: update to electron 16 (#137241 )"
This reverts commit 01df559c18
.
This reverts commit 46301339b7
* ci: fix remote compiler for sdl-scan
* chore: fix remote/.yarnrc
* chore: fix build/npm/postinstall.js
* chore: rm crash reporter from shared process
* chore: rm crash reporter from ext host
* chore: fix build/lib/layersChecker.ts
* :chore: preserve some more changes
* fix tests
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
David Dossett
4da6b54ee7
Add Light High Contrast theme ( #143398 )
...
* Add light HC theme and split quick pick options to light and dark
* Update colorizer tests
* Fix default HC name and add Beta tag to light HC theme
* Revert prettier updates
2022-02-18 14:41:17 -08:00
Martin Aeschlimann
5d37c8c6d9
meta.return-type is not supposed to be styled by a theme, yet Dark+ and Light+ still do. Fixes #142672
2022-02-10 14:07:36 +01:00
Robo
01df559c18
chore: update to electron 16 ( #137241 )
...
* chore: bump electron@15.3.0
* chore: bump node@16.x
* chore: enable render process reuse
* Revert "watcher - use `type` property for crash reporter location"
This reverts commit bfa488dd8f
.
* Revert "watcher - enable crash reports on linux (#136264 )"
This reverts commit af261488f8
.
* chore: enable crashpad on linux
* chore: bump electron@15.3.1
* chore: update api changes
* chore: bump @vscode/sqlite3@5.0.3
* spec: skip non-context aware module unittests
* chore: fix perf hook integration with node environment
* fix: adopt fs api changes
* chore: fix integration tests
* chore: bump electron@15.3.2
* chore: bump electron@16.0.0
* temp(macOS): kill test instances in OSS
* Revert "temp(macOS): kill test instances in OSS"
This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.
* chore: update chromium version for clang downloader
* some 💄 changes
* align with changes
* adopt more fs.rm
* 💄
* chore: bump @vscode/sqlite3@5.0.4
* fix layers check to account for duplicated types from node.js
* update todo for type casts
* smoke - fix compile issue
* chore: update module cache
* watcher - fix unhandled rejection (fix #137416 )
* ci: update node version
* enable stack dumping
* update electron types to 16.x
* chore: bump @vscode/sqlite3@5.0.5
Refs https://github.com/microsoft/vscode/issues/137496
* fix layer issue
* add `AbortSignal` to core types
* chore: update linux compile flags
Refs 797723ec83
* ci: fix linux build
* ci: update github ci cache
* ci: fix remote build in github ci
* ci: better fix for remote build
* chore: bump azure cache
* chore: fix merge conflict
* :chore: update to electron@16.0.2
* chore: bump @vscode/sqlite3@5.0.7
* ci: update to gcc-4.9 for remote
Refs https://github.com/microsoft/vscode/issues/137659
* ci: switch to buster for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: fix build on linux arm64
* ci: fix arm client compiler toolchain
Refs #137927
* chore: bump electron@16.0.3
* ci: fix compile flags for the c toolchain
* chore: bump electron@16.0.4
* Add experimental dark mode flag (#139109 )
* Add experimental dark mode flag
* Apply PR feedback
* chore: bump electron@16.0.6
* chore: bump electron@16.0.7
Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300
* chore: experimental highlight API
* smoke - fix compile issue
* FIXME: custom ELECTRON_RUN_AS_NODE with node worker
* Revert "chore: bump electron@16.0.7"
This reverts commit 5fd01cf37c
.
* Revert "Revert "chore: bump electron@16.0.7""
This reverts commit a7f1b73951
.
* chore: fix github linux workflow
* chore: address review feedback
* chore: bump electron@16.0.8
* ci: revert to stretch distro for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: force build
* chore: update yarn.lock
* address feedback
* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"
This reverts commit 7b48fa3732
.
* ci: fix remote folder build
* chore: fix github linux ci
* 🆙 `versionSpec`
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
ChaseKnowlden
e3a0fceb00
Update Lua Grammar ( #142107 )
2022-02-04 13:33:10 +01:00
Caio Agiani
09c2e177ea
Fix typos ( #141959 )
...
* src: fix typo formated -> formatted
* src: fix typo recieve -> receive
* src: fix typo successfuly -> successfully
* src: fix typo neccessary -> necessary
* extensions: fix typo existance -> existence
* src: fix typo appearence -> appearance
* src: fix typo choosen -> chosen
* src: fix typo unkown -> unknown
* src: fix typo whenever -> whenever
* src: fix typo proccess -> process
* src: fix typo occured -> occurred
* src: fix typo occuring -> occurring
* src: fix typo defintion -> definition
2022-02-01 09:16:37 -08:00
Alex Ross
a1a4c0a63b
Update grammars
2022-01-31 16:52:03 +01:00
Khaled
0dba492e01
Corrected the regex to detect espaced percent symbol ( #139437 )
2022-01-05 12:13:29 -08:00
Matt Bierner
0012ea2fb4
Don't include [
and ]
as strings in markdown links
...
Fixes #139051
2022-01-05 11:18:21 -08:00
Jerome Lelong
65a12fac51
Basic LaTeX built-in extension ( #138395 )
2021-12-15 13:05:22 +01:00
Ladislau Szomoru
93a6105179
Extract git syntaxes/grammars into a separate extension
2021-11-12 16:19:54 +01:00
Ladislau Szomoru
fff34ad86b
Fix test input
2021-11-12 15:27:40 +01:00
Ladislau Szomoru
e95c74c4c7
Extract git static contributions into a separate extension
2021-11-12 11:35:35 +01:00
Johannes Rieken
09c9d4c293
use enabledApiProposals
instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165
2021-11-12 11:05:57 +01:00
Ladislau Szomoru
4549bd26c7
Extract diff language into its own extension ( #136967 )
2021-11-12 10:59:52 +01:00
Johannes Rieken
a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165
2021-11-12 09:48:17 +01:00
Johannes Rieken
68e819043c
use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files
2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts
-folder, https://github.com/microsoft/vscode/issues/131165
2021-11-09 15:00:03 +01:00
Matt Bierner
b614fb5db8
Fix highlighting of dollar amount at start of line in md files
...
Fixes #136535
2021-11-08 17:53:52 -08:00
Matt Bierner
0eee604f01
Allow non-word character after inline math code block
...
Fixes #136584
2021-11-08 17:43:46 -08:00
Alex Ross
9efc116de0
Update grammars
2021-11-02 15:32:34 +01:00
Matt Bierner
17dc026824
Fix a few more cases of math block highlighting
...
Fixes #135254
2021-10-20 15:56:28 -07:00
Matt Bierner
c38d441d37
Make sure inline math is marked as markdown-math
...
For https://github.com/microsoft/vscode/issues/134893#issuecomment-947669488
2021-10-20 14:22:44 -07:00
Matt Bierner
3dc7b03ff9
Allow leading and trailing math on same line as math block
...
Fixes #134893
2021-10-20 14:17:46 -07:00
Matt Bierner
04f51add61
Disable markdown math inside of raw code blocks
...
For #135254
2021-10-20 13:29:28 -07:00
Matt Bierner
e125508f86
Update colorization test results
...
Turns out the results differ if you run the tests in VS Code insiders VS from the cli :(
2021-10-14 17:05:08 -07:00
Matt Bierner
41df0673f8
Allow spaces in katex commands
...
Fixes #128411
2021-10-14 16:00:00 -07:00
Alex Ross
6ceee3192e
Update grammars
2021-08-30 14:45:57 +02:00
Matt Bierner
ab8e743520
Organize imports in ext tests
2021-08-11 16:55:51 -07:00
Matt Bierner
a4eb4d6884
Update math fixture
2021-08-05 14:00:36 -07:00
Matt Bierner
f8cc75937a
Fix syntax highlighting of math in markdown lists
...
Fixes #128411
2021-08-05 13:32:55 -07:00
Alex Ross
6e2b7dda7a
Update cpp and objective c grammars
2021-07-13 11:44:15 +02:00
Alex Ross
d5c5e1cb2c
Update C# grammar
2021-07-05 09:53:39 +02:00
Matt Bierner
3d2a28fcd8
Disable math highlighting in markdown fenced code blocks
2021-07-01 15:46:56 -07:00
Matt Bierner
2ae31a96cf
Add math grammar/language to markdown math blocks
...
Fixes #124719
2021-06-17 18:01:19 -07:00
Alex Ross
57a760e71f
Update grammars
2021-06-11 10:11:40 +02:00
Martin Aeschlimann
2fb55257fe
default themes: colorization of string placeholders
2021-06-07 14:07:56 +02:00
Jackson Kearl
ab1c920200
Try setting gettingStarted as default editor ( #125321 )
...
* Try setting gettingStarted as default editor
* Try fix getting started webview crashing in colorizer tests
* Dont focus overeagarly
2021-06-02 17:43:34 -07:00
Jackson Kearl
941a603ccd
Revert "Try fix getting started as default crashing integration tests"
...
This reverts commit 0206b2ee43
.
2021-06-02 12:13:39 -07:00
Jackson Kearl
0206b2ee43
Try fix getting started as default crashing integration tests
2021-06-02 12:13:02 -07:00
Martin Aeschlimann
a961587ecf
dart as built-in language
2021-05-26 11:52:41 +02:00
Alex Ross
8de5c819a1
Add test for C# grammar but
...
Part of https://github.com/microsoft/vscode/issues/123333
2021-05-10 15:05:52 +02:00
Alex Ross
df15c8e832
Update grammars
2021-05-04 13:42:19 +02:00
Robo
bce4d71f64
chore: bump node@14.x in devDependencies ( #122905 )
2021-05-04 10:04:13 +02:00
Miguel Solorio
ac48f78dd6
Add icons for built-in extensions ( fixes #81760 )
2021-04-20 12:09:24 -07:00
Benjamin Pasero
14981ce89d
tests - enable colors for windows (CI supports it and the new Windows terminal too)
2021-04-19 09:29:20 +02:00
Matt Bierner
119581fc2a
Use more standard name for shared extension tsconfig
...
This enables Intellisense in the `tsconfig.base` file
2021-04-12 15:58:38 -07:00
Alex Ross
65a763bdf8
Remove long cpp colorizer test
...
Fixes #120095
2021-04-01 12:11:37 +02:00
Pooya Vakeely
95420b39f2
Add cuda-cpp lang id, grammar and problem matchers ( #119444 )
...
* Adding a language ID for CUDA
* Adding aliases for CUDA C++
* Add problem matcher for cuda-cpp based on nvcc output
* Adding a grammar for cuda-cpp
* Adding a language configuration file for cuda-cpp
* Adding a colorizer test for cuda-cpp
* Update the update-grammars.js to pick up cuda-cpp.tmLanguage.json
* Add cgmanifest entry for cuda grammar
Co-authored-by: Alex Ross <alros@microsoft.com>
2021-03-30 11:18:48 +02:00
Alex Ross
17e7a257ff
Update grammars
2021-03-29 15:16:24 +02:00
Alex Ross
bc405e936f
Try new CSS grammar
...
Fixes #115480
2021-03-11 16:09:05 +01:00
Alex Ross
6949fed6ed
Update grammars and fix julia update script for Windows
2021-03-03 17:26:09 +01:00
Benjamin Pasero
e916637528
tests - enable color output for integration tests
2021-03-01 15:10:15 +01:00
Martin Aeschlimann
ebac2cfa10
add colorizer test
2021-02-08 16:33:12 +01:00
João Moreno
ec805db5ed
add repository field to extensions package.json
2021-01-29 15:30:45 +01:00
Martin Aeschlimann
68b7e79867
fix test-product icon
2021-01-25 21:54:34 +01:00
João Moreno
af2bcd4d46
bring back vscode-colorize-tests
2021-01-19 11:39:39 +01:00
João Moreno
bc7d3c9ea6
remove grammar extensions
2021-01-15 12:35:17 +01:00
Alexandru Dima
f74ad9692f
Align @types/*
dev dependencies ( #112718 )
2020-12-18 13:28:39 +01:00
Alexandru Dima
7ca71e763d
Move away from deprecated 'vscode' node module ( #112718 )
2020-12-17 21:40:14 +01:00
Alexandru Dima
ed19f6082f
Share mocha related node modules ( #112718 )
2020-12-17 11:03:49 +01:00
Ladislau Szomoru
b2efcbf687
Add process.arch into the test results file name ( #104946 )
2020-08-19 07:48:37 +02:00
Martin Aeschlimann
fe5024cb35
Handle invalid token type/modifier indexes. Fixes #96540
2020-05-01 16:48:19 +02:00
Alex Dima
65309e1d7c
Have SemanticTokensBuilder.build()
return SemanticTokens
(for #93614 )
2020-03-30 15:52:25 +02:00
Martin Aeschlimann
3c938c800a
language specific scopes
2020-03-29 18:03:17 +02:00
Martin Aeschlimann
eeda7a1fb1
add icon registry
2020-03-09 13:53:43 +01:00
Martin Aeschlimann
f91c7ded03
product icons more
2020-03-06 16:26:59 +01:00
Pine Wu
2362584a62
Revert "Fix #73803 "
...
This reverts commit 67e6aef0c8
.
2020-03-06 00:30:14 -08:00
Pine Wu
4857a9a746
Revert "Fix integration test"
...
This reverts commit 5a0ab960f0
.
2020-03-06 00:29:57 -08:00
Pine Wu
5a0ab960f0
Fix integration test
2020-03-05 12:41:06 -08:00
Pine Wu
67e6aef0c8
Fix #73803
2020-03-05 11:34:58 -08:00
Martin Aeschlimann
b2e0925ba1
update jsonc-parser
2020-02-21 15:03:33 +01:00
Martin Aeschlimann
ce26bb6ce0
improved semanticTokenStyleDefaults sample
2020-01-30 21:36:50 +01:00
Martin Aeschlimann
9b398ecf88
rename to semanticTokenStyleDefaults.scope
2020-01-30 21:36:50 +01:00
Martin Aeschlimann
c88756957a
rename to semanticTokenTypes, semanticTokenModifiers & semanticTokenStyleDefaults
2020-01-30 21:36:50 +01:00
Alex Dima
9e1d730cf2
SemanticTokens - implement feedback received in API call:
...
- extract a separate DocumentRangeSemanticTokensProvider that deals with a document range
- extract a separate provideDocumentSemanticTokensEdits that deals with updating via SemanticTokensEdits a previous result
2020-01-16 18:02:02 +01:00
Johannes Rieken
12eb715644
(re)enable no-extra-semi rule
2020-01-02 21:12:03 +01:00
Martin Aeschlimann
2bde45241a
add semantic token example folder
2019-12-12 12:10:24 +01:00
Martin Aeschlimann
013132d657
fix selectorPattern
2019-12-11 17:08:56 +01:00
Martin Aeschlimann
54151bb664
[semantic tokens] Use singular for token type names Fixes #86281
2019-12-06 12:23:22 +01:00
Martin Aeschlimann
8b449d1a08
semantic token test: fix length, skip unknown tokens
2019-12-03 10:52:52 +01:00
Martin Aeschlimann
56c6acd2fe
update semantic test
2019-12-03 09:44:10 +01:00
Alex Dima
d6dae16f40
Remove areas from the semantic tokens API
2019-12-02 10:41:32 +01:00
Martin Aeschlimann
86be8b94e5
remove console logs
2019-11-29 15:28:44 +01:00
Martin Aeschlimann
1803c7fd76
fixes for theming semantic tokens
2019-11-22 13:52:24 +01:00