![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: vim dxl-extension? Topic Summary: Created On: 19-Dec-2005 11:12 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||||
Hello,
does someone have a dxl-extension, for syntax highlighting and indentation for the vim editor? Would be great if there is one ![]() Thanks in advance, Ben |
|||||
![]() |
|||||
![]() |
|||||
Hi Ben,
you may have a look into my posting Editor of choice - Ultraedit new Wordfile for DXL?! May be you can adapt this file to work with VIM?! Or of cause, you could use Ultraedit ![]() Greetings Reik Schröder ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|||||
![]() |
|||||
![]() |
|||||
Ben,
I have created one that does basic syntax highlighting, but it doesn't do indentation correctly. I'm assuming you are familiar with VIM, so I've attached the files. You'll need to add a dxl filetype so VIM can recognize files (see filetype.vim). The syntax file is dxl.vim.
Let me know if it works for you or if you have other questions.
David
------------------------- David Knight BAE Systems, Land & Armaments |
|||||
![]() |
|||||
![]() |
|||||
This is my dxl.vim file which does the syntax highlighting, I haven't tried to configure auto-indentation.
|
|||||
![]() |
|||||
![]() |
|||||
Hi Everyone,
I also use VIM for editing DXL code - given that DXL is very "C" like in it's programming structure, I took a simple approach by copying the C.VIM syntax file which has all of the auto indentation bells and whistles and just modified it to include all of the DXL specific keywords. A copy is attached. ------------------------- Paul Miller Specification Practices Specialist, EuroCyber, Melbourne, Australia. Mobile: +61 (0)418 135 103 Web Site: http://www.eurocyber.biz E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz |
|||||
![]() |
|||||
![]() |
|||||
Thanks Paul. I'll have to try this, because I really want the indentation. I always assumed the C indentation wouldn't work quite right because DXL doesn't use semi-colons, but it must not matter.
Maybe we can come up with a composite version that handles everything well.
------------------------- David Knight BAE Systems, Land & Armaments |
|||||
![]() |
Telelogic DOORS
» DXL Exchange
»
vim dxl-extension?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.