Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: CppLint Integration
Topic Summary: How to get CppLint integrated into Rhapsody.
Created On: 5-May-2008 10:22
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
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.
 5-May-2008 10:22
User is offline View Users Profile Print this message


Peter Nielsen

Posts: 3
Joined: 6-Aug-2007

We are using CppLint from Cleanscape and wanted as much integration into Rhapsody as possible. This describes how:

1) Make a proj.lnt file with lint settings for project and compiler
2) Insert attributes in .lnt file to simulate compiler output (To click/jump in log tab)
3) Insert Error | Message | Info in 'ParseErrorMessage' property for your compiler
4) Import modLint as VBA on your project
5) Customize your menu to call the VBA macro 'runLint' as PopUp on class

Now it should be possible to right click a class in the browser, get it 'linted', view the result in the log window and click on errors and jump to them :-)

Note that the code must be compiled first for the 'click'n jump' to work.

Regards Peter

modLint.bas
modLint.bas  (5 KB)
proj.lnt
proj.lnt  (1 KB)

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

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