Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Editor of choice?
Topic Summary:
Created On: 21-Feb-2003 14:27
Status: Post and Reply
Linear : Threading : Single : Branch
1 2 Next Last unread
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 21-Feb-2003 14:27
User is offline View Users Profile Print this message


Mark Phillips

Posts: 40
Joined: 17-Dec-2002

I was just wondering if folks had an editor of choice (assuming that you are not actually programming in the DOORS "Edit DXL" window.

I am currently using EditPlus with a highly edited version of the defination files. Does anybody know of a better editor (it is possible, but I don't know how). Just courous before I register this software.

Mark

PS The funny thing is, it is not about the money, just about the headache of submitting all of the paperwork for "new" software.


-------------------------
Mark Phillips
mark.phillips@swri.org
Report this to a Moderator Report this to a Moderator
 21-Feb-2003 16:10
User is offline View Users Profile Print this message


Karlheinz Weyh

Posts: 1
Joined: 21-Oct-2002

At Telelogic we are mosty using the UltraEdit Editor for which a complete set of keywords for syntax highlighting is available. But I think EditPlus also is a very good choice.
Report this to a Moderator Report this to a Moderator
 21-Feb-2003 16:17
User is offline View Users Profile Print this message


Jeremy Eble

Posts: 30
Joined: 20-Sep-2002

I took the advice of someone else in the forum, and am now using CrimsonEditor. It's free and can be customized for any programming or scripting language you care to use. The website, www.crimsoneditor.com, also has a repository of the files used for the customization and you can find the one for DXL there.

-------------------------
Jeremy Eble
Software Engineer
Teragon Consulting LLC
jeremy.r.eble@lmco.com
Report this to a Moderator Report this to a Moderator
 21-Feb-2003 17:42
User is offline View Users Profile Print this message


Mark Phillips

Posts: 40
Joined: 17-Dec-2002

Is there any way to "run from the editor"? I was thinking about a command line run of the database (maybe in batch mode) that would automatically run the script. I think this would be a nice way to work code.

Any suggestions?

-------------------------
Mark Phillips
mark.phillips@swri.org
Report this to a Moderator Report this to a Moderator
 21-Feb-2003 19:21
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

I also have been using UltraEdit for many years now. The main features I enjoy are:


    Ability to add/remove indents to many lines of code at once

    Search/replace across multiple files

    File diff/comparison


As for running the database from the editor, I just make sure the script I am working on is on a menu in DOORS. You can keep it open in your editor, save your changes, and then toggle over to DOORS and run it from the menu. The latest saved version will be the one you are running.

Firing up DOORS in batch mode takes time, and you need to give DOORS a username/password on the command line. After that, there will be no current Module, so some scripts would need extra code to open a Module so they would execute correctly.

There is an older
thread that gives additional more detail on this subject.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com

Edited: 21-Feb-2003 at 19:28 by Michael Sutherland
Report this to a Moderator Report this to a Moderator
 21-Feb-2003 19:27
User is offline View Users Profile Print this message


Mark Phillips

Posts: 40
Joined: 17-Dec-2002

Thanks Michael. I had thought of that, but had not experimented to see if you always got the current version. Thanks for the info.

Mark

I know how to add this to a module, and remember somebody saying that you could add menu items to the browser menu, and that it was the same format in another directory (that did not exist?). Anybody know where/what that directory is?

-------------------------
Mark Phillips
mark.phillips@swri.org

Edited: 21-Feb-2003 at 19:58 by Mark Phillips
Report this to a Moderator Report this to a Moderator
 13-Oct-2005 08:35
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi @all,

I'm using Ultraedit for many years. The advances are already described in Michael's message.

So I only want to add a new, may be complete, version of the wordfile for Syntax Highlighting.


I hope You'll enjoy this

Greetings
Reik Schroeder

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 14-Oct-2005 13:48
User is offline View Users Profile Print this message


Graham Stradling

Posts: 67
Joined: 19-Sep-2002

Thanks for this Reik, I've been a UE user for quite a while, but haven't got round to updating the wordpad file for ages.

I also have crimson installed just as back up

-------------------------
Graham Stradling,

Alcatel-Lucent.
Report this to a Moderator Report this to a Moderator
 17-Oct-2005 11:48
User is offline View Users Profile Print this message


Richard Good

Posts: 152
Joined: 22-Mar-2005

Mark, I've been using EditPlus for years, hard to see how it can be improved upon. It doesn't have a differrence tool but you can easily attach one and fire it from a user tool in EditPlus, I use "Beyond Compare" for this purpose and find it almost "Beyond Compare"! Its also fairly easy to set it up such that you can compare a file in your working area with one in a configured area at the touch of a button, compare selected open files etc. There is actually very little to choose between the various editors certainly not enough to encourage me to desert EditPlus for somthing else. Reiks comprehensive syntax file is also very easily converted so that EditPlus can read it. Richard

-------------------------
Regards,

Richard Good
Report this to a Moderator Report this to a Moderator
 17-Oct-2005 19:35
User is offline View Users Profile Print this message


Shawn Stepper

Posts: 96
Joined: 6-Aug-2004

NEdit! It's a pain to get it working on Windows though. But coming from a Linux background, I can't program without it!

http://www.nedit.org

-------------------------
Shawn Stepper
shawn.e.stepper@wellsfargo.com
Report this to a Moderator Report this to a Moderator
 26-Jan-2006 21:32
User is offline View Users Profile Print this message


jason haury

Posts: 10
Joined: 13-Oct-2005

Hi,

I really appreciated the exhaustive list Reik provided.  I did notice that "user" was listed as a function, and to my knowledge, that word is completely free to be used as a variable name or anything else.  Are there functions in your UltraEdit syntax highlighting file that are custom functions you've made?  I know that "User" is a DOORS type, but what is "user" as far as native DOORS goes?

I'm trying to come up with an exhaustive list of ever type, function, constant, etc used by DOORS as it is "out of the box."

Thanks for any clarification!
Jason
Report this to a Moderator Report this to a Moderator
 27-Jan-2006 08:59
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The following syntax file is pretty much complete, as far as I know.

Keywords


This file also includes some of the global identifiers that are declared in the top-context of DXL and can be used as perms (e.g. probeAttr_).

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 27-Jan-2006 11:51
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

The "user" identifier is used by DOORS 5.2 as follows:
1. As a property of the data type "Lock"
2. As a trigger level modifier (undocumented?)
3. As a function that returns the user that created a baseline: string user(Baseline b)
4. As a function that returns the owner of a file: string user(Stat s)
Report this to a Moderator Report this to a Moderator
 27-Jan-2006 15:43
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

I am a hardcore developer so I stick with good old fashion notepad. You can't beat that ;-).

-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 27-Jan-2006 15:52
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

You can use "user" in a trigger level modifier? Got an example?
Report this to a Moderator Report this to a Moderator
 1-Feb-2006 12:17
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

Louie,

Your guess is as good (probably better) than mine. I only know it exists because on my UNIX box, "strings doors.exe | grep trigLevelMod_" gives "all", "descriptive", "formal", "link" and "user"
Report this to a Moderator Report this to a Moderator
 16-Jun-2006 17:42
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

I use Crimson as well. The guy from whom I took over DXL responsibilities got me started on it, and I've customized it a bunch thanks to the folks here. I also appreciated the "Using Crimson for DXL" guide over at the C4 forums.

One quick wonderment, though: I set up the "call DXL help" tool in Crimson.....however, whenever I use it, the help window is always on top of Crimson, unless I minimize it. Sort of annoying. I assumed that it's because of the way Crimson calls it (a child process or something)--has anybody else set it up? One workaround I thought of was to have Crimson call a batch file that would call the help and then quit, but I can't figure out how to get to a specific keyword in the help file from the command line.

Chris
Report this to a Moderator Report this to a Moderator
 22-Jun-2006 20:41
User is offline View Users Profile Print this message


Tarun Inabathuni

Posts: 59
Joined: 18-Jan-2005

does any one have a syntax file for VIM
Report this to a Moderator Report this to a Moderator
 30-Jun-2006 14:59
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

Assuming file attachments are working in this forum, here is my DXL syntax file for VIM (DOORS 5.2).

dxl2.vim
dxl2.vim  (23 KB)

Report this to a Moderator Report this to a Moderator
 13-Jul-2007 01:15
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

I used Crimson for a good while when I first started. Then someone on this forum got me going on PSPad (with a syntax highlighting file and all). I like it some better, especially the code explorer (tell it that it's looking at C++ and it does quite well). Especially for serious development---don't try a 1200-line program without a code browser!

Now I've gotten a new(ish) machine that has a copy of SlickEdit installed, and figured I'd try it out. It is very very much more powerful and flexible than the other two above. And now I've just spent most of an afternoon creating a syntax file for it. Not real sure it was worth all the effort, but here it is. (Attaching and putting in as code, just in case.) Just paste the text into your user.vlx file.

I created this one by more or less merging the syntax files I had (originally gotten on this forum, I think) for Crimson and PSPad. Then I went through and vetted them by pasting a bunch into the DXL editor. I am running 8.1. I called all the constants "user keywords".

Chris

user.vlx
user.vlx  (42 KB)

Report this to a Moderator Report this to a Moderator
Telelogic DOORS » DXL Exchange » Editor of choice?

1 2 Next Last unread
Topic Tools Topic Tools
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.