Commit Graph
13454 Commits
Author SHA1 Message Date
Joyce Er d7fec23a8a Use fs.readFile instead of openTextDocument (#175077) 2023-02-22 07:35:34 +01:00
David Dossett 4965a140e9 Update active activity bar item foreground in v2 themes (#174980) 2023-02-21 20:25:22 +01:00
David Dossett d47bacfb75 Fix input border contrast in v2 themes (#172951)
* Fix v2 light theme input contrast

* Fix dark v2 theme border contrast
2023-02-21 11:15:45 -08:00
David Dossett e123385d1d Fix active tab foreground in dark+ v2 (#174991) 2023-02-21 20:10:51 +01:00
Matt Bierner 784bbdab8f Allowing configuring if markdown inserts a .md when completing paths to markdown files (#174882)
Fixes #174005
2023-02-21 08:07:31 +01:00
Martin Aeschlimann 05abefc4cd [css/json/html] update services and server (#174867) 2023-02-21 07:27:06 +01:00
Masaki Mori 1a79e7eb63 Fix #173735 (#174149)
* Fix #173735

* Fix #173735
2023-02-20 16:50:48 +00:00
Ely Ronnen 59f6d52062 fix #174711 Show Source command in Markdown custom editor (#174712)
fix #174711
2023-02-20 16:01:36 +00:00
Aiday Marlen KyzyandMartin Aeschlimann eee87af252 Adding the server and client code to the JSON language features extensions to enable JSONC sorting in VS Code (#174352)
* temporarily changing the funcion onFromat to be able to trigger the sorting on real examples

* adding the DocumentSortingRequest

* accesssing directly the text edits from the request

* added code in order to provide the link between the json sorting capabiliites and vscode

* adapting to the new api output of the sort function

* instead of using await use then inside of the command that registers

* textEditor replaces window.activeTextEditor

* adding changes from review

* update service

* use SortOptions

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-02-17 19:49:05 +01:00
Tyler James Leonhardt 71f619cbda Ensure the original scopes requested are the scopes in the Session returned (#174645)
Fixes #174631
Fixes #167791
2023-02-17 03:34:39 +01:00
aamunger a1665b75bf put open new editor link outside of scrollable div 2023-02-16 15:56:32 -08:00
Peng Lyu 6b45fd4bff Polish default line wrap in text/error output (#174615) 2023-02-16 20:36:12 +01:00
Alex Ross 6da385b3a3 Multi quick diff polish (#174584)
Part of https://github.com/microsoft/vscode/issues/169012
2023-02-16 16:15:10 +01:00
Peng Lyu 9570a06456 Fix #174393. Clear error container. (#174494) 2023-02-15 20:55:31 +01:00
Bassim EL BAKKALI EL GAZUANI 68a7a39382 Set Opacity to MatchHighlight in QuietLight (#174296)
As stated in the docs for "editor.findMatchHighlightBackground":
"The color must not be opaque so as not to hide underlying decorations."

I've simply added a 0.6 opacity to the color so that it doesn't obscure the selection background.
2023-02-15 15:51:43 +01:00
Peng Lyu 9d8b738122 Fix microsoft/vscode-jupyter#12842. Add output text word wrap setting. (#174384) 2023-02-14 19:43:27 +01:00
Benjamin Pasero 6a1eb923ca Integration test failure - vscode API - commands (fix #174319) (#174320) 2023-02-14 10:24:46 +01:00
Henning Dieterichs d6259480f5 Fixes #173997 (#174067) 2023-02-10 15:29:40 +01:00
Tobias Hernstig c612c5d163 Add shellscript filenamePatterns for .env.* (#173426)
* Add shellscript `filenamePatterns` for `.env*`

In some cases, projects use `.env` files such as `.env.development`
or `.env.production` or similar things.

Adding this to extensions/shellscript/package.json as a
`filenamePatterns` avoids developers having to add specific
`"files.associations"` to their VS Code settings files.

Fixes #173425

* Change pattern from .env* to .env.*
2023-02-10 14:22:32 +00:00
Matt Bierner 34c620efbe Hook up new markdown workspace header suggestion setting (#174004)
Fixes #172977

Also fixes the settingsTree matching settings ids too eagerly
2023-02-10 09:09:00 +01:00
Megan Rogge 2b457a3ae9 terminal.quickFixes -> terminalQuickFixes (#173860) 2023-02-09 11:38:55 -06:00
Ely Ronnen 5b79b91838 Fix #173869 marking active line for code elements too in markdown pre… (#173870)
Fix #173869 marking active line for code elements too in markdown preview
2023-02-08 20:25:54 +00:00
David Dossett a987fee52e Use solid foreground colors in v2 themes (#173844) 2023-02-08 11:46:07 -08:00
Matt Bierner 5170e1a42b Use native path for trace directory (#173856)
Fixes #173854

On windows, we need to pass in the `c:\` style path. The normal `/` path causes TS Server to crash
2023-02-08 10:41:10 -08:00
Matt Bierner 39187de5d9 Also recognize .oga as an audio extension (#173711)
From #173680
2023-02-08 10:24:47 -08:00
David Dossett d30d44aea2 Fix textPreformat.foreground in v2 themes (#173848) 2023-02-08 10:06:07 -08:00
Martin Aeschlimann 911f119120 generalize limit indicator and use for color decorators (#173730)
* generalize limit indicator and use for color decorators

* remove updateDebounceInfo max
2023-02-08 07:43:29 +01:00
Matt Bierner 095a2f8ae8 Log correct tsserver path (#173708)
Fixes #173707

We previously converted the TS Server log from a simple string to an object. However there were a few cases where this object was incorrectly being converted into a UI string, resulting in `[Object object]`
2023-02-07 09:18:15 -08:00
David Dossett 6a42d4e43b Fix active list icon foreground in light+ v2 theme (#172668) 2023-02-07 09:12:47 -08:00
Johan WallesandAlex Ross f8c3f89468 Unfreeze Git Commit Message grammar II (#173195)
* Unfreeze Git Commit Message grammar II

Before this change, the upstream for the VSCode Git grammar was dead.
Also, the test setup for that project has been EOL since 2014, so even
just running the tests was difficult.

The replacement grammar, unlike the current grammar:
* Has a vscode-tmgrammar-test test suite that is runnable and passing
  and that will run in CI for any PRs (in the upstream project)
* Has diff highlighting for Swedish as well as English (#133888)
* Highlights touched files both in Swedish and in English

Fixes #133888
Fixes #168847

Ref: <https://github.com/walles/git-commit-message-plus>

And for the record, I was the one setting up the new Git Commit Message
project. And it was fun!

* Remedy review feedback

Retain the line-too-long subject line highlighting. Improved to
highlight only the too-long part, but same idea still.

Special case English language file operations keywords and retain the
previous classification of those. But fallback to op-and-filename
classification when that fails (like it will for Swedish git for
example).

* Update colorize test result

* Update script and cgmanifest

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-02-07 13:40:16 +01:00
Matt Bierner 25514d899f Use pervious crashed TS Server version to check if user was on old TS version (#173620)
Use pervious crashed version to check if user was on old TS version

Fixes #133818
2023-02-06 15:05:19 -08:00
Matt Bierner d948f68bd1 Skip watching lib files on web (#173601)
These files can never change on web so there is no point in creating a watcher for them
2023-02-06 14:01:53 -07:00
Logan Ramos 8e6bcc9b9e Bump module to new package (#173599) 2023-02-06 12:29:36 -08:00
Matt Bierner eec5c907ea Fix web TS Server trying to read files outside of project root (#173591)
There's a bug on the TS Server side that causes it to traverse out of the project root when checking for directories like `node_modules`. On web this ends up being super slow because it goes to the network

This fix blocks those reads
2023-02-06 11:17:21 -08:00
Joyce Er affa0691f9 Remove redundant activation events (#172062) 2023-02-06 09:38:15 -08:00
Alex Ross 90c3ebe980 Update shellscript grammar to get fix (#173574) 2023-02-06 07:14:56 -08:00
Ladislau Szomoru 01f32e6a44 Git - do not try to resolve workspace folders that do not use the file scheme (#173546) 2023-02-06 03:33:06 -08:00
Alex Ross 7b369be6af Get latest shellscript grammar and update tests 2023-02-06 12:32:44 +01:00
Alex Ross c3a17a3ebf Revert shellscript grammar change and add more tests 2023-02-06 12:32:44 +01:00
Tyler James Leonhardt 57f26d2907 Fixes #173380 (#173428)
Fixes #173380
2023-02-04 15:57:24 +01:00
Ladislau Szomoru 43db9d2d06 Git - add trace message if workspace folder cannot be resolved (#173410) 2023-02-04 10:15:27 +01:00
Ladislau Szomoru 4b2a44d7ec Git - fix regression caused by workspace folder that cannot be resolved using fs.realpath() (#173372) 2023-02-03 13:25:25 -08:00
Connor Peet dc6fd239e6 strings: use more comprehensive ansi escape code regex (#173362)
* strings: use more comprehensive ansi escape code regex

The ansi escape remover only recognized a few codes, and only a
subset of their syntax. Be more comprehensive, and add tests.

Fixes #153648

* address pr comment
2023-02-03 12:37:20 -08:00
Joyce Er 3ab0fb3aa9 Lint redundant activation events if extension is targeting ^1.75 (#173345) 2023-02-03 09:53:00 -08:00
Martin Aeschlimann beea143b43 json server readme wording (#173304) 2023-02-03 06:39:45 -08:00
Matt Bierner c35c98fc00 Pick up latest markdown language server (#173234)
For #172977
2023-02-03 06:46:30 +01:00
Joyce Er ddd71a222d Lint redundant onTaskType activation events (#173205) 2023-02-02 14:31:13 -08:00
Martin Aeschlimann bd9ac7a089 Fix JSON schema configuration in multi root workspaces (#173169)
[json] add folderUri to SchemaAssociation and schema setting
2023-02-02 13:36:41 -08:00
Tyler James Leonhardt 262ab0e7bf Warn about star activation (#173112)
* star activation bad

* better message

* info level
2023-02-02 15:59:09 -05:00
Joyce Er b42443093a Lint more redundant activation events (#173186)
* `onWalkthrough`
* `onTerminalQuickFixRequest`
* `onTerminalProfile`
* `onRenderer`
2023-02-02 11:18:11 -08:00