about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKlas Mellbourn <klas@mellbourn.net>2018-08-14 20:53:48 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-08-23 01:27:42 +0200
commitdef92fc006140e79c79118137002baad816201c9 (patch)
tree9b6c35d99d6574789e530b5b3bbedd983626e8cf
parent01bc3c124a8c1dc8a5c45f5f5d67bba6e29cabff (diff)
downloadzsh-def92fc006140e79c79118137002baad816201c9.tar.gz
zsh-def92fc006140e79c79118137002baad816201c9.tar.xz
zsh-def92fc006140e79c79118137002baad816201c9.zip
github #27: add --folder-uri to completion for Visual Studio Code
-rw-r--r--ChangeLog3
-rw-r--r--Completion/X/Command/_code4
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 52cf22461..3e5c0a171 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2018-08-23  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* github #27: Klas Mellbourn: Completion/X/Command/_code:
+	add --folder-uri to completion for Visual Studio Code
+
 	* 43301 (based on work by Julien Nicoulaud):
 	Completion/Debian/Command/_debuild, Completion/Unix/Command/_ack,
 	Completion/Unix/Command/_scons, Completion/Unix/Command/_vpnc,
diff --git a/Completion/X/Command/_code b/Completion/X/Command/_code
index 089050e26..b725b2a17 100644
--- a/Completion/X/Command/_code
+++ b/Completion/X/Command/_code
@@ -24,12 +24,14 @@ arguments=(
   '(-s --status)'{-s,--status}'[print process usage and diagnostics information]'
   '(-p --performance)'{-p,--performance}'[start with the "Developer: Startup Performance" command enabled]'
   '--prof-startup[run CPU profiler during startup]'
-  '--disable-extensions[disable all installed extensions]'
+  \*--disable-extension'[disable specified installed extension]'
+  '(--disable-extension --disable-extensions)--disable-extensions[disable all installed extensions]'
   '--inspect-extensions[allow debugging and profiling of extensions]'
   '--inspect-brk-extensions[allow debugging and profiling of extensions with the extension host being paused after start]'
   '--disable-gpu[disable GPU hardware acceleration]'
   '--upload-logs[uploads logs from current session to a secure endpoint]:confirm:(iConfirmLogsUpload)'
   '--max-memory=[specify max memory size for a window]:size (Mbytes)'
+  '--folder-uri[open specified URI as a folder, if there is an extension contributing a FileSystemProvider for that URI]'
   '*:filename:_files'
 )