×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

ABAQUS Input file editor with highlighting and code folding capabilities

ABAQUS Input file editor with highlighting and code folding capabilities

ABAQUS Input file editor with highlighting and code folding capabilities

(OP)
Hi,

Notepad++ is my text editor of choice for many projects, but for ABAQUS input files, it does not do the code folding, as discussed in the following thread:

thread799-324132: Notepad++ with Abaqus Language Keyword and Highlighting

Since the thread is closed now, I put my solution here. For the moment, I use the Sc1 from Scintilla project (FYI, Scintilla is the text-editing library behind several editors, including Notepad++):
http://www.scintilla.org/SciTEDownload.html


Download the single 720KB executable file for Windows. Apparently, it is not as feature-rich as Notepad++, but it does the syntax highlighting plus code folding for .inp files. The only issue on my Win7x64 machine is when I fold the blocks individually it freezes. If this happens to you, select "Toggle all folds" from "View" menu, and everything should work fine.

Do you know any other editor for this purpose? Or preferably a solution using Notepad++?

Kind regards,
Farshid

RE: ABAQUS Input file editor with highlighting and code folding capabilities

Hi Farshid,

Thank you very much for sharing. I have searched for such an editor and Sc1 works like a charm. the User Defined Language xml for Notepad++ will not fold the code (As of 25/04/14). It has to be mentioned that the full download (zip) or the Windows installer versions of SciTE do not detect Abaqus input files (As of 25/04/14).

Kind Regards,
Prabuddha

RE: ABAQUS Input file editor with highlighting and code folding capabilities

I managed to get the code folding to work with Notepad++. I also had a bunch of other cool features in it (multiple window editing, running jobs from a command prompt inside Notepad++, document map, etc.).

However, Notepad++ has a severe limitation: it sucks at handling large files. That is why I switched over the gVim. Code folding and highlighting are enabled by default in gVim.

Are you new to this forum? If so, please read these FAQ:

http://www.eng-tips.com/faqs.cfm?fid=376
http://www.eng-tips.com/faqs.cfm?fid=1083

RE: ABAQUS Input file editor with highlighting and code folding capabilities

Awesome find, thanks Farshid!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources