全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 经管代码库
2015-10-24 20:34:34
问题.png
我安装Pywin32的时候总是出现图片中的错误,怎么办?
我的电脑是64位的,刚开始运行你的Sublime_Text_Build_3095_x64下的出现,老出现上面的错误。后来改为
Sublime_Text_Build_3095_x86 使用你的32位版本,完全正确了,但是又出现楼下的问题,麻烦你给指点一下。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-10-24 21:24:59
你好,麻烦你把"3.自定义设置"部分的解释能够在说详细一点吗?
“3.自定义设置
*检查Stata设置:
Do-fileEditor > Edit > Preferences> Advanced > Edit do-files opened fromWindows instead of executing them”

我的stata14Do-fileEditor > Edit > Preferences>中没有> Advanced
1.png 2.png

难道是选择下图的黄色标记部分吗?
3.jpg
另外,我的StataEditor也安装成功了。
我的.jpg
stata14的快捷方式的设定也按照要求搞好了。
5.jpg

接下来,你又说打开一份do文档,如ch11.do,是在Sublime Text中打开吗?我在Sublime Text打开了,但是不能再stata14中运行?

(文件>新建文件>保存,在文件名中直接键入ch11.do即可)这句话能不能也说详细一点?是在Sublime Text中?第一次接触Sublime Text,多有麻烦!


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-10-24 22:11:04
啥折腾一整,原来上边的设定完,已经可以使用了。原来里边有快捷方式设定,修改一下就可以了。我喜欢F9(和MATLAB一样).
[
        { "keys": ["f9"],        "command": "stata_execute",        "args": {"Mode": "do"},        "context":
                [
                        { "key": "selector", "operator": "equal", "operand": "source.stata" }
                ]
        },
        { "keys": ["ctrl+r"], "command": "stata_execute", "args": {"Mode": "run"}, "context":
                [
                        { "key": "selector", "operator": "equal", "operand": "source.stata" }
                ]
        },
        { "keys": ["alt+l"], "command": "stata_local", "context":
                [
                        { "key": "selector", "operator": "equal", "operand": "source.stata" }
                ]
        },
        { "keys": ["f1"], "command": "stata_help_internal", "context":
                [
                        { "key": "selector", "operator": "equal", "operand": "source.stata" }
                ]
        },
        { "keys": ["ctrl+f1"], "command": "stata_help_external", "context":
                [
                        { "key": "selector", "operator": "equal", "operand": "source.stata" }
                ]
        },
        { "keys": ["alt+shift+u"], "command": "stata_load", "context":
                [
                        { "key": "selector", "operator": "equal", "operand": "source.stata" }
                ]
        },
                // Disable expansion ' -> ''
        { "keys": ["'"], "command": "insert_snippet", "args": {"contents": "'"}, "context":
                [
                        { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
                        { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
                        { "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
                        { "key": "preceding_text", "operator": "not_regex_contains", "operand": "['a-zA-Z0-9_]$", "match_all": true },
                        { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true },
                        { "key": "selector", "operator": "equal", "operand": "source.stata", "match_all": true }
                ]
        },
        // Disable expansion ' -> '...' when selected
        { "keys": ["'"], "command": "insert_snippet", "args": {"contents": "'"}, "context":
                [
                        { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
                        { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true },
                        { "key": "selector", "operator": "equal", "operand": "source.stata", "match_all": true }
                ]
        },
        // Disable moving to right when in middle of ''
        { "keys": ["'"], "command": "insert_snippet", "args": {"contents": "'"}, "context":
                [
                        { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
                        { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
                        { "key": "following_text", "operator": "regex_contains", "operand": "^'", "match_all": true },
                        { "key": "selector", "operator": "not_equal", "operand": "punctuation.definition.string.begin", "match_all": true },
                        { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true },
                        { "key": "selector", "operator": "equal", "operand": "source.stata", "match_all": true }
                ]
        },
        // Disable deleting both '' when in middle and pressing backspace
        { "keys": ["backspace"], "command": "left_delete", "args": {}, "context":
                [
                        { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
                        { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
                        { "key": "preceding_text", "operator": "regex_contains", "operand": "'$", "match_all": true },
                        { "key": "following_text", "operator": "regex_contains", "operand": "^'", "match_all": true },
                        { "key": "selector", "operator": "not_equal", "operand": "punctuation.definition.string.begin", "match_all": true },
                        { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true },
                        { "key": "selector", "operator": "equal", "operand": "source.stata", "match_all": true }
                ]
        },
        // Stata `' quotes
        { "keys": ["`"], "command": "insert_snippet", "args": {"contents": "`$0'"}, "context":
                [
                        { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
                        { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
                        { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true },
                        { "key": "selector", "operator": "equal", "operand": "source.stata", "match_all": true }
                ]
        },
        { "keys": ["`"], "command": "insert_snippet", "args": {"contents": "`${0:$SELECTION}'"}, "context":
                [
                        { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
                        { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true },
                        { "key": "selector", "operator": "equal", "operand": "source.stata", "match_all": true }
                ]
        },
        { "keys": ["backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Left Right.sublime-macro"}, "context":
                [
                        { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
                        { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
                        { "key": "preceding_text", "operator": "regex_contains", "operand": "`$", "match_all": true },
                        { "key": "following_text", "operator": "regex_contains", "operand": "^'", "match_all": true },
                        { "key": "selector", "operator": "not_equal", "operand": "punctuation.definition.string.begin", "match_all": true },
                        { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true },
                        { "key": "selector", "operator": "equal", "operand": "source.stata", "match_all": true }
                ]
        }
]
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-10-24 22:36:21
最好用的就是他有代码提示,不知道使用的哪个快捷键可以将代码自动补全?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-10-24 22:43:23
能不能把你
2.Stata不同版本的编码格式快速批量转换
3.自动补全(括号、暂元等)
两个功能的使用方法介绍一下?另外安装AllAutocomplete时提示不可用,是不是字母打错了?
8.jpg
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-10-24 22:52:43
我找到下载地址了https://github.com/alienhard/SublimeAllAutocomplete
但是下载之后解压是两个文件README.md和all_views_completions.py,怎么使用?看到官方的话:

You can also install this package manually by entering the Packages directory of Sublime Text 2/3 and issuing on a terminal:

git clone https://github.com/alienhard/SublimeAllAutocomplete
issuing on a terminal是什么意思?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-10-24 22:59:07
初次接触这样的软件,在楼主的帮助下,向你学到不少东西,好贴,太给力了。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-11-17 21:33:18
谢谢分享
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-11-26 10:16:03
powerful method,thanks.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-12-16 08:43:16
非常感谢楼主,为什么安装 Pywin32会死掉,试验了好几天,都是这样。一等两三个小时SublimeText还是死在那里,不得不关掉了。 第二天再试,还一样。第三天,第四天,,,,,,,都是死掉。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-12-16 09:22:51
1.jpg
麻烦楼主解释一下 “3.自定义设置
*检查Stata设置:

Do-fileEditor > Edit > Preferences> Advanced > Edit do-files opened fromWindows instead of executing them”

我的STATA各个界面找不到你说的东西, 谢谢了!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-12-16 14:54:33
tylerma3223 发表于 2015-12-16 09:22
麻烦楼主解释一下 “3.自定义设置
*检查Stata设置:
您好,如下操作可见:

01.gif


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-12-16 16:45:14
niuniuyiwan 发表于 2015-12-16 14:54
您好,如下操作可见:
您好,非常感谢您的帮助。不胜感激。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-1-6 09:28:34
确实是神器,大赞!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-1-6 10:35:25
hua2007 发表于 2016-1-6 09:28
确实是神器,大赞!
谢谢,感谢支持.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-2-11 00:22:26
想请问楼主,怎样更改sublime默认保存的do文件的stata版本呢。我现在默认的是14版,想让其默认为13版。因为涉及到发给别人的do文件里中文的显示问题,所以想要更改这一设置。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-2-11 07:56:07
阿狸与桃子 发表于 2016-2-11 00:22
想请问楼主,怎样更改sublime默认保存的do文件的stata版本呢。我现在默认的是14版,想让其默认为13版。因为 ...
您好,可参考相关帖子https://bbs.pinggu.org/thread-3823877-1-1.html
14----->13:
在Sublime Text 3左上角文件——设置文件编码——选择Chinese Simplified (GBK),然后文件——保存即可
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-2-19 19:24:30
准备拿它来学做网页,哈哈。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-2-19 20:20:29
niuniuyiwan 发表于 2015-12-16 14:54
您好,如下操作可见:
这动画是用什么软件录制的?好方便演示那。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-2-22 20:52:12
yuerchushui 发表于 2016-2-19 20:20
这动画是用什么软件录制的?好方便演示那。
您好,自己一般使用屏幕录像专家录制,完成后迅雷看看播放器GIF截图(右键)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-3-19 16:00:22
谢谢楼主分享。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-4-23 13:08:22
好贴,之前用过2,当时没能成功,有机会试试这个,介绍的相当详细,
一个性感的代码编辑器,瞬间提升了对stata的爱呀~~
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-5-18 20:46:21
楼主,第二步下拉菜单没有你说的install这一选项啊?怎么破。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-5-21 10:30:18
臭臭小乖 发表于 2016-5-18 20:46
楼主,第二步下拉菜单没有你说的install这一选项啊?怎么破。
您好,可如下操作:
  • 点击Preferences > BrowsePackages菜单
  • 进入打开的目录的上层目录,然后再进入Installed Packages/目录
  • 下载PackageControl.sublime-package(点击此处)并复制到Installed Packages/目录
  • 重启SublimeText。


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-5-25 13:30:29
为什么stataeditor下载不下来,老报错
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-10-15 12:40:04
求问,按照安装配置好了后,运行代码,会报错(line 42, in StataAutomate pywintypes.error: (2, 'WinExec', '系统找不到指定的文件。'))。
无法弹出stata窗口运行代码。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-10-18 09:22:20
感谢楼主的分享,我按照帖子进行了设置后,出现了状况:
1.快捷键不能执行,如"ctr+d"没有执行stata命令,只是打开了stata软件
2.打开的以中文命名的do文件,在左侧不能显示中文名称,现附上图片。
不知楼主是否知道原因 QQ截图20161018085921.png
附件列表
QQ截图20161018085921.png

原图尺寸 52.56 KB

QQ截图20161018085921.png

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2017-1-5 19:01:19
刘坤鹏 发表于 2016-10-18 09:22
感谢楼主的分享,我按照帖子进行了设置后,出现了状况:
1.快捷键不能执行,如"ctr+d"没有执行stata命令, ...
问题解决么?我也遇到相同的去年情况
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2017-1-10 19:42:43
提示: 作者被禁止或删除 内容自动屏蔽
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2017-1-28 08:05:26
能不能把mac系统下的设置也总结归纳一下。谢谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群