检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
nalConsole”或“integratedTerminal”时。 “processId” 正在运行的Python程序的进程标识符 (PID)。设置默认值 “${command:pickProcess}” 时,CodeArts IDE会提示您选择要附加到的进程。 “logToFile”
"logToFile": false, "args": [], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "pythonArgs": [], "name": "Python:
通过URLs打开CodeArts IDE 您还可以使用操作系统的URL处理机制打开项目和文件。 使用以下URL格式: 打开项目 codearts://file/{full path to project}/ codearts://file/c:/myProject/ 打开文件 c
"main:app" ], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "pythonArgs": [], "name": "Python:
"runserver" ], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "django": true, "pythonArgs":
"logToFile": false, "args": [], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "pythonArgs": [], "name": "Python:
"logToFile": false, "args": [], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "pythonArgs": [], "name": "Python:
"--no-debugger" ], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "pythonArgs": [], "name": "Python:
development.ini" ], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "pythonArgs": [], "name": "Python:
test_method_name" ], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "provider": "PYTEST", "pythonArgs":
test_method_name" ], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "provider": "UNITTEST", "pythonArgs":
test_method_name" ], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "provider": "UNITTEST", "pythonArgs":
test_method_name" ], "cwd": "${workspaceFolder}", "subProcess": false, "justMyCode": true, "provider": "PYTEST", "pythonArgs":
简介 RemoteShell是CodeArtsIDE的一种产品形态,提供了基于SSH 协议访问具有EIP的华为云ECS主机的文件系统和终端的能力,以及基于 kubectl 访问华为云现网容器集群的能力,让华为云用户轻松访问和使用云资源。 RemoteShell目前可用于Windows。
选择要提取的代码,然后单击装订线中的灯泡图标,或按“Alt+Enter”键查看可用的重构。源代码片段可以提取到新方法中,也可以提取到不同范围的新函数中。在提取重构期间,系统将提示您提供有意义的名称。 父主题: 重构操作
简介 Java程序重构的目标是在不影响程序行为的情况下进行系统范围的代码更改。SmartAssist扩展提供了许多易于访问的重构选项。 重构命令存在于编辑器的右键菜单中。选择您要重构的元素,右键单击它,然后从上下文菜单中选择Refactor。或者,在主菜单中,选择Refactor。
码中移动包的引用,请选中Search in comments and strings和 Search for text occurrences复选框。 单击Refactor以应用重构。 示例 作为一个例子,让我们将包com.source.feature移动到包com.target中,并替换代码中出现的com
简介 当您的项目与源代码管理(SCM)系统关联时,CodeArts IDE会跟踪项目文件中发生的所有更改。左侧活动栏中的Source Control按钮()显示您当前在存储库中拥有的更改数量。 Source Control视图显示当前存储库更改的详细信息,分为Changes、Staged
要在代码中搜索移动的类的出现情况,请选择Search in comments and strings和Search for text occurrences复选框。 单击Refactor以应用重构。 示例 作为一个例子,让我们将存储在包com.refactoring.source中的类Refactoring移动到包com
IDE键绑定将不起作用,因为击键将传递到终端本身并由终端本身消耗。有一个预定义的命令列表,这些命令跳过shell处理,而是发送到CodeArts IDE密钥绑定系统。您可以使用terminal.integrated.commandsToSkipShell设置自定义此列表。可以通过将命令名称添加到列表中