Commit graph

42 commits

Author SHA1 Message Date
Remco Haszing e0485e9d8f
Mark all .tsbuildinfo files as json (#189811)
TypeScript emits a `.tsbuildinfo` file whose file base name matches the
TypeScript configuration file. Typically this configuration file is
named `tsconfig.json`, meaning TypeScript will generate
`tsconfig.tsbuildinfo`. However, if the config file is named
differently, TypeScript will generate another `.tsbuildinfo` file.
2023-08-07 19:32:21 +00:00
Henning Dieterichs 18b96f483c
Fixes #173997 (#175349) 2023-02-24 17:18:37 +01:00
Henning Dieterichs d6259480f5
Fixes #173997 (#174067) 2023-02-10 15:29:40 +01:00
Matt Bierner 9ad5c4a205
Use JSX in display names of the TypeScript React and JavaScript React languages (#168368)
Use JSX in display names of the TypeScript React and JavaScript React languages

Fixes #138285

This changes the display name of the languages `JavaScript React` -> `JavaScript JSX` and `TypeScript React` -> `TypeScript JSX`

This only changes the display names and leaves the ids alone. Changing the ids would be a very breaking change for extensions with no real user benefits
2022-12-08 00:56:04 +01:00
Bryan Lee fac840f22c Add support for angle bracket matching and colorization in Typescript 2022-06-29 01:59:31 +08:00
Remco Haszing a9fc85ff47
Specify tsconfig.tsbuildinfo is json (#149065) 2022-05-10 08:59:40 -07:00
Matt Bierner b391749606
Move update grammar script to mjs 2022-03-01 15:56:27 -08:00
Alex Dima 174db5eb99
Fixes #134662: Configure strings and comments embedded in template expressions to be identified as strings and comments 2021-10-28 17:46:56 +02:00
Alex Dima 8358d0ca67
Define 2500 chars max limit for javascript, not typescript (#135573) 2021-10-22 14:22:20 +02:00
Henning Dieterichs 1a2749d798
Fixes #132802 by making maxTokenizationLineLength configurable per language and reducing the default for TypeScript. 2021-10-13 16:19:54 +02:00
Matt Bierner 8a600adb5c
Register .cts and .mts as TypeScript files
For https://github.com/microsoft/TypeScript/pull/44501
2021-10-06 14:33:36 -07:00
Matt Bierner bc0e917553
Mark embedded template expressions as other
Fixes #127005
Fixes ##124270
2021-08-05 17:08:52 -07:00
João Moreno ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
João Moreno 3b03189afa
Restore extensions in core (#114921)
* bring back grammar extensions

* fix hygiene

* Revert "pull themes from the marketplace"

This reverts commit 0738f76dac.
2021-01-25 17:07:56 +01:00
João Moreno bc7d3c9ea6
remove grammar extensions 2021-01-15 12:35:17 +01:00
Matt Bierner f564bbd517 Restore injection grammar for multiline jsdoc types
For #108237

This only fixes the basic case of making sure multiline types in jsdoc do not capture the leading `*`
2020-10-13 16:51:58 -07:00
Ye-hyoung Kang fcc2a4935e
Add filename patterns for jsconfig.json (#103360)
Add alternative filename patterns for jsconfig.json that will be recognized as JSONC when opened. This mirrors the accepted filename patterns for tsconfig.json.
2020-07-27 13:12:42 -07:00
Matt Bierner b4b5b6251e Format 2020-04-13 12:36:42 -07:00
Martin Aeschlimann d5e12a12dd Use code-snippet suffix for extension snippets. Fixes #94625 2020-04-08 10:12:23 +02:00
Martin Aeschlimann 17e140249f more typescript specific rules 2020-03-31 01:12:41 +02:00
Martin Aeschlimann 3c938c800a language specific scopes 2020-03-29 18:03:17 +02:00
Matt Bierner 96f2f3d66f Remove jsdoc markdown injections
New extension offers a replacement: https://marketplace.visualstudio.com/items?itemName=bierner.jsdoc-markdown-highlighting
2019-11-12 16:45:12 -08:00
Matt Bierner 6aab56dd62 Use specific scope name for js vs ts
Fixes #83289
2019-10-25 10:53:04 -07:00
Matt Bierner de2c32f69d Split js doc injection into js and specific ones 2019-10-24 16:58:12 -07:00
Matt Bierner a967c8ada3 Move js/ts json validation to js/ts language features extension
Fixes #73336
2019-10-04 15:31:21 -07:00
Alex Dima 4eb531b613 Reduce diff 2019-07-29 13:44:39 +02:00
Alex Dima 1b8a37d64e Add a fast TypeScript classifier 2019-07-15 23:59:47 +02:00
Matt Bierner 0ae3ecbf15 Fix multiline jsdoc type highlightingFixes #27777 2019-04-11 10:05:36 -07:00
Matt Bierner 89921928d0 Correctly highlight @example code as js/ts
Fixes #64382
2018-12-04 14:05:48 -08:00
Matt Bierner 5df76d3535 Highlight some basic markdown elements in js/ts fenced code blocks
Fixes #63942
2018-11-28 15:52:57 -08:00
Martin Aeschlimann 0814ab46f7 Suggestion: tsconfig.*.json should be detected as jsonc. Fixes #50974 2018-06-06 17:11:00 +02:00
Matt Bierner a4c3e74748 Auto trigger suggest on jsdoc parameter names
Fixes #48976
2018-04-30 17:08:53 -07:00
Matt Bierner 5900899b83 Fix quick suggestions not shown in ${| template string
Fixes #37176
2018-04-02 18:43:28 -07:00
Matt Bierner 95a406bd2a Mark import paths as other type instead of string
Ensures that quick suggestions work properly

Fixes #46142
2018-03-19 14:58:14 -07:00
Matt Bierner eb2b0dfc20 Fix should auto trigger at ${|in js/ts template strings
Fixes #37176
2018-03-16 15:18:14 -07:00
Matt Bierner d74145ed78
Support quickSuggestions in JSDoc Types (#46001)
* Support quickSuggestions in JSDoc Types

Fixes #43715

Requires vscode-textmate 3.3.1 before merging

* Pick up new vscode textmate version
2018-03-16 15:14:44 -07:00
Matt Bierner 0179894e45 Use vscode.X for basic extensions and vscode.X-language-features for lang features extensions
Standardizing extension identifiers
2018-03-01 00:26:31 -08:00
Martin Aeschlimann f8b2e22b89 Missing JSON schema in tsconfig.json. Fixes #44718 2018-02-28 11:00:49 +01:00
Matt Bierner d2d760ce90 Fixx TS snippets
e694de979f but forgot to stage the proper fix in the commit

Fixes #44638
2018-02-27 11:27:17 -08:00
Matt Bierner 2af32b8873 Bump TS-basics extension version 2018-02-27 11:22:16 -08:00
Matt Bierner e694de979f Fix TS snippets
TS snippets now live in ts-basics instead of the regular ts extension
2018-02-27 11:20:42 -08:00
Matt Bierner e23c58b3ab Split out ts syntax and grammar to ts basics 2018-02-23 13:29:52 -08:00