Yii API docs in vim help file format Vim users, fight for your rights now!
#23
Posted 15 May 2011 - 12:36 PM
BUT unfortunately i couldn't accomplish it
i follow up with your post, and i get tags file inside ~/yiiapi/doc .. BUT << i hate this word man !!
when i try to write:
:h CWe <TAB>
nothing to be completed !!
only i get <cweb.vim> and <ft-cweb-synatx>
Note: i get a lot of errors when typing:
:helptags ~/yiiap/doc/
i don't pay attention to these error like you said.
then i specify the path :
:set runtimepath+=~/yiiapi/doc/
with no succeed
is there any thing i missing here !!
#24
Posted 16 May 2011 - 02:16 AM
Muaid, on 15 May 2011 - 12:36 PM, said:
:helptags ~/yiiap/doc/
i don't pay attention to these error like you said.
Hmm, it should only be about a dozen of errors. I get mine in german, but they basically only say, that there where some duplicate tags. So
1. What errors do you get?
2. Do you see a file ~/yiiapi/docs/tags? It should be around 250KB and contain a lot of meta information about the help tags.
#25
Posted 16 May 2011 - 08:41 AM
E154: Duplicate tag "CActiveRecord::primaryKey" in file /home/muaid/yiiapi/doc//CActiveRecord.txt E154: Duplicate tag "CDbCommand::from" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::group" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::having" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::join" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::limit" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::offset" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::order" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::select" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::union" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CDbCommand::where" in file /home/muaid/yiiapi/doc//CDbCommand.txt E154: Duplicate tag "CHttpSession::count" in file /home/muaid/yiiapi/doc//CHttpSession.txt E154: Duplicate tag "CList::count" in file /home/muaid/yiiapi/doc//CList.txt E154: Duplicate tag "CMap::count" in file /home/muaid/yiiapi/doc//CMap.txt E154: Duplicate tag "CQueue::count" in file /home/muaid/yiiapi/doc//CQueue.txt E154: Duplicate tag "CStack::count" in file /home/muaid/yiiapi/doc//CStack.txt
yes i checked for tags yesterday and the file is exactly 251.7 KB
and here is a quick snippet of the tags file :
CViewRenderer::fileExtension CViewRenderer.txt /*CViewRenderer::fileExtension* CViewRenderer::filePermission CViewRenderer.txt /*CViewRenderer::filePermission* CViewRenderer::generateViewFile CViewRenderer.txt /*CViewRenderer::generateViewFile* CViewRenderer::getViewFile CViewRenderer.txt /*CViewRenderer::getViewFile* CViewRenderer::renderFile CViewRenderer.txt /*CViewRenderer::renderFile* CViewRenderer::useRuntimePath CViewRenderer.txt /*CViewRenderer::useRuntimePath* CWebApplication CWebApplication.txt /*CWebApplication* CWebApplication::afterControllerAction CWebApplication.txt /*CWebApplication::afterControllerAction* CWebApplication::assetManager CWebApplication.txt /*CWebApplication::assetManager* CWebApplication::authManager CWebApplication.txt /*CWebApplication::authManager* CWebApplication::baseUrl CWebApplication.txt /*CWebApplication::baseUrl*
i also dbl checked my configuration file for any settings or key mapping may conflict but still no progress.
i am using gvim and also tried vim but with same the result.
thanks for help
#26
Posted 16 May 2011 - 10:18 AM
Mike there is tow problem with it not one
first one:
set runtimepath+=/path/to/yiiapi/doc
shouldn't point to doc dir directly:
/path/to/yiiapi not /path/to/yiiapi/doc
the second is:
we shouldn't open .vimrc file to add
set runtimepath+=/path/to/yiiapi
since it is already exists in our plugin/yiiapi.vim !! so we have to edit the path in yiiapi.vim only
i am not an expert in Vim so is the above correction is correct !!
and thanks again for this great help
#27
Posted 17 May 2011 - 02:23 AM
#29
Posted 28 December 2011 - 08:43 AM
#31
Posted 02 January 2012 - 09:28 AM
The maker rests. The wheel’s in motion.
-- Imre Madách
check out Yii Themes at http://yiithemes.mehesz.net
#35
Posted 15 March 2012 - 12:42 PM
#36
Posted 16 March 2012 - 07:03 AM
--iM
The maker rests. The wheel’s in motion.
-- Imre Madách
check out Yii Themes at http://yiithemes.mehesz.net
#38
Posted 20 June 2012 - 09:35 AM
This would make the help files bigger and maybe also a bit "noisy" as a lot of base properties would always be listed. Unfortunately we can't have the "Hide inherited properties/methods"
So what do you think? Would you find this useful? Or do you have a better idea?
#39
Posted 18 October 2012 - 08:58 AM
#40
Posted 04 January 2013 - 04:57 AM

Help














