iphone6只换外屏玻璃外屏碎了怎么换

Atom windows 版不完全汉化方法 附代码 - 推酷
Atom windows 版不完全汉化方法 附代码
atom.menu.add [
label: '文件'
submenu: [
{ label: '打开一个新窗口', command: 'application:new-window' }
{ label: '打开一个新文件', command: 'application:new-file' }
{ label: '打开文件...', command: 'application:open-file' }
{ label: '打开文件夹...', command: 'application:open-folder' }
{ label: '向工程添加一个文件夹...', command: 'application:add-project-folder' }
{ label: '重新打开被关闭的项目', command: 'pane:reopen-closed-item' }
{ type: 'separator' }
{ label: '设置', command: 'application:show-settings' }
{ label: '打开配置文件', command: 'application:open-your-config' }
{ label: '打开初始化脚本文件', command: 'application:open-your-init-script' }
{ label: '打开快捷键配置文件', command: 'application:open-your-keymap' }
{ label: '打开Snippets配置文件', command: 'application:open-your-snippets' }
{ label: '打开风格配置文件', command: 'application:open-your-stylesheet' }
{ type: 'separator' }
{ label: '保存', command: 'core:save' }
{ label: '另存为...', command: 'core:save-as' }
{ label: '保存所有玩家', command: 'window:save-all' }
{ type: 'separator' }
{ label: '关闭标签', command: 'core:close' }
{ label: '关闭窗格', command: 'pane:close' }
{ label: '关闭窗口', command: 'window:close' }
{ type: 'separator' }
{ label: '退出', command: 'application:quit' }
label: '编辑'
submenu: [
{ label: '撤销', command: 'core:undo' }
{ label: '重做', command: 'core:redo' }
{ type: 'separator' }
{ label: '剪贴', command: 'core:cut' }
{ label: '复制', command: 'core:copy' }
{ label: '复制路径', command: 'editor:copy-path' }
{ label: '粘贴', command: 'core:paste' }
{ label: '全选', command: 'core:select-all' }
{ type: 'separator' }
{ label: '注释选中行', command: 'editor:toggle-line-comments' }
label: '行编辑',
submenu: [
{ label: '向右缩进选中行', command: 'editor:indent-selected-rows' }
{ label: '向左缩进选中行', command: 'editor:outdent-selected-rows' }
{ label: '自动缩进', command: 'editor:auto-indent' }
{ type: 'separator' }
{ label: '上移选中行', command: 'editor:move-line-up' }
{ label: '下移选中行', command: 'editor:move-line-down' }
{ label: '复制选中行', command: 'editor:duplicate-lines' }
{ label: '删除选中行', command: 'editor:delete-line' }
{ label: '合并到当前行', command: 'editor:join-lines' }
label: '文本',
submenu: [
{ label: '转为大写字母', command: 'editor:upper-case' }
{ label: '转为小写字母', command: 'editor:lower-case' }
{ type: 'separator' }
{ label: '删除到下一个单词', command: 'editor:delete-to-end-of-word' }
{ label: '删除到前一个单词末尾', command: 'editor:delete-to-previous-word-boundary' }
{ label: '删除到前一个单词', command: 'editor:delete-to-next-word-boundary' }
{ label: '删除选中行', command: 'editor:delete-line' }
{ type: 'separator' }
{ label: '交互左右文字', command: 'editor:transpose' }
label: '折叠',
submenu: [
{ label: '折叠当前块', command: 'editor:fold-current-row' }
{ label: '展开当前块', command: 'editor:unfold-current-row' }
{ label: '展开所有的折叠块', command: 'editor:unfold-all' }
{ type: 'separator' }
{ label: '折叠所有块', command: 'editor:fold-all' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-1' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-2' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-3' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-4' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-5' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-6' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-7' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-8' }
{ label: '折叠所有的1级块', command: 'editor:fold-at-indent-level-9' }
label: '视图'
submenu: [
{ label: '重新加载窗口', command: 'window:reload' }
{ label: '全屏', command: 'window:toggle-full-screen' }
{ label: '隐藏菜单栏', command: 'window:toggle-menu-bar' }
label: '窗格'
submenu: [
{ label: '向上打开新窗格', command: 'pane:split-up' }
{ label: '向下打开新窗格', command: 'pane:split-down' }
{ label: '向左打开新窗格', command: 'pane:split-left' }
{ label: '向右打开新窗格', command: 'pane:split-right' }
{ type: 'separator' }
{ label: '焦点转移到下一个窗格', command: 'window:focus-next-pane' }
{ label: '焦点转移到前一个窗格', command: 'window:focus-previous-pane' }
{ type: 'separator' }
{ label: '焦点转移到上边的窗格', command: 'window:focus-pane-above' }
{ label: '焦点转移到下边的窗格', command: 'window:focus-pane-below' }
{ label: '焦点转移到左边的窗格', command: 'window:focus-pane-on-left' }
{ label: '焦点转移到右边的窗格', command: 'window:focus-pane-on-right' }
{ type: 'separator' }
{ label: '关闭窗格', command: 'pane:close' }
label: '开发者工具'
submenu: [
{ label: 'Open In &Dev Mode...', command: 'application:open-dev' }
{ label: 'Run &Atom Specs', command: 'application:run-all-specs' }
{ label: 'Run Package &Specs', command: 'window:run-package-specs' }
{ label: '审查元素', command: 'window:toggle-dev-tools' }
{ type: 'separator' }
{ label: '增大字号', command: 'window:increase-font-size' }
{ label: '减小字号', command: 'window:decrease-font-size' }
{ label: '重置字体大小', command: 'window:reset-font-size' }
{ type: 'separator' }
{ label: 'Toggle Soft &Wrap', command: 'editor:toggle-soft-wrap' }
{ label: '重置字体大小', command: 'window:Toggle:show-settings' }
label: '选择'
submenu: [
{ label: '向上添加光标', command: 'editor:add-selection-above' }
{ label: '向下添加光标', command: 'editor:add-selection-below' }
{ label: '将选区转换成多个单行选区', command: 'editor:split-selections-into-lines'}
{ label: '将选区转换成一行行选区', command: 'editor:consolidate-selections'}
{ type: 'separator' }
{ label: '选中到顶部', command: 'core:select-to-top' }
{ label: '选中到底部', command: 'core:select-to-bottom' }
{ type: 'separator' }
{ label: '选中当前行', command: 'editor:select-line' }
{ label: '选中当前单词', command: 'editor:select-word' }
{ label: '选中到词的开始', command: 'editor:select-to-beginning-of-word' }
{ label: '选中到行的开始', command: 'editor:select-to-beginning-of-line' }
{ label: '选中到当前行的第一个字符', command: 'editor:select-to-first-character-of-line' }
{ label: '选中到词的末尾', command: 'editor:select-to-end-of-word' }
{ label: '选中到行的开始', command: 'find-and-replace:elect-to-end-of-line' }
label: '查找'
submenu: []
label: '包'
submenu: []
label: '帮助'
submenu: [
{ label: '查看我们的团队', command: 'application:open-terms-of-use' }
{ label: '查看证书', command: 'application:open-license' }
{ label: '版本号 1.0.0', enabled: false }
{ label: '安装跟新并重启', command: 'application:install-update', visible: false}
{ label: '检查更新', command: 'application:check-for-update', visible: false}
{ label: '检查更新', enabled: false, visible: false}
{ label: '下载更新', enabled: false, visible: false}
{ type: 'separator' }
{ label: '打开开发文档页面', command: 'application:open-documentation' }
{ label: '打开蓝图页面', command: 'application:open-roadmap' }
{ label: '打开问与答页面', command: 'application:open-faq' }
{ type: 'separator' }
{ label: '打开讨论页面', command: 'application:open-discussions' }
{ label: '报告问题', command: 'application:report-issue' }
{ label: '搜索问题', command: 'application:search-issues' }
已发表评论数()
请填写推刊名
描述不能大于100个字符!
权限设置: 公开
仅自己可见
正文不准确
标题不准确
排版有问题
主题不准确
没有分页内容
图片无法显示
视频无法显示
与原文不一致Ubuntu中Atom编辑器显示中文乱码的处理方法
64位机上安装Atom,依次在终端输入如下命令:
1.$ sudo add-apt-repository ppa:webupd8team/atom
2.$ sudo apt-get update
3. $ sudo apt-get install atom
处理中文乱码的问题:
1.安装文泉驿正黑等相关中文字体:$ sudo apt-get install -y ttf-wqy-zenhei
fonts-wqy-zenhei ttf-wqy-microhei
2.查看系统中文字体:$ fc-list :lang=zh
3.打开Atom:
(1)、Edit -& Open Your Config,删除原有内容,输入如下内容,保存:
& "exception-reporting":
& & userId:
"fe150ae1-e4-51ddc09f54d7"
& welcome:
& & showOnStartup: false
& core: {}
& & invisibles: {}
& & fontFamily: "Ubuntu Mono,
DejaVu Sans Mono, 文泉驿等宽正黑"
& & fontSize: 15
&(2)、Edit -&Open Your
Stylesheet,删除原有内容,输入如下内容,保存:
@mono-font-family:& "Ubuntu Mono",
"文泉驿等宽正黑";
@font-family: "Ubuntu", "文泉驿正黑";
html, body, ol, ul, li,&h1, h2, h3, h4, h5, h6,
div, p, span, pre, section, input, textarea,
&table, .atom-panel, .status-bar, .tree-view,
.title, .current-path, .tooltip {
& font-family: @font-
.autocomplete-plus span, code, .-tree-view-, .symbols-view
& font-family: @mono-font-
atom-text-editor.editor {
&font-family: @mono-font-
.-tree-view- {
&font-size: 14
4.关闭Atom,再次打开即可。
Ubuntu 下通过 PPA 安装 Atom
非官方构建的 Windows 下的 Atom 编辑器
在Ubuntu下编译安装Atom编辑器
Ubuntu 及衍生系统安装 Atom 0.104.0
Ubuntu/Linux Mint上安装Atom文本编辑器
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。19009人阅读
程序员风采__技术人生(8)
Atom中文显示乱码问题 本来就是UTF-8文件,但中文还是显示不了。换了GBK、GB18030也不行。
解决方法: 给atom编辑器设置字体
从菜单中打开 Edit-&Open your config选项,或者Packages-&Setting views-&Open,
&找到config.cson文件中的editor子项,或者setting views中的font-family选项,把字体设置成&文泉驿 系列字体才可以显示中文。比如:
文泉驿微米黑,文泉驛微米黑,WenQuanYi Micro Hei
文泉驿等宽微米黑,文泉驛等寬微米黑,WenQuanYi Micro Hei Mono
文泉驿正黑
等字体。注意:先查看操作系统是否安装了这些字体,打开终端输入:&fc-list :lang=zh 命令查看安装的字体。
zollty@zollty-PC:~$ fc-list :lang=zh
例如,我的配置如下:
& & invisibles:
& & tabLength: 4
& & fontFamily: &WenQuanYi Micro Hei Mono&
&&相关文章推荐
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:584816次
积分:6484
积分:6484
排名:第3332名
原创:145篇
转载:24篇
评论:65条
(39)(1)(1)(7)(4)(1)(1)(1)(1)(2)(1)(1)(2)(1)(4)(5)(2)(3)(6)(4)(2)(4)(7)(1)(6)(5)(6)(7)(8)(9)(12)(10)(6)atom中python使用pandas.read_table()打开文本中文乱码
atom中python使用pandas.read_table()打开文本中文乱码
atom中使用python的pandas.read_table()打开编码为utf-8无bom格式的文档,然后使用atom的运行程序的包script运行以下代码:
# coding=utf-8
import pandas as pd
path = u'C:\\Users\\xilig\\Desktop\\北京-jd\\化妆师.txt'
print pd.read_csv(path, sep='|', header=None)
程序运行没有报错,但是结果是这样的:
而同样的程序在pycharm中运行却可以正常显示中文,这是为什么
先转码吧,建议你先去了解一下文件编码相关的知识,这样才能有恃无恐windows下用notepad++比较方便Ubuntu
iconv -f GBK -t UTF-8 sourceFile.txt -o outputFile.txt
/manpages/precise/man1/iconv.1.html
同样的程序在pycharm中运行却可以正常显示中文编码为utf-8无bom格式的文档
估计是cmd 编码的问题
Pycharm 进行了编码的处理应该, atom可能直接用了中文系统的cmd.
我猜想你的txt文件是gbk的编码两种办法:
一是修改你txt文本的编码为utf-8,不用改代码
二是指定编码方式
print pd.read_csv(path, sep='|', header=None, encoding='gbk')
Copyright & 2016 phpStudy

我要回帖

更多关于 iphone6s外屏碎了多钱 的文章

 

随机推荐