Commit Graph

122297 Commits

Author SHA1 Message Date
Connor Peet
739a9e8579
debug: implement display variable type setting for vscode (#210258) (#214315)
* Implement display variable type setting for vscode (#210258)

Created two new settings to be added to .vscode/settings.json
('variableDisplayType.watchView' and
'variableDisplayType.variableView') when set
to true it shows the variable type in the
format var_name: type = value in the debug panel and variable panel
respectively and the hover will now display var_name.
When set to false uses the previous
expected behaviour (var_name = value)
and the hover will display the type.

Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>

* Implemented the requested changes.

Registed new setting in debug.contribution.ts
Changed the two settings for a single setting (debug.showVariableTypes)
Made the renderer functions listen to changes so it re-renders elements
Added a different styling for the type in variable panel
Changed function names to use camelCase

Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>

* Implemented Requested small changes.

Removed linkDetector check when rendering the type.
Deleted displayType boolean, now we read from config in render
Added missing line to renderExpressionElement.

Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>

---------

Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>
2024-06-07 12:13:16 -07:00
Rafael Sargento
97e2d0d918 Implemented Requested small changes.
Removed linkDetector check when rendering the type.
Deleted displayType boolean, now we read from config in render
Added missing line to renderExpressionElement.

Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>
2024-06-07 19:17:38 +01:00
Connor Peet
d3b66eafed
debug: take isFrameDeemphasized presentationHint from the frame if set (#214632)
Refs discussion in #214433
2024-06-07 19:39:28 +02:00
Rafael Sargento
8219ce7cec
Merge branch 'microsoft:main' into display-type 2024-06-07 18:03:50 +01:00
Megan Rogge
64a3d795cb
register task disposables (#214512) 2024-06-07 10:01:46 -07:00
Daniel Imms
f3c45e1c29
Merge pull request #214257 from microsoft/tyriar/145234_040604
Add example usage to exitCode
2024-06-07 09:56:24 -07:00
Daniel Imms
db82a8c54b
Merge pull request #214606 from microsoft/tyriar/212090
Avoid printf in bash SI script, disable prompt reporting on Windows
2024-06-07 09:38:34 -07:00
Ladislau Szomoru
88f50e0809
SCM - extract activity count badge into its own workbench contribution (#214610) 2024-06-07 16:39:20 +02:00
Sandeep Somavarapu
d08886ba68
fix primary and secondary buttons order (#214603) 2024-06-07 16:11:24 +02:00
Daniel Imms
ac1afd7aa0
Disable prompt reporting on git bash 2024-06-07 07:10:06 -07:00
Daniel Imms
4e76f11add
Avoid printf in __vsc_report_prompt
Fixes #212090
2024-06-07 07:09:06 -07:00
Robo
bab3a9fdcb
fix: disable CoreText font matching on macOS (#214601) 2024-06-07 16:02:35 +02:00
Ladislau Szomoru
5422f5f940
Git - do not show smart commit dialog when using Commit (Amend) (#214595) 2024-06-07 15:51:20 +02:00
Sandeep Somavarapu
e941a59986
polish editor (#214598) 2024-06-07 15:33:16 +02:00
Ladislau Szomoru
3d7e352d2d
Git - empty commit should not include unstaged changes (#214587) 2024-06-07 14:08:33 +02:00
Sandeep Somavarapu
9548a679f5
put new profiles UI behind flag (#214586) 2024-06-07 14:03:34 +02:00
Ladislau Szomoru
af5696c630
SCM - enable clearing the commit input using Escape (#214583) 2024-06-07 13:21:28 +02:00
Aiday Marlen Kyzy
6125cc2332
Extracting the rendered hover data into separate class (#214419)
* adding some code

* polishing code

* polishing the code

* polishing the code

* polishing and moving to a new file

* adding e

* polishing the code

* polishing the code

* passing in directly the hover result

* removing the highlight range
2024-06-07 11:38:41 +02:00
Robo
6facfe23b3
fix: snap packaging for argument parsing (#214560) 2024-06-07 09:45:12 +02:00
Robo
6e6d38007e
fix: force software gl backend for snap (#214548)
Refs https://github.com/microsoft/vscode/issues/212494

When using the default ANGLE gl/gles backend, v1.90 attempts
to get display refresh rate for vsync from an internal implementation
instead of using the gl extension EGL_CHROMIUM_sync_control,
this eventually ends up loading display info from XRandr and chromium
attempts to set a label for the data from the shipped resource pak
file that is not accessible to the gpu process triggering a SIGTRAP
in ui::ResourceBundle::GetSharedInstance.
2024-06-07 06:16:32 +02:00
Connor Peet
e2bf3453f5
debug: correlate debug sessions to testing, delegate restarts (#214537)
Implements #214486
2024-06-07 06:15:59 +02:00
Rob Lourens
f89375854f
Enable two participants with the same name from the same extension, in different locations (#214535)
For #214479
2024-06-07 03:19:33 +02:00
Rafael Sargento
0550dd681f
Merge branch 'main' into display-type 2024-06-07 01:24:21 +01:00
Rafael Sargento
7453779c77 Implemented the requested changes.
Registed new setting in debug.contribution.ts
Changed the two settings for a single setting (debug.showVariableTypes)
Made the renderer functions listen to changes so it re-renders elements
Added a different styling for the type in variable panel
Changed function names to use camelCase

Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>
2024-06-07 01:12:24 +01:00
Sandeep Somavarapu
bf11c6cd52
fix canceling (#214519) 2024-06-06 16:13:11 -07:00
Rob Lourens
3ea3162dd4
Disable api-test extension when running code.sh directly (#214521) 2024-06-06 16:12:17 -07:00
Sandeep Somavarapu
96151fb331
fix validation (#214517)
* fix validation

* fix validation

* trim name
2024-06-07 00:14:29 +02:00
Sandeep Somavarapu
4157a8d7f0
improve creating profile from template (#214515)
- improve creating profile from template
- remove unused code
2024-06-06 23:51:33 +02:00
Megan Rogge
644e03f49e
render inline chat accessible view content as plaintext (#214506)
fix #213665
2024-06-06 22:59:39 +02:00
Ladislau Szomoru
88583e6f15
SCM - unify code to get a repository using a resource (#214510) 2024-06-06 22:38:30 +02:00
Megan Rogge
26ce0989f0
add newline after start of codeblock (#214508)
fix #213941
2024-06-06 22:01:50 +02:00
Sandeep Somavarapu
dfedd9ba12
profiles editor: incorporate feedback (#214490) 2024-06-06 21:55:49 +02:00
Logan Ramos
6e4ace33dd
Update colors (#214352) 2024-06-06 21:06:35 +02:00
David Dossett
4a4ae46032
Merge pull request #214487 from microsoft/ddossett/rainy-mockingbird
Fix HC textPreformat colors
2024-06-06 11:01:02 -07:00
David Dossett
5f13aa9749
Fix HC textPreformat colors 2024-06-06 10:41:40 -07:00
Simon Siefke
0036990784
feature: make number of ripgrep threads configurable (#213511)
* feature: add threads property

* add setting

* use setting

* debug

* add option

* fix types

* use commonquery

* rename argument

* remove comma

* add threads for file search

* set threads to undefined

* update description

* remove unused code

* remove unused code

* Update src/vs/workbench/services/search/node/ripgrepFileSearch.ts

Co-authored-by: Andrea Mah <31675041+andreamah@users.noreply.github.com>

* Update src/vs/workbench/services/search/node/ripgrepTextSearchEngine.ts

Co-authored-by: Andrea Mah <31675041+andreamah@users.noreply.github.com>

* use ICommonQueryBuilderOptions

* set threads property from caller

* simplify code

* Discard changes to src/vs/workbench/contrib/search/browser/anythingQuickAccess.ts

* Discard changes to src/vs/workbench/contrib/searchEditor/browser/searchEditor.ts

* remove unused code

* Discard changes to src/vs/workbench/services/search/common/textSearchManager.ts

* add back code

* fix types

* update formatting

* add semicolon

* rename setting

* use different way to pass numThreads to ripgrep

* Discard changes to src/vs/workbench/services/search/common/queryBuilder.ts

* Discard changes to src/vs/workbench/services/search/common/search.ts

* tsc

* tsc

* tsc

* fix imports

* use configuration service

* tsc

* tsc

* tsc

* improve types

* Update src/vs/workbench/contrib/search/browser/search.contribution.ts

Co-authored-by: Andrea Mah <31675041+andreamah@users.noreply.github.com>

* simplify type

* rename types

* move numThreads parameter last

* simplify code

* Update src/vs/workbench/services/search/common/textSearchManager.ts

Co-authored-by: Andrea Mah <31675041+andreamah@users.noreply.github.com>

* Update src/vs/workbench/services/search/common/searchExtTypesInternal.ts

Co-authored-by: Andrea Mah <31675041+andreamah@users.noreply.github.com>

* Discard changes to src/vs/workbench/services/search/test/node/rawSearchService.integrationTest.ts

* fix typo

* fix types

* Discard changes to src/vs/monaco.d.ts

* rename interface

* rename variable

* rename setting

* rename setting

* update settings

* tsc

* fix: pass threads property also below

* cache setting

* use affectsConfiguration

* fix test

---------

Co-authored-by: Andrea Mah <31675041+andreamah@users.noreply.github.com>
2024-06-06 10:29:41 -07:00
Daniel Imms
a38eb611fa
Merge pull request #214470 from microsoft/tyriar/204965_240606
Rename updatable hover to managed hover, tweak arg names and docs
2024-06-06 10:04:30 -07:00
Henning Dieterichs
2fb22a9ac0 Fixes #213365 2024-06-06 18:24:50 +02:00
Daniel Imms
22aa6be400
More interface/doc tweaks 2024-06-06 09:10:58 -07:00
Henning Dieterichs
f82523eb08
Uses editor option to control editor placeholder. (#214427)
* Uses editor option to control editor placeholder.

Signed-off-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-06-06 18:09:59 +02:00
João Moreno
15bdea120d
remove gulp-shell (#214211)
* remove gulp-shell

* fix tasks
2024-06-06 17:54:06 +02:00
Daniel Imms
efd6980fce
Rename updatable hover to managed hover, tweak arg names and docs
Part of #204965
2024-06-06 08:32:27 -07:00
Daniel Imms
94c4337eb7
Merge pull request #214463 from microsoft/tyriar/211570
Remove deprecated terminal suggest setting
2024-06-06 08:04:12 -07:00
Daniel Imms
0c085f38c8
Merge pull request #214262 from microsoft/tyriar/193508
Support for OSC52 clipboard access
2024-06-06 08:03:38 -07:00
Daniel Imms
bedcbff1cb
Remove deprecated terminal suggest setting
Fixes #211570
2024-06-06 07:19:38 -07:00
Daniel Imms
5d34092d6d
Merge branch 'main' into tyriar/193508 2024-06-06 07:14:42 -07:00
Daniel Imms
249357b046
Dynamically import addon-clipboard 2024-06-06 07:14:12 -07:00
Henning Dieterichs
b0c91dda31 Fixes #213141 2024-06-06 15:56:48 +02:00
Henning Dieterichs
7496c883cc
registerColor: Allow to pass in a single default color (#214438) 2024-06-06 15:50:37 +02:00
Martin Aeschlimann
43c8fe13e0
The feature page of vscode.html plugin is empty (#214455) 2024-06-06 15:50:10 +02:00