-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trimming final newline is not POSIX standards compliant #141169
Comments
You can turn on the setting |
This default does not adhere to POSIX standard. People should not take extra steps to be standards compliant. |
User wants to get the default changed. It's not a bad idea, except that Instead: what about implementing the option as such:
|
@alexdima thoughts? |
Sorry duplicate of #35181 |
The default behaviour suggested by @alexdima in #35181 (comment) is still not implemented Moreover Git itself will complain if file is added without final newline:
|
The history is slightly more complicated:
But I agree that the current situation is not good. I start to think |
I just wanted to remind everyone that VS Code offers two settings: Regarding linters, I personally think those are a good idea in any case, especially in projects involving more developers, since linters allow to enforce a min-bar in terms of code quality, regardless of the tool used to contribute. Linters are useful to enforce other things as well, like copyright headers, consistent line endings, consistent indentation characters, banning dangerous confusable Unicode characters, etc. IMHO, there is no need to change the defaults to ensure a final EOL sequence in all files. We need to consider all of our VS Code users, and such a change would be disruptive for the majority of them. |
Consider this, @alexdima this is disruptive enough I’m not a VSCode user and I’m commenting on an issue. In a collaborative environment the disruption caused by VSCode ending files in an incomplete line is several orders of magnitude more than changing this default. Git complains, github complains, most other tools call out a missing new line at the end of a file and/or put a newline there automatically. Once again a Microsoft tool is choosing incompatibility over interoperability, some things change while others stay the same. Edit: stackoverflow link explaining why on POSIX systems you should write POSIX files https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline/729795#729795 |
commit f63eaa61fb7e4599824574add2e29ae5e677cf77 Author: SteVen Batten <6561887+sbatten@users.noreply.github.com> Date: Sat Dec 10 08:41:45 2022 -0800 remove font-face from shadow dom css (#168682) fixes #159877 commit d1f42f4857c638aa1580f0ea6d0855618f7d47ad Author: SteVen Batten <6561887+sbatten@users.noreply.github.com> Date: Fri Dec 9 16:50:06 2022 -0800 remove unused exports/dropdown (#168681) commit a9e4a0f0edc101e1c0be8fc61c278ed35bdd68fd Author: Matt Bierner <matb@microsoft.com> Date: Fri Dec 9 15:26:06 2022 -0800 Pick up latest markdown-it katex (#168673) Fixes #138970 commit 82a00605474987a1b6f5208018d523fa3b2d356a Author: Megan Rogge <merogge@microsoft.com> Date: Fri Dec 9 17:22:47 2022 -0600 allow tasks to be in the editor area, respect `waitOnExit` (#168341) commit 4f1190b1d70b8a48dc64788a696722c90542520a Author: Megan Rogge <merogge@microsoft.com> Date: Fri Dec 9 17:20:10 2022 -0600 update find result on option change (#168672) fix #151181 commit 5bd2e5635fc6173968f2d98509bff53105419b1f Author: Megan Rogge <merogge@microsoft.com> Date: Fri Dec 9 15:56:13 2022 -0600 fix no registered selector for terminal quick fix ID (#168648) commit f14aee2e25c20e54e789c5e2f9089bc0230bc5aa Merge: 7daf0fe9316 a156b180377 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 13:50:32 2022 -0800 Merge pull request #168631 from microsoft/tyriar/159255 Send cwd shell integration sequence for tasks commit 7daf0fe9316b218ba15ed1cf6bbb7733ce33c3c0 Author: Peng Lyu <penn.lv@gmail.com> Date: Fri Dec 9 13:15:27 2022 -0800 fix #138299. Hide suggest widget when input box moves (#168663) commit 42dc9ccd043e2521c459b827852c534a40202c9a Author: Babak K. Shandiz <babak.k.shandiz@gmail.com> Date: Sat Dec 10 00:37:05 2022 +0330 🐛 Fix incorrect JSON schema for `fileLocation` property (#168659) Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> commit edd764b6dc4592449b988ef9779b99ffdc50dade Author: Tyler James Leonhardt <me@tylerleonhardt.com> Date: Fri Dec 9 12:08:27 2022 -0800 Revert "Do not select full contents of inputbox before selecting a range, fixes #167266. (#167274)" (#168657) This reverts commit 4b148a70a835dd1f3ed1d36710ec5192a38fc532. commit 3c5db04316806d956258285a2dd7631fdbc56d18 Author: Matt Bierner <matb@microsoft.com> Date: Fri Dec 9 11:45:48 2022 -0800 Use proper function to get image dirname (#168652) Fixes #168608 commit 67c997d6a65a3c857e9e2e589d3b4adf5ee1ff34 Author: Logan Ramos <lramos15@gmail.com> Date: Fri Dec 9 14:44:56 2022 -0500 Fix 415 during telemetry health check (#168650) commit 09b5220d78ed381fa02ca56b1fd4dbd5777a7e7a Author: Matt Bierner <matb@microsoft.com> Date: Fri Dec 9 11:31:52 2022 -0800 Fix aria-flowto not being set (#168541) For #166768 However this doesn't actually fix the issue in my testing commit d97a30c7019a50035399e2cf4a187d89e493c704 Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Fri Dec 9 20:23:35 2022 +0100 Git - Improve unsafe repository handling (#168568) Improve unsafe repository handling by extracting the repository path to be used when calling git config commit 7e49103c7c530f7fd4e4c3a4649721f4d0e2561e Author: Connor Peet <connor@peet.io> Date: Fri Dec 9 11:12:04 2022 -0800 remote: allow _ in ext host resolvedauthority (#168649) Fixes https://github.com/microsoft/vscode-remote-release/issues/7661 This character was allowed in https://github.com/microsoft/vscode/pull/167635, but the extension host side did a separate check that I didn't update. commit 08edf978851ef0d4927aafe24ea80952480ec16f Merge: 3b4603e652b 695c1e222ec Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 10:52:38 2022 -0800 Merge pull request #168646 from microsoft/tyriar/168640 Fix Windows absolute link searching commit 3b4603e652be27cf262c5d172853472d6d04faeb Merge: d851f455497 49277f739c8 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 10:52:26 2022 -0800 Merge pull request #168610 from microsoft/tyriar/156288 Improve removal of link suffix commit 695c1e222ec277c26a5005ea544f194e6ac18fc2 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 10:20:42 2022 -0800 Fix Windows absolute link searching Fixes #168640 commit d851f455497dc335c07e0607cd0c604dc72dd8ba Merge: c2bb0cdb01f ce6c14488d5 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 09:54:48 2022 -0800 Merge pull request #168614 from microsoft/tyriar/156679 Improve enableFileLinks behavior commit c2bb0cdb01fd7c52c62ae30da7a3f11ff6b1e8d7 Author: Matt Bierner <matb@microsoft.com> Date: Fri Dec 9 09:27:27 2022 -0800 Add AriaRole type to help select valid aria roles (#168538) This add a new `AriaRole` type for all valid aria roles. This means you get intellisense for these when trying to fill in an AriaRole commit ad683c8c12e2d17fec6e74488ae0c2ad9689f531 Author: Megan Rogge <merogge@microsoft.com> Date: Fri Dec 9 11:19:39 2022 -0600 fix `HISTFILE` issue (#168482) commit 12d5f2be75357ed6f65afec60f4f68c8b4cad9fe Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 18:15:31 2022 +0100 fix https://github.com/microsoft/vscode/issues/168037 (#168632) commit bbc787b50a533d87cef7fdcc4c9dbabfab3e2409 Merge: b435380bb54 7bed5673d1a Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 09:14:18 2022 -0800 Merge pull request #168627 from microsoft/tyriar/168626 Don't output sequence data if it's undefined commit b435380bb54846244e541a3ed9dcd0c01ebcf542 Merge: 4e0c3ed84b4 cd0c22ae751 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 09:14:07 2022 -0800 Merge pull request #168611 from microsoft/tyriar/156390 Support dnd into terminal editor commit 4e0c3ed84b48e49816fe0755c47c38c051900308 Merge: c2792a202f4 f311a97fe13 Author: Aaron Munger <aamunger@microsoft.com> Date: Fri Dec 9 09:11:39 2022 -0800 Merge pull request #168528 from amunger/colossal-hoverfly disable cell drag and drop for IW commit a156b180377d8ecb0f10f90dab9952886ac139ed Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 08:55:06 2022 -0800 Send cwd shell integration sequence for tasks This enables links to be resolved with knowledge of the cwd, the downside here is if the task changes the directory via cd it will no longer be accurate unless shell integration is manually installed and activated. Fixes #159255 commit c2792a202f411e6bcfca2399bce4b9b0dbdaf63e Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Fri Dec 9 17:50:55 2022 +0100 SCM - fix placeholder position (#168628) commit 7bed5673d1ab27fc504a675580d4de9bcb7df0e7 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 08:34:21 2022 -0800 Don't output sequence data if it's undefined Fixes #168626 commit 4c4278307fd4766e8ac8acb899b77d74b3252b7e Author: Megan Rogge <merogge@microsoft.com> Date: Fri Dec 9 10:17:19 2022 -0600 when a task terminates, remove it from the `_inProgressTasks` (#168521) commit a56403cb2868fb03a8164d74cbb09a1ca4efd0c7 Merge: be0b619bbfe f124fc92a3e Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 08:04:14 2022 -0800 Merge pull request #168619 from microsoft/tyriar/158807 Treat links that start with ~ as absolute commit be0b619bbfe0188bf20d288b0f96ea634bd81e9a Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 16:54:05 2022 +0100 Add workaround for DEL appearing during IME input (#168617) Fixes #165982: Add workaround for DEL appearing during IME input commit f124fc92a3e8e4369dedb653d5681abc25ef5ced Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 07:49:09 2022 -0800 Treat links that start with ~ as absolute Fixes #158807 commit e4095d3a6e898b4fd35322e0218e6b902c1e6fb0 Author: João Moreno <joao.moreno@microsoft.com> Date: Fri Dec 9 16:48:20 2022 +0100 show "show release notes" checkbox (#168616) fixes #110507 commit 83fc6741c606fefa3b027a9474f5e2686d3a0790 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 16:43:10 2022 +0100 remove extra margin of 1px to align sticky scroll (#168615) fixes https://github.com/microsoft/vscode/issues/165698 commit 06a8378a662d6a6fe86a2c69d6078df6dd3ebb9b Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 16:35:19 2022 +0100 Compute the distance to the edges of the minimap (#168613) Fixes #168419: Compute the distance to the edges of the minimap commit ce6c14488d5b810a9b2ceb20acf903f2aabc94c7 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 07:25:05 2022 -0800 Add trialing break commit bcd9cab9c252b67f0386f761041e0cacfc71f476 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 07:24:29 2022 -0800 Improve enableFileLinks behavior Fixes #156679 commit b835904d5aaa3ccc8c75137f91887ba3e185aecc Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 16:14:04 2022 +0100 fix https://github.com/microsoft/vscode/issues/161949 (#168609) commit cd0c22ae7512066c84756312f20671e0adbe5e11 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 07:10:16 2022 -0800 Support dnd into terminal editor Fixes #156390 commit 7aee64835fb7aeef89770bfd3cafdaeab4e37c12 Merge: 4416bf850f1 e666f1f7780 Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 16:06:41 2022 +0100 Merge pull request #168607 from microsoft/alexd/great-toad Add `keyboard.mapAltGrToCtrlAlt` which will treat `AltGraph+` as `Ctrl+Alt+` commit 4416bf850f1603216e2fb4b6d6e32798cd328a5d Author: João Moreno <joao.moreno@microsoft.com> Date: Fri Dec 9 16:05:34 2022 +0100 update paged list loading icons (#168604) fixes #154906 commit 49277f739c8c788254000d90b7d3a783a90a1507 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 07:04:53 2022 -0800 Fix file name ref commit c16de20f03531c75b2795874e6f82352a8753742 Author: Martin Aeschlimann <martinae@microsoft.com> Date: Fri Dec 9 16:03:30 2022 +0100 fix inconsistent usages of selectForeground (#168606) commit f5fd88abba0996f37060eb69fc3e3731b976362c Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri Dec 9 07:03:11 2022 -0800 Improve removal of link suffix Fixes #156288 commit 419d0264310f30ac48c53d6e0325aefab1b85a33 Author: Alex Ross <alros@microsoft.com> Date: Fri Dec 9 15:57:09 2022 +0100 Comment thread node so extension can use get/set body (#168605) commit e666f1f77805be48772cc05136a3cdac3e9eacc3 Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 15:48:59 2022 +0100 Add `keyboard.mapAltGrToCtrlAlt` which will treat `AltGraph+` as `Ctrl+Alt+` commit fa181ccad5239cbf641a247694f7a6909b63e52f Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 15:37:12 2022 +0100 implement `ICheckable` for category element (#168603) fixes https://github.com/microsoft/vscode/issues/167732 commit 378e2bbbc9b92a974b038dc2665538687358af6b Author: Christof Marti <chrmarti@microsoft.com> Date: Fri Dec 9 15:19:13 2022 +0100 Use replacer (#167239) commit 741f5b480a3ec00c956956d2c66f3e2d6221c893 Author: Henning Dieterichs <hdieterichs@microsoft.com> Date: Fri Dec 9 15:16:55 2022 +0100 Fixes flashing of inline conflict marker code lenses (#168598) commit f2ef1cce6e3afb1f766554f2f8802e79a35537bd Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 15:06:40 2022 +0100 fix https://github.com/microsoft/vscode/issues/154048 (#168597) commit 9d01c6c5984c2be2d787f97eeca934ace38008a3 Author: João Moreno <joao.moreno@microsoft.com> Date: Fri Dec 9 15:05:09 2022 +0100 simplify linux icon names (#168596) fixes #157390 commit 4ccf2d729bbb47ad30be9dea6ccfadf4c11cfdab Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Fri Dec 9 14:52:09 2022 +0100 Git - fix untracked group commands (#168593) commit d1efce62fd696450618f7d08679e7d5c73d3bc09 Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 14:19:08 2022 +0100 Rename commit 996c93a739c4f405eda2c24c34157ae5be7b64e8 Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 14:16:12 2022 +0100 Handle `keyboard.dispatch` in `IKeyboardLayoutService` commit 5597167c4c523e89ba114e364fe3314df6695b67 Author: Henning Dieterichs <hdieterichs@microsoft.com> Date: Fri Dec 9 14:06:55 2022 +0100 Fixes #79125 (#168588) commit 95d8fd7c142b7c2e8b53e225eb5ae7a56153fd24 Author: Henning Dieterichs <hdieterichs@microsoft.com> Date: Fri Dec 9 13:58:08 2022 +0100 Fixes #149922 (#168587) commit 859fedfb8b94a95b53cd11bd36cd764746baae2e Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 13:55:30 2022 +0100 Add `IKeyboardEvent.altGraphKey` commit 1193b8ab3e67c569a77a13057427661b795de155 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 13:32:25 2022 +0100 fix https://github.com/microsoft/vscode/issues/165758 (#168577) commit a89b0e97a1a23de931694d7d87b3879c3b00fd1e Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 13:31:54 2022 +0100 ensure (newly) selected item from references tree is visible in the editor (#168574) fixes https://github.com/microsoft/vscode/issues/167296#event-7989480633 commit 5d3452353b864fc1c861e29bd30ce12dac2b3078 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 13:31:05 2022 +0100 restore editor scroll state after applying edits (#168576) fixes https://github.com/microsoft/vscode/issues/160934 commit 059f680e752b9bdc23fe04e0e7760c6f6a1af86a Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 13:30:12 2022 +0100 fix https://github.com/microsoft/vscode/issues/151888 (#168584) commit d4d44650b2390dc15a6bdd9ffb7a3eda749fe9c2 Author: Martin Aeschlimann <martinae@microsoft.com> Date: Fri Dec 9 12:29:37 2022 +0100 Theme picker: Restore the theme when install is cancelled (#168575) commit 376af084af1ef6ebf35cc1176dca84768aaf42d7 Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 11:07:14 2022 +0100 Add separate colors for word highlight of type DocumentHighlightKind.Text (#168318) * Fixes #167766: Add separate colors for word highlight of type DocumentHighlightKind.Text * Address PR feedback commit 90812ba66f6e2fd0865152e6f2102d908695c9fb Author: João Moreno <joao.moreno@microsoft.com> Date: Fri Dec 9 10:45:01 2022 +0100 remove unused pipeline (#168567) commit 0f355c2d42023c4674223dc6c1f7c402bf7f6634 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Fri Dec 9 09:45:55 2022 +0100 set a fixed height for command center (#168566) fixes https://github.com/microsoft/vscode/issues/162881 commit f076d553210e9ea65e7bccbfa2f7a786c10fcab2 Author: Alexandru Dima <alexdima@microsoft.com> Date: Fri Dec 9 09:35:25 2022 +0100 update distro (#168561) commit a956778925ba793e1496d884c138e5f2d3f4b8c0 Author: Benjamin Pasero <benjamin.pasero@microsoft.com> Date: Fri Dec 9 08:27:08 2022 +0100 working copy - let "Save As" flow succeed even when revert fails (#168552) (#168555) commit 422b581e3802e30cfb780c21d9cc1a2cd0c9f0aa Author: Peng Lyu <penn.lv@gmail.com> Date: Thu Dec 8 17:50:55 2022 -0800 Bump distro, fix conflicts. (#168540) commit 8ff1d4832530f19e85212cd8b03ddaa8109fa4bb Author: Aaron Munger <aamunger@microsoft.com> Date: Thu Dec 8 16:21:12 2022 -0800 show delete cell toolbar button for IW (#168499) show delete cell for IW commit f311a97fe1339a7a666e8ed6f48d34df1e792e42 Author: aamunger <aamunger@microsoft.com> Date: Thu Dec 8 14:57:07 2022 -0800 disable cell dnd for IW commit e00b25cc55a1150d86fa54f9b997d97daf530379 Author: Peng Lyu <penn.lv@gmail.com> Date: Thu Dec 8 12:13:35 2022 -0800 Fix #111690. Respond to editor find loop setting change. (#168510) commit f51ae96d85daac1f8f9475f78e45bf9704a80a55 Author: Megan Rogge <merogge@microsoft.com> Date: Thu Dec 8 14:12:25 2022 -0600 exitStatus -> commandExitResult (#168257) commit 772c1b592c26c1b32a262c74f3188055915269b8 Author: Matt Bierner <matb@microsoft.com> Date: Thu Dec 8 11:56:16 2022 -0800 Bump distro (#168507) Replaces #168487 commit 8ed4dc537c7c17bb04576bd5450387f167f8b883 Author: Matt Bierner <matb@microsoft.com> Date: Thu Dec 8 11:46:26 2022 -0800 Fix css var name for active parameter hints (#168505) Fixes #168403 commit 6e5b663e9986c043571d1ac4b028c4160db81ae2 Author: Matt Bierner <matb@microsoft.com> Date: Thu Dec 8 11:36:42 2022 -0800 Make sure `lib.d.ts` is included in build (#168501) Fixes #168420 commit c6aaa761fd7a2d24dea85fbb1e9f2737f680e210 Author: David Dossett <ddossett@microsoft.com> Date: Thu Dec 8 11:31:35 2022 -0800 Fix status bar item + remote indicator hover color (#168502) commit 2a04638dba226c219a4cafa1dc542ce60e106992 Author: Matt Bierner <matb@microsoft.com> Date: Thu Dec 8 11:20:30 2022 -0800 Pick up TS 4.9.4 (#168500) For #168354 commit 12d0ff2ef5774a9faab59f79c8229b70c5a8f194 Author: Jean Pierre <jeanp413@hotmail.com> Date: Thu Dec 8 14:18:29 2022 -0500 Fixes pasting into quick outline does not reveal result (#166835) * Fixes #166687 * Also use it in standalone editor Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com> commit 4f6f7d50b9941ab4dcd6280f49584c1c66e7b17a Author: Peng Lyu <penn.lv@gmail.com> Date: Thu Dec 8 10:28:07 2022 -0800 Fix #161738. Assert index. (#168495) commit 26607247981d15c9d884881b0c55af15e5ab9e45 Author: Babak K. Shandiz <babak.k.shandiz@gmail.com> Date: Thu Dec 8 21:35:52 2022 +0330 🐛 Fix wrong toggling of `show-checkboxes` style (#168444) commit 69b695bc398824ba2ddc5ee7b90be359f91471f1 Author: Tyler James Leonhardt <me@tylerleonhardt.com> Date: Thu Dec 8 09:42:52 2022 -0800 Revert "Clear quick input dom nodes on hide (#168365)" (#168489) This reverts commit a76d8ef33243bdc9b41c679268c70495f2211478. commit 2804f9884442d6c0f88d3ee0706f65e2ea4e2ade Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Thu Dec 8 18:31:13 2022 +0100 fix https://github.com/microsoft/vscode/issues/140854 (#168461) * avoid spreading thousands of args to function call * avoid unneeded array iterations commit 0200d640897ee13f50628c8a05e9795b6adada9d Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Thu Dec 8 18:26:45 2022 +0100 speed up `parseLabelWithIcons` (#168484) Use a regex instead of traversing the string character by character. This is faster, surprisingly it's also faster than using String.replace with the same regex and a replacer function. Using `big.js` from https://github.com/microsoft/vscode/issues/140661 and running quick open shows a 5-7X speed improvement. However, a few more things seem wrong and too slow commit 6e2ee35d1630b4bb916f35fdbd678848d129547c Merge: 057f3a020d5 93e01a71096 Author: Aaron Munger <aamunger@microsoft.com> Date: Thu Dec 8 09:14:26 2022 -0800 Merge pull request #167977 from amunger/aamunger/outputLineHeight default output line height equal to code cell line height commit 057f3a020d56b7b2bb816fa558162aa815383708 Author: Henning Dieterichs <hdieterichs@microsoft.com> Date: Thu Dec 8 16:58:26 2022 +0100 Updates distro to resolve conflict (#168474) commit 6540afe0841212b5c10facc73bf373bcc7a576a8 Author: João Moreno <joao.moreno@microsoft.com> Date: Thu Dec 8 16:14:46 2022 +0100 screencast: handle duplicate keyboard shortcuts (#168469) fixes #157660 commit 92b394a9a15cc6a12dbf4b7661188757933c2b45 Author: d1y <chenhonzhou@gmail.com> Date: Thu Dec 8 23:11:34 2022 +0800 feat: screencast mode move scale (#156084) Co-authored-by: João Moreno <joao.moreno@microsoft.com> commit 0931ced73741888afcf0e691d0568886894c0508 Author: Henning Dieterichs <hdieterichs@microsoft.com> Date: Thu Dec 8 16:10:26 2022 +0100 adopt textmate refactoring, fixes #167288 (#168468) commit 16e1db245298fe32c2c75c84a24e3061bd60ac45 Author: João Moreno <joao.moreno@microsoft.com> Date: Thu Dec 8 16:04:08 2022 +0100 grid: preserve absolute offsets across orientation flips (#167849) fixes #167816 related to #164327 related to #164287 commit 8875c8e5b86f2f50df823e29723401fc42017d4c Author: João Moreno <joao.moreno@microsoft.com> Date: Thu Dec 8 16:01:23 2022 +0100 better setting description (#168467) fixes #159009 commit 2546aab07280942a24f397633b5b85db6a21198d Author: ohah <bookyoon173@gmail.com> Date: Thu Dec 8 23:59:39 2022 +0900 screencast ime bug fix (#165248) (#165249) * screencast ime bug fix (#165248) * :lipstick: Co-authored-by: João Moreno <joao.moreno@microsoft.com> commit 926f9bb20135ecb7137c1e5861935f1ccf04d984 Author: Sandeep Somavarapu <sasomava@microsoft.com> Date: Thu Dec 8 15:59:01 2022 +0100 Fix #168460 (#168466) commit a265e9e8c6f95335fcce2efc3d0f4b4408df0cb7 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Thu Dec 8 14:47:47 2022 +0100 fix https://github.com/microsoft/vscode/issues/161734 (#168447) commit 603019055e01457b8593a7c08e86a26c65b6042c Author: Ilya Golovin <74474615+maIIady@users.noreply.github.com> Date: Thu Dec 8 16:44:07 2022 +0300 Fix: make git commands work with keyboard (#159113) * Fix: make git commands work from keyboard * refactor: improve code style commit 1476d6fa71732dd601ba5ca31a228c2988703845 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Thu Dec 8 14:40:26 2022 +0100 use `StableEditorScrollState` to ensure inlay hints don't move lines vertically (#168443) fixes https://github.com/microsoft/vscode/issues/165312 commit 7f3e92b2b4098d757596685232c92918bb13586c Author: Sean Marshallsay <srm.1708@gmail.com> Date: Thu Dec 8 13:17:50 2022 +0000 Introduce VSCODE_RESOLVING_ENVIRONMENT env var. (#168436) This environment variable is set while VS Code attempts to resolve your environment (i.e. tries to pick up on all the environment variables that you set in your shell startup scripts, such as .bashrc). The purpose of this environment variable is to let users opt out of certain actions while VS Code does this, e.g. to avoid slow processes running or exec lines being executed. Fixes #163186 Co-authored-by: Sean Marshallsay <smarshallsay01@qub.ac.uk> commit 02587612c011621958389ba60803bc03f22ef944 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Thu Dec 8 14:12:49 2022 +0100 fix https://github.com/microsoft/vscode/issues/168430 (#168434) commit 87c763d477f87c03ea310ebf8d05c1c89735a547 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Thu Dec 8 13:16:01 2022 +0100 fix `ERR TypeError` (#168432) ``` ERR TypeError: Cannot read properties of undefined (reading 'percentage') at u.analyseBottomUp (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/vs/platform/profiling/electron-sandbox/profileAnalysisWorker.js:3:12186) at l.d (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/base/worker/workerMain.js#CpuProfileAnalysis:17:76770) at Object.handleMessage (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/base/worker/workerMain.js#CpuProfileAnalysis:17:76491) at C.k (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/base/worker/workerMain.js#CpuProfileAnalysis:17:73744) at C.h (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/base/worker/workerMain.js#CpuProfileAnalysis:17:73375) at C.handleMessage (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/base/worker/workerMain.js#CpuProfileAnalysis:17:73307) at l.onmessage (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/base/worker/workerMain.js#CpuProfileAnalysis:17:76551) at self.onmessage (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/base/worker/workerMain.js#CpuProfileAnalysis:8:431) ``` commit 26c9daf849c512521422c2a5ab5f9aa52ec07524 Author: Alex Ross <alros@microsoft.com> Date: Thu Dec 8 11:19:54 2022 +0100 Fire tree selection changed after updating children (#168422) Fixes #167296 commit ed442a9e99ff68a3bb9e4953081305766862f450 Author: Benjamin Pasero <benjamin.pasero@microsoft.com> Date: Thu Dec 8 08:19:06 2022 +0100 debt - reduce unused things (for #164936) (#168390) commit b92894493e6f971a3c71912d823e699d3a05d643 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 19:52:31 2022 -0800 Add aria widget role for code action widget (#168380) Fixes #167596 commit c0703b6f2f0ab4a007e0b72fff8649b1e2ff6742 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 17:16:19 2022 -0800 Disable focus border for empty code action list (#168379) Fixes #162681 commit 7981d7f1430f40ce0abe9b71f0d1cc5979367fc5 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 17:15:09 2022 -0800 Prevent dragging of links in rendered markdown (#168232) Prevent dragging of markdown links Fixes #167308 commit d432fe3966c00ecdbb0d5b1958fade63ef90e4d3 Author: Tyler James Leonhardt <me@tylerleonhardt.com> Date: Wed Dec 7 16:32:23 2022 -0800 remove bad comment (#168376) commit 2c5eea2d544eac38445e62c04663fda2cdba9b13 Author: Peng Lyu <penn.lv@gmail.com> Date: Wed Dec 7 16:16:35 2022 -0800 Fix #163850. Install multiple recommended extensions. (#168374) commit b63dd777183a061579b8945705ec6d6e34165799 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 16:16:19 2022 -0800 Remove TS extension's use of resolver proposal (#168371) Fixes #164039 commit 812ef50afe2491c4577f63a7b3beed518a631aa7 Author: Connor Peet <connor@peet.io> Date: Wed Dec 7 16:14:41 2022 -0800 smoke: adopt new vscode test version (#168373) Has timeout logic that fixes #166092 commit a76d8ef33243bdc9b41c679268c70495f2211478 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 16:03:38 2022 -0800 Clear quick input dom nodes on hide (#168365) Fixes #163411 commit 9ad5c4a2054570089d99e9d4813d6da656e7da56 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 15:56:04 2022 -0800 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 commit 1c89f079be8376777da4b40a71a9f57e75326521 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 15:47:31 2022 -0800 Don't show empty `@return` in JSDoc (#168366) Fixes #164888 commit 636b07085cf2edec912874f5dff0a0bd067fc7ec Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 15:31:23 2022 -0800 Code actions should cancel if bulk edit fails or on cancellation token (#168364) Fixes #153427 commit 68cc61d4ce352e1797e34c10f195f8aba9c85c30 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 15:22:58 2022 -0800 Fix previewing of code actions (#168362) commit 4300ba22e5fe9dcde30dc1e11c8ad3c069d18d75 Author: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Wed Dec 7 15:19:11 2022 -0800 Filter some labels from Missing Milestone query (#168360) commit eab8c54b30ec6edf521991f49d7bf49ab8067d8e Author: Tyler James Leonhardt <me@tylerleonhardt.com> Date: Wed Dec 7 15:08:36 2022 -0800 Fix a translation (#168353) commit e25b892af4200b74aadc5dbecf83279e9465b18e Author: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Wed Dec 7 15:07:03 2022 -0800 Add packaging label to my-work.github-issues (#168358) Also removes duplicate livepreview entries from $repos, and sorts the feature area labels by alphabetical order. commit 48afb8e408ef14af97b8591c52efa11a653195ff Author: David Dossett <ddossett@microsoft.com> Date: Wed Dec 7 15:02:14 2022 -0800 Fix secondary button foreground and hover colors (#168357) Fix secondary button foreground commit fd0ee4f77e354de10ae591c9e97fe5ad41b398fc Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 14:31:35 2022 -0800 Remove explicit support for TS versions < 3.0 (#168348) This removes extra code we had to support TS versions that are 4+ years old. We do not test these versions and a very small number of users are actually using them commit 7153066a51de6636d1eca0945bb1f8746a864662 Author: Peng Lyu <penn.lv@gmail.com> Date: Wed Dec 7 14:21:37 2022 -0800 Fix #150573. Wrong list height calculation with insert toolbar and global toolbar. (#168346) commit 69da698bc07d52b52dec17c5292785810183ba87 Merge: 0dbe0aebb03 80f9ca79a95 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Wed Dec 7 13:41:10 2022 -0800 Merge pull request #168339 from microsoft/tyriar/161481 Fix max link length conditional commit 0dbe0aebb0321dc3595b137ea0d83176e78970fe Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Wed Dec 7 22:09:04 2022 +0100 Workspace trust - Rename "Configure Workspace Trust" action (#168340) Rename "Configure Workspace Trust" action commit 80f9ca79a950971de5756bbb37cf9ebbf550c2e0 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Wed Dec 7 12:52:27 2022 -0800 Fix max link length conditional This was a typo, the cols part was meant to be a sanity check for really wide terminals See #161481 commit 1cf6a0823e31e26b55882af02afd41c650d461b8 Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Wed Dec 7 20:47:02 2022 +0100 Engineering - Update classifier (#168334) Update classifier commit 62d2aad6a61cb6e9b47f1bd0697c883cd2f0d606 Author: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Wed Dec 7 10:41:21 2022 -0800 Add preventDefault calls, ref #138175 (#168310) commit 156cc97c88232275391e23f141423cd93b921ddd Author: Ioannis Poulakas <giannis.p@gmail.com> Date: Wed Dec 7 19:37:29 2022 +0200 Improve layout of search input (#165989) * Improve padding of search input on search-view * Improve margin and padding of search input on search-editor * Apply margin on search-editor query-container, fix search-editor message padding * Remove no longer required margin from search-editor includes-excludes commit cc04113a70c23c2524ed4b6fb5ea4ccccbe72c2a Merge: 64deca0f1fd c027fc91ec8 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Wed Dec 7 18:26:19 2022 +0100 Merge pull request #167624 from laurentlb/main Command duration: use a higher-precision for telemetry commit 64deca0f1fd7a1826a078f73a57675e45d6959cc Author: Alex Ross <alros@microsoft.com> Date: Wed Dec 7 17:38:07 2022 +0100 Enable open port preview in web (#168323) * Revert "Add open preview enabled context (#160898)" This reverts commit df7c2bc5a6f1bda9a41a9657ab6ae326e1e040ec. * Enable open preview in web commit ee0743184dd09b25693f5d3196b97561aafb3c07 Author: Megan Rogge <merogge@microsoft.com> Date: Wed Dec 7 10:04:37 2022 -0600 report problem if there's no workspace folder (#168209) fix #164051 commit 3d4db6a54609393ce5a3953b70d944ef4c8bdc51 Author: Sandeep Somavarapu <sasomava@microsoft.com> Date: Wed Dec 7 16:38:16 2022 +0100 fix #147280 (#168317) commit 650dd8f7d4d341cf8c290cdd9391884b8c143f46 Author: Alexandru Dima <alexdima@microsoft.com> Date: Wed Dec 7 16:32:29 2022 +0100 Update the anchor's view position when content changes (#168316) Fixes #147329: Update the anchor's view position when content changes commit d52bd1bdc1f37716bdafd72eec8eb6e6e2f88a10 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Wed Dec 7 16:21:48 2022 +0100 joh/electric hare (#168315) * add `peekViewEditorStickScroll.background` color and use for sticky scroll in peek editor * :lipstick: align keyword & naming style, init fields at declaration commit 3f89b2fbf39b573057cef4e6b400d119647be49d Author: Martin Aeschlimann <martinae@microsoft.com> Date: Wed Dec 7 16:15:36 2022 +0100 handlebars extension not acivated in remote window (#168313) commit 93db2051b988e07f6c1e11edee5fe4a43b3b6d33 Author: Alexandru Dima <alexdima@microsoft.com> Date: Wed Dec 7 16:11:02 2022 +0100 Honour `inSelectionMode` (#168312) Fixes #158236: Honour `inSelectionMode` commit 1bd8fa75da9a28d7858b967dc3218f8bb1cbea1c Author: Han <weartistt@gmail.com> Date: Wed Dec 7 22:55:54 2022 +0800 css variables for welcomeOverlay (#166330) commit bc841060949cd8ddb5f42f863e10d7f46ae9c67c Author: Han <weartistt@gmail.com> Date: Wed Dec 7 22:54:37 2022 +0800 css variables for walkThroughPart (#166547) commit 4bc45e900ea2274838234dd01dd572b6b44f7567 Merge: b054a1b1f08 490e6104897 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Wed Dec 7 06:49:02 2022 -0800 Merge pull request #168242 from microsoft/tyriar/161064 Fix NPE in terminal link helpers commit b054a1b1f080ed06e671a6dbfe64bdea202b05c2 Merge: 386459dec04 7c85e3c2c6d Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Wed Dec 7 06:48:39 2022 -0800 Merge pull request #168240 from microsoft/tyriar/158066 Ignore trailing ':<non number>' in terminal word links commit 386459dec0490aed8a67a1b94dc978a3307982eb Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Wed Dec 7 15:22:52 2022 +0100 fix https://github.com/microsoft/vscode/issues/146171 (#168307) commit 9d1c2920c0d4a433af493b3777b0e8d45088299b Author: N1kO23 <59277828+N1kO23@users.noreply.github.com> Date: Wed Dec 7 15:51:38 2022 +0200 Added `${rootNameShort}` formatting (#165744) * Added ${rootNameShort} formatting * Add unit tests for label that use rootNameShort * move `Verbose` interface to a better location * more support * :lipstick: * fix tests Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com> commit 45324363153075dab0482312ae24d8c068d81e4f Author: Alex Ross <alros@microsoft.com> Date: Wed Dec 7 14:44:00 2022 +0100 Exclude strings from HTML grammar patch (#168306) Fixes #160549 commit f7c5c0dbabc8275f47995065b752672e23bee081 Author: Benjamin Pasero <benjamin.pasero@microsoft.com> Date: Wed Dec 7 14:18:54 2022 +0100 Unexpected filenames proposed when saving untitled files (fix #150164) (#168278) commit 911e119dfc7c7133df4aec1d769d5671dd65a338 Author: Sandeep Somavarapu <sasomava@microsoft.com> Date: Wed Dec 7 14:17:58 2022 +0100 fix #168299 (#168303) commit 5653cef8da301b534a5b53b9ad920b10d3a58257 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Wed Dec 7 14:15:20 2022 +0100 joh/probable macaw (#168285) * fix https://github.com/microsoft/vscode/issues/167845 made choice completion item provider exclusive so that only it is being asked * fix https://github.com/microsoft/vscode/issues/167386 * fix compile errors commit 28832f37e282ea01a1d82a08bc7a1f4f34b2b069 Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Wed Dec 7 13:27:35 2022 +0100 Git - Do not pop the stash as part of the "Stash & Checkout" action (#168297) commit 6aa9ea1b7bc428186a64b605f1d74092ab4b8ad9 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Wed Dec 7 13:06:15 2022 +0100 fix https://github.com/microsoft/vscode/issues/152553 (#168291) commit 70640451579ba746a411605b50d1c83261613962 Author: Matt Bierner <matb@microsoft.com> Date: Wed Dec 7 01:36:32 2022 -0800 Use variadic tuples to simplify typing of `h` (#166392) commit 0f8bf1b66bf00d7be5ee749be980e6cae188c7ae Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Wed Dec 7 10:36:02 2022 +0100 Git - Fix error handling regression (#168284) Fix error handling regression commit a4e9665ba28df61b087633bb8a2fa9807172e4ab Merge: 29b11721622 6d7c12fe841 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Wed Dec 7 10:33:48 2022 +0100 Merge pull request #168266 from mroch/anyscore fix anyScore firstMatchCanBeWeak commit 29b117216229e4cfdd3d95fd4cb83ad4c37529fc Merge: a77a33a237e c2e5f8a5e9a Author: Henning Dieterichs <notify.henning.dieterichs@live.de> Date: Wed Dec 7 10:27:45 2022 +0100 Merge pull request #164225 from weartist/diff_find_result_loop_support Fix Setting to disable loop of "next change" in diff view #163331 commit a77a33a237e1ad63adbfdf99cdf1c3d0ccabdb0c Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Wed Dec 7 10:04:47 2022 +0100 fix https://github.com/microsoft/vscode/issues/167845 (#168282) made choice completion item provider exclusive so that only it is being asked commit cb1613302edf2722032fcca42f84c925a3077f9d Author: Sandeep Somavarapu <sasomava@microsoft.com> Date: Wed Dec 7 09:55:43 2022 +0100 fix #157499 (#168280) commit 7ca99004a50625858c0c2c0dbc2a9845e41a7dea Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 7 09:26:10 2022 +0100 Bump qs from 6.10.1 to 6.11.0 in /build (#168174) Bumps [qs](https://github.com/ljharb/qs) from 6.10.1 to 6.11.0. - [Release notes](https://github.com/ljharb/qs/releases) - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.10.1...v6.11.0) --- updated-dependencies: - dependency-name: qs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 206f45ec2963de2465c9a53c5a20f3170fcf2b83 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 7 09:25:40 2022 +0100 Bump qs from 6.5.2 to 6.5.3 (#168181) Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/ljharb/qs/releases) - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3) --- updated-dependencies: - dependency-name: qs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 78948c54d2b3b5608b3cfce33b9d8d7308d7da5a Author: Alexandru Dima <alexdima@microsoft.com> Date: Wed Dec 7 09:25:01 2022 +0100 Forward the configured value for `editor.cursorBlinking` (for accessibility purposes) (#168217) Fixes #131941: Forward the configured value for `editor.cursorBlinking` (for accessibility purposes) commit dd86970478634ba944092bf4db7ea083a1ddbae2 Author: Benjamin Pasero <benjamin.pasero@microsoft.com> Date: Wed Dec 7 09:04:32 2022 +0100 "Go to Definition" with multiple definitions and "Peek Definition" change preview editor statuses differently (fix #152914) (#168275) commit c0f6c67a090bf17be0c78e0e8544e6f91268edd9 Author: Matt Bierner <matb@microsoft.com> Date: Tue Dec 6 21:00:11 2022 -0800 Pick up latest markdown-it katex (#168269) For #149295 commit 3028ad09238dfdbd90a172e8170b6cb66aa81cbf Author: Rob Lourens <roblourens@gmail.com> Date: Tue Dec 6 22:55:12 2022 -0600 Fix breakpoint gutter hover while paused (#168264) Fix #130904 commit 6d7c12fe8412a94490c09cc31f15fae9dad226e5 Author: Marshall Roch <mroch@fb.com> Date: Tue Dec 6 22:27:39 2022 -0500 fix anyScore firstMatchCanBeWeak commit 1c85aeab6777c0cd07d847a8c7fa0daff22473be Author: Matt Bierner <matb@microsoft.com> Date: Tue Dec 6 18:36:13 2022 -0800 Remove extra service properties (#168256) This replaces everywhere in our code where we had the following: ``` @IService readonly service: IService ``` This creates a publicly accessible service, which is almost never what you want. Instead these services should either be private or only passed in as constructor arguments commit 220f9387c973de4cc44c545642ad2c90170bd3ef Author: Matt Bierner <matb@microsoft.com> Date: Tue Dec 6 16:34:19 2022 -0800 Fix showing keybindings in code action widget (#168254) This also refactors how keybindings are passed in to remove the concept of a `IActionKeybindingResolver` commit a49a1db99eb516118c00c59aceaeb1f835aecf98 Author: David Dossett <ddossett@microsoft.com> Date: Tue Dec 6 16:10:09 2022 -0800 Fix tab close icon margin when positioned on the left (#168252) commit 16e769875124fa24d210c6310a8551b9a4c68e07 Author: Matt Bierner <matb@microsoft.com> Date: Tue Dec 6 16:09:05 2022 -0800 Shorten update import labels (#168250) Fixes #165907 This aligns with the markdown update imports UI commit 9a8f118aa9901f1f4835c4ac9d6d7eac3f85c55b Author: David Dossett <ddossett@microsoft.com> Date: Tue Dec 6 16:03:05 2022 -0800 Match quick pick button height to input height (#168251) commit f1ae1403f71ead70c1e4296092394c7352545180 Author: Peng Lyu <penn.lv@gmail.com> Date: Tue Dec 6 15:53:51 2022 -0800 Fix #154986. Update clear outputs action name (#168249) commit df0c79cfec906e4b5d4da5a3bc4ef6c3bd4538a7 Author: David Dossett <ddossett@microsoft.com> Date: Tue Dec 6 15:49:07 2022 -0800 Update focus border in hc-light theme (#168247) commit 12378f3f5f512678585bd63d7320b0205760d421 Author: Joyce Er <joyce.er@microsoft.com> Date: Tue Dec 6 15:40:59 2022 -0800 Update my-work.github-issues (#168245) commit 2f2e4e17626a0fc7e59f24e1383191d0f0c3b65c Author: Connor Peet <connor@peet.io> Date: Tue Dec 6 15:23:47 2022 -0800 debug: bump js-debug (#168238) commit c060963f3d4ebf02259fae41de9c3ac19ef829ed Author: David Dossett <ddossett@microsoft.com> Date: Tue Dec 6 15:23:23 2022 -0800 Fix missing list focus outlines in settings UI (#168243) Fix settings UI table focus commit dd830ee0284aa31a7268a669b16f9bb6084b677d Merge: 69c8a7594d5 3d3db02a073 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue Dec 6 15:10:03 2022 -0800 Merge pull request #168222 from microsoft/tyriar/166701 Always fallback to monospace in the terminal commit 69c8a7594d5efbc391d873157184b0317991cd11 Merge: 7b83bc62ad9 533678ede69 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue Dec 6 15:04:37 2022 -0800 Merge pull request #168228 from microsoft/tyriar/166506 Show Terminal menu on web commit 7b83bc62ad9ce1d141512f8ec67dda7615765f88 Merge: 2a3467e7aac 692791d8a8f Author: Joyce Er <joyce.er@microsoft.com> Date: Tue Dec 6 15:03:46 2022 -0800 Merge pull request #167867 from microsoft/dev/joyceerhl/jolly-takin Add `onLanguage` activation event for Emmet commit 2a3467e7aacff8dab141a7a49913098a66f1d941 Author: Matt Bierner <matb@microsoft.com> Date: Tue Dec 6 14:56:18 2022 -0800 Pick up latest TS for building VS Code (#168236) commit 07a8c6752e4f618c953ced0d91c4bbee42ee7da0 Author: David Dossett <ddossett@microsoft.com> Date: Tue Dec 6 14:52:11 2022 -0800 Improve focus border contrast for quiet light, solarized light, and monokai themes (#168237) Fix #165386 commit 490e610489793a74fab227b071fb3af3062d4482 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue Dec 6 14:51:28 2022 -0800 Fix NPE in terminal link helpers Fixes #161064 commit 7c85e3c2c6d382002f5dd6ac09026f90a02843fa Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue Dec 6 14:48:38 2022 -0800 Ignore trailing ':<non number>' in terminal word links Fixes #158066 commit eefd5edc4dd6cd8234c4761e5356e3ec49349560 Author: David Dossett <ddossett@microsoft.com> Date: Tue Dec 6 14:48:03 2022 -0800 Remove old/unused walkthrough images (#168235) * Remove old/unused walkthrough images * Remove more.png commit 23ce9daef814d1abb1b5d2bd83a8cc1cf71f5d72 Author: Matt Bierner <matb@microsoft.com> Date: Tue Dec 6 14:47:55 2022 -0800 Adopt css colors in parameter hints widget (#168234) * Adopt css colors in parameter hints widget For #165169 * Add opacity to borders commit a3ce458be08c2434287567af5e19896cbc5b2804 Author: David Dossett <ddossett@microsoft.com> Date: Tue Dec 6 14:24:55 2022 -0800 Fix status bar hover/active background (#168233) commit ac88f33e2ca851839a3cd2a972377558f654e0a6 Author: Matt Bierner <matb@microsoft.com> Date: Tue Dec 6 13:50:30 2022 -0800 Revert "Fix: New md file scrolls to Top. (#164999)" (#168224) This reverts commit 54543cf5bf178600cfea17355b4c201877132b5b. commit 3d3db02a073476b96a97852763f73ed814e0d8ad Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue Dec 6 13:48:53 2022 -0800 Fix tests to include fallback font commit 533678ede69d343f692c126ce7914efd5a3569c8 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue Dec 6 13:46:50 2022 -0800 Show Terminal menu on web Fixes #166506 commit 94acd2c0859f973740466334fe95c2f8b9700751 Author: Alexandru Dima <alexdima@microsoft.com> Date: Tue Dec 6 22:29:13 2022 +0100 Change the default of `editor.renderFinalNewline` to `dimmed` on Linux (#168220) Fixes #141169: Change the default of `editor.renderFinalNewline` to `dimmed` on Linux commit ef05bd2e6099981ac4df1f65afdf72cbae5c6663 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue Dec 6 13:22:48 2022 -0800 Always fallback to monospace in the terminal Fixes #166701 commit 2b642e1c98da8859a7f0f3a428e0268a74b5de2f Author: Tyler James Leonhardt <me@tylerleonhardt.com> Date: Tue Dec 6 13:19:22 2022 -0800 Define 'language' for translators (#168118) * define 'language' for #129029 * Update src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint/untitledTextEditorHint.ts Co-authored-by: John Murray <johnm@georgejames.com> Co-authored-by: John Murray <johnm@georgejames.com> commit 3c84e0d7637df08ffe1e88b63a02d5a684eaab3a Author: Megan Rogge <merogge@microsoft.com> Date: Tue Dec 6 14:40:31 2022 -0600 tweak command name (#168214) fix #143701 commit 73c9764d50eb394decc1f506622d72fc77d543a0 Author: Connor Peet <connor@peet.io> Date: Tue Dec 6 12:29:59 2022 -0800 testing: allow work after user interrupts test (#168212) Gives a 10 seconds timeout for test extensions to tear down and write out remaining messages, instead of immediately finalizing the run when the user clicks the stop button. Users can also click the test button again to forcefully end the run. commit bafda10a370cd7ac835c4a88f5885bf69e02037e Author: Alexandru Dima <alexdima@microsoft.com> Date: Tue Dec 6 21:17:10 2022 +0100 Make `setContext` an API command (#168215) Fixes #46445: Make `setContext` an API command commit 07892e4ef2f555e999da8e7d8c1dbd23973b3470 Author: Alexandru Dima <alexdima@microsoft.com> Date: Tue Dec 6 20:45:57 2022 +0100 Move more style rules to css (#168210) commit 1d7f9302466e24fe8a71a09c490c713914422cf4 Author: Mikl Wolfe <wolfemikl@gmail.com> Date: Tue Dec 6 12:30:26 2022 -0700 Remove repository.ts default parameter types (#155908) * Remove closeDiffEditors inferred parameter type * Remove pushTo inferred parameter type * Remove _push inferred parameter type * Remove isBranchProtected inferred parameter type commit e381480cd48ad479d2aceda02abf014003f720a6 Author: Megan Rogge <merogge@microsoft.com> Date: Tue Dec 6 13:29:29 2022 -0600 part of #167239 (#168208) fix #167417 commit 0bae6f7964294eb2c6a3781ffc54ab4937b89225 Author: Megan Rogge <merogge@microsoft.com> Date: Tue Dec 6 13:13:06 2022 -0600 register command selectors as first priority in terminal quick fix addon (#168206) fix #168154 commit aa6168def926b1bef05f3c7d364c347348dadb16 Author: Megan Rogge <merogge@microsoft.com> Date: Tue Dec 6 13:09:50 2022 -0600 pull accessibility mode out of editor status (#168103) commit 8893a1494149e5a85bad1a471ec73ba65b10859b Author: SteVen Batten <6561887+sbatten@users.noreply.github.com> Date: Tue Dec 6 11:02:49 2022 -0800 add mnemonic note (#168204) fixes #149794 commit 125fd89ceeec582f755801d1dff306b9e5a2258b Author: Connor Peet <connor@peet.io> Date: Tue Dec 6 10:56:38 2022 -0800 testing: prefer to show description in test tooltip (#168203) Showing the label is redundant in the explorer view where the label is shown in the tree item. Prefer showing the description. Fixes #166374 commit fa0e000e1d24f3b64117da6371200aee801e7243 Author: Alexandru Dima <alexdima@microsoft.com> Date: Tue Dec 6 19:45:30 2022 +0100 Extract highlight decorations to a separate file (#168185) * Extract highlight decorations to a separate file * Fix CSS import commit e37eabca53a90f8b2beb6261e149804aabdfc3d9 Author: Martin Aeschlimann <martinae@microsoft.com> Date: Tue Dec 6 19:33:00 2022 +0100 Folded folding ranges should be displayed on the minimap with darkened background (#168198) commit c16bf3470b591d6e5e353eafaaf31d299de6680d Author: Alexandru Dima <alexdima@microsoft.com> Date: Tue Dec 6 18:36:06 2022 +0100 Fix typo (#168191) Fixes #167319: typo commit d08acd8f1a33faeb081294fcabc73c81bd308654 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Tue Dec 6 18:04:26 2022 +0100 fix https://github.com/microsoft/vscode/issues/167242 (#168189) Bring existing items by provider to the suggest-call, refactor trigger options into one argument-object, simpily completionModel commit 3b4ff9460745a68abd10d7a15487b788c6821e63 Author: Connor Peet <connor@peet.io> Date: Tue Dec 6 08:30:40 2022 -0800 search: fix faulty replacements in crlf files with lf regex (#168124) Fixes https://github.com/microsoft/vscode/issues/165700 Regex normalization was actually working fine (finally). The issue was JS code was matching again to do the replacement. If the original regex only was written for LF, but the file was CRLF, VS Code did not attempt to normalize line feeds until it tried to pull the surrounding content as well as a 'last resort'. If the surrounding content included a match before the intended one, then that would be used instead, resulting in the bug. PR does a small style change to add early returns to avoid nesting. commit dac409ee91dd31e8dbcff5bab57fe5edaaea6209 Author: Martin Aeschlimann <martinae@microsoft.com> Date: Tue Dec 6 16:52:23 2022 +0100 set virtualWorkspaces: limited (#168177) commit accdf1078f412be9c241b4a9d2295be9da30576a Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Tue Dec 6 15:55:01 2022 +0100 fix https://github.com/microsoft/vscode/issues/159914 (#168175) commit 6adec5fc8e9b9199bd260aa4c557d9666a38749d Author: Megan Rogge <merogge@microsoft.com> Date: Tue Dec 6 08:51:44 2022 -0600 update description of `editor.accessibilitySupport` (#168104) commit 73221ee0464eacf8af8cbd555597f67b076696f4 Author: Mikl Wolfe <wolfemikl@gmail.com> Date: Tue Dec 6 07:03:22 2022 -0700 Update git config.followTagsWhenSync definition (#155914) commit f3110d3367e8e24f1a7d3b78dc602dd97918303b Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Tue Dec 6 14:53:42 2022 +0100 Engineering - Exclude engineering label from missing types query (#168170) Exclude engineering label from missing types query commit fac2283bf3aa7a0cd31d77dafcbbfd72bec26391 Author: Sandeep Somavarapu <sasomava@microsoft.com> Date: Tue Dec 6 14:50:23 2022 +0100 fix string.replace (#168169) fix string.replace #167239 commit a18f1c39eafacb909ff11784dc2bc5d221f545bd Merge: c0799f03087 162f221b780 Author: Henning Dieterichs <notify.henning.dieterichs@live.de> Date: Tue Dec 6 14:49:09 2022 +0100 Merge pull request #167687 from ssigwart/tabWithEnter Fix paste removing indent commit c0799f030870d62b33297b179a48732c50c4d84b Author: Henning Dieterichs <notify.henning.dieterichs@live.de> Date: Tue Dec 6 14:38:52 2022 +0100 Fixes #168068 (#168163) * Fixes #168068 * Fixes test commit 62d8f662fbba80d8ad6f58b6d87b1975c40577ce Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Tue Dec 6 14:34:20 2022 +0100 prevent empty markdown string from appearing in the hover (#168168) fixes https://github.com/microsoft/vscode/issues/162227#issuecomment-1337563966 commit 37a74f9e412e7bceee79c86b1d7f8ac5c2ec669d Author: Sandeep Somavarapu <sasomava@microsoft.com> Date: Tue Dec 6 14:33:44 2022 +0100 fix #167594 (#168167) commit 538a24d5051c00c931c2655bc47bc609b6b8c936 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Tue Dec 6 12:35:15 2022 +0100 use `IWorkbenchExtensionEnablementService` because know when a globally disabled extension is workspace enabled (#168161) fixes https://github.com/microsoft/vscode/issues/160460 commit 711bdf0066a4b8ecd62eda414ff9aa9478d73791 Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Tue Dec 6 12:31:06 2022 +0100 Engineering - Add workbench-banner label (#168160) Add workbench-banner label commit 12988f1ea0b7388f35ab79b1d9cfa24cfca9f872 Author: Benjamin Pasero <benjamin.pasero@microsoft.com> Date: Tue Dec 6 12:13:10 2022 +0100 debt - clean up some todos (#168158) commit c4d4c382c24a92993fd529406461a8440a9387a4 Author: Alex Ross <alros@microsoft.com> Date: Tue Dec 6 09:56:32 2022 +0100 Tree item dnd item for `text/plain` reveal it id (#168145) Fixes #145687 commit 27a83dea309101fb984c2bab8dffd783ee67e8e5 Author: Peter Strömberg <pez@pezius.com> Date: Tue Dec 6 08:18:35 2022 +0100 Enable monospaced digits for statusbar items (#167310) * Enable monospaced digits for statusbar items Addressing: #167304 * Use `font-variant-numeric` instead Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com> commit 25a406de7b3e0895f35eaac8cc2902b482734dd1 Author: Tyler James Leonhardt <me@tylerleonhardt.com> Date: Mon Dec 5 23:17:56 2022 -0800 Don't expose command center in the command palette and remove 'Launch' in name (#168126) Fixes #166503 commit c0c052077c84495c473fc8287210986047afbcbf Author: Peng Lyu <penn.lv@gmail.com> Date: Mon Dec 5 23:16:21 2022 -0800 Re #166603. Avoid visibility change in override. (#168122) commit d253ab2adc06fae5e2d30facf17e65d0ead60d25 Author: Sandeep Somavarapu <sasomava@microsoft.com> Date: Tue Dec 6 08:15:12 2022 +0100 fix #162380 (#168115) * fix #162380 - Handle 405 error - Clean up remote data when 405 occurs - Check for too many profiles locally - fix merging profiles - remove created collections when updaing profiles fail * fix tests commit 4b148a70a835dd1f3ed1d36710ec5192a38fc532 Author: Google Henrik <101328101+mueheg@users.noreply.github.com> Date: Tue Dec 6 07:41:24 2022 +0100 Do not select full contents of inputbox before selecting a range, fixes #167266. (#167274) Do not select full contents of inputbox before selecting a range. Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com> commit 9df51e1cdd092547d41c7f2d37d51c73980460bc Author: Benjamin Pasero <benjamin.pasero@microsoft.com> Date: Tue Dec 6 07:28:32 2022 +0100 Notifications: cannot navigate into link via keybindings (fix #163086) (#167980) commit 162f221b7806ca80266b0ae36c4d28a9c5929951 Author: Stephen Sigwart <ssigwart@gmail.com> Date: Mon Dec 5 23:26:06 2022 -0500 Added test commit e79a401ba5f6bc8eff07bfffaf4544e96f394837 Author: Bhavya U <bhavyau@microsoft.com> Date: Mon Dec 5 15:38:24 2022 -0800 Create new files in walkthrough steps on the right if... (#168119) Create new files in walkthrough steps on the right if there are no other editor groups. commit 782e13ba445a450c9f52b24a5c77ad6fb336c305 Author: Tyler James Leonhardt <me@tylerleonhardt.com> Date: Mon Dec 5 15:21:21 2022 -0800 Update replace calls to use functions (#168120) update replace calls ref #167239 commit fac8c645d47cca1eec710ae1c8eddae18d753152 Author: Rob Lourens <roblourens@gmail.com> Date: Mon Dec 5 17:20:02 2022 -0600 Add Eleanor to ssh label (#168117) commit 77c3ff054dfb49bf403231cca793d917813aec4e Author: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Mon Dec 5 14:56:31 2022 -0800 Add minimum value to window.zoomLevel (#168116) Fixes https://github.com/microsoft/vscode/issues/155185 commit b27ee6b7b549193ba18972b2f968a273e329481d Author: Martin Aeschlimann <martinae@microsoft.com> Date: Mon Dec 5 23:49:27 2022 +0100 [html/css/json] pass the location of the localization bundle to the server (#168111) pass the location of the localization bundle to the server commit 6e3976f744d8de1ee12718256743bf3b2188565e Author: Matt Bierner <matb@microsoft.com> Date: Mon Dec 5 12:41:15 2022 -0800 Update repos and labels in my-work (#168108) commit d62fb120a43785ab75cababe803fe0c8bdaa17be Author: Matt Bierner <matb@microsoft.com> Date: Mon Dec 5 12:13:24 2022 -0800 Pick up latest markdown language server (#167869) commit 93687007ed5af25da14f1cd31fa2c162274c6bea Author: Andrea Mah <31675041+andreamah@users.noreply.github.com> Date: Mon Dec 5 12:09:42 2022 -0800 Add me to search-related tags for classifier (#168095) add andrea to search tags for classifier commit 9f43a4ffda7c9748e2c16e8849cea009fea6c4da Author: David Dossett <ddossett@microsoft.com> Date: Mon Dec 5 11:41:50 2022 -0800 Add experimental default dark/light v2 themes (#167104) * Add experimental default dark/light themes * Update themes and name * Add colorizer test results * Update accent color * Fix status bar no folder background issue * Fix tree indent strokes * Update lighter layer * Fix breadcrumbs * Update accent * Update light lights and dark links * Update colorizer test commit 26f31fa49367f8f0c5ab84658bf7813a2183498a Author: David Dossett <ddossett@microsoft.com> Date: Mon Dec 5 11:12:30 2022 -0800 Update codicons (#168107) Update coficons commit 30c3bf46a2633ccd148a9310f339ac91bf2f3252 Author: Matt Bierner <matb@microsoft.com> Date: Mon Dec 5 10:59:39 2022 -0800 Add missing milestone query (#168105) commit 7af646716e9889ec1736e231cf3f3f037f5b2dbd Author: Logan Ramos <lramos15@gmail.com> Date: Mon Dec 5 11:56:33 2022 -0500 Fix missing isMeasurement (#168091) commit bf93e1d91283dd6777507e6765d23a4be173923f Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Mon Dec 5 17:47:32 2022 +0100 update notebook milestones (#168090) commit 4133f2d5a209f5088b7f5a913ded48726e1bc9aa Author: Matt Bierner <matb@microsoft.com> Date: Mon Dec 5 08:17:53 2022 -0800 Try to skip removing list dom nodes when a list is being rapidly scrolled (#164340) Try to skip removing list elements from the dom when a list is being rapidly scrolled When rapidly scrolling a list, we always and up removing an element from the dom. This element is then inserted back into the dom on the next update. It would be better if we simply skipped removing the element from the dom in this case I've tried to fix this but there may be a better approach. This PR makes the following changes: - Switch the order of remove and insert in `ListView.render`. Now we always call remove before calling insert. This lets the removed row be reused within the same `render` frame - In the `rowCache`, introduce the concept of a transaction. This lets us defer actually removing nodes from the dom until the transaction is completed. In many cases (especially when scrolling rapidly), the row's dom node will actually be reused by `alloc` before this happens so we can skip the removal entirely commit 20876603deed7f7bc6c9f244b8583f5d6502f2e3 Merge: 08024bac3e9 3cb257398f3 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Mon Dec 5 07:02:52 2022 -0800 Merge pull request #168069 from microsoft/Tyriar-patch-1 Explicitly assign terminal links/tabs commit 08024bac3e959ab8cce63d7025dc95428d1ef1a5 Author: Martin Aeschlimann <martinae@microsoft.com> Date: Mon Dec 5 15:45:27 2022 +0100 vscode-notebooks: add repo:microsoft/vscode-remote-tunnels (#168082) commit dcc6d8f54e620d8841ce36a2cf92d1d03c2a134f Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Mon Dec 5 15:43:03 2022 +0100 re-order `WorkspaceEdit#set` overloads (#168083) https://github.com/microsoft/vscode/issues/162054 commit 11367ba900e8e54fa46707adac5e7d20dec41604 Author: Megan Rogge <merogge@microsoft.com> Date: Mon Dec 5 08:42:15 2022 -0600 apply change to all windows (#167998) fix #167997 commit eef3e6a720e565cdbd1f3d77198f72c365ee16fc Author: Logan Ramos <lramos15@gmail.com> Date: Mon Dec 5 09:41:05 2022 -0500 Remove incorrect isMeasurement (#168084) commit a642f1816eed4dd578a3dcf3e62d989dcf01caaa Author: Martin Aeschlimann <martinae@microsoft.com> Date: Mon Dec 5 15:31:02 2022 +0100 Improve color documention error message (#168078) commit b2a7c9aac56f8e3321118685496be283ca450a29 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Mon Dec 5 15:15:47 2022 +0100 don't export TextEditorEdit (#168080) https://github.com/microsoft/vscode/issues/164940 commit 1e4ac3149ef3ed48115663b92caa128aedff91da Author: Martin Aeschlimann <martinae@microsoft.com> Date: Mon Dec 5 15:01:19 2022 +0100 folding: replace registerThemingParticipant (#168079) commit c0aae4e71e2b11213586e8cc67e4e6f7de775847 Author: Alex Ross <alros@microsoft.com> Date: Mon Dec 5 14:53:06 2022 +0100 tunnel view - use CSS variables over `registerThemingParticipant` (#168077) Par of #165169 commit fc8dcad58f0bed637a39ee3aeaa38a14dd4f5194 Author: Alex Ross <alros@microsoft.com> Date: Mon Dec 5 14:35:55 2022 +0100 Fix heuristic port logging (#168074) commit 46240d5251b935d04005be3a6d4832ab517b5920 Author: Megan Rogge <merogge@microsoft.com> Date: Mon Dec 5 06:50:51 2022 -0600 add new line when running extension quick fix command (#167973) commit e5cd2a8dbe0d6c13eba8c62822ce6e24a21b2fc6 Merge: 42b0cb737a1 457420737c9 Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Mon Dec 5 04:47:29 2022 -0800 Merge pull request #167955 from microsoft/tyriar/147630 Include {} in shell env json regex match commit 42b0cb737a115f1c9ad0ec88df010846472e73ab Author: Alexandru Dima <alexdima@microsoft.com> Date: Mon Dec 5 13:45:55 2022 +0100 Fixes #167785 (#167880) commit f6b21f5097bf4454ad71c1f27cd850e63bc1fbd6 Merge: 84527417fe3 f48e13440b7 Author: Henning Dieterichs <notify.henning.dieterichs@live.de> Date: Mon Dec 5 13:09:39 2022 +0100 Merge pull request #168066 from microsoft/hediet/previous-crow Addresses #166969 commit 84527417fe3caafc61091fe89fc98a9d9a9882e5 Author: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Mon Dec 5 12:57:14 2022 +0100 Engineering - Update classifier (#168063) Update classifier commit 3cb257398f38340fc3075415b267b4c33ccb8fdb Author: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Mon Dec 5 03:56:02 2022 -0800 Explicitly assign terminal links/tabs These are areas we are trying to split issue duties on commit 9748eee64bb5e620854060ab558c4943544e11c3 Author: Henning Dieterichs <notify.henning.dieterichs@live.de> Date: Mon Dec 5 12:10:00 2022 +0100 Removes IObservable from audio cue service API (#168065) commit f48e13440b72adea3e031553df78ce6ea7faba8d Author: Henning Dieterichs <hdieterichs@microsoft.com> Date: Mon Dec 5 12:03:58 2022 +0100 Addresses #166969 commit 1574c25b3baa8a52aa3614a6549607179b56a7aa Author: Alexandru Dima <alexdima@microsoft.com> Date: Mon Dec 5 11:28:35 2022 +0100 update labels (#168061) * Sort labels * update labels commit f4c8442fbfef97c8ad5ccfac5e0f0d4a32743041 Merge: 0899758daee d7c7310f613 Author: Johannes Rieken <johannes.rieken@gmail.com> Date: Mon Dec 5 11:15:16 2022 +0100 Merge pull request #167718 from chouzz/fix-api-description Fix incorrect descripti…
@alexdima what is blocking fixing this issue? I see open PR for Linux and Mac, but we still want to wreak havoc on Windows? Working in a diverse team with all possible operating systems under the sun, this just creates misery to the point where Windows users, building for Linux, consider ending new-line just a formatting issue and not the standard practice which should go without even thinking about it. |
I don’t think swapping the default of Editor settings such as Teaching all contributors to enable Linters such as Prettier and ESLint are indeed a useful tool to enforce the use of final newlines. However, not all file formats are supported by the linters used. Also not all projects use them. I especially notice files in VSCode related repositories tend to lack trailing newlines, but not consistently. The invalid default often leads to unwanted diffs alternating the use of final newlines, where one author has configured their editor correctly, and the next author uses bad defaults. The situation for JSON files is even worse than for other files. Not only will VSCode not add a final newline, it will remove existing final newlines. Some related issues: |
The issue is that in *nix text files, "newline" ( Those settings seems to change the handling of "newline" characters for all text files... (So you either end up with an extra line in Windows files or with an invalid final line in POSIX files) |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
cat
to read the fileI am becoming increasingly annoyed by Visual Studio Code users because files are created without final newline.
This results in mangled shell prompt as shown above. In a sane world shell prompt starts on a new line.
Feel free to do this on Windows, but don't bring this madness to Linux and Mac. You're just wasting our time explaining how to turn off trimming and why trimming is bad.
In POSIX line ends with newline:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
and text file consists of 0 or more lines: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_403
Hence text file ends with a newline character
The text was updated successfully, but these errors were encountered: