User talk:Karthik: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Asked question to user)
 
Line 34: Line 34:


   Link: http://colt.projectgamma.com/intel/ixc-debian.html
   Link: http://colt.projectgamma.com/intel/ixc-debian.html
== Source of example on [[Proposals:Writing_DICOM_from_non-DICOM]] ==
Hi,
Seen the link http://www.creatis.insa-lyon.fr/viewcvs/viewcvs.cgi/gdcm/Example/WriteDicomSimple.cxx on [[Proposals:Writing_DICOM_from_non-DICOM]], but the link it broken, could you update it or send it to me at chbrosso (at) lltech.fr?

Latest revision as of 21:05, 24 May 2010

Using gVim with ctags

cTags makes your life source browsing simple. I've tried SourceNavigator and Ctags so far, and I've begun to like ctags, cause its simple and devoid of the blog of accessories that SourceNav creates.

For example to build tags for ITK:

   1. Get ctags. Comes with a typical cygwin installation. On Debian, 
      apt-get install ctags
   2. Write a script /home/karthik/dirtags
         #!/bin/zsh
         cd $1
         rm -rf *.*~ # Remove backup files 
         ctags *
   3. Write a script /home/karthik/buildtags
         #!/bin/zsh
         # Execute this from the root dir or the project
         find $1 -type d -exec /home/karthik/dirtags {} \;
         ctags --file-scope=no -R
   4. Create tags for your projects:
         /home/karthik/buildtags /home/karthik/work/ITK/src/Nightly/Code
      You should now have a file tags in each subtree in your source tree
      and a big tags file in the root ie Code/
   5. Add the following to .vimrc to tell vim to search the tags in the
      current folder followed by a higher level and so on
         set tags=./tags,./../tags,./../../tags,./../../../tags,./../../../../tags,tags
   6. Ctrl ] to jump to the tag definition, Ctrl T to go back. 
      :stj to split and go to definition.
      :help tags in VIM


Installing ICC on debian

  Link: http://colt.projectgamma.com/intel/ixc-debian.html

Source of example on Proposals:Writing_DICOM_from_non-DICOM

Hi,

Seen the link http://www.creatis.insa-lyon.fr/viewcvs/viewcvs.cgi/gdcm/Example/WriteDicomSimple.cxx on Proposals:Writing_DICOM_from_non-DICOM, but the link it broken, could you update it or send it to me at chbrosso (at) lltech.fr?