销售force参考
从Sublime Text快速访问销售force文档
详细信息
安装
- 总计 7K
- Win 5K
- Mac 2K
- Linux 286
8月6日 | 8月5日 | 8月4日 | 8月3日 | 8月2日 | 8月1日 | 7月31日 | 7月30日 | 7月29日 | 7月28日 | 7月27日 | 7月26日 | 7月25日 | 7月24日 | 7月23日 | 7月22日 | 7月21日 | 7月20日 | 7月19日 | 7月18日 | 7月17日 | 7月16日 | 7月15日 | 7月14日 | 7月13日 | 7月12日 | 7月11日 | 7月10日 | 7月9日 | 7月8日 | 7月7日 | 7月6日 | 7月5日 | 7月4日 | 7月3日 | 7月2日 | 7月1日 | 6月30日 | 6月29日 | 6月28日 | 6月27日 | 6月26日 | 6月25日 | 6月24日 | 6月23日 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
自述文件
Sublime Salesforce Reference
Sublime Text的插件,可以从Sublime Text快速访问销售force文档。
安装
- 推荐:下载Package Control并使用Package Control: Install Package命令(搜索Salesforce Reference)进行安装
- 不推荐:在https://github.com/Oblongmana/sublime-salesforce-reference克隆存储库或下载发行版,并将其保存到您的Sublime Packages/目录内的SublimeSalesforceReference目录中。您将不会像第一种选择那样收到自动更新
使用方法
SublimeSalesforceReference为您新增了多个命令:- Salesforce Reference - Apex
- Salesforce Reference - Visualforce
- Salesforce Reference - Service Console
- Salesforce Reference - 所有文档类型
只需选择这些命令之一,插件将检索Salesforce的参考页面索引并将其显示在快速面板中。搜索您想要的,按回车键,文档页面将在您的网络浏览器中打开!
每个命令都有相当清晰的说明——《Salesforce Reference - Apex》命令显示Apex文档页面的列表,依此类推;而《Salesforce Reference - 所有文档类型》将在单个列表中显示此插件支持的文档类型的所有文档。
默认情况下,Sublime Text 启动时,插件会调用来缓存 Apex 和 Visualforce 文档的 Salesforce 参考索引,以便在您运行“Salesforce 参考命令”时,参考页面的列表能即刻打开。您可以禁用在加载时的缓存行为(请参阅设置部分了解如何操作),在这种情况下缓存将在您首次运行命令时填充。您还可以指定应缓存哪些类型的文档(例如,默认情况下,在加载时不会缓存“服务控制台”文档,但您可以修改它!)
设置
要编辑您的设置,请转到首选项 > 包设置 > Salesforce 参考索引 > 设置 - 用户
{
/* refreshCacheOnLoad:
*
* Setting this to false means the plugin will need to do a callout
* to retrieve the Salesforce Reference Index from Salesforce
* when the *Salesforce Reference* command is first run.
*
* When set to true (RECOMMENDED, and the default setting), the
* plugin will cache the Reference Index when Sublime Text starts
* or the plugin is reloaded
*/
"refreshCacheOnLoad": true,
/**
* docTypes:
*
* Each docType has one option:
* - refreshCacheOnLoad:
* if the top-level refreshCacheOnLoad setting is true, and this
* docType's refreshCacheOnLoad setting is true - this documentation
* type will be cache when sublime starts up. Otherwise, this
* documentation type will only be retrieved and cached when it's
* corresponding command is run
* - excludeFromAllDocumentationCommand:
* if this is set to true, the command "Salesforce Reference - All
* Documentation Types" will not include this documentation type.
* If set to false for a documentation type, uou'll only be able to
* view that documentation type with from the command specific to it,
* it won't be included in the command "Salesforce Reference - All
* Documentation Types"
*
* Note to developers: the keys in `docTypes` should be an exact lowercase
* match of one of the keys in salesforce_reference.retrieve.DocTypeEnum
*/
"docTypes": {
"apex": {
"refreshCacheOnLoad": true,
"excludeFromAllDocumentationCommand": false
},
"visualforce": {
"refreshCacheOnLoad": true,
"excludeFromAllDocumentationCommand": false
},
"serviceconsole": {
"refreshCacheOnLoad": false,
"excludeFromAllDocumentationCommand": false
}
}
}
按键绑定
按键绑定的可用命令如下
salesforce_reference_apex
salesforce_reference_visualforce
salesforce_reference_service_console
salesforce_reference_all_documentation_types
要为此之一设置键绑定,请转到“首选项 > 按键绑定 - 用户”,然后插入如下内容(例如):“javascript{ //示例键绑定的 "keys": ["alt+s"], "command": "salesforce_reference_all_documentation_types" }
## Contributing, Bugs, Suggestions, Questions
If you have any suggestions or bugs to report, please open an issue and I'll take a look ASAP. If you have any questions or would like to contribute in any way, you can also get in touch with me by tweeting [@Oblongmana](http://twitter.com/oblongmana), or go ahead and fork the repo and submit a pull request.
Please note that we will roughly be following semver + git-flow for 2.0.0 onwards. The short version of that is - new branches should be made off the `develop` branch like so:
- `fix/describe-your-fix` for bug fixes
- `feature/describe-your-feature` for new features
- `chore/describe-your-chore` for new things like minor documentation updates
Once complete, merge any remote changes to the `develop` branch into your local branch, and submit a pull request against the `develop` branch
When we're ready for a release, a release candidate will be branched off `develop` into `release-X.Y.Z` (`X.Y.Z` being the version number). This branch will be open to fixes only, no new features. Other maintenance things like release note changes, doc tweaks, will be accepted only if relevant to the release. Once complete, the release branch will be merged into master, tagged, and shipped.
If you don't follow those instructions precisely, it's probably no big deal, we'll try to make it work, but it may take longer or be more of a challenge.
### Adding new documentation sources
If there's a documentation source you want to add, please open an issue for discussion on why it should be included. Note that no documentation sources have been deliberately excluded yet - time to implement is the primary constraint!
Alternatively, if you want to have a go at adding it yourself, `salesforce_reference/retrieve.py` contains the necessary framework for doing so:
- Create a new `DocRetrievalStrategy`, and add this to the `DocTypeEnum`, including modifying the `DocTypeEnum.get_all()` and `DocTypeEnum.get_by_name()` methods appropriately
- Add settings for this to `SublimeSalesforceReference.sublime-settings`, under `docTypes`. Make sure the key you add to this is identical to the key you added in `DocTypeEnum`, but in lowercase
- Add a new command in `SalesforceReference.py`, and create the command palette entry for it in `Default.sublime-commands`
## License
### Sublime Salesforce Reference
Copyright (c) 2014-2015 James Hill <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
### ThreadProgress.py
ThreadProgress.py is licensed under the MIT license, and SalesforceReference.py's RetrieveIndexThread method derives in part from code under the same license
Copyright (c) 2011-2013 Will Bond <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
## Credits
All Salesforce Documentation is © Copyright 2000–2015 salesforce.com, inc.
Thanks to [Marco Zeuli](https://github.com/maaaaarco) for his contributions to making extra types of documentation available in the plugin
Credit to [Luke McFarlane](https://github.com/lukemcfarlane) for the inspiration!