Novedades Desafíos Papers y H-Zine Proyectos Foro
foros de discusión

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> autocompletacion de java en vim, no me funciona
420diego
post Nov 3 2008, 05:56 PM
Post #1


Miembro
***


Group: Hackerss Member
Posts: 60
Joined: 11-March 08
From: Colombia
Member No.: 4,375



hola. estoy aprendiendo a usar VIM, me parece muy interesante, pero he tenido problemas para usar el
javacomplete

no se bien en que carpeta guardarlo, me dice que en el runtimepath pero ni idea donde es eso, en la carpeta de plugins tampoco me funciono, alguna idea??

Gracias.
Go to the top of the page
 
+Quote Post
Ironic
post Nov 3 2008, 07:27 PM
Post #2


Adicto a Hackerss
Group Icon


Group: Root Admin
Posts: 1,443
Joined: 7-July 07
From: Buenos Aires, Argentina
Member No.: 2,688



QUOTE
install details
1. Unzip javacomplete.zip to a directory of 'runtimepath', e.g.
$HOME/.vim (unix/linux), $VIM/vimfiles (windows).
> unzip javacomplete.zip -d ~/.vim

To update Vim help tags, run vim and run command:
:helptags $HOME/.vim/doc
or
:helptags $VIM/vimfiles/doc

NOTE: javacomplete.vim, java_parser.vim and Reflection.java should be in one
autoload directory of 'runtimepath'.
javacomplete.txt should be in one doc directory of 'runtimepath'.

http://www.vim.org/scripts/script.php?script_id=1785


--------------------
Mi blog: http://www.ironicnet.com
Mi fotolog: http://www.fotolog.com/ironicnet_com

Cualquier cosa: ironic@ironicnet.com
Msn: ironic@ironicnet.com

Registrate en Bux.to y sumate unos dolares mensuales!
No te hace millonario, pero ayuda...

Go to the top of the page
 
+Quote Post
420diego
post Nov 3 2008, 08:51 PM
Post #3


Miembro
***


Group: Hackerss Member
Posts: 60
Joined: 11-March 08
From: Colombia
Member No.: 4,375



QUOTE(Ironic @ Nov 3 2008, 09:27 PM) *


gracias ironic, te comento que de esa misma web me base, es mas de ahi descargue el plugin, la cosa es que no entiendo muy bien.

ya descomprimi la carpeta, no se cual es el runtimepath, pero copie los archivos en mi ~/.vim tambien en /etc/vim/plugin/ y nada, en ninguno de estos lugares me funciono.

lo del autoload si no estoy mal el directorio de plugins se carga siempre al iniciar vim.

es que creo que aclararia mas mis ideas si supiera que es el runtimepath.

Como siempre creo que pasare unas horas con google tratando de resolver esto

Gracias.
Go to the top of the page
 
+Quote Post
Ironic
post Nov 4 2008, 02:50 AM
Post #4


Adicto a Hackerss
Group Icon


Group: Root Admin
Posts: 1,443
Joined: 7-July 07
From: Buenos Aires, Argentina
Member No.: 2,688



Supongo que si estas leyendo la documentacion encontraras lo que te digo como repetido...

pero bueno
http://vimdoc.sourceforge.net/htmldoc/star...#036;VIMRUNTIME
QUOTE
The environment variable "$VIMRUNTIME" is used to locate various support
files, such as the on-line documentation and files used for syntax
highlighting. For example, the main help file is normally
"$VIMRUNTIME/doc/help.txt".
You don't normally set $VIMRUNTIME yourself, but let Vim figure it out. This
is the order used to find the value of $VIMRUNTIME:
1. If the environment variable $VIMRUNTIME is set, it is used. You can use
this when the runtime files are in an unusual location.
2. If "$VIM/vim{version}" exists, it is used. {version} is the version
number of Vim, without any '-' or '.'. For example: "$VIM/vim54". This is
the normal value for $VIMRUNTIME.
3. If "$VIM/runtime" exists, it is used.
4. The value of $VIM is used. This is for backwards compatibility with older
versions.
5. When the 'helpfile' option is set and doesn't contain a '$', its value is
used, with "doc/help.txt" removed from the end.


Aqui otro pedazo de la info:
http://vimdoc.sourceforge.net/htmldoc/opti...7runtimepath%27

Que entiendes por runtime path?


--------------------
Mi blog: http://www.ironicnet.com
Mi fotolog: http://www.fotolog.com/ironicnet_com

Cualquier cosa: ironic@ironicnet.com
Msn: ironic@ironicnet.com

Registrate en Bux.to y sumate unos dolares mensuales!
No te hace millonario, pero ayuda...

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 

- Lo-Fi Version Time is now: 7th January 2009 - 12:20 PM