microsoft / vscode-azurecli Goto Github PK
View Code? Open in Web Editor NEWVS Code extension for the Azure CLI 2.0
License: MIT License
VS Code extension for the Azure CLI 2.0
License: MIT License
I am trying to run this below command using VS code but it doesnt recognize muti-line parameter and giving below error saying following arguments are required. However, arguments are passed
How to overcome this? Not sure if this is a bug or something i am missing. Couldn't find any solution after searching so many ways in internet and hence creating this issue. Thanks for helping.
{
"stderr": "ERROR: az storage account create: error: the following arguments are required: --resource-group/-g, --name/-n\r\nusage: az storage account create [-h] [--verbose] [--debug]\r\n [--output {json,jsonc,table,tsv,yaml,none}]\r\n [--query JMESPATH] --resource-group\r\n RESOURCE_GROUP_NAME --name ACCOUNT_NAME\r\n [--sku {Standard_LRS,Standard_GRS,Standard_RAGRS,Standard_ZRS,Premium_LRS,Premium_ZRS}]\r\n [--location LOCATION]\r\n [--kind {Storage,StorageV2,BlobStorage,FileStorage,BlockBlobStorage}]\r\n [--tags [TAGS [TAGS ...]]]\r\n [--custom-domain CUSTOM_DOMAIN]\r\n [--encryption-services {blob,file,table,queue} [{blob,file,table,queue} ...]]\r\n [--access-tier {Hot,Cool}]\r\n [--https-only [{true,false}]]\r\n [--bypass {None,Logging,Metrics,AzureServices} [{None,Logging,Metrics,AzureServices} ...]]\r\n [--default-action {Allow,Deny}]\r\n [--assign-identity]\r\n [--subscription _SUBSCRIPTION]\r\n",
"stdout": ""
}
az storage account create
--name storagequickstart
--resource-group storage-quickstart-resource-group
--location westus
--sku Standard_LRS
--kind StorageV2
I'm seeing a problem with the Azure CLI extension on Insiders today as well that may be related.
When I try to execute any command (using cmd+' or ctrl+') I get this error:
running the contributed command:'ms-azurecli.runLineInTerminal' failed
Here is the command being executed that appears to be failing:
return commands.executeCommand('workbench.action.terminal.runSelectedText', editor);
And the location...
Perhaps related to microsoft/vscode#27939
Is it possible to use variables in an azure cli scrapbook when using it on Windows ?
I want to be able things like that :
az group show --resource-group $resourceGroup
It would be cool if the scrapbook provided indication of commands that were missing required args (e.g. via red squiggles, Problems
tab entries), which took into account the currently set defaults as well.
Ok, after a TON of pain I've determined that if you write a new bash script using this exention and then just try to save as a .sh file then the EOL characters are incorrect. I spent hours trying to figure out what the problem was until I just pulled the files into Notepad++ and did their simple EOL conversion.
I would suggest that this is a bug as there is no reason why unix EOL shouldn't be used when creating a .azcli file.
Thanks,
Dan Patrick
Azure MVP
[email protected]
it takes roughly about 10-15 seconds to load suggestions and what I get you can clearly see in the picture. Doesn't matter what kind of command I use, I always get the same results. Tried to run vs code as admin, reinstall both az-cli and plugin, but no help here.
azure-cli: 2.0.66
phyton: 3.7.3
vs code: 1.35.1
win 10 1903
It would be awesome if this extension provided a completion list for valid setting names when typing az configure --defaults
(e.g. web
, location
, group
, acs
). The CLI itself doesn't even provide this information in a single place, or in the help text for the az configure command
(since --defaults
isn't an enum property), so that may be a feature request for the CLI. However, I tend not to use completion in the CLI, so the feature "feels" more useful in the context of this extension :)
First of all.. This is an awesome extension!
I would like to understand all the hotkeys. For example, after writing "az vm create"... press any hotkey and automatically write the required parameters to create a VM.
Thanks!
Using latest Azure CLI tools for VS Code 0.4.2
Steps to reproduce the issue:
Typing in .azcli file
az group create
Intellisense suggesting --rg-name as required argument for group name. There is also missing help (stuck in Loading)
Right-click and Run line in the terminal
az group create --rg-name myGroup2 \
--location westeurope --tags 'Environment=Test'
Output
az group show: error: argument --name/-n/--resource-group/-g is required
Solution:
pass argument -n or --name for resource group name
I like being able to put some commands in a file and then be able to select and execute some of them on the fly.
It would be nice if there was completion for other commands, similar to how it is available in a terminal.
I created a new file (via CMD+N
), and then changed its language mode to Azure CLI Scrapbook
(via the command palette), but I noticed that the "run" commands (context menus or shortcut keys) weren't available. Once I saved the file (which I actually didn't want to do), then the context menus became available.
It would be cool if these commands were available for any file tagged as Azure CLI Scrapbook
, since auto-completion, status bar updates, etc. already support it.
With the new notifications UX this is no longer needed, unless you are actually bringing up a modal dialog.
Issue Type: Bug
I installed an extension Azure CLI Tools and feature Intellisense doesn't autocomplete.
I reinstalled the extension. It didn't help. I deleted VS Code and deleted .vscode direcory in my profile. After that I upgraded Azure CLI, installed last version of VS Code, installed extension Azure Cli Tools, added to the Path environment variable the exect path to Python, rebooted Windows. It didn't help.
I saw in the frame "Developer Tools" and see that there are some errors, see they later.
My version of software are:
azure-cli (2.0.41)
Azure CLI Tools 0.4.2
VS Code:
Version: 1.25.0
Commit: 0f080e5267e829de46638128001aeb7ca2d6d50e
Date: 2018-07-05T13:11:58.697Z
Electron: 1.7.12
Chrome: 58.0.3029.110
Node.js: 7.9.0
V8: 5.8.283.38
Architecture: x64
Python (Windows) 3.6.5
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host] Exit code 1, signal null
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host] Python process terminated with exit code 1, signal null.
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host] �� �ணࠬ�� ���������� ��㯯���� ����⨪��. �� �������⥫�묨 ᢥ����ﬨ ���頩��� � ��⥬���� ������������.
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host] Exit code 1, signal null
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1376 ERR An unknown error occurred. Please consult the log for more details.
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host] �� �ணࠬ�� ���������� ��㯯���� ����⨪��. �� �������⥫�묨 ᢥ����ﬨ ���頩��� � ��⥬���� ������������.
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host] Exit code 1, signal null
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
console.ts:136 [Extension Host] �� �ணࠬ�� ���������� ��㯯���� ����⨪��. �� �������⥫�묨 ᢥ����ﬨ ���頩��� � ��⥬���� ������������.
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
console.ts:136 [Extension Host] Exit code 1, signal null
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
log.ts:171 ERR An unknown error occurred. Please consult the log for more details.
console.ts:136 [Extension Host] �� �ணࠬ�� ���������� ��㯯���� ����⨪��. �� �������⥫�묨 ᢥ����ﬨ ���頩��� � ��⥬���� ������������.
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
console.ts:136 [Extension Host] Exit code 1, signal null
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
log.ts:171 ERR An unknown error occurred. Please consult the log for more details.
Extension version: 0.4.2
VS Code version: Code 1.25.0 (0f080e5267e829de46638128001aeb7ca2d6d50e, 2018-07-05T13:11:58.697Z)
OS version: Windows_NT x64 10.0.16299
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz (4 x 2400) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: disabled_software video_decode: enabled video_encode: enabled vpx_decode: unavailable_software webgl: enabled webgl2: enabled |
Memory (System) | 7.90GB (2.79GB free) |
Process Argv | C:\Program Files\Microsoft VS Code\Code.exe |
Screen Reader | no |
VM | 0% |
VS Code running overnight on closed laptop, logged in this morning and see this:
Open developer tools, see this in console:
[Extension Host] Completions not found (group create --name)
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Completions not found (appservice plan create --name)
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Exit code 1, signal null
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Exit code 1, signal null
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Exit code 1, signal null
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Exit code 1, signal null
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Exit code 1, signal null
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Completions not found (webapp deployment user set --user-name)
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Completions not found (webapp deployment user set --password)
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Exit code 1, signal null
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Argument not found (webapp deployment source config-local-git --)
t.logExtensionHostMessage @ extensionHost.ts:337
4extensionHost.ts:337 [Extension Host] Completions not found (webapp config set --node-version)
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Exit code 1, signal null
t.logExtensionHostMessage @ extensionHost.ts:337
extensionHost.ts:337 [Extension Host] Completions not found (webapp config set --node-version)
t.logExtensionHostMessage @ extensionHost.ts:337
messageService.ts:125 Extension host terminated unexpectedly. Please reload the window to recover.
e.doShow @ messageService.ts:125
extensionHost.ts:388 Extension host terminated unexpectedly. Code: 87 Signal: null
t.onExit @ extensionHost.ts:388
extensionHost.ts:180 Extension Host
extensionHost.ts:181 The module native-watchdog has detected that the event loop is unresponsive.
Here is the JavaScript stack trace:
======================================native-watchdog======================================
tryOnTimeout (timers.js:1:1)
Timer.listOnTimeout (timers.js:214:5)
======================================native-watchdog======================================
The module native-watchdog will now terminate the process with exit code 87.
Azure CLI version:
~/src/myExpressApp$ az --version
azure-cli (2.0.6)
acr (2.0.4)
acs (2.0.6)
appservice (0.1.6)
batch (2.0.4)
cdn (0.0.2)
cloud (2.0.2)
cognitiveservices (0.1.2)
command-modules-nspkg (2.0.0)
component (2.0.4)
configure (2.0.6)
container (0.1.4)
core (2.0.6)
cosmosdb (0.1.6)
dla (0.0.6)
dls (0.0.6)
documentdb (0.1.5)
feedback (2.0.2)
find (0.2.2)
interactive (0.3.2)
iot (0.1.5)
keyvault (2.0.4)
lab (0.0.4)
monitor (0.0.4)
network (2.0.6)
nspkg (3.0.0)
profile (2.0.4)
rdbms (0.0.1)
redis (0.2.3)
resource (2.0.6)
role (2.0.4)
sf (1.0.1)
shell (0.2.2)
sql (2.0.3)
storage (2.0.6)
vm (2.0.6)
Python (Darwin) 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
Python location '/Users/chris/lib/azure-cli/bin/python'
I had been using the Azure CLI extension and was not getting completions against the webapp --name parameter. Will log that as a separate issue.
Since the scrapbook is specific to Azure CLI 2.0, it would be cool if you could omit the az
prefix and just run commands without it (e.g. webapp create
vs. az webapp create
). Maybe that could be a setting that devs could opt-in to?
Hello,
On video below presenter said that pressing Ctrl-Tick
symbol will send input from AZCLI file to terminal window. What is exactly that combination?
@chrisdias To confirm: Should we publish a new release with the fixes in this milestone?
It'd be really useful to have this functionality within shell scripts and not have to create a separate .azcli file just to work on the az command segments.
Insiders 1.13.0-insiders
Windows 10
D:\src\myExpApp>az --version
azure-cli (2.0.6)
az login
az group create --name myResourceGroup --location westus
az configure --defaults group=myResourceGroup location=westus
az appservice plan create --name myPlan --sku F1
az webapp create --name myexpressapp-cdias --plan myplan
az webapp browse --name <press ctrl+space>
Result: never get completions for --name
parameter with a list of sites to browse
I verified that az interactive
gives me this information.
I'm using macOs and I installed using brew install azure-cli
. So it's not in the PATH
variable.
I'd like to configure the az
binary path to avoid this error: 'az' not found on PATH, please make sure it is installed.
I notice bash in the example you show. I sometimes see cmd, sometimes powershell, sometimes python when I use the extension to 'run line in terminal.'
Does it matter?
Issue Type: Bug
After logging in to Azure, the cursor always points to the 1,1 cursor location (top-left) of terminal instead of PS Azure:>. Even if you manage to type a command, it gets executed on a random keystroke.
Extension version: 0.4.2
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 6.1.7601
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2712) |
GPU Status | 2d_canvas: enabled checker_imaging: disabled_off flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: enabled surface_synchronization: enabled_on video_decode: enabled webgl: enabled webgl2: enabled |
Memory (System) | 31.88GB (13.65GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Hi,
I have installed the Azure Tools in Visual Studio Code. However, when I attempt to sign in to Azure, or use any of the Azure commands in fact, I am getting the notifications an example of which is: 'command 'azure-account.login' not found' another example is 'command 'azureFunctions.createNewProject' not found'.
I have uninstalled the Azure Tools and re-installed them, downloaded and installed the Azure Functions Core Tools globally and locally, uninstalled and reinstalled VSC into both program files and AppData folders. I have installed the Azure CLI, however nothing works.
I have attached a screenshot of the notifications.
Thanks for your help.
Regards,
Rami
As soon as I start typing. This shows up in the developer console.
.vscode\extensions\ms-vscode.azurecli-0.4.5\service\azservice\tooling2.py", line 182, in _reload_config
cli_ctx.config.config_parser.read(GLOBAL_CONFIG_PATH)
AttributeError: 'CLIConfig' object has no attribute 'config_parser'
Version: 1.35.1 (user setup)
Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f
Date: 2019-06-12T14:30:02.622Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18362
Name: Azure CLI Tools
Id: ms-vscode.azurecli
Description: Tools for developing and running commands of the Azure CLI.
Version: 0.4.5
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode.azurecli
I installed an extension Azure CLI Tools and feature Intellisense doesn't autocomplete. I get the following error in developer tools.
My Version of Software are:
Azure-CLI version: 2.0.62
Azure Tools Version: 0.0.6
Azure CLI Tools Version: 0.4.4
VS Code Version: 1.33.1
Developer Tools
Traceback (most recent call last):
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\start.py", line 6, in
import azservice.main
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice_main_.py", line 17, in
from azservice.tooling import GLOBAL_ARGUMENTS, initialize, load_command_table, get_help, get_current_subscription, get_configured_defaults, get_defaults, is_required, run_argument_value_completer, get_arguments, load_arguments, arguments_loaded
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice\tooling.py", line 12, in
from azservice.tooling2 import GLOBAL_ARGUMENTS, initialize, load_command_table, get_help, get_current_subscription, get_configured_defaults, get_defaults, is_required, run_argument_value_completer, get_arguments, load_arguments, arguments_loaded
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice\tooling2.py", line 17, in
from azure.cli.core._config import GLOBAL_CONFIG_PATH, DEFAULTS_SECTION
ImportError: cannot import name 'DEFAULTS_SECTION'
t.log @ console.ts:134
I am not seeing Run Current Command option when using OSX also keyboard shortcuts do not work either. It's possible I am missing something?
VS Code 1.12.2 and vscode-azurecli version 0.1.0.
After the login session expires, completion proposals that lookup resources no longer work. There should be some indication in the UI that az login
needs to be run.
in VSS:
az sql db create (auto complete shows --database-name & --server-name, instead of --name & --server)
correct syntax:
az sql db create --name shaiksdb --resource-group cligroup --server shaikssqlserver
az: error: unrecognized arguments: --database-name shaiksdb --server-name shaikssqlserver
Hey,
I'd love to see a command to execute the entire .azcli
script at once. Are there plans to implement such a feature?
Running VSCode on Windows, installed CLI, running commands works, but there is no intellisense
It is not ideal to depend on private module as it is subject to change.
We're introducing a api
module in the core so as to lock down the common APIs. The module will serve as the contact between command modules developers and the Core so that we know when to lock when a potential breaking change will be introduced.
When the next Core release is shipped, this extnesion can begin moving dependences on private module to this public module.
az login
az account list -o table
az group create --name testazcli-rg --location westus
az appservice plan create --name testazcli-name --resource-group testazcli-rg --location westus --sku FREE
az webapp create --name cdias-testazcli-site --plan testazcli-name --resource-group testazcli-rg
Now try to write the browse command:
az webapp browse --name
result: no completions for name (I pressed ctrl+space to try to bring up completions):
in VSS auto complete shows --vault-name which doesn't exists in cli instead uses --name. Please update this. Screenshot attached.
bash-3.2$ az keyvault purge --vault-name shaiksvault
az keyvault purge: error: argument --name/-n is required
usage: az keyvault purge [-h] [--verbose] [--debug]
[--output {tsv,table,json,jsonc,yaml}]
[--query JMESPATH] [--subscription _SUBSCRIPTION]
--name NAME --location LOCATION
Is this extension and the .azcli file format meant as a sandbox environment to experiment with the Azure CLI or as a way to automate your Azure deployments?
I first thought the latter option.
But then I was wondering how to add variables and control structures to scripts. I could use bash or PowerShell format and could tell the shell to execute it. But if the file extension is .azcli how does PowerShell or bash know which files are in bash or PowerShell format.
I was hoping that .azcli was a multi-platform way of automating Azure CLI deployments.
But it seems it is more meant as a sandbox environment or am I wrong?
Tracking Azure/azure-cli#4573
Intelli-sense/content assist does not present valid values; only "Loading...".
az
and CTRL+SPACEFrom the VS Code Integrated Terminal, running "az --version" works as expected.
1.14.2
azure-cli (2.0.7)
Python (Windows) 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)]
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
0.1.0
yo
up an extension.OS: OSX 10.12.5
VSCode: Version 1.13.0 (1.13.0)
Azure CLI: azure-cli (2.0.7)
Python (Darwin) 2.7.10 (default, Feb 7 2017, 00:08:15)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
I'm able to run az from the terminal and from vscode when I send the command to the terminal but when I open vscode and open a file with extension .azcli I get the following error 'az' not found on PATH, make sure it is installed.
And the intellisense doesn't come up.
macos, insiders latest
create a new app service plan (actually run the commands):
az login
az account list -o table
az group create --name testazcli-rg --location westus
az appservice plan create --name testazcli-name --resource-group testazcli-rg --location westus --sku FREE
Now try to get IntelliSense on the --plan:
az webapp create --name cdias-testazcli-site --plan
result: no completions:
Issue Type: Bug
Azure CLI Tools no intellisense.
Visual Studio Code Console shows:
"C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe: No module named azservice"
Extension version: 0.4.1
VS Code version: Code 1.24.0 (6a6e02cef0f2122ee1469765b704faf5d0e0d859, 2018-06-06T17:35:40.560Z)
OS version: Windows_NT x64 10.0.16299
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 x 2494) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: disabled_software video_decode: enabled video_encode: enabled vpx_decode: unavailable_software webgl: enabled webgl2: enabled |
Memory (System) | 7.89GB (2.29GB free) |
Process Argv | C:\Program Files\Microsoft VS Code\Code.exe |
Screen Reader | no |
VM | 50% |
az login
az webapp browse --name
result: no completions
az webapp browse --resource-group
result: completions (goodness!)
az webapp browse --resource-group fix-walkthrough-rg --name
result: still no completions
Here' what I see in the dev tools console:
Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] Exit code 1, signal null
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] "__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 335, in <module>
main()
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 326, in main
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] response_data = get_completions(group_index, command_table, snippets, request['data'], True)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 114, in get_completions
return get_argument_value_completions(command_table, query, verbose)
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 182, in get_argument_value_completions
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] list = get_argument_value_list(command_table, query, verbose) + \
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/__main__.py", line 200, in get_argument_value_list
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] values = run_argument_value_completer(command, argument, query['arguments'])
File "/Users/chris/.vscode-insiders/extensions/ms-vscode.azurecli-0.1.0/service/azservice/tooling.py", line 130, in run_argument_value_completer
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] return argument.completer('', '', args)
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 83, in completer
return [r.name for r in get_resources_in_resource_group(rg, resource_type=resource_type)]
File "/Users/chris/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/parameters.py", line 69, in get_resources_in_resource_group
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] return list(rcf.resource_groups.list_resources(resource_group_name, filter=filter_str))
AttributeError: 'ResourceGroupsOperations' object has no attribute 'list_resources'
t.logExtensionHostMessage @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29 [Extension Host] Exit code 1, signal null
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.