Optimize SciTe For PHP
Powered by qining(http://70.io)
Change Log
version: 0.3 (2008.6.2)
- Fix EOL problem on Unix and MacOSX
- Fix some crash error
- More accurate matching
version: 0.2
- Support for autocomplete (both variable and function)
- Support for PHP Doc
- Something more...
Usage:
- Copy the script file to your SciTe Path
- Set "autocompleteword.automatic=0"
- Add "ext.lua.startup.script=$(SciteDefaultHome)/SciTePHPSuit.lua" to your config properties
- Restart your editor
Screen Shot:
Donwload
又是沙发!
这么强悍的东西~~~~
哇,好东西~
谢谢,想问问,autocompletion只能用在同一个文件吗?
我的意思是……如果我要调用另一个文件的variable这个script叫不出那个var的吧?
是的,无法叫出,因为SciTe只是一个编辑器,它对项目的支持比较弱,所以也没办法做这种扩展.
那么能够定期指示scite呼叫php来执行这个程式吗?
http://scintilla.sourceforge.net/phpapi.php.txt
是从这里找到的
http://groups.google.com/group/scite-interest/web/extras
是可以的,但是这样的效率比较低,实际上网上有类似的脚本
你说的那个脚本是用来生成api的,如果用它来实时生成函数列表,那么效率就会很低.
我现在的希望是,能在Scite里嵌入一个项目管理引擎,用Lua写可能不行.
呵呵,好的,谢谢
目前我的project(项目?)是用openkomodo开发/管理的(之前用PDT但是PDT有点太复杂了而且用不了这么多功能),而一些小文件则就用scite来修改
http://caladbolg.net/scite.php
他这里有还满多有趣的小东西的
这个人就是scite-tools的作者,我也用过,就是有时候会比较慢,不过功能很强大
看一看
恩,刚在重新configure过我的SciteUser.properties,弄了半天,眼都快花了~
这也是Scite的乐趣所在:)
呵呵
在你的网站转了老半天才知道你开发这个blogging程序的,很很很厉害涅~我N年前刚学编程的时候也写过一个极度阳春的blogging程序后来因为不会spam control和没什么时间更新就跳到wordpress了,呵呵呵呵。
感谢你的关注,这个项目将会继续发展,由更多的人来维护
Btw, thanx 4 ur script. It's great .It run well on windows environment, but it not run properly under my ubuntu (Gutsy Gibbon), it always display error in output panel. Any suggest ?
I‘ve been aware of this issue.This is because the EOL(End Of Line) character on UNIX is different from Windows.
I have fixed this issue and updated the script.You can download it again.
OK, Thanks a lot ... :)
Sorry it's still not work ... are you sure that you've uploaded the rights version? I think you're uploaded version 0.2 not 0.3
thanks
Can you show me the errors which display in your output panel?And, What's the version you're using now?
In your last download version 0.3, version 0.2 appear.
Good tool. Thanks for it :)
搞的好。。
good files, i need
Thanks for it!
自动补齐[、'、"、{......
local toClose = { ['('] = ')', ['{'] = '}', ['['] = ']', ['"'] = '"', ["'"] = "'" }
function OnChar(char)
end
bug fix
--如果是注释内换行
if "\n" == char and lineEnd >= 2 and '*' == editor:textrange(lineStart + tabLen, lineStart + tabLen + 1) and '/' ~= editor:textrange(lineStart + tabLen + 1, lineStart + tabLen + 2) then
此行判断只需判断"\n" == char即可,("\n" == char or "\r" == char)
将导致输入两次“* ”, 在xp sp3使用时遇到次问题。
自动补齐增强版:
toClose = { ['('] = ')', ['{'] = '}', ['['] = ']', ['"'] = '"', ["'"] = "'" }
function OnChar(char)
end
在某些系统下面,默认的换行符是"\r" 。。。
曾经用过,但是我想问可以通过lua读取载入的文件编码自动设置不。现在设置UTF-8打开GBK乱码,硬伤...
我曾经还做过这样一个配置,我非常希望他有自动编码检测功能
我曾经也自己改过一个:http://fvzone.com/blog/fvscite.fv
路过牛人老巢。。。不知所云的飘走。。。
无奈撸过。。。