Commit Graph
12 Commits
Author SHA1 Message Date
05e29316e7 fix: bug in Restrict continue comment (#322668)
* fix: Restrict continue comment to whitespace separated slashes

* fix: bug introduced in #321230

---------

Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-07-29 00:47:49 +00:00
Yogeshwaran CandGitHub e07c402392 [json] add #region folding markers to language configuration (#318515)
Adds folding markers for //#region and //#endregion to the json/jsonc
language configuration so that the minimap section headers feature
(editor.minimap.showRegionSectionHeaders) recognizes them and renders
the corresponding section labels.

vscode-json-languageservice already provides folding ranges for these
markers in jsonc, but the minimap section headers contribution reads
folding markers from the language configuration only, which is why the
labels were missing.

Fixes #219561
2026-07-29 00:28:54 +00:00
RedCMDandGitHub 9b43a71f03 fix: Restrict continue comment to whitespace separated slashes (#321230) 2026-06-14 05:11:51 +00:00
Aiday Marlen KyzyandGitHub c0d25ffb56 Performance regression: revert "Ignoring double slashes inside of strings" (#235742)
Revert "onEnter Indentation Rules: Ignoring double slashes inside of strings …"

This reverts commit 21c52a4a3a.
2024-12-10 16:49:07 +01:00
Aiday Marlen KyzyandGitHub 21c52a4a3a onEnter Indentation Rules: Ignoring double slashes inside of strings (#235712)
ignoring double slashes inside of strings
2024-12-10 11:02:51 +01:00
Aiday Marlen KyzyandGitHub 359ec5270a Add new line comment when pressing Enter from within line comment for languages that use double slash for line comment (#235407)
* add decrease and increase indent patterns for cpp

* adding new line with line comment on next line from within languages that use double slash for line comment
2024-12-06 11:51:50 +01:00
Martin AeschlimannandGitHub 083cf01e10 json indent pattern: handle escape characters (#152475) 2022-06-17 14:31:03 +00:00
Martin AeschlimannandGitHub 375681e51e json: use default word pattern (#151754) 2022-06-13 14:36:42 +02:00
Henning Dieterichs a1af8aa651 Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json. This fixes #98621. 2021-05-17 09:12:01 +02:00
Martin Aeschlimann eb9fe80de6 when editing c#, typing /* causes */ to be injected. Fixes #43989 2019-10-08 17:39:47 +02:00
Martin Aeschlimann 3a9e9602d4 [json] improve folding stability with comments 2018-03-13 09:50:11 +01:00
Martin Aeschlimann e7ae751e50 Migrate JSON to language-configuration 2016-07-21 19:54:03 +02:00