Commit Graph

98936 Commits

Author SHA1 Message Date
Raymond Zhao
2f66e194f3 Refactor scope overrides indicator (#155912) 2022-07-22 18:21:56 +02:00
Alexandru Dima
187ec0613a Skip folded regions when computing relative line numbers (#155970)
Fixes #138787: Skip folded regions when computing relative line numbers
2022-07-22 17:35:53 +02:00
João Moreno
3832b5d451 icacls: grant current user permissions (#155852) 2022-07-22 16:50:47 +02:00
Daniel Imms
739f0c450f Merge pull request #155962 from microsoft/tyriar/fix_link_test
Fix space folder link test
2022-07-22 07:32:47 -07:00
John Murray
8b7a0d8c25 Try to prevent update of user-type Windows installation when running as admin (#148428) (#155631)
* Try to prevent update of user-type Windows installation when running as admin (#148428)

* update win32: detect admin mode in initialize

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-07-22 16:10:53 +02:00
Johannes Rieken
3558758125 remove "start with snippet" from new file hint until we have file template snippets, (#155961)
https://github.com/microsoft/vscode/issues/145929
2022-07-22 10:02:28 -04:00
Daniel Imms
db13aa67d5 Merge pull request #155968 from microsoft/tyriar/actual_return_symbol
Use actual return symbol unicode char for new line
2022-07-22 07:01:55 -07:00
John Murray
688c30e498 Warn user when they open a file within the install folder tree (#138815) (#155443)
* Warn user when they open a file within the install folder tree (#138815)

* Use IEditorService.onDidActiveEditorChange instead

* Update src/vs/workbench/contrib/files/electron-sandbox/files.contribution.ts

* 💄

* Move into existing editor change listener

* add scope to neverShowAgain id

* align neverShowAgain and message localize key with function name

* 💄

* 'OK' -> 'Understood'

Co-authored-by: João Moreno <mail@joaomoreno.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2022-07-22 15:56:33 +02:00
Errietta Erry Kostala
9e0de4af67 Add .nvmrc (#152883)
Since the contribution guidelines advise on a specific version of node,
it adding .nvmrc for those that use nvm will automatically let them use the
correct version of node if they do nvm use

just a small QOL thing for devs.

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-07-22 15:55:53 +02:00
Sandeep Somavarapu
d902fec1d2 Enhance settings profiles management (#155966)
* fix #154178

* - Support renaming profile
- Refactor profile actions

* fix compilation

* fix label
2022-07-22 15:42:52 +02:00
Daniel Imms
a02eaffdb9 Use actual return symbol unicode char for new line
Fixes #155871
2022-07-22 06:35:12 -07:00
Sandeep Somavarapu
6567f3da69 Revert "install language pack when setting locale (#155954)" (#155963)
This reverts commit 44e3fbaa01.
2022-07-22 15:29:44 +02:00
Johannes Rieken
5c6c8c42ae add editor.snippets.codeActions.enabled to control code action snippets, fyi @alexdima (#155959) 2022-07-22 15:05:10 +02:00
Sandeep Somavarapu
cccbfcdd57 support removing multiple profiles (#155958)
* fix #154178

* fix compilation
2022-07-22 14:54:10 +02:00
Sandeep Somavarapu
44e3fbaa01 install language pack when setting locale (#155954)
install lang pack while setting locale
2022-07-22 14:45:49 +02:00
Daniel Imms
ba8b7694ee Fix space folder link test
Fixes #155532
See #155921
2022-07-22 05:42:34 -07:00
Sandeep Somavarapu
1f0d221e24 fix uninstalling extension version (#155953) 2022-07-22 14:38:11 +02:00
mingwiki
e5e0f9a149 Fix Socks5 Proxy Regex Checking Warning 2022-07-22 14:19:58 +02:00
Henning Dieterichs
5f21c372de Make treeshaking work on windows (#155952) 2022-07-22 14:07:44 +02:00
Henning Dieterichs
052f02175f Moves the read-only message into its own contribution to enable customization in the monaco editor. (#155951) 2022-07-22 14:06:10 +02:00
Johannes Rieken
c6cf41b83b (temp fix) detect when base, input1, and input2 become empty (#155941)
When aborting or merging while the 3wm editor is showing all its inputs become empty and our reaction is to replace the merge editor then

https://github.com/microsoft/vscode/issues/155940
2022-07-22 14:01:49 +02:00
Benjamin Pasero
f27f620e77 status - make color dynamic (#155944) 2022-07-22 14:00:03 +02:00
nirabhromakhal
3842ef9a4a Fixed issue where status bar can overflow without affecting notification beak (#155649)
* fixed status bar overflow while keeping beak intact

* using overflow: hidden  while keeping beak intact

* made the notification bell absolute positioned

* overflow: hidden but beak is relative to status bar item

* using has-beak class name to toggle the beak
2022-07-22 09:40:26 +00:00
Johannes Rieken
b8876a2d60 enable merge editor by default (#155937) 2022-07-22 11:28:49 +02:00
Alex Ross
cf0496267d View size API proposal (#155710)
* Add a weight/flex size for view contributsions
Part of #122283

* Fix errors

* Remove 'fit'

* Fix typo and remove viewPaneContainer changes

* Add view container owner check.
2022-07-22 10:32:23 +02:00
Daniel Imms
13ba7bb446 Merge pull request #155921 from microsoft/tyriar/skip_test
Skip unit test that's breaking the build
2022-07-21 18:38:59 -07:00
Daniel Imms
dab051df5c Skip unit test that's breaking the build
Part of #155532
2022-07-21 18:01:56 -07:00
Andrea Mah
43fcb56d47 Make search tree context menu multiselect-aware (#154847)
* Make search tree context menu multiselect-aware
Fixes #47166

* move domFocus call out of loop

* PR feedback

* resolve strange post-replace bug

* cleaned up a bit but needs adjustment on post-replace focus

* adjusting ordering

* add replace action runner for all replace actions

* pr feedback

* fix list sorting and multiselect open replace preview

* whitespace cleanup

* tests and cleanup
2022-07-21 16:50:49 -07:00
Matt Bierner
7f6984e71b Fix copy paste for files (#155915)
This fixes the copy paste proposed api to correctly support pasting of files and file data
2022-07-21 16:49:25 -07:00
Daniel Imms
6293fa11bc Merge pull request #155904 from microsoft/tyriar/155532
Ensure folders with spaces don't impact link line/col
2022-07-21 16:47:56 -07:00
Matt Bierner
e2006a52da Add npmignore to markdown server (#155898)
* Add npmignore to markdown server

* Update version
2022-07-21 16:21:57 -07:00
Daniel Imms
0a3ee299ce Ensure folders with spaces don't impact link line/col
Fixes #155532
2022-07-21 15:17:22 -07:00
Raymond Zhao
f74d2c0f62 Fix JSON Settings editor commands wrt Setting profiles (#155884)
Ref #152888
2022-07-21 14:48:33 -07:00
Miguel Solorio
fb1e4351e6 Remove redundant styles for underlined links (#155893)
Remove redundant styles for underlined links (Fixes #155891)
2022-07-21 23:09:00 +02:00
Isidor Nikolic
c92bda6ccb underline for hover of all links (#151499)
* underline for hover of all links

* move link hover css rule to style.css
2022-07-21 13:21:28 -07:00
Andrea Mah
ffd74383b6 Debug sessions command (#153727)
Fixes #153347
2022-07-21 22:12:21 +02:00
SteVen Batten
7fdb9cfb07 fix WCO color updates with high contrast themes (#155886)
fixes #150098
2022-07-21 21:46:43 +02:00
Eric Amodio
78da5e3df4 Closes #54285 adds webview/context contribution (#154524)
* Closes #54285 adds webview/context contribution

* Adds additional context support for context menus

Adds `webViewItem` read from nearest `data-vscode-context-menu-item`
Adds `webViewItemElement` read from `data-vscode-context-menu-item-element`

* Adds `preventDefaultContextMenuItems` option

This allows webviews to opt-out of the default (cut/copy/paste) context menu items

* Adds optional `itemValue` context value for handlers

* Adds missing proposed check

* Adds webview command to generate csp hash

* Switches to use single JSON data attr for context
Aggregates all ancestor context

* Revert "Adds `preventDefaultContextMenuItems` option"

This reverts commit 71f0180504.

Also renames proposal from webviewContextMenus to contribWebviewContext to align with other empty contribution point proposals
2022-07-21 21:13:48 +02:00
Daniel Imms
517aad847d Merge pull request #155877 from microsoft/tyriar/155872
Use bracketed paste mode when running recent commands
2022-07-21 12:12:49 -07:00
SteVen Batten
b51955e4c8 pipe workspace boolean for opener service validator (#155545)
* pipe workspace boolean for opener service validator
fixes #150828

* add fromWorkspace to notebook backlayer webview
2022-07-21 11:48:09 -07:00
Daniel Imms
f0375cc156 Merge branch 'main' into tyriar/155872 2022-07-21 11:47:21 -07:00
Daniel Imms
19f63c6126 Merge pull request #155873 from microsoft/tyriar/155871
Visualize new line in run recent command
2022-07-21 11:35:45 -07:00
Martin Aeschlimann
2cb7539f3a bump distro to solve merge conflict (#155876) 2022-07-21 20:27:39 +02:00
Daniel Imms
65f97ed1d9 Use bracketed paste mode when running recent commands
Fixes #155872
2022-07-21 11:09:23 -07:00
Daniel Imms
295770003c Send \n char instead of enter symbol 2022-07-21 11:02:43 -07:00
Daniel Imms
38d026d11e Visualize new line in run recent command
Fixes #155871
2022-07-21 10:56:25 -07:00
Matt Bierner
b2daf1af82 Add MD server tracing and update diagnostics on files changes (#155797) 2022-07-21 10:07:06 -07:00
Raymond Zhao
9c413ba105 Use fixed commit hash, ref #13089 (#155786) 2022-07-21 09:42:31 -07:00
Miguel Solorio
81fff43fd6 bump distro (#155790) 2022-07-21 17:11:02 +02:00
Martin Aeschlimann
1a3d550dfa update @vscode/test-web (#155858)
* update @vscode/test-web
2022-07-21 17:08:10 +02:00