楼主: voodoo
11773 13

[程序分享] [下载][分享]嫌Stata内置Do file editor不好用,怎么办? [推广有奖]

已卖:14046份资源

院士

70%

还不是VIP/贵宾

-

威望
0
论坛币
3777 个
通用积分
1463.4296
学术水平
324 点
热心指数
365 点
信用等级
253 点
经验
63724 点
帖子
1814
精华
1
在线时间
6555 小时
注册时间
2007-1-5
最后登录
2025-12-3

楼主
voodoo 发表于 2008-6-2 21:32:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币


Stata好用,但其内置的Do file editor却着实令人有点不敢恭维。本人借助网络,并通过大量试验,终于找到相应的解决方案——那就是Integrating Stata and jEdit!现有偿和大家分享,附件为.rar文件,内有7个文件,并附有本人整理的详尽步骤说明(Integrating Stata and jEdit.pdf)。享用Stata编程的乐趣吧!


216845.rar (3.08 MB, 需要: 1 个论坛币) 本附件包括:

  • doselect.exe
  • doselect.ini
  • Integrating Stata and jEdit.pdf
  • jEdit 4.3pre14 Manual.pdf
  • jedit4.3pre14install.exe
  • stata.xml
  • doselect.bsh

[此贴子已经被angelboy于2008-7-23 14:36:44编辑过]

二维码

扫码加我 拉你入群

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

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

关键词:editor Stata tata file Edit 下载 分享 Stata file editor

巫毒上传,必属佳品!
坛友下载,三思后行!

沙发
liujiafei(未真实交易用户) 发表于 2008-6-3 00:28:00
你给的说明文件“Integrating Stata and jEdit.pdf”中下面加黑部分无法找到!

3. 为宏doselect.bsh设置快捷方式 在jEdit中点击Utilities| Global Options| Shortcuts,下拉选择Macros,然后选择宏doselect,设置快捷方式,如F8。

另外,Stata中的do文件编辑器可以随时运行在编程序,看不出你的这个东东有何优势

[此贴子已经被作者于2008-6-3 0:50:17编辑过]

藤椅
liujiafei(未真实交易用户) 发表于 2008-6-3 00:35:00
另外C:\Documents and Settings\用户名\.jedit\stata下似乎缺少marked.do文件

板凳
voodoo(未真实交易用户) 发表于 2008-6-3 11:38:00

1. 我所推荐的这个东东最有用的特性是可以不同颜色高亮标示Stata的句法、命令、关键词、变量、宏等(Highlighting),而且按我所给的步骤一一设置正确后,按F8键可随时运行在编程序,个人认为比Stata中的do文件编辑器好用很多!其它特性包括:

General:
● Comprehensive online help
● Unlimited undo/redo
● Copy and paste with an unlimited number of clipboards (known as "registers")
● Rich set of keyboard commands for manipulating entire words, lines and paragraphs at a time
● "Markers" for remembering positions in files to return to later (saved across editing sessions)
● Any number of editor windows may be open. Each window may be split into several areas. Each area can view a different file. Alternatively, different locations in one file can be viewed in more than one area
● Rectangular selection
● Multiple selection (sometimes known as "discontinuous" or "additive" selection) for manipulating several chunks of text at once

Code editing:
● Intelligent brackets/parentheses matching
● Auto indent
● Commands for shifting the indent left and right
● Commands for commenting out code, line by line or in large blocks.
● Add prefix/suffix command. Nice if you sometimes #delimit with semicolons and sometimes not.

Search and replace:
● Both literal and regular expression search and replace supported
● Multiple file search and replace; search in the current file, all open files, or all files in a directory
● "HyperSearch" option to show all found matches in a list
● Reverse search supported
● Incremental search supported

File management:
● Any number of files can be opened at once
● Files can be deleted and renamed, and new directories can be created from the file system browser

Customization:
● Fully customizable keyboard shortcuts
● Fully customizable tool bar and right-click context menu
● Macros to automate complex editing tasks can be written in the BeanShell scripting language
● Macros can be recorded from user actions


● Fully customizable keyboard shortcuts
● Fully customizable tool bar and right-click context menu
● Macros to automate complex editing tasks can be written in the BeanShell scripting language
● Macros can be recorded from user actions

Extensibility:
● "Plugin manager" feature downloads and installs plugins from within jEdit
● More than 50 plugins are already available that add a variety of features to jEdit

2. marked.do是jEdit宏doselect.bsh自动生成的,然后再用doselect.exe发送到stata中执行。若你看不到marked.do,说明设置有误。我所给步骤应该很清楚,请按图索骥!

3. 最后问liujiafei一句,为什么我这儿显示我所贴的帖子“还没有用户购买”,你却可以下载使用呢?人大经济论坛也有后门?或网页程序有误?

[此贴子已经被作者于2008-6-3 11:53:31编辑过]

巫毒上传,必属佳品!
坛友下载,三思后行!

报纸
liujiafei(未真实交易用户) 发表于 2008-6-3 13:00:00
呵呵,是你的购买贴没有设置好,谁都可以直接下载的

地板
voodoo(未真实交易用户) 发表于 2008-6-3 17:44:00
呵呵,倒是便宜“早起的鸟儿”了,也算分享吧。
谢谢liujialei提醒,重新设置了一下,收点小钱。
巫毒上传,必属佳品!
坛友下载,三思后行!

7
小概率事件(真实交易用户) 发表于 2008-6-4 00:32:00

一直用winedt,感觉要普遍很多,功能也和楼主说的类似。其实有很多编辑器可以用的。参考如下网页:

http://fmwww.bc.edu/repec/bocode/t/textEditors.html

8
frlxh_cn(未真实交易用户) 发表于 2008-6-4 21:48:00
是的,没什么特别优势,texpad也很不错。

9
voodoo(未真实交易用户) 发表于 2008-6-5 14:59:00

确实如小概率事件所言,有很多Text Editor可供选择,其所给链接http://fmwww.bc.edu/repec/bocode/t/textEditors.html我也有参考,我正是认真研读此文后才决定选择jEdit!
另,我的方法已试验可用,所以才和大家分享,省得大家在“太多选择”面前挑花眼了,浪费时间走弯路——为给Stata找到好的Text Editor,我自己可是花了近两天的时间!不希望大家再无谓浪费时间了。

[此贴子已经被作者于2008-6-5 15:06:43编辑过]

巫毒上传,必属佳品!
坛友下载,三思后行!

10
minixi(真实交易用户) 发表于 2008-6-6 07:48:00
正在学习试用中,谢谢楼主。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-5 17:52