Commit graph

12291 commits

Author SHA1 Message Date
Jason Williams e19f09713b
Enable globs on tasks otherwise fallback to default - fixes #88106 (#141230)
* use glob on tasks otherwise fallback to default

* add support for test commands also

* try to find one globbed task otherwise fallback to defaults

* - get relativePath (but fallback to absolute if outside of workspace)
- bring back json schema

* Refactor and reduce duplicate code

* remove glob, make isDefault a string or boolean

* update taskConfig

* - rebase
- type updates
- splitPerGroupType should check explicitly for true on isDefault
- hygiene check

* Remove task glob from API

* Task group DTO updates

* Make sure globs run ahead of default task if there's multiple globs matching

* Style and name changes

* More naming and code re-use

* Glob doesn't work when only 1 glob match

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-05-03 09:56:24 +02:00
Matt Bierner eba8ef0547
Add diagnostics for markdown links (#148578)
* Initial work on md link diagnostics

* Adding settings to enable/disable validation

* Add delay for recomputing diagnostics

* 💄

* Split test on diagnostics compute vs management

* Validate on file open

* Remove dianostics on file close

* Allow paths to folders

* Add validation configuration option
2022-05-02 16:06:00 -07:00
Matt Bierner 17ee4c4265
Pick up TS 4.7 for bundling with VS Code 2022-05-02 15:50:42 -07:00
Matt Bierner e3e4bfacc3
Remove blank 2022-05-02 15:50:41 -07:00
Jean Pierre 44e644467d
Enable go to definition for markdown links (#148017)
* Enable go to definition for markdown links

* Add markdown definitionProvider tests
2022-05-02 10:07:40 -07:00
AlbertHilb 7e6b007dd5
Pass one shared macros object into every call to katex renderer (#148006)
* Pass one shared `macros` object into every call to katex
renderer.

* Reset the `macros` object at each new
re-rendering.
2022-05-02 09:45:06 -07:00
Yuki Hattori 82ad6afd36
Fixes microsoft/vscode#147936 (#148503)
By changing output esbuild setting for Markdown preview scripts to iife,
prevents global namespace pollution and reduces possibility of breaking
the preview by contributions from other extensions.
2022-05-02 09:33:51 -07:00
João Moreno af684a4906
fixes #148414 (#148418) 2022-05-02 07:14:26 -07:00
susiwen8 3854c3fa8e
fix: close create fork message will create fork (#148438) 2022-05-02 05:49:00 -07:00
Alex Ross f3b1b53443
Update grammars 2022-05-02 11:20:10 +02:00
Benjamin Pasero c6bd448948
debt - bring @types/mocha up to date with version 9.x 2022-05-02 08:30:27 +02:00
Matt Bierner 892d6ec2a2
Fix md workspace cache for untitled files
Makes sure we also add all text documents to the list of md docs
2022-04-30 20:15:40 -04:00
Matt Bierner 8449a9f5cb
Fix md rename when file does not exist
Fixes #148147

- Don't try renaming non-existent files
- Also fixes a bug where renaming in untitled files would insert `untitled:`
2022-04-30 19:52:44 -04:00
Matt Bierner 3e182633c7
Adding some more tests for markdown references 2022-04-30 19:14:03 -04:00
Andrew Branch e9e3ca02ef
Add flags to completions telemetry (#148313) 2022-04-30 17:57:13 -04:00
Harald Kirschner 781d0e4a94
Fixing #146093 2022-04-28 10:14:51 -07:00
João Moreno 3b0b9e95cd
fixes #148326 2022-04-28 14:49:00 +02:00
Tyler Leonhardt e2ec6f0a54
more accurate naming of pages 2022-04-27 15:40:41 -07:00
Tyler Leonhardt 842a41c8ab
add additional log statement 2022-04-27 15:38:56 -07:00
Tyler Leonhardt 59cdc58ea0
update a few nls files with comments to ensure buttons don't get messed up 2022-04-27 14:26:48 -07:00
Matt Bierner c41728c479
Fixes #147896 (#148101)
* Fixes #147896

* Replace all

* Fix windows slash check

* Skip test on windows for now
2022-04-26 15:45:15 -04:00
Tyler Leonhardt a900709990
better handling of prompting and ensure PAT doesn't show up in supported products 2022-04-25 17:27:26 -07:00
Martin Aeschlimann 66b9a8a460
update html service 2022-04-25 22:13:15 +02:00
Christof Marti d760b6eae9 vscode property (microsoft/dev-container-spec#1) 2022-04-25 22:12:06 +02:00
Ladislau Szomoru 8b7e381d8c
Make git-base a web extension 2022-04-25 21:03:41 +02:00
Martin Aeschlimann 7eeb3264c0
update css service 2022-04-25 18:50:02 +02:00
Martin Aeschlimann 91421e8d8f
Merge pull request #142883 from michaelkuhn/solarized-tokencolors
Unify and fix Solarized token colors
2022-04-25 18:03:23 +02:00
100paperkite 931997875e
Fixes #147420 (#147930)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-04-25 14:36:56 +02:00
Sandeep Somavarapu b9eedbb871
Merge branch 'main' into issue/146729 2022-04-25 17:53:58 +05:30
Benjamin Pasero fbdc6d0352
git - use different icon for uncomitted changes (#145781) 2022-04-23 09:44:45 +02:00
David Dossett 0b4e6517fa Update light hc syntax highlighting (Fix #146687) 2022-04-22 15:41:08 -07:00
Megan Rogge 280460e3cc
clean up after test (#147941) 2022-04-22 12:07:31 -07:00
Sandeep Somavarapu d080b3aad7
Merge branch 'main' into issue/146729 2022-04-22 23:53:36 +05:30
Sandeep Somavarapu 5b242ed4ff
Implement export/import profiles
- Introduce workbench profile service
- Implement settings, global state, extension profiles
- Implement import/export profile actions
2022-04-22 23:51:05 +05:30
Joyce Er 9fed2f7eb3
Enrich Git extension's remote source provider API (#147613)
* Allow custom title in remote source picker

* Include forks in query search results

* Support `RemoteSource.detail`

* Allow showing quickpicks in `getRemoteSources`

* Allow custom placeholder and remote source icons

* Add ability to customize placeholder

* Register and show recently opened sources

* Allow custom remote url labels

* Add a separator label for remote sources

* Update git-base typings

* Make showing recent sources opt in

* Add concept of recent remote source to `RemoteSourceProvider` concept

* Recent sources should be sorted by timestamp

* Pass current query to `getRemoteSources`

* Fix applying query
2022-04-22 07:25:06 -07:00
Ladislau Szomoru c2752e654f
Fix hygiene 2022-04-22 16:03:12 +02:00
Eric Amodio 1b8ca287a0
Fixes #140787 watches proper worktree dir (#140789) 2022-04-22 15:50:13 +02:00
Alex Dima 01ab50b929
Improve pause connection (#147318) 2022-04-22 13:38:28 +03:00
João Moreno 2e2654c97f
address heuristic when stage ranges act on same line number diff (#145899)
Co-authored-by: @lszomoru
Fixes: #126989
2022-04-22 12:31:15 +02:00
Johannes 90a6367e2c
remove mentionings of tabs proposal, fyi@lramos15 2022-04-22 11:51:53 +02:00
Benjamin Pasero 72b4be55fa
skip markdown rename tests (#147896) 2022-04-22 08:07:49 +02:00
Matt Bierner 59b6227bf3
Use un-encoded file paths are rename placeholder 2022-04-21 22:23:53 -04:00
Matt Bierner 7b1168660a
Fix resolving of links on rename
We should resolve relative to the file the rename is triggered in
2022-04-21 22:23:53 -04:00
Matt Bierner 62eebab685
Use uri instead of string 2022-04-21 22:23:52 -04:00
Matt Bierner b438e8438d
Fixing rename to use correct file paths relative to containing files 2022-04-21 22:23:52 -04:00
Matt Bierner 0610f195fb
Try automatically adding .md file extension to new paths on rename 2022-04-21 22:23:51 -04:00
Matt Bierner 0ac39e800d
Add support for renaming files in markdown using F2
This lets you trigger F2 on a file path in a markdown link to both rename the file and also update all references to it
2022-04-21 22:23:51 -04:00
Matt Bierner 9fbd962973
Differentiate md refs request on file path vs on fragment 2022-04-21 22:23:50 -04:00
Matt Bierner 1d2461bed6
Sort 2022-04-21 22:23:48 -04:00
Logan Ramos aa69f3d762
Fix #15178 Finalize tabs API 🎉 2022-04-21 11:08:12 -04:00