sublime_Packagecommand命令和配置

本文详细介绍了SublimeText中的PackageResourceViewer插件,包括其OpenResource、ExtractPackage、ViewPackageResource和EditPackageResource四个命令的用法,以及Settings中的四个配置选项:ignore_patterns、open_multiple、single_command和return_to_previous。
摘要由CSDN通过智能技术生成

Commands - 打开、解压、查看、编辑四个操作

命令

PackageResourceViewer: Open Resource: Command to open the resource.

PackageResourceViewer: Open Resource: 打开资源的命令

If saved, the correct directory structure will be created in the Packages folder.

如果保存,正确的目录结构将会在Packages文件夹中创建。

This command will only be displayed if the single_command setting is true.

这个命令只有在single_command设置为true时才会显示。


PackageResourceViewer: Extract Package:

PackageResourceViewer: Extract Package(解压包):

Command to extract a package to the Packages directory.

将包解压到Packages目录的命令。

This command is only available in ST3.

这个命令只在ST3中可用。


PackageResourceViewer: View Package Resource:

PackageResourceViewer: View Package Resource(查看包资源):

Open package resource as read only.

以只读方式打开包资源。

This command will only be displayed if the single_command setting is false.

这个命令只有在single_command设置为false时才会显示。


PackageResourceViewer: Edit Package Resource:

PackageResourceViewer: Edit Package Resource(编辑包资源):

Open package resources as an editable file.

可编辑文件的方式打开包资源。

Upon execution, this plugin will create a directory (if necessary) as well as save the resource.

在执行时,此插件将创建一个目录(如果必要),并保存资源。

This command will only be displayed if the single_command setting is false.

这个命令只有在single_command设置为false时才会显示。

Settings - 4个配置

设置

ignore_patterns:

A list of regular expressions patterns to ignore.

Note that these regular expressions are compared against the file or directory name.

ignore_patterns(忽略模式):

一个包含正则表达式模式的列表,用于忽略。

请注意,这些正则表达式将文件或目录名进行比较。

open_multiple:

Boolean to keep selection panel open after selecting a resource to open.

open_multiple(多选):

布尔值,用于在选择要打开的资源后保持选择面板打开。

single_command:

Boolean setting specifying if a single command should be listed in the command palette for viewing and editing files or if multiple commands should be used.

single_command(单一命令):

布尔值设置,用于指定是否在命令面板中列出单个命令以查看和编辑文件,或者是否应使用多个命令

return_to_previous:

True if, when moving up a directory, you would like the previous selection to be automatically chosen.

False otherwise.

return_to_previous(返回上一项):

当向上移动目录时,如果希望自动选择上一个选择项,则为True。

否则为False。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值