: 4582 | 108668 | 12353

List warnings when compiling LotusScript code 
Use this IdeaSpace to post ideas about Domino Designer.

: 65
: 66
: 1
: Domino Designer
: LotusScript
: Scott Leis1460 07 Feb 2008
:
: / Email
This is an extension/generalisation of the linked idea.

When compiling LotusScript code, Designer should present a list of warnings - things that compile OK and don't prevent code execution, but look dubious. Some examples (adapted from things I've seen in the Delphi IDE):
- Variable declared but never used.
- Sub/Function never called.
- Possible loss of information on type conversion (e.g. if a Long is converted to an Integer).



1) Rob Goudvis6585 (07 Feb 2008)
You can add to the wishlist:

- variables used but not assinged any value
2) Jan Schulz4408 (07 Feb 2008)
<dream>And then I want quickFix like in eclipse java editor... </>
3) Nick Radov1333 (13 Feb 2008)
Essentially what you're asking for is a static analysis tool. In Domino Designer 8.5 you should be able to write this yourself as an Eclipse plug-in. There are lots of existing similar plug-ins for Java analysis such as PMD and FindBugs. So I think this is an area better left to third parties; it doesn't need to be provided by IBM.
4) Scott Leis1460 (15 Feb 2008)
No, it's not a static analysis tool I'm seeking. I'm after a list of warnings presented in the same way, and at the same time, as Designer currently displays errors. The important difference is that errors prevent code compilation, while warnings should be just suggestions which do *not* prevent compilation.
Delphi has this built into the core compiler/IDE (and has for several years). I expect MS Visual C++ would have something like it too, but I've never used that product.

To me, it seems like Designer falls short of being a solid professional IDE by omitting such a feature. Here's hoping that the Eclipse code editors in Designer 8.5 provide this feature by default, or at least make it much easier to implement.










:
:




Welcome to IdeaJam


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>






IdeaJam developed by

Elguji Software Logo